Bug Summary

File:OMCompiler/Compiler/boot/build/HpcOmEqSystems.c
Warning:line 1752, column 3
Value stored to '_str' is never read

Annotated Source Code

[?] Use j/k keys for keyboard navigation

1#ifdef OMC_BASE_FILE
2 #define OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c" OMC_BASE_FILE
3#else
4 #define OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c" "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
5#endif
6#include "omc_simulation_settings.h"
7#include "HpcOmEqSystems.h"
8static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT0,1,8)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT0
= { (((1) << 10) + (((8) & 255) << 2)),
{&HpcOmSimCode_Task_TASKEMPTY__desc,}};
9#define _OMC_LIT0((void*)((char*)(&(_OMC_LIT_STRUCT0).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT0)((void*)((char*)(&(_OMC_LIT_STRUCT0).header) + 3))
10static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT1,2,0)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT1
= { (((2) << 10) + (((0) & 255) << 2)),
{_OMC_LIT0((void*)((char*)(&(_OMC_LIT_STRUCT0).header) + 3)),MMC_IMMEDIATE(MMC_TAGFIXNUM(0))((void*)(((((mmc_uint_t) (0)) << 1)+0)))}};
11#define _OMC_LIT1((void*)((char*)(&(_OMC_LIT_STRUCT1).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT1)((void*)((char*)(&(_OMC_LIT_STRUCT1).header) + 3))
12static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT2,2,1)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT2
= { (((2) << 10) + (((1) & 255) << 2)),
{MMC_IMMEDIATE(MMC_TAGFIXNUM(-1))((void*)(((((mmc_uint_t) (-1)) << 1)+0))),MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3))}};
13#define _OMC_LIT2((void*)((char*)(&(_OMC_LIT_STRUCT2).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT2)((void*)((char*)(&(_OMC_LIT_STRUCT2).header) + 3))
14static const MMC_DEFREALLIT(_OMC_LIT_STRUCT3,70.0)struct mmc_real_lit _OMC_LIT_STRUCT3 = {0,(((8/8) << 10
) + 9),70.0}
;
15#define _OMC_LIT3((void*)((char*)(&(_OMC_LIT_STRUCT3).header) + 3)) MMC_REFREALLIT(_OMC_LIT_STRUCT3)((void*)((char*)(&(_OMC_LIT_STRUCT3).header) + 3))
16static const MMC_DEFREALLIT(_OMC_LIT_STRUCT4,20.0)struct mmc_real_lit _OMC_LIT_STRUCT4 = {0,(((8/8) << 10
) + 9),20.0}
;
17#define _OMC_LIT4((void*)((char*)(&(_OMC_LIT_STRUCT4).header) + 3)) MMC_REFREALLIT(_OMC_LIT_STRUCT4)((void*)((char*)(&(_OMC_LIT_STRUCT4).header) + 3))
18static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT5,2,0)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT5
= { (((2) << 10) + (((0) & 255) << 2)),
{MMC_IMMEDIATE(MMC_TAGFIXNUM(3))((void*)(((((mmc_uint_t) (3)) << 1)+0))),_OMC_LIT4((void*)((char*)(&(_OMC_LIT_STRUCT4).header) + 3))}};
19#define _OMC_LIT5((void*)((char*)(&(_OMC_LIT_STRUCT5).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT5)((void*)((char*)(&(_OMC_LIT_STRUCT5).header) + 3))
20#define _OMC_LIT6_data" FOR " " FOR "
21static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT6,5,_OMC_LIT6_data)struct { mmc_uint_t header; const char data[(5)+1]; } _OMC_LIT_STRUCT6
= { ((((mmc_uint_t)5)<<(3))+((1<<(3+3))+5)), " FOR "
}
;
22#define _OMC_LIT6((void*)((char*)(&(_OMC_LIT_STRUCT6).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT6)((void*)((char*)(&(_OMC_LIT_STRUCT6).header) + 3))
23#define _OMC_LIT7_data"levelScheduling is not supported for heterogenious scheduling\n" "levelScheduling is not supported for heterogenious scheduling\n"
24static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT7,62,_OMC_LIT7_data)struct { mmc_uint_t header; const char data[(62)+1]; } _OMC_LIT_STRUCT7
= { ((((mmc_uint_t)62)<<(3))+((1<<(3+3))+5)), "levelScheduling is not supported for heterogenious scheduling\n"
}
;
25#define _OMC_LIT7((void*)((char*)(&(_OMC_LIT_STRUCT7).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT7)((void*)((char*)(&(_OMC_LIT_STRUCT7).header) + 3))
26#define _OMC_LIT8_data"pts_transformScheduleToTask failed\n" "pts_transformScheduleToTask failed\n"
27static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT8,35,_OMC_LIT8_data)struct { mmc_uint_t header; const char data[(35)+1]; } _OMC_LIT_STRUCT8
= { ((((mmc_uint_t)35)<<(3))+((1<<(3+3))+5)), "pts_transformScheduleToTask failed\n"
}
;
28#define _OMC_LIT8((void*)((char*)(&(_OMC_LIT_STRUCT8).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT8)((void*)((char*)(&(_OMC_LIT_STRUCT8).header) + 3))
29static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT9,1,3)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT9
= { (((1) << 10) + (((3) & 255) << 2)),
{&BackendDAE_IndexType_ABSOLUTE__desc,}};
30#define _OMC_LIT9((void*)((char*)(&(_OMC_LIT_STRUCT9).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT9)((void*)((char*)(&(_OMC_LIT_STRUCT9).header) + 3))
31#define _OMC_LIT10_data"tornSys_bipartite_" "tornSys_bipartite_"
32static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT10,18,_OMC_LIT10_data)struct { mmc_uint_t header; const char data[(18)+1]; } _OMC_LIT_STRUCT10
= { ((((mmc_uint_t)18)<<(3))+((1<<(3+3))+5)), "tornSys_bipartite_"
}
;
33#define _OMC_LIT10((void*)((char*)(&(_OMC_LIT_STRUCT10).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT10)((void*)((char*)(&(_OMC_LIT_STRUCT10).header) + 3))
34#define _OMC_LIT11_data"tornSys_matched_" "tornSys_matched_"
35static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT11,16,_OMC_LIT11_data)struct { mmc_uint_t header; const char data[(16)+1]; } _OMC_LIT_STRUCT11
= { ((((mmc_uint_t)16)<<(3))+((1<<(3+3))+5)), "tornSys_matched_"
}
;
36#define _OMC_LIT11((void*)((char*)(&(_OMC_LIT_STRUCT11).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT11)((void*)((char*)(&(_OMC_LIT_STRUCT11).header) + 3))
37static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT12,1,5)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT12
= { (((1) << 10) + (((5) & 255) << 2)),
{&ErrorTypes_MessageType_TRANSLATION__desc,}};
38#define _OMC_LIT12((void*)((char*)(&(_OMC_LIT_STRUCT12).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT12)((void*)((char*)(&(_OMC_LIT_STRUCT12).header) + 3))
39static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT13,1,4)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT13
= { (((1) << 10) + (((4) & 255) << 2)),
{&ErrorTypes_Severity_ERROR__desc,}};
40#define _OMC_LIT13((void*)((char*)(&(_OMC_LIT_STRUCT13).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT13)((void*)((char*)(&(_OMC_LIT_STRUCT13).header) + 3))
41#define _OMC_LIT14_data"Internal error %s" "Internal error %s"
42static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT14,17,_OMC_LIT14_data)struct { mmc_uint_t header; const char data[(17)+1]; } _OMC_LIT_STRUCT14
= { ((((mmc_uint_t)17)<<(3))+((1<<(3+3))+5)), "Internal error %s"
}
;
43#define _OMC_LIT14((void*)((char*)(&(_OMC_LIT_STRUCT14).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT14)((void*)((char*)(&(_OMC_LIT_STRUCT14).header) + 3))
44static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT15,2,3)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT15
= { (((2) << 10) + (((3) & 255) << 2)),
{&Gettext_TranslatableContent_gettext__desc,_OMC_LIT14((void*)((char*)(&(_OMC_LIT_STRUCT14).header) + 3))}};
45#define _OMC_LIT15((void*)((char*)(&(_OMC_LIT_STRUCT15).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT15)((void*)((char*)(&(_OMC_LIT_STRUCT15).header) + 3))
46static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT16,5,3)struct { mmc_uint_t header; const void *data[5]; } _OMC_LIT_STRUCT16
= { (((5) << 10) + (((3) & 255) << 2)),
{&ErrorTypes_Message_MESSAGE__desc,MMC_IMMEDIATE(MMC_TAGFIXNUM(63))((void*)(((((mmc_uint_t) (63)) << 1)+0))),_OMC_LIT12((void*)((char*)(&(_OMC_LIT_STRUCT12).header) + 3)),_OMC_LIT13((void*)((char*)(&(_OMC_LIT_STRUCT13).header) + 3)),_OMC_LIT15((void*)((char*)(&(_OMC_LIT_STRUCT15).header) + 3))}};
47#define _OMC_LIT16((void*)((char*)(&(_OMC_LIT_STRUCT16).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT16)((void*)((char*)(&(_OMC_LIT_STRUCT16).header) + 3))
48#define _OMC_LIT17_data"function pts_traverseCompsAndParallelize failed. GRS is temporarily disabled." "function pts_traverseCompsAndParallelize failed. GRS is temporarily disabled."
49static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT17,77,_OMC_LIT17_data)struct { mmc_uint_t header; const char data[(77)+1]; } _OMC_LIT_STRUCT17
= { ((((mmc_uint_t)77)<<(3))+((1<<(3+3))+5)), "function pts_traverseCompsAndParallelize failed. GRS is temporarily disabled."
}
;
50#define _OMC_LIT17((void*)((char*)(&(_OMC_LIT_STRUCT17).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT17)((void*)((char*)(&(_OMC_LIT_STRUCT17).header) + 3))
51static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT18,2,1)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT18
= { (((2) << 10) + (((1) & 255) << 2)),
{_OMC_LIT17((void*)((char*)(&(_OMC_LIT_STRUCT17).header) + 3)),MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3))}};
52#define _OMC_LIT18((void*)((char*)(&(_OMC_LIT_STRUCT18).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT18)((void*)((char*)(&(_OMC_LIT_STRUCT18).header) + 3))
53#define _OMC_LIT19_data"tornSys_matched2_" "tornSys_matched2_"
54static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT19,17,_OMC_LIT19_data)struct { mmc_uint_t header; const char data[(17)+1]; } _OMC_LIT_STRUCT19
= { ((((mmc_uint_t)17)<<(3))+((1<<(3+3))+5)), "tornSys_matched2_"
}
;
55#define _OMC_LIT19((void*)((char*)(&(_OMC_LIT_STRUCT19).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT19)((void*)((char*)(&(_OMC_LIT_STRUCT19).header) + 3))
56#define _OMC_LIT20_data"pts_traverseEqSystems failed\n" "pts_traverseEqSystems failed\n"
57static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT20,29,_OMC_LIT20_data)struct { mmc_uint_t header; const char data[(29)+1]; } _OMC_LIT_STRUCT20
= { ((((mmc_uint_t)29)<<(3))+((1<<(3+3))+5)), "pts_traverseEqSystems failed\n"
}
;
58#define _OMC_LIT20((void*)((char*)(&(_OMC_LIT_STRUCT20).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT20)((void*)((char*)(&(_OMC_LIT_STRUCT20).header) + 3))
59#define _OMC_LIT21_data"_" "_"
60static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT21,1,_OMC_LIT21_data)struct { mmc_uint_t header; const char data[(1)+1]; } _OMC_LIT_STRUCT21
= { ((((mmc_uint_t)1)<<(3))+((1<<(3+3))+5)), "_"
}
;
61#define _OMC_LIT21((void*)((char*)(&(_OMC_LIT_STRUCT21).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT21)((void*)((char*)(&(_OMC_LIT_STRUCT21).header) + 3))
62#define _OMC_LIT22_data"---------\n" "---------\n"
63static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT22,10,_OMC_LIT22_data)struct { mmc_uint_t header; const char data[(10)+1]; } _OMC_LIT_STRUCT22
= { ((((mmc_uint_t)10)<<(3))+((1<<(3+3))+5)), "---------\n"
}
;
64#define _OMC_LIT22((void*)((char*)(&(_OMC_LIT_STRUCT22).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT22)((void*)((char*)(&(_OMC_LIT_STRUCT22).header) + 3))
65#define _OMC_LIT23_data"-equations\n---------\n" "-equations\n---------\n"
66static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT23,21,_OMC_LIT23_data)struct { mmc_uint_t header; const char data[(21)+1]; } _OMC_LIT_STRUCT23
= { ((((mmc_uint_t)21)<<(3))+((1<<(3+3))+5)), "-equations\n---------\n"
}
;
67#define _OMC_LIT23((void*)((char*)(&(_OMC_LIT_STRUCT23).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT23)((void*)((char*)(&(_OMC_LIT_STRUCT23).header) + 3))
68#define _OMC_LIT24_data"-variables\n---------\n" "-variables\n---------\n"
69static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT24,21,_OMC_LIT24_data)struct { mmc_uint_t header; const char data[(21)+1]; } _OMC_LIT_STRUCT24
= { ((((mmc_uint_t)21)<<(3))+((1<<(3+3))+5)), "-variables\n---------\n"
}
;
70#define _OMC_LIT24((void*)((char*)(&(_OMC_LIT_STRUCT24).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT24)((void*)((char*)(&(_OMC_LIT_STRUCT24).header) + 3))
71#define _OMC_LIT25_data"{ " "{ "
72static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT25,2,_OMC_LIT25_data)struct { mmc_uint_t header; const char data[(2)+1]; } _OMC_LIT_STRUCT25
= { ((((mmc_uint_t)2)<<(3))+((1<<(3+3))+5)), "{ "
}
;
73#define _OMC_LIT25((void*)((char*)(&(_OMC_LIT_STRUCT25).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT25)((void*)((char*)(&(_OMC_LIT_STRUCT25).header) + 3))
74#define _OMC_LIT26_data" \n " " \n "
75static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT26,5,_OMC_LIT26_data)struct { mmc_uint_t header; const char data[(5)+1]; } _OMC_LIT_STRUCT26
= { ((((mmc_uint_t)5)<<(3))+((1<<(3+3))+5)), " \n "
}
;
76#define _OMC_LIT26((void*)((char*)(&(_OMC_LIT_STRUCT26).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT26)((void*)((char*)(&(_OMC_LIT_STRUCT26).header) + 3))
77#define _OMC_LIT27_data"} \n" "} \n"
78static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT27,3,_OMC_LIT27_data)struct { mmc_uint_t header; const char data[(3)+1]; } _OMC_LIT_STRUCT27
= { ((((mmc_uint_t)3)<<(3))+((1<<(3+3))+5)), "} \n"
}
;
79#define _OMC_LIT27((void*)((char*)(&(_OMC_LIT_STRUCT27).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT27)((void*)((char*)(&(_OMC_LIT_STRUCT27).header) + 3))
80#define _OMC_LIT28_data" " " "
81static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT28,5,_OMC_LIT28_data)struct { mmc_uint_t header; const char data[(5)+1]; } _OMC_LIT_STRUCT28
= { ((((mmc_uint_t)5)<<(3))+((1<<(3+3))+5)), " "
}
;
82#define _OMC_LIT28((void*)((char*)(&(_OMC_LIT_STRUCT28).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT28)((void*)((char*)(&(_OMC_LIT_STRUCT28).header) + 3))
83#define _OMC_LIT29_data"} " "} "
84static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT29,2,_OMC_LIT29_data)struct { mmc_uint_t header; const char data[(2)+1]; } _OMC_LIT_STRUCT29
= { ((((mmc_uint_t)2)<<(3))+((1<<(3+3))+5)), "} "
}
;
85#define _OMC_LIT29((void*)((char*)(&(_OMC_LIT_STRUCT29).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT29)((void*)((char*)(&(_OMC_LIT_STRUCT29).header) + 3))
86#define _OMC_LIT30_data" } " " } "
87static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT30,3,_OMC_LIT30_data)struct { mmc_uint_t header; const char data[(3)+1]; } _OMC_LIT_STRUCT30
= { ((((mmc_uint_t)3)<<(3))+((1<<(3+3))+5)), " } "
}
;
88#define _OMC_LIT30((void*)((char*)(&(_OMC_LIT_STRUCT30).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT30)((void*)((char*)(&(_OMC_LIT_STRUCT30).header) + 3))
89#define _OMC_LIT31_data" = { " " = { "
90static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT31,5,_OMC_LIT31_data)struct { mmc_uint_t header; const char data[(5)+1]; } _OMC_LIT_STRUCT31
= { ((((mmc_uint_t)5)<<(3))+((1<<(3+3))+5)), " = { "
}
;
91#define _OMC_LIT31((void*)((char*)(&(_OMC_LIT_STRUCT31).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT31)((void*)((char*)(&(_OMC_LIT_STRUCT31).header) + 3))
92#define _OMC_LIT32_data" }" " }"
93static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT32,2,_OMC_LIT32_data)struct { mmc_uint_t header; const char data[(2)+1]; } _OMC_LIT_STRUCT32
= { ((((mmc_uint_t)2)<<(3))+((1<<(3+3))+5)), " }"
}
;
94#define _OMC_LIT32((void*)((char*)(&(_OMC_LIT_STRUCT32).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT32)((void*)((char*)(&(_OMC_LIT_STRUCT32).header) + 3))
95#define _OMC_LIT33_data" * " " * "
96static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT33,3,_OMC_LIT33_data)struct { mmc_uint_t header; const char data[(3)+1]; } _OMC_LIT_STRUCT33
= { ((((mmc_uint_t)3)<<(3))+((1<<(3+3))+5)), " * "
}
;
97#define _OMC_LIT33((void*)((char*)(&(_OMC_LIT_STRUCT33).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT33)((void*)((char*)(&(_OMC_LIT_STRUCT33).header) + 3))
98#define _OMC_LIT34_data"Matrix(" "Matrix("
99static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT34,7,_OMC_LIT34_data)struct { mmc_uint_t header; const char data[(7)+1]; } _OMC_LIT_STRUCT34
= { ((((mmc_uint_t)7)<<(3))+((1<<(3+3))+5)), "Matrix("
}
;
100#define _OMC_LIT34((void*)((char*)(&(_OMC_LIT_STRUCT34).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT34)((void*)((char*)(&(_OMC_LIT_STRUCT34).header) + 3))
101#define _OMC_LIT35_data")\n" ")\n"
102static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT35,2,_OMC_LIT35_data)struct { mmc_uint_t header; const char data[(2)+1]; } _OMC_LIT_STRUCT35
= { ((((mmc_uint_t)2)<<(3))+((1<<(3+3))+5)), ")\n"
}
;
103#define _OMC_LIT35((void*)((char*)(&(_OMC_LIT_STRUCT35).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT35)((void*)((char*)(&(_OMC_LIT_STRUCT35).header) + 3))
104#define _OMC_LIT36_data"\n" "\n"
105static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT36,1,_OMC_LIT36_data)struct { mmc_uint_t header; const char data[(1)+1]; } _OMC_LIT_STRUCT36
= { ((((mmc_uint_t)1)<<(3))+((1<<(3+3))+5)), "\n"
}
;
106#define _OMC_LIT36((void*)((char*)(&(_OMC_LIT_STRUCT36).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT36)((void*)((char*)(&(_OMC_LIT_STRUCT36).header) + 3))
107#define _OMC_LIT37_data"computation fo determinant failed!\n" "computation fo determinant failed!\n"
108static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT37,35,_OMC_LIT37_data)struct { mmc_uint_t header; const char data[(35)+1]; } _OMC_LIT_STRUCT37
= { ((((mmc_uint_t)35)<<(3))+((1<<(3+3))+5)), "computation fo determinant failed!\n"
}
;
109#define _OMC_LIT37((void*)((char*)(&(_OMC_LIT_STRUCT37).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT37)((void*)((char*)(&(_OMC_LIT_STRUCT37).header) + 3))
110static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT38,2,19)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT38
= { (((2) << 10) + (((19) & 255) << 2)),
{&DAE_Type_T__ANYTYPE__desc,MMC_REFSTRUCTLIT(mmc_none)((void*)((char*)(&(mmc_none).header) + 3))}};
111#define _OMC_LIT38((void*)((char*)(&(_OMC_LIT_STRUCT38).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT38)((void*)((char*)(&(_OMC_LIT_STRUCT38).header) + 3))
112static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT39,2,6)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT39
= { (((2) << 10) + (((6) & 255) << 2)),
{&DAE_Operator_DIV__desc,_OMC_LIT38((void*)((char*)(&(_OMC_LIT_STRUCT38).header) + 3))}};
113#define _OMC_LIT39((void*)((char*)(&(_OMC_LIT_STRUCT39).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT39)((void*)((char*)(&(_OMC_LIT_STRUCT39).header) + 3))
114#define _OMC_LIT40_data"" ""
115static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT40,0,_OMC_LIT40_data)struct { mmc_uint_t header; const char data[(0)+1]; } _OMC_LIT_STRUCT40
= { ((((mmc_uint_t)0)<<(3))+((1<<(3+3))+5)), "" }
;
116#define _OMC_LIT40((void*)((char*)(&(_OMC_LIT_STRUCT40).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT40)((void*)((char*)(&(_OMC_LIT_STRUCT40).header) + 3))
117static const MMC_DEFREALLIT(_OMC_LIT_STRUCT41,0.0)struct mmc_real_lit _OMC_LIT_STRUCT41 = {0,(((8/8) << 10
) + 9),0.0}
;
118#define _OMC_LIT41((void*)((char*)(&(_OMC_LIT_STRUCT41).header) + 3)) MMC_REFREALLIT(_OMC_LIT_STRUCT41)((void*)((char*)(&(_OMC_LIT_STRUCT41).header) + 3))
119static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT42,8,3)struct { mmc_uint_t header; const void *data[8]; } _OMC_LIT_STRUCT42
= { (((8) << 10) + (((3) & 255) << 2)),
{&SourceInfo_SOURCEINFO__desc,_OMC_LIT40((void*)((char*)(&(_OMC_LIT_STRUCT40).header) + 3)),MMC_IMMEDIATE(MMC_TAGFIXNUM(0))((void*)(((((mmc_uint_t) (0)) << 1)+0))),MMC_IMMEDIATE(MMC_TAGFIXNUM(0))((void*)(((((mmc_uint_t) (0)) << 1)+0))),MMC_IMMEDIATE(MMC_TAGFIXNUM(0))((void*)(((((mmc_uint_t) (0)) << 1)+0))),MMC_IMMEDIATE(MMC_TAGFIXNUM(0))((void*)(((((mmc_uint_t) (0)) << 1)+0))),MMC_IMMEDIATE(MMC_TAGFIXNUM(0))((void*)(((((mmc_uint_t) (0)) << 1)+0))),_OMC_LIT41((void*)((char*)(&(_OMC_LIT_STRUCT41).header) + 3))}};
120#define _OMC_LIT42((void*)((char*)(&(_OMC_LIT_STRUCT42).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT42)((void*)((char*)(&(_OMC_LIT_STRUCT42).header) + 3))
121static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT43,1,4)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT43
= { (((1) << 10) + (((4) & 255) << 2)),
{&DAE_ComponentPrefix_NOCOMPPRE__desc,}};
122#define _OMC_LIT43((void*)((char*)(&(_OMC_LIT_STRUCT43).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT43)((void*)((char*)(&(_OMC_LIT_STRUCT43).header) + 3))
123static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT44,8,3)struct { mmc_uint_t header; const void *data[8]; } _OMC_LIT_STRUCT44
= { (((8) << 10) + (((3) & 255) << 2)),
{&DAE_ElementSource_SOURCE__desc,_OMC_LIT42((void*)((char*)(&(_OMC_LIT_STRUCT42).header) + 3)),MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3)),_OMC_LIT43((void*)((char*)(&(_OMC_LIT_STRUCT43).header) + 3)),MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3)),MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3)),MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3)),MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3))}};
124#define _OMC_LIT44((void*)((char*)(&(_OMC_LIT_STRUCT44).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT44)((void*)((char*)(&(_OMC_LIT_STRUCT44).header) + 3))
125static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT45,1,9)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT45
= { (((1) << 10) + (((9) & 255) << 2)),
{&BackendDAE_EquationKind_UNKNOWN__EQUATION__KIND__desc,}};
126#define _OMC_LIT45((void*)((char*)(&(_OMC_LIT_STRUCT45).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT45)((void*)((char*)(&(_OMC_LIT_STRUCT45).header) + 3))
127static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT46,5,3)struct { mmc_uint_t header; const void *data[5]; } _OMC_LIT_STRUCT46
= { (((5) << 10) + (((3) & 255) << 2)),
{&BackendDAE_EvaluationStages_EVALUATION__STAGES__desc,MMC_IMMEDIATE(MMC_TAGFIXNUM(0))((void*)(((((mmc_uint_t) (0)) << 1)+0))),MMC_IMMEDIATE(MMC_TAGFIXNUM(0))((void*)(((((mmc_uint_t) (0)) << 1)+0))),MMC_IMMEDIATE(MMC_TAGFIXNUM(0))((void*)(((((mmc_uint_t) (0)) << 1)+0))),MMC_IMMEDIATE(MMC_TAGFIXNUM(0))((void*)(((((mmc_uint_t) (0)) << 1)+0)))}};
128#define _OMC_LIT46((void*)((char*)(&(_OMC_LIT_STRUCT46).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT46)((void*)((char*)(&(_OMC_LIT_STRUCT46).header) + 3))
129static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT47,4,3)struct { mmc_uint_t header; const void *data[4]; } _OMC_LIT_STRUCT47
= { (((4) << 10) + (((3) & 255) << 2)),
{&BackendDAE_EquationAttributes_EQUATION__ATTRIBUTES__desc,MMC_IMMEDIATE(MMC_TAGFIXNUM(0))((void*)(((((mmc_uint_t) (0)) << 1)+0))),_OMC_LIT45((void*)((char*)(&(_OMC_LIT_STRUCT45).header) + 3)),_OMC_LIT46((void*)((char*)(&(_OMC_LIT_STRUCT46).header) + 3))}};
130#define _OMC_LIT47((void*)((char*)(&(_OMC_LIT_STRUCT47).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT47)((void*)((char*)(&(_OMC_LIT_STRUCT47).header) + 3))
131#define _OMC_LIT48_data"$det_a" "$det_a"
132static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT48,6,_OMC_LIT48_data)struct { mmc_uint_t header; const char data[(6)+1]; } _OMC_LIT_STRUCT48
= { ((((mmc_uint_t)6)<<(3))+((1<<(3+3))+5)), "$det_a"
}
;
133#define _OMC_LIT48((void*)((char*)(&(_OMC_LIT_STRUCT48).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT48)((void*)((char*)(&(_OMC_LIT_STRUCT48).header) + 3))
134#define _OMC_LIT49_data"__" "__"
135static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT49,2,_OMC_LIT49_data)struct { mmc_uint_t header; const char data[(2)+1]; } _OMC_LIT_STRUCT49
= { ((((mmc_uint_t)2)<<(3))+((1<<(3+3))+5)), "__"
}
;
136#define _OMC_LIT49((void*)((char*)(&(_OMC_LIT_STRUCT49).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT49)((void*)((char*)(&(_OMC_LIT_STRUCT49).header) + 3))
137static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT50,1,3)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT50
= { (((1) << 10) + (((3) & 255) << 2)),
{&BackendDAE_VarKind_VARIABLE__desc,}};
138#define _OMC_LIT50((void*)((char*)(&(_OMC_LIT_STRUCT50).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT50)((void*)((char*)(&(_OMC_LIT_STRUCT50).header) + 3))
139static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT51,1,5)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT51
= { (((1) << 10) + (((5) & 255) << 2)),
{&DAE_VarDirection_BIDIR__desc,}};
140#define _OMC_LIT51((void*)((char*)(&(_OMC_LIT_STRUCT51).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT51)((void*)((char*)(&(_OMC_LIT_STRUCT51).header) + 3))
141static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT52,1,5)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT52
= { (((1) << 10) + (((5) & 255) << 2)),
{&DAE_VarParallelism_NON__PARALLEL__desc,}};
142#define _OMC_LIT52((void*)((char*)(&(_OMC_LIT_STRUCT52).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT52)((void*)((char*)(&(_OMC_LIT_STRUCT52).header) + 3))
143static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT53,2,6)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT53
= { (((2) << 10) + (((6) & 255) << 2)),
{&DAE_Exp_BCONST__desc,MMC_IMMEDIATE(MMC_TAGFIXNUM(0))((void*)(((((mmc_uint_t) (0)) << 1)+0)))}};
144#define _OMC_LIT53((void*)((char*)(&(_OMC_LIT_STRUCT53).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT53)((void*)((char*)(&(_OMC_LIT_STRUCT53).header) + 3))
145static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT54,1,6)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT54
= { (((1) << 10) + (((6) & 255) << 2)),
{&DAE_ConnectorType_NON__CONNECTOR__desc,}};
146#define _OMC_LIT54((void*)((char*)(&(_OMC_LIT_STRUCT54).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT54)((void*)((char*)(&(_OMC_LIT_STRUCT54).header) + 3))
147static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT55,1,6)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT55
= { (((1) << 10) + (((6) & 255) << 2)),
{&DAE_VarInnerOuter_NOT__INNER__OUTER__desc,}};
148#define _OMC_LIT55((void*)((char*)(&(_OMC_LIT_STRUCT55).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT55)((void*)((char*)(&(_OMC_LIT_STRUCT55).header) + 3))
149static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT56,1,4)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT56
= { (((1) << 10) + (((4) & 255) << 2)),
{&BackendDAE_EquationKind_DYNAMIC__EQUATION__desc,}};
150#define _OMC_LIT56((void*)((char*)(&(_OMC_LIT_STRUCT56).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT56)((void*)((char*)(&(_OMC_LIT_STRUCT56).header) + 3))
151static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT57,4,3)struct { mmc_uint_t header; const void *data[4]; } _OMC_LIT_STRUCT57
= { (((4) << 10) + (((3) & 255) << 2)),
{&BackendDAE_EquationAttributes_EQUATION__ATTRIBUTES__desc,MMC_IMMEDIATE(MMC_TAGFIXNUM(0))((void*)(((((mmc_uint_t) (0)) << 1)+0))),_OMC_LIT56((void*)((char*)(&(_OMC_LIT_STRUCT56).header) + 3)),_OMC_LIT46((void*)((char*)(&(_OMC_LIT_STRUCT46).header) + 3))}};
152#define _OMC_LIT57((void*)((char*)(&(_OMC_LIT_STRUCT57).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT57)((void*)((char*)(&(_OMC_LIT_STRUCT57).header) + 3))
153#define _OMC_LIT58_data"$det_b" "$det_b"
154static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT58,6,_OMC_LIT58_data)struct { mmc_uint_t header; const char data[(6)+1]; } _OMC_LIT_STRUCT58
= { ((((mmc_uint_t)6)<<(3))+((1<<(3+3))+5)), "$det_b"
}
;
155#define _OMC_LIT58((void*)((char*)(&(_OMC_LIT_STRUCT58).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT58)((void*)((char*)(&(_OMC_LIT_STRUCT58).header) + 3))
156#define _OMC_LIT59_data"$det_" "$det_"
157static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT59,5,_OMC_LIT59_data)struct { mmc_uint_t header; const char data[(5)+1]; } _OMC_LIT_STRUCT59
= { ((((mmc_uint_t)5)<<(3))+((1<<(3+3))+5)), "$det_"
}
;
158#define _OMC_LIT59((void*)((char*)(&(_OMC_LIT_STRUCT59).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT59)((void*)((char*)(&(_OMC_LIT_STRUCT59).header) + 3))
159#define _OMC_LIT60_data"a" "a"
160static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT60,1,_OMC_LIT60_data)struct { mmc_uint_t header; const char data[(1)+1]; } _OMC_LIT_STRUCT60
= { ((((mmc_uint_t)1)<<(3))+((1<<(3+3))+5)), "a"
}
;
161#define _OMC_LIT60((void*)((char*)(&(_OMC_LIT_STRUCT60).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT60)((void*)((char*)(&(_OMC_LIT_STRUCT60).header) + 3))
162#define _OMC_LIT61_data"b" "b"
163static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT61,1,_OMC_LIT61_data)struct { mmc_uint_t header; const char data[(1)+1]; } _OMC_LIT_STRUCT61
= { ((((mmc_uint_t)1)<<(3))+((1<<(3+3))+5)), "b"
}
;
164#define _OMC_LIT61((void*)((char*)(&(_OMC_LIT_STRUCT61).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT61)((void*)((char*)(&(_OMC_LIT_STRUCT61).header) + 3))
165#define _OMC_LIT62_data"the new equation to solve x" "the new equation to solve x"
166static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT62,27,_OMC_LIT62_data)struct { mmc_uint_t header; const char data[(27)+1]; } _OMC_LIT_STRUCT62
= { ((((mmc_uint_t)27)<<(3))+((1<<(3+3))+5)), "the new equation to solve x"
}
;
167#define _OMC_LIT62((void*)((char*)(&(_OMC_LIT_STRUCT62).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT62)((void*)((char*)(&(_OMC_LIT_STRUCT62).header) + 3))
168static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT63,2,4)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT63
= { (((2) << 10) + (((4) & 255) << 2)),
{&DAE_Exp_RCONST__desc,_OMC_LIT41((void*)((char*)(&(_OMC_LIT_STRUCT41).header) + 3))}};
169#define _OMC_LIT63((void*)((char*)(&(_OMC_LIT_STRUCT63).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT63)((void*)((char*)(&(_OMC_LIT_STRUCT63).header) + 3))
170#define _OMC_LIT64_data"matrixB" "matrixB"
171static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT64,7,_OMC_LIT64_data)struct { mmc_uint_t header; const char data[(7)+1]; } _OMC_LIT_STRUCT64
= { ((((mmc_uint_t)7)<<(3))+((1<<(3+3))+5)), "matrixB"
}
;
172#define _OMC_LIT64((void*)((char*)(&(_OMC_LIT_STRUCT64).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT64)((void*)((char*)(&(_OMC_LIT_STRUCT64).header) + 3))
173#define _OMC_LIT65_data"vecAi\n" "vecAi\n"
174static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT65,6,_OMC_LIT65_data)struct { mmc_uint_t header; const char data[(6)+1]; } _OMC_LIT_STRUCT65
= { ((((mmc_uint_t)6)<<(3))+((1<<(3+3))+5)), "vecAi\n"
}
;
175#define _OMC_LIT65((void*)((char*)(&(_OMC_LIT_STRUCT65).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT65)((void*)((char*)(&(_OMC_LIT_STRUCT65).header) + 3))
176#define _OMC_LIT66_data"new det eqs" "new det eqs"
177static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT66,11,_OMC_LIT66_data)struct { mmc_uint_t header; const char data[(11)+1]; } _OMC_LIT_STRUCT66
= { ((((mmc_uint_t)11)<<(3))+((1<<(3+3))+5)), "new det eqs"
}
;
178#define _OMC_LIT66((void*)((char*)(&(_OMC_LIT_STRUCT66).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT66)((void*)((char*)(&(_OMC_LIT_STRUCT66).header) + 3))
179#define _OMC_LIT67_data"end matrixB" "end matrixB"
180static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT67,11,_OMC_LIT67_data)struct { mmc_uint_t header; const char data[(11)+1]; } _OMC_LIT_STRUCT67
= { ((((mmc_uint_t)11)<<(3))+((1<<(3+3))+5)), "end matrixB"
}
;
181#define _OMC_LIT67((void*)((char*)(&(_OMC_LIT_STRUCT67).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT67)((void*)((char*)(&(_OMC_LIT_STRUCT67).header) + 3))
182#define _OMC_LIT68_data"end vecAi\n" "end vecAi\n"
183static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT68,10,_OMC_LIT68_data)struct { mmc_uint_t header; const char data[(10)+1]; } _OMC_LIT_STRUCT68
= { ((((mmc_uint_t)10)<<(3))+((1<<(3+3))+5)), "end vecAi\n"
}
;
184#define _OMC_LIT68((void*)((char*)(&(_OMC_LIT_STRUCT68).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT68)((void*)((char*)(&(_OMC_LIT_STRUCT68).header) + 3))
185#define _OMC_LIT69_data"getSummands failed! for" "getSummands failed! for"
186static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT69,23,_OMC_LIT69_data)struct { mmc_uint_t header; const char data[(23)+1]; } _OMC_LIT_STRUCT69
= { ((((mmc_uint_t)23)<<(3))+((1<<(3+3))+5)), "getSummands failed! for"
}
;
187#define _OMC_LIT69((void*)((char*)(&(_OMC_LIT_STRUCT69).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT69)((void*)((char*)(&(_OMC_LIT_STRUCT69).header) + 3))
188#define _OMC_LIT70_data"\n\n" "\n\n"
189static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT70,2,_OMC_LIT70_data)struct { mmc_uint_t header; const char data[(2)+1]; } _OMC_LIT_STRUCT70
= { ((((mmc_uint_t)2)<<(3))+((1<<(3+3))+5)), "\n\n"
}
;
190#define _OMC_LIT70((void*)((char*)(&(_OMC_LIT_STRUCT70).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT70)((void*)((char*)(&(_OMC_LIT_STRUCT70).header) + 3))
191#define _OMC_LIT71_data"This system of equations cannot be decomposed because its actually not linear (the coeffs are function calls of x).\n" "This system of equations cannot be decomposed because its actually not linear (the coeffs are function calls of x).\n"
192static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT71,116,_OMC_LIT71_data)struct { mmc_uint_t header; const char data[(116)+1]; } _OMC_LIT_STRUCT71
= { ((((mmc_uint_t)116)<<(3))+((1<<(3+3))+5)), "This system of equations cannot be decomposed because its actually not linear (the coeffs are function calls of x).\n"
}
;
193#define _OMC_LIT71((void*)((char*)(&(_OMC_LIT_STRUCT71).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT71)((void*)((char*)(&(_OMC_LIT_STRUCT71).header) + 3))
194static const MMC_DEFREALLIT(_OMC_LIT_STRUCT72,1.0)struct mmc_real_lit _OMC_LIT_STRUCT72 = {0,(((8/8) << 10
) + 9),1.0}
;
195#define _OMC_LIT72((void*)((char*)(&(_OMC_LIT_STRUCT72).header) + 3)) MMC_REFREALLIT(_OMC_LIT_STRUCT72)((void*)((char*)(&(_OMC_LIT_STRUCT72).header) + 3))
196static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT73,2,4)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT73
= { (((2) << 10) + (((4) & 255) << 2)),
{&DAE_Exp_RCONST__desc,_OMC_LIT72((void*)((char*)(&(_OMC_LIT_STRUCT72).header) + 3))}};
197#define _OMC_LIT73((void*)((char*)(&(_OMC_LIT_STRUCT73).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT73)((void*)((char*)(&(_OMC_LIT_STRUCT73).header) + 3))
198static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT74,2,4)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT74
= { (((2) << 10) + (((4) & 255) << 2)),
{&Absyn_Path_IDENT__desc,_OMC_LIT40((void*)((char*)(&(_OMC_LIT_STRUCT40).header) + 3))}};
199#define _OMC_LIT74((void*)((char*)(&(_OMC_LIT_STRUCT74).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT74)((void*)((char*)(&(_OMC_LIT_STRUCT74).header) + 3))
200static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT75,2,3)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT75
= { (((2) << 10) + (((3) & 255) << 2)),
{&ClassInf_State_UNKNOWN__desc,_OMC_LIT74((void*)((char*)(&(_OMC_LIT_STRUCT74).header) + 3))}};
201#define _OMC_LIT75((void*)((char*)(&(_OMC_LIT_STRUCT75).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT75)((void*)((char*)(&(_OMC_LIT_STRUCT75).header) + 3))
202static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT76,4,12)struct { mmc_uint_t header; const void *data[4]; } _OMC_LIT_STRUCT76
= { (((4) << 10) + (((12) & 255) << 2)),
{&DAE_Type_T__COMPLEX__desc,_OMC_LIT75((void*)((char*)(&(_OMC_LIT_STRUCT75).header) + 3)),MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3)),MMC_REFSTRUCTLIT(mmc_none)((void*)((char*)(&(mmc_none).header) + 3))}};
203#define _OMC_LIT76((void*)((char*)(&(_OMC_LIT_STRUCT76).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT76)((void*)((char*)(&(_OMC_LIT_STRUCT76).header) + 3))
204static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT77,2,4)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT77
= { (((2) << 10) + (((4) & 255) << 2)),
{&DAE_Type_T__REAL__desc,MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3))}};
205#define _OMC_LIT77((void*)((char*)(&(_OMC_LIT_STRUCT77).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT77)((void*)((char*)(&(_OMC_LIT_STRUCT77).header) + 3))
206#define _OMC_LIT78_data"$xa" "$xa"
207static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT78,3,_OMC_LIT78_data)struct { mmc_uint_t header; const char data[(3)+1]; } _OMC_LIT_STRUCT78
= { ((((mmc_uint_t)3)<<(3))+((1<<(3+3))+5)), "$xa"
}
;
208#define _OMC_LIT78((void*)((char*)(&(_OMC_LIT_STRUCT78).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT78)((void*)((char*)(&(_OMC_LIT_STRUCT78).header) + 3))
209#define _OMC_LIT79_data"0" "0"
210static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT79,1,_OMC_LIT79_data)struct { mmc_uint_t header; const char data[(1)+1]; } _OMC_LIT_STRUCT79
= { ((((mmc_uint_t)1)<<(3))+((1<<(3+3))+5)), "0"
}
;
211#define _OMC_LIT79((void*)((char*)(&(_OMC_LIT_STRUCT79).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT79)((void*)((char*)(&(_OMC_LIT_STRUCT79).header) + 3))
212#define _OMC_LIT80_data"$g" "$g"
213static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT80,2,_OMC_LIT80_data)struct { mmc_uint_t header; const char data[(2)+1]; } _OMC_LIT_STRUCT80
= { ((((mmc_uint_t)2)<<(3))+((1<<(3+3))+5)), "$g"
}
;
214#define _OMC_LIT80((void*)((char*)(&(_OMC_LIT_STRUCT80).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT80)((void*)((char*)(&(_OMC_LIT_STRUCT80).header) + 3))
215#define _OMC_LIT81_data"getAlgebraicEquationsForEI failed\n" "getAlgebraicEquationsForEI failed\n"
216static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT81,34,_OMC_LIT81_data)struct { mmc_uint_t header; const char data[(34)+1]; } _OMC_LIT_STRUCT81
= { ((((mmc_uint_t)34)<<(3))+((1<<(3+3))+5)), "getAlgebraicEquationsForEI failed\n"
}
;
217#define _OMC_LIT81((void*)((char*)(&(_OMC_LIT_STRUCT81).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT81)((void*)((char*)(&(_OMC_LIT_STRUCT81).header) + 3))
218#define _OMC_LIT82_data"getResidualExpressionForEquation failed\n" "getResidualExpressionForEquation failed\n"
219static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT82,40,_OMC_LIT82_data)struct { mmc_uint_t header; const char data[(40)+1]; } _OMC_LIT_STRUCT82
= { ((((mmc_uint_t)40)<<(3))+((1<<(3+3))+5)), "getResidualExpressionForEquation failed\n"
}
;
220#define _OMC_LIT82((void*)((char*)(&(_OMC_LIT_STRUCT82).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT82)((void*)((char*)(&(_OMC_LIT_STRUCT82).header) + 3))
221#define _OMC_LIT83_data"getResidualExpressions failed \n" "getResidualExpressions failed \n"
222static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT83,31,_OMC_LIT83_data)struct { mmc_uint_t header; const char data[(31)+1]; } _OMC_LIT_STRUCT83
= { ((((mmc_uint_t)31)<<(3))+((1<<(3+3))+5)), "getResidualExpressions failed \n"
}
;
223#define _OMC_LIT83((void*)((char*)(&(_OMC_LIT_STRUCT83).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT83)((void*)((char*)(&(_OMC_LIT_STRUCT83).header) + 3))
224#define _OMC_LIT84_data"$a" "$a"
225static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT84,2,_OMC_LIT84_data)struct { mmc_uint_t header; const char data[(2)+1]; } _OMC_LIT_STRUCT84
= { ((((mmc_uint_t)2)<<(3))+((1<<(3+3))+5)), "$a"
}
;
226#define _OMC_LIT84((void*)((char*)(&(_OMC_LIT_STRUCT84).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT84)((void*)((char*)(&(_OMC_LIT_STRUCT84).header) + 3))
227#define _OMC_LIT85_data"getTornSystemCoefficients1 failed\n" "getTornSystemCoefficients1 failed\n"
228static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT85,34,_OMC_LIT85_data)struct { mmc_uint_t header; const char data[(34)+1]; } _OMC_LIT_STRUCT85
= { ((((mmc_uint_t)34)<<(3))+((1<<(3+3))+5)), "getTornSystemCoefficients1 failed\n"
}
;
229#define _OMC_LIT85((void*)((char*)(&(_OMC_LIT_STRUCT85).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT85)((void*)((char*)(&(_OMC_LIT_STRUCT85).header) + 3))
230#define _OMC_LIT86_data"getTornSystemCoefficients failed!\n" "getTornSystemCoefficients failed!\n"
231static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT86,34,_OMC_LIT86_data)struct { mmc_uint_t header; const char data[(34)+1]; } _OMC_LIT_STRUCT86
= { ((((mmc_uint_t)34)<<(3))+((1<<(3+3))+5)), "getTornSystemCoefficients failed!\n"
}
;
232#define _OMC_LIT86((void*)((char*)(&(_OMC_LIT_STRUCT86).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT86)((void*)((char*)(&(_OMC_LIT_STRUCT86).header) + 3))
233static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT87,1,3)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT87
= { (((1) << 10) + (((3) & 255) << 2)),
{&BackendDAE_BaseClockPartitionKind_UNKNOWN__PARTITION__desc,}};
234#define _OMC_LIT87((void*)((char*)(&(_OMC_LIT_STRUCT87).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT87)((void*)((char*)(&(_OMC_LIT_STRUCT87).header) + 3))
235static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT88,1,4)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT88
= { (((1) << 10) + (((4) & 255) << 2)),
{&BackendDAE_IndexType_NORMAL__desc,}};
236#define _OMC_LIT88((void*)((char*)(&(_OMC_LIT_STRUCT88).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT88)((void*)((char*)(&(_OMC_LIT_STRUCT88).header) + 3))
237#define _OMC_LIT89_data"buildSingleEquationSystem failed\n" "buildSingleEquationSystem failed\n"
238static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT89,33,_OMC_LIT89_data)struct { mmc_uint_t header; const char data[(33)+1]; } _OMC_LIT_STRUCT89
= { ((((mmc_uint_t)33)<<(3))+((1<<(3+3))+5)), "buildSingleEquationSystem failed\n"
}
;
239#define _OMC_LIT89((void*)((char*)(&(_OMC_LIT_STRUCT89).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT89)((void*)((char*)(&(_OMC_LIT_STRUCT89).header) + 3))
240#define _OMC_LIT90_data"buildNewResidualEquation2 failed!\n" "buildNewResidualEquation2 failed!\n"
241static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT90,34,_OMC_LIT90_data)struct { mmc_uint_t header; const char data[(34)+1]; } _OMC_LIT_STRUCT90
= { ((((mmc_uint_t)34)<<(3))+((1<<(3+3))+5)), "buildNewResidualEquation2 failed!\n"
}
;
242#define _OMC_LIT90((void*)((char*)(&(_OMC_LIT_STRUCT90).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT90)((void*)((char*)(&(_OMC_LIT_STRUCT90).header) + 3))
243#define _OMC_LIT91_data"buildNewResidualEquation failed" "buildNewResidualEquation failed"
244static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT91,31,_OMC_LIT91_data)struct { mmc_uint_t header; const char data[(31)+1]; } _OMC_LIT_STRUCT91
= { ((((mmc_uint_t)31)<<(3))+((1<<(3+3))+5)), "buildNewResidualEquation failed"
}
;
245#define _OMC_LIT91((void*)((char*)(&(_OMC_LIT_STRUCT91).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT91)((void*)((char*)(&(_OMC_LIT_STRUCT91).header) + 3))
246#define _OMC_LIT92_data"updateVarEqIndices failed\n" "updateVarEqIndices failed\n"
247static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT92,26,_OMC_LIT92_data)struct { mmc_uint_t header; const char data[(26)+1]; } _OMC_LIT_STRUCT92
= { ((((mmc_uint_t)26)<<(3))+((1<<(3+3))+5)), "updateVarEqIndices failed\n"
}
;
248#define _OMC_LIT92((void*)((char*)(&(_OMC_LIT_STRUCT92).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT92)((void*)((char*)(&(_OMC_LIT_STRUCT92).header) + 3))
249#define _OMC_LIT93_data"getOtherComps failed\n" "getOtherComps failed\n"
250static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT93,21,_OMC_LIT93_data)struct { mmc_uint_t header; const char data[(21)+1]; } _OMC_LIT_STRUCT93
= { ((((mmc_uint_t)21)<<(3))+((1<<(3+3))+5)), "getOtherComps failed\n"
}
;
251#define _OMC_LIT93((void*)((char*)(&(_OMC_LIT_STRUCT93).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT93)((void*)((char*)(&(_OMC_LIT_STRUCT93).header) + 3))
252static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT94,2,8)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT94
= { (((2) << 10) + (((8) & 255) << 2)),
{&DAE_Operator_UMINUS__desc,_OMC_LIT77((void*)((char*)(&(_OMC_LIT_STRUCT77).header) + 3))}};
253#define _OMC_LIT94((void*)((char*)(&(_OMC_LIT_STRUCT94).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT94)((void*)((char*)(&(_OMC_LIT_STRUCT94).header) + 3))
254static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT95,1,4)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT95
= { (((1) << 10) + (((4) & 255) << 2)),
{&BackendDAE_JacobianType_JAC__LINEAR__desc,}};
255#define _OMC_LIT95((void*)((char*)(&(_OMC_LIT_STRUCT95).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT95)((void*)((char*)(&(_OMC_LIT_STRUCT95).header) + 3))
256#define _OMC_LIT96_data"partlintorn" "partlintorn"
257static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT96,11,_OMC_LIT96_data)struct { mmc_uint_t header; const char data[(11)+1]; } _OMC_LIT_STRUCT96
= { ((((mmc_uint_t)11)<<(3))+((1<<(3+3))+5)), "partlintorn"
}
;
258#define _OMC_LIT96((void*)((char*)(&(_OMC_LIT_STRUCT96).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT96)((void*)((char*)(&(_OMC_LIT_STRUCT96).header) + 3))
259static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT97,1,4)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT97
= { (((1) << 10) + (((4) & 255) << 2)),
{&Flags_FlagVisibility_EXTERNAL__desc,}};
260#define _OMC_LIT97((void*)((char*)(&(_OMC_LIT_STRUCT97).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT97)((void*)((char*)(&(_OMC_LIT_STRUCT97).header) + 3))
261static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT98,2,5)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT98
= { (((2) << 10) + (((5) & 255) << 2)),
{&Flags_FlagData_INT__FLAG__desc,MMC_IMMEDIATE(MMC_TAGFIXNUM(0))((void*)(((((mmc_uint_t) (0)) << 1)+0)))}};
262#define _OMC_LIT98((void*)((char*)(&(_OMC_LIT_STRUCT98).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT98)((void*)((char*)(&(_OMC_LIT_STRUCT98).header) + 3))
263#define _OMC_LIT99_data"Sets the limit for partitionin of linear torn systems." "Sets the limit for partitionin of linear torn systems."
264static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT99,54,_OMC_LIT99_data)struct { mmc_uint_t header; const char data[(54)+1]; } _OMC_LIT_STRUCT99
= { ((((mmc_uint_t)54)<<(3))+((1<<(3+3))+5)), "Sets the limit for partitionin of linear torn systems."
}
;
265#define _OMC_LIT99((void*)((char*)(&(_OMC_LIT_STRUCT99).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT99)((void*)((char*)(&(_OMC_LIT_STRUCT99).header) + 3))
266static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT100,2,3)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT100
= { (((2) << 10) + (((3) & 255) << 2)),
{&Gettext_TranslatableContent_gettext__desc,_OMC_LIT99((void*)((char*)(&(_OMC_LIT_STRUCT99).header) + 3))}};
267#define _OMC_LIT100((void*)((char*)(&(_OMC_LIT_STRUCT100).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT100)((void*)((char*)(&(_OMC_LIT_STRUCT100).header) + 3))
268static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT101,8,3)struct { mmc_uint_t header; const void *data[8]; } _OMC_LIT_STRUCT101
= { (((8) << 10) + (((3) & 255) << 2)),
{&Flags_ConfigFlag_CONFIG__FLAG__desc,MMC_IMMEDIATE(MMC_TAGFIXNUM(76))((void*)(((((mmc_uint_t) (76)) << 1)+0))),_OMC_LIT96((void*)((char*)(&(_OMC_LIT_STRUCT96).header) + 3)),MMC_REFSTRUCTLIT(mmc_none)((void*)((char*)(&(mmc_none).header) + 3)),_OMC_LIT97((void*)((char*)(&(_OMC_LIT_STRUCT97).header) + 3)),_OMC_LIT98((void*)((char*)(&(_OMC_LIT_STRUCT98).header) + 3)),MMC_REFSTRUCTLIT(mmc_none)((void*)((char*)(&(mmc_none).header) + 3)),_OMC_LIT100((void*)((char*)(&(_OMC_LIT_STRUCT100).header) + 3))}};
269#define _OMC_LIT101((void*)((char*)(&(_OMC_LIT_STRUCT101).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT101)((void*)((char*)(&(_OMC_LIT_STRUCT101).header) + 3))
270#define _OMC_LIT102_data"reduceLinearTornSystem failed!" "reduceLinearTornSystem failed!"
271static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT102,30,_OMC_LIT102_data)struct { mmc_uint_t header; const char data[(30)+1]; } _OMC_LIT_STRUCT102
= { ((((mmc_uint_t)30)<<(3))+((1<<(3+3))+5)), "reduceLinearTornSystem failed!"
}
;
272#define _OMC_LIT102((void*)((char*)(&(_OMC_LIT_STRUCT102).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT102)((void*)((char*)(&(_OMC_LIT_STRUCT102).header) + 3))
273#include "util/modelica.h"
274
275#include "HpcOmEqSystems_includes.h"
276
277
278/* default, do not make protected functions static */
279#if !defined(PROTECTED_FUNCTION_STATIC)
280#define PROTECTED_FUNCTION_STATIC
281#endif
282PROTECTED_FUNCTION_STATIC modelica_metatype omc_HpcOmEqSystems_buildDummyCommCost(threadData_t *threadData, modelica_integer _iChildNodeIdx);
283PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_HpcOmEqSystems_buildDummyCommCost(threadData_t *threadData, modelica_metatype _iChildNodeIdx);
284static const MMC_DEFSTRUCTLIT(boxvar_lit_HpcOmEqSystems_buildDummyCommCost,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_HpcOmEqSystems_buildDummyCommCost
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_HpcOmEqSystems_buildDummyCommCost,0}};
285#define boxvar_HpcOmEqSystems_buildDummyCommCost((void*)((char*)(&(boxvar_lit_HpcOmEqSystems_buildDummyCommCost
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_HpcOmEqSystems_buildDummyCommCost)((void*)((char*)(&(boxvar_lit_HpcOmEqSystems_buildDummyCommCost
).header) + 3))
286PROTECTED_FUNCTION_STATIC modelica_metatype omc_HpcOmEqSystems_buildDummyCommCosts(threadData_t *threadData, modelica_metatype _childNodes);
287static const MMC_DEFSTRUCTLIT(boxvar_lit_HpcOmEqSystems_buildDummyCommCosts,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_HpcOmEqSystems_buildDummyCommCosts
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_HpcOmEqSystems_buildDummyCommCostsomc_HpcOmEqSystems_buildDummyCommCosts,0}};
288#define boxvar_HpcOmEqSystems_buildDummyCommCosts((void*)((char*)(&(boxvar_lit_HpcOmEqSystems_buildDummyCommCosts
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_HpcOmEqSystems_buildDummyCommCosts)((void*)((char*)(&(boxvar_lit_HpcOmEqSystems_buildDummyCommCosts
).header) + 3))
289PROTECTED_FUNCTION_STATIC modelica_metatype omc_HpcOmEqSystems_buildTaskgraphMetaForTornSystem(threadData_t *threadData, modelica_metatype _graph, modelica_metatype _eqLst, modelica_metatype _varLst, modelica_metatype _metaIn);
290static const MMC_DEFSTRUCTLIT(boxvar_lit_HpcOmEqSystems_buildTaskgraphMetaForTornSystem,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_HpcOmEqSystems_buildTaskgraphMetaForTornSystem
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_HpcOmEqSystems_buildTaskgraphMetaForTornSystemomc_HpcOmEqSystems_buildTaskgraphMetaForTornSystem,0}};
291#define boxvar_HpcOmEqSystems_buildTaskgraphMetaForTornSystem((void*)((char*)(&(boxvar_lit_HpcOmEqSystems_buildTaskgraphMetaForTornSystem
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_HpcOmEqSystems_buildTaskgraphMetaForTornSystem)((void*)((char*)(&(boxvar_lit_HpcOmEqSystems_buildTaskgraphMetaForTornSystem
).header) + 3))
292PROTECTED_FUNCTION_STATIC modelica_metatype omc_HpcOmEqSystems_buildMatchedGraphForTornSystem(threadData_t *threadData, modelica_integer _idx, modelica_metatype _eqsIn, modelica_metatype _varsIn, modelica_metatype _m, modelica_metatype _mt, modelica_metatype _graphIn);
293PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_HpcOmEqSystems_buildMatchedGraphForTornSystem(threadData_t *threadData, modelica_metatype _idx, modelica_metatype _eqsIn, modelica_metatype _varsIn, modelica_metatype _m, modelica_metatype _mt, modelica_metatype _graphIn);
294static const MMC_DEFSTRUCTLIT(boxvar_lit_HpcOmEqSystems_buildMatchedGraphForTornSystem,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_HpcOmEqSystems_buildMatchedGraphForTornSystem
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_HpcOmEqSystems_buildMatchedGraphForTornSystem,0}};
295#define boxvar_HpcOmEqSystems_buildMatchedGraphForTornSystem((void*)((char*)(&(boxvar_lit_HpcOmEqSystems_buildMatchedGraphForTornSystem
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_HpcOmEqSystems_buildMatchedGraphForTornSystem)((void*)((char*)(&(boxvar_lit_HpcOmEqSystems_buildMatchedGraphForTornSystem
).header) + 3))
296PROTECTED_FUNCTION_STATIC modelica_metatype omc_HpcOmEqSystems_genSystemVarIdcs(threadData_t *threadData, modelica_metatype _idcsIn, modelica_integer _idx, modelica_integer *out_idx2);
297PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_HpcOmEqSystems_genSystemVarIdcs(threadData_t *threadData, modelica_metatype _idcsIn, modelica_metatype _idx, modelica_metatype *out_idx2);
298static const MMC_DEFSTRUCTLIT(boxvar_lit_HpcOmEqSystems_genSystemVarIdcs,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_HpcOmEqSystems_genSystemVarIdcs
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_HpcOmEqSystems_genSystemVarIdcs,0}};
299#define boxvar_HpcOmEqSystems_genSystemVarIdcs((void*)((char*)(&(boxvar_lit_HpcOmEqSystems_genSystemVarIdcs
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_HpcOmEqSystems_genSystemVarIdcs)((void*)((char*)(&(boxvar_lit_HpcOmEqSystems_genSystemVarIdcs
).header) + 3))
300PROTECTED_FUNCTION_STATIC modelica_metatype omc_HpcOmEqSystems_pts__transformScheduleToTask(threadData_t *threadData, modelica_metatype _otherEqSys, modelica_metatype _resSimEqs, modelica_integer _compIdx);
301PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_HpcOmEqSystems_pts__transformScheduleToTask(threadData_t *threadData, modelica_metatype _otherEqSys, modelica_metatype _resSimEqs, modelica_metatype _compIdx);
302static const MMC_DEFSTRUCTLIT(boxvar_lit_HpcOmEqSystems_pts__transformScheduleToTask,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_HpcOmEqSystems_pts__transformScheduleToTask
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_HpcOmEqSystems_pts__transformScheduleToTask,0}};
303#define boxvar_HpcOmEqSystems_pts__transformScheduleToTask((void*)((char*)(&(boxvar_lit_HpcOmEqSystems_pts__transformScheduleToTask
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_HpcOmEqSystems_pts__transformScheduleToTask)((void*)((char*)(&(boxvar_lit_HpcOmEqSystems_pts__transformScheduleToTask
).header) + 3))
304PROTECTED_FUNCTION_STATIC modelica_integer omc_HpcOmEqSystems_pts__traverseCompsAndParallelize(threadData_t *threadData, modelica_metatype _inComps, modelica_metatype _eqsIn, modelica_metatype _varsIn, modelica_metatype _sccSimEqMapping, modelica_metatype _simVarMapping, modelica_integer _compIdxIn, modelica_metatype _taskLstIn, modelica_boolean _isInitial, modelica_metatype *out_taskLstOut);
305PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_HpcOmEqSystems_pts__traverseCompsAndParallelize(threadData_t *threadData, modelica_metatype _inComps, modelica_metatype _eqsIn, modelica_metatype _varsIn, modelica_metatype _sccSimEqMapping, modelica_metatype _simVarMapping, modelica_metatype _compIdxIn, modelica_metatype _taskLstIn, modelica_metatype _isInitial, modelica_metatype *out_taskLstOut);
306static const MMC_DEFSTRUCTLIT(boxvar_lit_HpcOmEqSystems_pts__traverseCompsAndParallelize,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_HpcOmEqSystems_pts__traverseCompsAndParallelize
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_HpcOmEqSystems_pts__traverseCompsAndParallelize,0}};
307#define boxvar_HpcOmEqSystems_pts__traverseCompsAndParallelize((void*)((char*)(&(boxvar_lit_HpcOmEqSystems_pts__traverseCompsAndParallelize
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_HpcOmEqSystems_pts__traverseCompsAndParallelize)((void*)((char*)(&(boxvar_lit_HpcOmEqSystems_pts__traverseCompsAndParallelize
).header) + 3))
308PROTECTED_FUNCTION_STATIC modelica_integer omc_HpcOmEqSystems_pts__traverseEqSystems(threadData_t *threadData, modelica_metatype _eqSysIn, modelica_metatype _sccSimEqMapping, modelica_metatype _simVarMapping, modelica_integer _compIdxIn, modelica_metatype _taskLstIn, modelica_boolean _isInitial, modelica_metatype *out_taskLstOut);
309PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_HpcOmEqSystems_pts__traverseEqSystems(threadData_t *threadData, modelica_metatype _eqSysIn, modelica_metatype _sccSimEqMapping, modelica_metatype _simVarMapping, modelica_metatype _compIdxIn, modelica_metatype _taskLstIn, modelica_metatype _isInitial, modelica_metatype *out_taskLstOut);
310static const MMC_DEFSTRUCTLIT(boxvar_lit_HpcOmEqSystems_pts__traverseEqSystems,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_HpcOmEqSystems_pts__traverseEqSystems
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_HpcOmEqSystems_pts__traverseEqSystems,0}};
311#define boxvar_HpcOmEqSystems_pts__traverseEqSystems((void*)((char*)(&(boxvar_lit_HpcOmEqSystems_pts__traverseEqSystems
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_HpcOmEqSystems_pts__traverseEqSystems)((void*)((char*)(&(boxvar_lit_HpcOmEqSystems_pts__traverseEqSystems
).header) + 3))
312PROTECTED_FUNCTION_STATIC modelica_integer omc_HpcOmEqSystems_getScheduledTaskCompIdx(threadData_t *threadData, modelica_metatype _taskIn);
313PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_HpcOmEqSystems_getScheduledTaskCompIdx(threadData_t *threadData, modelica_metatype _taskIn);
314static const MMC_DEFSTRUCTLIT(boxvar_lit_HpcOmEqSystems_getScheduledTaskCompIdx,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_HpcOmEqSystems_getScheduledTaskCompIdx
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_HpcOmEqSystems_getScheduledTaskCompIdx,0}};
315#define boxvar_HpcOmEqSystems_getScheduledTaskCompIdx((void*)((char*)(&(boxvar_lit_HpcOmEqSystems_getScheduledTaskCompIdx
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_HpcOmEqSystems_getScheduledTaskCompIdx)((void*)((char*)(&(boxvar_lit_HpcOmEqSystems_getScheduledTaskCompIdx
).header) + 3))
316PROTECTED_FUNCTION_STATIC modelica_string omc_HpcOmEqSystems_dumpEqArrLst1(threadData_t *threadData, modelica_integer _lstIdx, modelica_metatype _inLstLst, modelica_string _heading);
317PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_HpcOmEqSystems_dumpEqArrLst1(threadData_t *threadData, modelica_metatype _lstIdx, modelica_metatype _inLstLst, modelica_metatype _heading);
318static const MMC_DEFSTRUCTLIT(boxvar_lit_HpcOmEqSystems_dumpEqArrLst1,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_HpcOmEqSystems_dumpEqArrLst1
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_HpcOmEqSystems_dumpEqArrLst1,0}};
319#define boxvar_HpcOmEqSystems_dumpEqArrLst1((void*)((char*)(&(boxvar_lit_HpcOmEqSystems_dumpEqArrLst1
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_HpcOmEqSystems_dumpEqArrLst1)((void*)((char*)(&(boxvar_lit_HpcOmEqSystems_dumpEqArrLst1
).header) + 3))
320PROTECTED_FUNCTION_STATIC void omc_HpcOmEqSystems_dumpEqArrLst(threadData_t *threadData, modelica_metatype _inArrLst, modelica_string _heading);
321static const MMC_DEFSTRUCTLIT(boxvar_lit_HpcOmEqSystems_dumpEqArrLst,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_HpcOmEqSystems_dumpEqArrLst
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_HpcOmEqSystems_dumpEqArrLstomc_HpcOmEqSystems_dumpEqArrLst,0}};
322#define boxvar_HpcOmEqSystems_dumpEqArrLst((void*)((char*)(&(boxvar_lit_HpcOmEqSystems_dumpEqArrLst
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_HpcOmEqSystems_dumpEqArrLst)((void*)((char*)(&(boxvar_lit_HpcOmEqSystems_dumpEqArrLst
).header) + 3))
323PROTECTED_FUNCTION_STATIC modelica_string omc_HpcOmEqSystems_dumpVarArrLst1(threadData_t *threadData, modelica_integer _lstIdx, modelica_metatype _inLstLst, modelica_string _heading);
324PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_HpcOmEqSystems_dumpVarArrLst1(threadData_t *threadData, modelica_metatype _lstIdx, modelica_metatype _inLstLst, modelica_metatype _heading);
325static const MMC_DEFSTRUCTLIT(boxvar_lit_HpcOmEqSystems_dumpVarArrLst1,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_HpcOmEqSystems_dumpVarArrLst1
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_HpcOmEqSystems_dumpVarArrLst1,0}};
326#define boxvar_HpcOmEqSystems_dumpVarArrLst1((void*)((char*)(&(boxvar_lit_HpcOmEqSystems_dumpVarArrLst1
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_HpcOmEqSystems_dumpVarArrLst1)((void*)((char*)(&(boxvar_lit_HpcOmEqSystems_dumpVarArrLst1
).header) + 3))
327PROTECTED_FUNCTION_STATIC void omc_HpcOmEqSystems_dumpVarArrLst(threadData_t *threadData, modelica_metatype _inArrLst, modelica_string _heading);
328static const MMC_DEFSTRUCTLIT(boxvar_lit_HpcOmEqSystems_dumpVarArrLst,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_HpcOmEqSystems_dumpVarArrLst
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_HpcOmEqSystems_dumpVarArrLstomc_HpcOmEqSystems_dumpVarArrLst,0}};
329#define boxvar_HpcOmEqSystems_dumpVarArrLst((void*)((char*)(&(boxvar_lit_HpcOmEqSystems_dumpVarArrLst
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_HpcOmEqSystems_dumpVarArrLst)((void*)((char*)(&(boxvar_lit_HpcOmEqSystems_dumpVarArrLst
).header) + 3))
330PROTECTED_FUNCTION_STATIC void omc_HpcOmEqSystems_dumpMatrix(threadData_t *threadData, modelica_metatype _matrix);
331static const MMC_DEFSTRUCTLIT(boxvar_lit_HpcOmEqSystems_dumpMatrix,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_HpcOmEqSystems_dumpMatrix
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_HpcOmEqSystems_dumpMatrixomc_HpcOmEqSystems_dumpMatrix,0}};
332#define boxvar_HpcOmEqSystems_dumpMatrix((void*)((char*)(&(boxvar_lit_HpcOmEqSystems_dumpMatrix).
header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_HpcOmEqSystems_dumpMatrix)((void*)((char*)(&(boxvar_lit_HpcOmEqSystems_dumpMatrix).
header) + 3))
333PROTECTED_FUNCTION_STATIC modelica_string omc_HpcOmEqSystems_EqSysRowString(threadData_t *threadData, modelica_metatype _Arow, modelica_metatype _x, modelica_metatype _b);
334static const MMC_DEFSTRUCTLIT(boxvar_lit_HpcOmEqSystems_EqSysRowString,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_HpcOmEqSystems_EqSysRowString
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_HpcOmEqSystems_EqSysRowStringomc_HpcOmEqSystems_EqSysRowString,0}};
335#define boxvar_HpcOmEqSystems_EqSysRowString((void*)((char*)(&(boxvar_lit_HpcOmEqSystems_EqSysRowString
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_HpcOmEqSystems_EqSysRowString)((void*)((char*)(&(boxvar_lit_HpcOmEqSystems_EqSysRowString
).header) + 3))
336PROTECTED_FUNCTION_STATIC void omc_HpcOmEqSystems_dumpEqSys(threadData_t *threadData, modelica_metatype _matrix);
337static const MMC_DEFSTRUCTLIT(boxvar_lit_HpcOmEqSystems_dumpEqSys,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_HpcOmEqSystems_dumpEqSys
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_HpcOmEqSystems_dumpEqSysomc_HpcOmEqSystems_dumpEqSys,0}};
338#define boxvar_HpcOmEqSystems_dumpEqSys((void*)((char*)(&(boxvar_lit_HpcOmEqSystems_dumpEqSys).header
) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_HpcOmEqSystems_dumpEqSys)((void*)((char*)(&(boxvar_lit_HpcOmEqSystems_dumpEqSys).header
) + 3))
339PROTECTED_FUNCTION_STATIC modelica_metatype omc_HpcOmEqSystems_transposeMatrix1(threadData_t *threadData, modelica_integer _idx, modelica_metatype _matrixOrig, modelica_metatype _matrixIn);
340PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_HpcOmEqSystems_transposeMatrix1(threadData_t *threadData, modelica_metatype _idx, modelica_metatype _matrixOrig, modelica_metatype _matrixIn);
341static const MMC_DEFSTRUCTLIT(boxvar_lit_HpcOmEqSystems_transposeMatrix1,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_HpcOmEqSystems_transposeMatrix1
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_HpcOmEqSystems_transposeMatrix1,0}};
342#define boxvar_HpcOmEqSystems_transposeMatrix1((void*)((char*)(&(boxvar_lit_HpcOmEqSystems_transposeMatrix1
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_HpcOmEqSystems_transposeMatrix1)((void*)((char*)(&(boxvar_lit_HpcOmEqSystems_transposeMatrix1
).header) + 3))
343PROTECTED_FUNCTION_STATIC modelica_metatype omc_HpcOmEqSystems_transposeMatrix(threadData_t *threadData, modelica_metatype _matrixIn);
344static const MMC_DEFSTRUCTLIT(boxvar_lit_HpcOmEqSystems_transposeMatrix,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_HpcOmEqSystems_transposeMatrix
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_HpcOmEqSystems_transposeMatrixomc_HpcOmEqSystems_transposeMatrix,0}};
345#define boxvar_HpcOmEqSystems_transposeMatrix((void*)((char*)(&(boxvar_lit_HpcOmEqSystems_transposeMatrix
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_HpcOmEqSystems_transposeMatrix)((void*)((char*)(&(boxvar_lit_HpcOmEqSystems_transposeMatrix
).header) + 3))
346PROTECTED_FUNCTION_STATIC modelica_metatype omc_HpcOmEqSystems_getMatrixFromJac(threadData_t *threadData, modelica_metatype _jacValuesIn, modelica_metatype _vars);
347static const MMC_DEFSTRUCTLIT(boxvar_lit_HpcOmEqSystems_getMatrixFromJac,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_HpcOmEqSystems_getMatrixFromJac
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_HpcOmEqSystems_getMatrixFromJacomc_HpcOmEqSystems_getMatrixFromJac,0}};
348#define boxvar_HpcOmEqSystems_getMatrixFromJac((void*)((char*)(&(boxvar_lit_HpcOmEqSystems_getMatrixFromJac
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_HpcOmEqSystems_getMatrixFromJac)((void*)((char*)(&(boxvar_lit_HpcOmEqSystems_getMatrixFromJac
).header) + 3))
349PROTECTED_FUNCTION_STATIC modelica_metatype omc_HpcOmEqSystems_replaceColumnInMatrix(threadData_t *threadData, modelica_metatype _matrixT, modelica_integer _col, modelica_metatype _vectorB);
350PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_HpcOmEqSystems_replaceColumnInMatrix(threadData_t *threadData, modelica_metatype _matrixT, modelica_metatype _col, modelica_metatype _vectorB);
351static const MMC_DEFSTRUCTLIT(boxvar_lit_HpcOmEqSystems_replaceColumnInMatrix,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_HpcOmEqSystems_replaceColumnInMatrix
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_HpcOmEqSystems_replaceColumnInMatrix,0}};
352#define boxvar_HpcOmEqSystems_replaceColumnInMatrix((void*)((char*)(&(boxvar_lit_HpcOmEqSystems_replaceColumnInMatrix
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_HpcOmEqSystems_replaceColumnInMatrix)((void*)((char*)(&(boxvar_lit_HpcOmEqSystems_replaceColumnInMatrix
).header) + 3))
353PROTECTED_FUNCTION_STATIC modelica_metatype omc_HpcOmEqSystems_determinant(threadData_t *threadData, modelica_metatype _matrix);
354static const MMC_DEFSTRUCTLIT(boxvar_lit_HpcOmEqSystems_determinant,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_HpcOmEqSystems_determinant
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_HpcOmEqSystems_determinantomc_HpcOmEqSystems_determinant,0}};
355#define boxvar_HpcOmEqSystems_determinant((void*)((char*)(&(boxvar_lit_HpcOmEqSystems_determinant)
.header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_HpcOmEqSystems_determinant)((void*)((char*)(&(boxvar_lit_HpcOmEqSystems_determinant)
.header) + 3))
356PROTECTED_FUNCTION_STATIC modelica_metatype omc_HpcOmEqSystems_CramerRule1(threadData_t *threadData, modelica_integer _idx, modelica_metatype _syst, modelica_metatype _matrixAT);
357PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_HpcOmEqSystems_CramerRule1(threadData_t *threadData, modelica_metatype _idx, modelica_metatype _syst, modelica_metatype _matrixAT);
358static const MMC_DEFSTRUCTLIT(boxvar_lit_HpcOmEqSystems_CramerRule1,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_HpcOmEqSystems_CramerRule1
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_HpcOmEqSystems_CramerRule1,0}};
359#define boxvar_HpcOmEqSystems_CramerRule1((void*)((char*)(&(boxvar_lit_HpcOmEqSystems_CramerRule1)
.header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_HpcOmEqSystems_CramerRule1)((void*)((char*)(&(boxvar_lit_HpcOmEqSystems_CramerRule1)
.header) + 3))
360PROTECTED_FUNCTION_STATIC modelica_metatype omc_HpcOmEqSystems_CramerRule(threadData_t *threadData, modelica_metatype _system, modelica_metatype *out_otherEqsOut, modelica_metatype *out_otherVarsOut);
361static const MMC_DEFSTRUCTLIT(boxvar_lit_HpcOmEqSystems_CramerRule,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_HpcOmEqSystems_CramerRule
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_HpcOmEqSystems_CramerRuleomc_HpcOmEqSystems_CramerRule,0}};
362#define boxvar_HpcOmEqSystems_CramerRule((void*)((char*)(&(boxvar_lit_HpcOmEqSystems_CramerRule).
header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_HpcOmEqSystems_CramerRule)((void*)((char*)(&(boxvar_lit_HpcOmEqSystems_CramerRule).
header) + 3))
363PROTECTED_FUNCTION_STATIC modelica_metatype omc_HpcOmEqSystems_applyCramerRule(threadData_t *threadData, modelica_metatype _jacValuesIn, modelica_metatype _varsIn, modelica_metatype *out_tvarsOut, modelica_metatype *out_addEqsOut, modelica_metatype *out_addVarsOut);
364static const MMC_DEFSTRUCTLIT(boxvar_lit_HpcOmEqSystems_applyCramerRule,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_HpcOmEqSystems_applyCramerRule
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_HpcOmEqSystems_applyCramerRuleomc_HpcOmEqSystems_applyCramerRule,0}};
365#define boxvar_HpcOmEqSystems_applyCramerRule((void*)((char*)(&(boxvar_lit_HpcOmEqSystems_applyCramerRule
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_HpcOmEqSystems_applyCramerRule)((void*)((char*)(&(boxvar_lit_HpcOmEqSystems_applyCramerRule
).header) + 3))
366PROTECTED_FUNCTION_STATIC modelica_metatype omc_HpcOmEqSystems_getNewChioEntry(threadData_t *threadData, modelica_integer _col, modelica_integer _row, modelica_metatype _syst, modelica_integer _iter, modelica_metatype _foldIn);
367PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_HpcOmEqSystems_getNewChioEntry(threadData_t *threadData, modelica_metatype _col, modelica_metatype _row, modelica_metatype _syst, modelica_metatype _iter, modelica_metatype _foldIn);
368static const MMC_DEFSTRUCTLIT(boxvar_lit_HpcOmEqSystems_getNewChioEntry,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_HpcOmEqSystems_getNewChioEntry
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_HpcOmEqSystems_getNewChioEntry,0}};
369#define boxvar_HpcOmEqSystems_getNewChioEntry((void*)((char*)(&(boxvar_lit_HpcOmEqSystems_getNewChioEntry
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_HpcOmEqSystems_getNewChioEntry)((void*)((char*)(&(boxvar_lit_HpcOmEqSystems_getNewChioEntry
).header) + 3))
370PROTECTED_FUNCTION_STATIC modelica_metatype omc_HpcOmEqSystems_getNewChioRow(threadData_t *threadData, modelica_integer _row, modelica_metatype _systemIn, modelica_integer _iterIdx, modelica_metatype _foldIn);
371PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_HpcOmEqSystems_getNewChioRow(threadData_t *threadData, modelica_metatype _row, modelica_metatype _systemIn, modelica_metatype _iterIdx, modelica_metatype _foldIn);
372static const MMC_DEFSTRUCTLIT(boxvar_lit_HpcOmEqSystems_getNewChioRow,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_HpcOmEqSystems_getNewChioRow
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_HpcOmEqSystems_getNewChioRow,0}};
373#define boxvar_HpcOmEqSystems_getNewChioRow((void*)((char*)(&(boxvar_lit_HpcOmEqSystems_getNewChioRow
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_HpcOmEqSystems_getNewChioRow)((void*)((char*)(&(boxvar_lit_HpcOmEqSystems_getNewChioRow
).header) + 3))
374PROTECTED_FUNCTION_STATIC modelica_metatype omc_HpcOmEqSystems_makeVarOfIdent(threadData_t *threadData, modelica_string _ident, modelica_metatype _ty);
375static const MMC_DEFSTRUCTLIT(boxvar_lit_HpcOmEqSystems_makeVarOfIdent,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_HpcOmEqSystems_makeVarOfIdent
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_HpcOmEqSystems_makeVarOfIdentomc_HpcOmEqSystems_makeVarOfIdent,0}};
376#define boxvar_HpcOmEqSystems_makeVarOfIdent((void*)((char*)(&(boxvar_lit_HpcOmEqSystems_makeVarOfIdent
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_HpcOmEqSystems_makeVarOfIdent)((void*)((char*)(&(boxvar_lit_HpcOmEqSystems_makeVarOfIdent
).header) + 3))
377PROTECTED_FUNCTION_STATIC modelica_metatype omc_HpcOmEqSystems_makeDetExp(threadData_t *threadData, modelica_integer _iterIdx, modelica_string _ident, modelica_integer _row, modelica_integer _col, modelica_metatype _ty);
378PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_HpcOmEqSystems_makeDetExp(threadData_t *threadData, modelica_metatype _iterIdx, modelica_metatype _ident, modelica_metatype _row, modelica_metatype _col, modelica_metatype _ty);
379static const MMC_DEFSTRUCTLIT(boxvar_lit_HpcOmEqSystems_makeDetExp,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_HpcOmEqSystems_makeDetExp
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_HpcOmEqSystems_makeDetExp,0}};
380#define boxvar_HpcOmEqSystems_makeDetExp((void*)((char*)(&(boxvar_lit_HpcOmEqSystems_makeDetExp).
header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_HpcOmEqSystems_makeDetExp)((void*)((char*)(&(boxvar_lit_HpcOmEqSystems_makeDetExp).
header) + 3))
381PROTECTED_FUNCTION_STATIC modelica_metatype omc_HpcOmEqSystems_generateCramerEqs(threadData_t *threadData, modelica_metatype _varIdcs, modelica_integer _dim, modelica_metatype _vectorX, modelica_metatype _vectorB, modelica_metatype _matrixA, modelica_metatype _eqsIn);
382PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_HpcOmEqSystems_generateCramerEqs(threadData_t *threadData, modelica_metatype _varIdcs, modelica_metatype _dim, modelica_metatype _vectorX, modelica_metatype _vectorB, modelica_metatype _matrixA, modelica_metatype _eqsIn);
383static const MMC_DEFSTRUCTLIT(boxvar_lit_HpcOmEqSystems_generateCramerEqs,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_HpcOmEqSystems_generateCramerEqs
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_HpcOmEqSystems_generateCramerEqs,0}};
384#define boxvar_HpcOmEqSystems_generateCramerEqs((void*)((char*)(&(boxvar_lit_HpcOmEqSystems_generateCramerEqs
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_HpcOmEqSystems_generateCramerEqs)((void*)((char*)(&(boxvar_lit_HpcOmEqSystems_generateCramerEqs
).header) + 3))
385PROTECTED_FUNCTION_STATIC modelica_metatype omc_HpcOmEqSystems_ChiosCondensation2(threadData_t *threadData, modelica_metatype _systemIn, modelica_integer _iterIdx, modelica_metatype _addEqsIn, modelica_metatype _addVarsIn, modelica_metatype *out_addVarsOut);
386PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_HpcOmEqSystems_ChiosCondensation2(threadData_t *threadData, modelica_metatype _systemIn, modelica_metatype _iterIdx, modelica_metatype _addEqsIn, modelica_metatype _addVarsIn, modelica_metatype *out_addVarsOut);
387static const MMC_DEFSTRUCTLIT(boxvar_lit_HpcOmEqSystems_ChiosCondensation2,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_HpcOmEqSystems_ChiosCondensation2
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_HpcOmEqSystems_ChiosCondensation2,0}};
388#define boxvar_HpcOmEqSystems_ChiosCondensation2((void*)((char*)(&(boxvar_lit_HpcOmEqSystems_ChiosCondensation2
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_HpcOmEqSystems_ChiosCondensation2)((void*)((char*)(&(boxvar_lit_HpcOmEqSystems_ChiosCondensation2
).header) + 3))
389PROTECTED_FUNCTION_STATIC modelica_metatype omc_HpcOmEqSystems_chiosCondensation(threadData_t *threadData, modelica_metatype _systemIn, modelica_metatype *out_addEqsOut, modelica_metatype *out_addVarsOut);
390static const MMC_DEFSTRUCTLIT(boxvar_lit_HpcOmEqSystems_chiosCondensation,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_HpcOmEqSystems_chiosCondensation
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_HpcOmEqSystems_chiosCondensationomc_HpcOmEqSystems_chiosCondensation,0}};
391#define boxvar_HpcOmEqSystems_chiosCondensation((void*)((char*)(&(boxvar_lit_HpcOmEqSystems_chiosCondensation
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_HpcOmEqSystems_chiosCondensation)((void*)((char*)(&(boxvar_lit_HpcOmEqSystems_chiosCondensation
).header) + 3))
392PROTECTED_FUNCTION_STATIC modelica_metatype omc_HpcOmEqSystems_getSummands(threadData_t *threadData, modelica_metatype _eq);
393static const MMC_DEFSTRUCTLIT(boxvar_lit_HpcOmEqSystems_getSummands,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_HpcOmEqSystems_getSummands
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_HpcOmEqSystems_getSummandsomc_HpcOmEqSystems_getSummands,0}};
394#define boxvar_HpcOmEqSystems_getSummands((void*)((char*)(&(boxvar_lit_HpcOmEqSystems_getSummands)
.header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_HpcOmEqSystems_getSummands)((void*)((char*)(&(boxvar_lit_HpcOmEqSystems_getSummands)
.header) + 3))
395PROTECTED_FUNCTION_STATIC modelica_metatype omc_HpcOmEqSystems_getCallExpLst(threadData_t *threadData, modelica_metatype _eIn, modelica_metatype _eLstIn, modelica_metatype *out_eLstOut);
396static const MMC_DEFSTRUCTLIT(boxvar_lit_HpcOmEqSystems_getCallExpLst,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_HpcOmEqSystems_getCallExpLst
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_HpcOmEqSystems_getCallExpLstomc_HpcOmEqSystems_getCallExpLst,0}};
397#define boxvar_HpcOmEqSystems_getCallExpLst((void*)((char*)(&(boxvar_lit_HpcOmEqSystems_getCallExpLst
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_HpcOmEqSystems_getCallExpLst)((void*)((char*)(&(boxvar_lit_HpcOmEqSystems_getCallExpLst
).header) + 3))
398PROTECTED_FUNCTION_STATIC modelica_boolean omc_HpcOmEqSystems_containsFunctioncallOfCref(threadData_t *threadData, modelica_metatype _expIn, modelica_metatype _cref);
399PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_HpcOmEqSystems_containsFunctioncallOfCref(threadData_t *threadData, modelica_metatype _expIn, modelica_metatype _cref);
400static const MMC_DEFSTRUCTLIT(boxvar_lit_HpcOmEqSystems_containsFunctioncallOfCref,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_HpcOmEqSystems_containsFunctioncallOfCref
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_HpcOmEqSystems_containsFunctioncallOfCref,0}};
401#define boxvar_HpcOmEqSystems_containsFunctioncallOfCref((void*)((char*)(&(boxvar_lit_HpcOmEqSystems_containsFunctioncallOfCref
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_HpcOmEqSystems_containsFunctioncallOfCref)((void*)((char*)(&(boxvar_lit_HpcOmEqSystems_containsFunctioncallOfCref
).header) + 3))
402PROTECTED_FUNCTION_STATIC modelica_metatype omc_HpcOmEqSystems_getEqSystem3(threadData_t *threadData, modelica_metatype _cref, modelica_metatype _foldIn);
403static const MMC_DEFSTRUCTLIT(boxvar_lit_HpcOmEqSystems_getEqSystem3,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_HpcOmEqSystems_getEqSystem3
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_HpcOmEqSystems_getEqSystem3omc_HpcOmEqSystems_getEqSystem3,0}};
404#define boxvar_HpcOmEqSystems_getEqSystem3((void*)((char*)(&(boxvar_lit_HpcOmEqSystems_getEqSystem3
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_HpcOmEqSystems_getEqSystem3)((void*)((char*)(&(boxvar_lit_HpcOmEqSystems_getEqSystem3
).header) + 3))
405PROTECTED_FUNCTION_STATIC modelica_metatype omc_HpcOmEqSystems_getEqSystem2(threadData_t *threadData, modelica_metatype _eq, modelica_metatype _crefs, modelica_metatype _foldIn);
406static const MMC_DEFSTRUCTLIT(boxvar_lit_HpcOmEqSystems_getEqSystem2,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_HpcOmEqSystems_getEqSystem2
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_HpcOmEqSystems_getEqSystem2omc_HpcOmEqSystems_getEqSystem2,0}};
407#define boxvar_HpcOmEqSystems_getEqSystem2((void*)((char*)(&(boxvar_lit_HpcOmEqSystems_getEqSystem2
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_HpcOmEqSystems_getEqSystem2)((void*)((char*)(&(boxvar_lit_HpcOmEqSystems_getEqSystem2
).header) + 3))
408PROTECTED_FUNCTION_STATIC modelica_metatype omc_HpcOmEqSystems_createEqSystem(threadData_t *threadData, modelica_metatype _varLst);
409static const MMC_DEFSTRUCTLIT(boxvar_lit_HpcOmEqSystems_createEqSystem,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_HpcOmEqSystems_createEqSystem
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_HpcOmEqSystems_createEqSystemomc_HpcOmEqSystems_createEqSystem,0}};
410#define boxvar_HpcOmEqSystems_createEqSystem((void*)((char*)(&(boxvar_lit_HpcOmEqSystems_createEqSystem
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_HpcOmEqSystems_createEqSystem)((void*)((char*)(&(boxvar_lit_HpcOmEqSystems_createEqSystem
).header) + 3))
411PROTECTED_FUNCTION_STATIC modelica_metatype omc_HpcOmEqSystems_getEqSystem(threadData_t *threadData, modelica_metatype _eqLst, modelica_metatype _varLst);
412static const MMC_DEFSTRUCTLIT(boxvar_lit_HpcOmEqSystems_getEqSystem,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_HpcOmEqSystems_getEqSystem
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_HpcOmEqSystems_getEqSystemomc_HpcOmEqSystems_getEqSystem,0}};
413#define boxvar_HpcOmEqSystems_getEqSystem((void*)((char*)(&(boxvar_lit_HpcOmEqSystems_getEqSystem)
.header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_HpcOmEqSystems_getEqSystem)((void*)((char*)(&(boxvar_lit_HpcOmEqSystems_getEqSystem)
.header) + 3))
414PROTECTED_FUNCTION_STATIC modelica_metatype omc_HpcOmEqSystems_replaceOtherVarsWithPrefixCref(threadData_t *threadData, modelica_integer _indxIn, modelica_string _prefix, modelica_metatype _oVarCRefLstIn, modelica_metatype _tplIn);
415PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_HpcOmEqSystems_replaceOtherVarsWithPrefixCref(threadData_t *threadData, modelica_metatype _indxIn, modelica_metatype _prefix, modelica_metatype _oVarCRefLstIn, modelica_metatype _tplIn);
416static const MMC_DEFSTRUCTLIT(boxvar_lit_HpcOmEqSystems_replaceOtherVarsWithPrefixCref,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_HpcOmEqSystems_replaceOtherVarsWithPrefixCref
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_HpcOmEqSystems_replaceOtherVarsWithPrefixCref,0}};
417#define boxvar_HpcOmEqSystems_replaceOtherVarsWithPrefixCref((void*)((char*)(&(boxvar_lit_HpcOmEqSystems_replaceOtherVarsWithPrefixCref
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_HpcOmEqSystems_replaceOtherVarsWithPrefixCref)((void*)((char*)(&(boxvar_lit_HpcOmEqSystems_replaceOtherVarsWithPrefixCref
).header) + 3))
418PROTECTED_FUNCTION_STATIC modelica_metatype omc_HpcOmEqSystems_replaceTVarWithReal(threadData_t *threadData, modelica_metatype _tVarCRefIn, modelica_real _realIn, modelica_metatype _replacementIn);
419PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_HpcOmEqSystems_replaceTVarWithReal(threadData_t *threadData, modelica_metatype _tVarCRefIn, modelica_metatype _realIn, modelica_metatype _replacementIn);
420static const MMC_DEFSTRUCTLIT(boxvar_lit_HpcOmEqSystems_replaceTVarWithReal,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_HpcOmEqSystems_replaceTVarWithReal
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_HpcOmEqSystems_replaceTVarWithReal,0}};
421#define boxvar_HpcOmEqSystems_replaceTVarWithReal((void*)((char*)(&(boxvar_lit_HpcOmEqSystems_replaceTVarWithReal
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_HpcOmEqSystems_replaceTVarWithReal)((void*)((char*)(&(boxvar_lit_HpcOmEqSystems_replaceTVarWithReal
).header) + 3))
422PROTECTED_FUNCTION_STATIC modelica_metatype omc_HpcOmEqSystems_getAlgebraicEquationsForEI(threadData_t *threadData, modelica_metatype _iIn, modelica_integer _size, modelica_metatype _otherEqLstIn, modelica_metatype _tvarLstIn, modelica_metatype _tVarCRefLstIn, modelica_metatype _otherVarLstIn, modelica_metatype _oVarCRefLstIn, modelica_metatype _g_iArrIn, modelica_metatype _xa_iArrIn, modelica_metatype _replacementArrIn, modelica_integer _tornSysIdx, modelica_metatype *out_xa_i_Out, modelica_metatype *out_replacementArrOut);
423PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_HpcOmEqSystems_getAlgebraicEquationsForEI(threadData_t *threadData, modelica_metatype _iIn, modelica_metatype _size, modelica_metatype _otherEqLstIn, modelica_metatype _tvarLstIn, modelica_metatype _tVarCRefLstIn, modelica_metatype _otherVarLstIn, modelica_metatype _oVarCRefLstIn, modelica_metatype _g_iArrIn, modelica_metatype _xa_iArrIn, modelica_metatype _replacementArrIn, modelica_metatype _tornSysIdx, modelica_metatype *out_xa_i_Out, modelica_metatype *out_replacementArrOut);
424static const MMC_DEFSTRUCTLIT(boxvar_lit_HpcOmEqSystems_getAlgebraicEquationsForEI,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_HpcOmEqSystems_getAlgebraicEquationsForEI
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_HpcOmEqSystems_getAlgebraicEquationsForEI,0}};
425#define boxvar_HpcOmEqSystems_getAlgebraicEquationsForEI((void*)((char*)(&(boxvar_lit_HpcOmEqSystems_getAlgebraicEquationsForEI
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_HpcOmEqSystems_getAlgebraicEquationsForEI)((void*)((char*)(&(boxvar_lit_HpcOmEqSystems_getAlgebraicEquationsForEI
).header) + 3))
426PROTECTED_FUNCTION_STATIC modelica_metatype omc_HpcOmEqSystems_eqInFrontList(threadData_t *threadData, modelica_metatype _eqIn, modelica_metatype _lstLstIn);
427static const MMC_DEFSTRUCTLIT(boxvar_lit_HpcOmEqSystems_eqInFrontList,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_HpcOmEqSystems_eqInFrontList
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_HpcOmEqSystems_eqInFrontListomc_HpcOmEqSystems_eqInFrontList,0}};
428#define boxvar_HpcOmEqSystems_eqInFrontList((void*)((char*)(&(boxvar_lit_HpcOmEqSystems_eqInFrontList
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_HpcOmEqSystems_eqInFrontList)((void*)((char*)(&(boxvar_lit_HpcOmEqSystems_eqInFrontList
).header) + 3))
429PROTECTED_FUNCTION_STATIC modelica_metatype omc_HpcOmEqSystems_varInFrontList(threadData_t *threadData, modelica_metatype _varIn, modelica_metatype _lstLstIn);
430static const MMC_DEFSTRUCTLIT(boxvar_lit_HpcOmEqSystems_varInFrontList,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_HpcOmEqSystems_varInFrontList
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_HpcOmEqSystems_varInFrontListomc_HpcOmEqSystems_varInFrontList,0}};
431#define boxvar_HpcOmEqSystems_varInFrontList((void*)((char*)(&(boxvar_lit_HpcOmEqSystems_varInFrontList
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_HpcOmEqSystems_varInFrontList)((void*)((char*)(&(boxvar_lit_HpcOmEqSystems_varInFrontList
).header) + 3))
432PROTECTED_FUNCTION_STATIC modelica_metatype omc_HpcOmEqSystems_getResidualExpressionForEquation(threadData_t *threadData, modelica_metatype _eq);
433static const MMC_DEFSTRUCTLIT(boxvar_lit_HpcOmEqSystems_getResidualExpressionForEquation,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_HpcOmEqSystems_getResidualExpressionForEquation
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_HpcOmEqSystems_getResidualExpressionForEquationomc_HpcOmEqSystems_getResidualExpressionForEquation,0}};
434#define boxvar_HpcOmEqSystems_getResidualExpressionForEquation((void*)((char*)(&(boxvar_lit_HpcOmEqSystems_getResidualExpressionForEquation
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_HpcOmEqSystems_getResidualExpressionForEquation)((void*)((char*)(&(boxvar_lit_HpcOmEqSystems_getResidualExpressionForEquation
).header) + 3))
435PROTECTED_FUNCTION_STATIC modelica_metatype omc_HpcOmEqSystems_getResidualExpressions1(threadData_t *threadData, modelica_integer _i, modelica_metatype _resExpsIn, modelica_metatype _replArr, modelica_metatype _h_iArrIn);
436PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_HpcOmEqSystems_getResidualExpressions1(threadData_t *threadData, modelica_metatype _i, modelica_metatype _resExpsIn, modelica_metatype _replArr, modelica_metatype _h_iArrIn);
437static const MMC_DEFSTRUCTLIT(boxvar_lit_HpcOmEqSystems_getResidualExpressions1,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_HpcOmEqSystems_getResidualExpressions1
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_HpcOmEqSystems_getResidualExpressions1,0}};
438#define boxvar_HpcOmEqSystems_getResidualExpressions1((void*)((char*)(&(boxvar_lit_HpcOmEqSystems_getResidualExpressions1
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_HpcOmEqSystems_getResidualExpressions1)((void*)((char*)(&(boxvar_lit_HpcOmEqSystems_getResidualExpressions1
).header) + 3))
439PROTECTED_FUNCTION_STATIC modelica_metatype omc_HpcOmEqSystems_getResidualExpressions(threadData_t *threadData, modelica_metatype _iIn, modelica_metatype _resEqLstIn, modelica_metatype _replArrIn, modelica_metatype _h_iArrIn);
440static const MMC_DEFSTRUCTLIT(boxvar_lit_HpcOmEqSystems_getResidualExpressions,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_HpcOmEqSystems_getResidualExpressions
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_HpcOmEqSystems_getResidualExpressionsomc_HpcOmEqSystems_getResidualExpressions,0}};
441#define boxvar_HpcOmEqSystems_getResidualExpressions((void*)((char*)(&(boxvar_lit_HpcOmEqSystems_getResidualExpressions
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_HpcOmEqSystems_getResidualExpressions)((void*)((char*)(&(boxvar_lit_HpcOmEqSystems_getResidualExpressions
).header) + 3))
442PROTECTED_FUNCTION_STATIC modelica_metatype omc_HpcOmEqSystems_varExp(threadData_t *threadData, modelica_metatype _varIn);
443static const MMC_DEFSTRUCTLIT(boxvar_lit_HpcOmEqSystems_varExp,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_HpcOmEqSystems_varExp
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_HpcOmEqSystems_varExpomc_HpcOmEqSystems_varExp,0}};
444#define boxvar_HpcOmEqSystems_varExp((void*)((char*)(&(boxvar_lit_HpcOmEqSystems_varExp).header
) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_HpcOmEqSystems_varExp)((void*)((char*)(&(boxvar_lit_HpcOmEqSystems_varExp).header
) + 3))
445PROTECTED_FUNCTION_STATIC modelica_metatype omc_HpcOmEqSystems_getTornSystemCoefficients1(threadData_t *threadData, modelica_metatype _resIdxLst, modelica_integer _iIdx, modelica_metatype _h_iArr, modelica_metatype _hs_iArrIn, modelica_metatype _a_iArrIn, modelica_integer _tornSysIdx, modelica_metatype *out_a_iArrOut);
446PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_HpcOmEqSystems_getTornSystemCoefficients1(threadData_t *threadData, modelica_metatype _resIdxLst, modelica_metatype _iIdx, modelica_metatype _h_iArr, modelica_metatype _hs_iArrIn, modelica_metatype _a_iArrIn, modelica_metatype _tornSysIdx, modelica_metatype *out_a_iArrOut);
447static const MMC_DEFSTRUCTLIT(boxvar_lit_HpcOmEqSystems_getTornSystemCoefficients1,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_HpcOmEqSystems_getTornSystemCoefficients1
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_HpcOmEqSystems_getTornSystemCoefficients1,0}};
448#define boxvar_HpcOmEqSystems_getTornSystemCoefficients1((void*)((char*)(&(boxvar_lit_HpcOmEqSystems_getTornSystemCoefficients1
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_HpcOmEqSystems_getTornSystemCoefficients1)((void*)((char*)(&(boxvar_lit_HpcOmEqSystems_getTornSystemCoefficients1
).header) + 3))
449PROTECTED_FUNCTION_STATIC modelica_metatype omc_HpcOmEqSystems_getTornSystemCoefficients(threadData_t *threadData, modelica_metatype _iValueRange, modelica_integer _numTVars, modelica_integer _tornSysIdx, modelica_metatype _h_iArr, modelica_metatype _hs_iArrIn, modelica_metatype _a_iArrIn, modelica_metatype *out_a_iArrOut);
450PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_HpcOmEqSystems_getTornSystemCoefficients(threadData_t *threadData, modelica_metatype _iValueRange, modelica_metatype _numTVars, modelica_metatype _tornSysIdx, modelica_metatype _h_iArr, modelica_metatype _hs_iArrIn, modelica_metatype _a_iArrIn, modelica_metatype *out_a_iArrOut);
451static const MMC_DEFSTRUCTLIT(boxvar_lit_HpcOmEqSystems_getTornSystemCoefficients,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_HpcOmEqSystems_getTornSystemCoefficients
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_HpcOmEqSystems_getTornSystemCoefficients,0}};
452#define boxvar_HpcOmEqSystems_getTornSystemCoefficients((void*)((char*)(&(boxvar_lit_HpcOmEqSystems_getTornSystemCoefficients
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_HpcOmEqSystems_getTornSystemCoefficients)((void*)((char*)(&(boxvar_lit_HpcOmEqSystems_getTornSystemCoefficients
).header) + 3))
453PROTECTED_FUNCTION_STATIC modelica_metatype omc_HpcOmEqSystems_buildSingleEquationSystem(threadData_t *threadData, modelica_integer _eqSizeOrig, modelica_metatype _inEqs, modelica_metatype _inVars, modelica_metatype _shared, modelica_metatype _compsIn);
454PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_HpcOmEqSystems_buildSingleEquationSystem(threadData_t *threadData, modelica_metatype _eqSizeOrig, modelica_metatype _inEqs, modelica_metatype _inVars, modelica_metatype _shared, modelica_metatype _compsIn);
455static const MMC_DEFSTRUCTLIT(boxvar_lit_HpcOmEqSystems_buildSingleEquationSystem,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_HpcOmEqSystems_buildSingleEquationSystem
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_HpcOmEqSystems_buildSingleEquationSystem,0}};
456#define boxvar_HpcOmEqSystems_buildSingleEquationSystem((void*)((char*)(&(boxvar_lit_HpcOmEqSystems_buildSingleEquationSystem
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_HpcOmEqSystems_buildSingleEquationSystem)((void*)((char*)(&(boxvar_lit_HpcOmEqSystems_buildSingleEquationSystem
).header) + 3))
457PROTECTED_FUNCTION_STATIC modelica_metatype omc_HpcOmEqSystems_addProductToExp(threadData_t *threadData, modelica_metatype _var1, modelica_metatype _var2, modelica_metatype _inExp);
458static const MMC_DEFSTRUCTLIT(boxvar_lit_HpcOmEqSystems_addProductToExp,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_HpcOmEqSystems_addProductToExp
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_HpcOmEqSystems_addProductToExpomc_HpcOmEqSystems_addProductToExp,0}};
459#define boxvar_HpcOmEqSystems_addProductToExp((void*)((char*)(&(boxvar_lit_HpcOmEqSystems_addProductToExp
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_HpcOmEqSystems_addProductToExp)((void*)((char*)(&(boxvar_lit_HpcOmEqSystems_addProductToExp
).header) + 3))
460PROTECTED_FUNCTION_STATIC modelica_metatype omc_HpcOmEqSystems_buildNewResidualEquation2(threadData_t *threadData, modelica_integer _idx, modelica_metatype _coeffs, modelica_metatype _tVars, modelica_metatype _expIn);
461PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_HpcOmEqSystems_buildNewResidualEquation2(threadData_t *threadData, modelica_metatype _idx, modelica_metatype _coeffs, modelica_metatype _tVars, modelica_metatype _expIn);
462static const MMC_DEFSTRUCTLIT(boxvar_lit_HpcOmEqSystems_buildNewResidualEquation2,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_HpcOmEqSystems_buildNewResidualEquation2
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_HpcOmEqSystems_buildNewResidualEquation2,0}};
463#define boxvar_HpcOmEqSystems_buildNewResidualEquation2((void*)((char*)(&(boxvar_lit_HpcOmEqSystems_buildNewResidualEquation2
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_HpcOmEqSystems_buildNewResidualEquation2)((void*)((char*)(&(boxvar_lit_HpcOmEqSystems_buildNewResidualEquation2
).header) + 3))
464PROTECTED_FUNCTION_STATIC modelica_metatype omc_HpcOmEqSystems_buildNewResidualEquation(threadData_t *threadData, modelica_integer _resIdx, modelica_metatype _aCoeffLst, modelica_metatype _a0CoeffLst, modelica_metatype _tvars, modelica_metatype _resEqsIn);
465PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_HpcOmEqSystems_buildNewResidualEquation(threadData_t *threadData, modelica_metatype _resIdx, modelica_metatype _aCoeffLst, modelica_metatype _a0CoeffLst, modelica_metatype _tvars, modelica_metatype _resEqsIn);
466static const MMC_DEFSTRUCTLIT(boxvar_lit_HpcOmEqSystems_buildNewResidualEquation,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_HpcOmEqSystems_buildNewResidualEquation
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_HpcOmEqSystems_buildNewResidualEquation,0}};
467#define boxvar_HpcOmEqSystems_buildNewResidualEquation((void*)((char*)(&(boxvar_lit_HpcOmEqSystems_buildNewResidualEquation
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_HpcOmEqSystems_buildNewResidualEquation)((void*)((char*)(&(boxvar_lit_HpcOmEqSystems_buildNewResidualEquation
).header) + 3))
468PROTECTED_FUNCTION_STATIC modelica_metatype omc_HpcOmEqSystems_updateIndicesInComp(threadData_t *threadData, modelica_metatype _compIn, modelica_integer _varOffset, modelica_integer _eqOffset);
469PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_HpcOmEqSystems_updateIndicesInComp(threadData_t *threadData, modelica_metatype _compIn, modelica_metatype _varOffset, modelica_metatype _eqOffset);
470static const MMC_DEFSTRUCTLIT(boxvar_lit_HpcOmEqSystems_updateIndicesInComp,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_HpcOmEqSystems_updateIndicesInComp
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_HpcOmEqSystems_updateIndicesInComp,0}};
471#define boxvar_HpcOmEqSystems_updateIndicesInComp((void*)((char*)(&(boxvar_lit_HpcOmEqSystems_updateIndicesInComp
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_HpcOmEqSystems_updateIndicesInComp)((void*)((char*)(&(boxvar_lit_HpcOmEqSystems_updateIndicesInComp
).header) + 3))
472PROTECTED_FUNCTION_STATIC modelica_metatype omc_HpcOmEqSystems_replaceAtPositionFromList(threadData_t *threadData, modelica_integer _n, modelica_metatype _replacingLst, modelica_metatype _positionLst, modelica_metatype _inLst);
473PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_HpcOmEqSystems_replaceAtPositionFromList(threadData_t *threadData, modelica_metatype _n, modelica_metatype _replacingLst, modelica_metatype _positionLst, modelica_metatype _inLst);
474static const MMC_DEFSTRUCTLIT(boxvar_lit_HpcOmEqSystems_replaceAtPositionFromList,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_HpcOmEqSystems_replaceAtPositionFromList
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_HpcOmEqSystems_replaceAtPositionFromList,0}};
475#define boxvar_HpcOmEqSystems_replaceAtPositionFromList((void*)((char*)(&(boxvar_lit_HpcOmEqSystems_replaceAtPositionFromList
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_HpcOmEqSystems_replaceAtPositionFromList)((void*)((char*)(&(boxvar_lit_HpcOmEqSystems_replaceAtPositionFromList
).header) + 3))
476PROTECTED_FUNCTION_STATIC modelica_metatype omc_HpcOmEqSystems_getOtherComps1(threadData_t *threadData, modelica_metatype _innerEquation, modelica_metatype _tplIn);
477static const MMC_DEFSTRUCTLIT(boxvar_lit_HpcOmEqSystems_getOtherComps1,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_HpcOmEqSystems_getOtherComps1
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_HpcOmEqSystems_getOtherComps1omc_HpcOmEqSystems_getOtherComps1,0}};
478#define boxvar_HpcOmEqSystems_getOtherComps1((void*)((char*)(&(boxvar_lit_HpcOmEqSystems_getOtherComps1
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_HpcOmEqSystems_getOtherComps1)((void*)((char*)(&(boxvar_lit_HpcOmEqSystems_getOtherComps1
).header) + 3))
479PROTECTED_FUNCTION_STATIC modelica_metatype omc_HpcOmEqSystems_getOtherComps(threadData_t *threadData, modelica_metatype _innerEquations, modelica_metatype _ass1, modelica_metatype _ass2);
480static const MMC_DEFSTRUCTLIT(boxvar_lit_HpcOmEqSystems_getOtherComps,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_HpcOmEqSystems_getOtherComps
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_HpcOmEqSystems_getOtherCompsomc_HpcOmEqSystems_getOtherComps,0}};
481#define boxvar_HpcOmEqSystems_getOtherComps((void*)((char*)(&(boxvar_lit_HpcOmEqSystems_getOtherComps
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_HpcOmEqSystems_getOtherComps)((void*)((char*)(&(boxvar_lit_HpcOmEqSystems_getOtherComps
).header) + 3))
482PROTECTED_FUNCTION_STATIC modelica_metatype omc_HpcOmEqSystems_updateResidualMatching(threadData_t *threadData, modelica_integer _idx, modelica_metatype _tvars, modelica_metatype _resEqs, modelica_metatype _tplIn);
483PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_HpcOmEqSystems_updateResidualMatching(threadData_t *threadData, modelica_metatype _idx, modelica_metatype _tvars, modelica_metatype _resEqs, modelica_metatype _tplIn);
484static const MMC_DEFSTRUCTLIT(boxvar_lit_HpcOmEqSystems_updateResidualMatching,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_HpcOmEqSystems_updateResidualMatching
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_HpcOmEqSystems_updateResidualMatching,0}};
485#define boxvar_HpcOmEqSystems_updateResidualMatching((void*)((char*)(&(boxvar_lit_HpcOmEqSystems_updateResidualMatching
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_HpcOmEqSystems_updateResidualMatching)((void*)((char*)(&(boxvar_lit_HpcOmEqSystems_updateResidualMatching
).header) + 3))
486PROTECTED_FUNCTION_STATIC modelica_metatype omc_HpcOmEqSystems_updateMatching(threadData_t *threadData, modelica_integer _idx, modelica_metatype _offsetTpl, modelica_metatype _matching2, modelica_metatype _matching1In);
487PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_HpcOmEqSystems_updateMatching(threadData_t *threadData, modelica_metatype _idx, modelica_metatype _offsetTpl, modelica_metatype _matching2, modelica_metatype _matching1In);
488static const MMC_DEFSTRUCTLIT(boxvar_lit_HpcOmEqSystems_updateMatching,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_HpcOmEqSystems_updateMatching
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_HpcOmEqSystems_updateMatching,0}};
489#define boxvar_HpcOmEqSystems_updateMatching((void*)((char*)(&(boxvar_lit_HpcOmEqSystems_updateMatching
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_HpcOmEqSystems_updateMatching)((void*)((char*)(&(boxvar_lit_HpcOmEqSystems_updateMatching
).header) + 3))
490PROTECTED_FUNCTION_STATIC modelica_metatype omc_HpcOmEqSystems_buildLinearJacobian2(threadData_t *threadData, modelica_integer _colIdx, modelica_metatype _inElements, modelica_integer _rowIdx, modelica_metatype _inJac);
491PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_HpcOmEqSystems_buildLinearJacobian2(threadData_t *threadData, modelica_metatype _colIdx, modelica_metatype _inElements, modelica_metatype _rowIdx, modelica_metatype _inJac);
492static const MMC_DEFSTRUCTLIT(boxvar_lit_HpcOmEqSystems_buildLinearJacobian2,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_HpcOmEqSystems_buildLinearJacobian2
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_HpcOmEqSystems_buildLinearJacobian2,0}};
493#define boxvar_HpcOmEqSystems_buildLinearJacobian2((void*)((char*)(&(boxvar_lit_HpcOmEqSystems_buildLinearJacobian2
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_HpcOmEqSystems_buildLinearJacobian2)((void*)((char*)(&(boxvar_lit_HpcOmEqSystems_buildLinearJacobian2
).header) + 3))
494PROTECTED_FUNCTION_STATIC modelica_metatype omc_HpcOmEqSystems_buildLinearJacobian1(threadData_t *threadData, modelica_integer _rowIdx, modelica_metatype _columns, modelica_metatype _inElements, modelica_metatype _inJac);
495PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_HpcOmEqSystems_buildLinearJacobian1(threadData_t *threadData, modelica_metatype _rowIdx, modelica_metatype _columns, modelica_metatype _inElements, modelica_metatype _inJac);
496static const MMC_DEFSTRUCTLIT(boxvar_lit_HpcOmEqSystems_buildLinearJacobian1,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_HpcOmEqSystems_buildLinearJacobian1
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_HpcOmEqSystems_buildLinearJacobian1,0}};
497#define boxvar_HpcOmEqSystems_buildLinearJacobian1((void*)((char*)(&(boxvar_lit_HpcOmEqSystems_buildLinearJacobian1
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_HpcOmEqSystems_buildLinearJacobian1)((void*)((char*)(&(boxvar_lit_HpcOmEqSystems_buildLinearJacobian1
).header) + 3))
498PROTECTED_FUNCTION_STATIC modelica_metatype omc_HpcOmEqSystems_buildLinearJacobian(threadData_t *threadData, modelica_metatype _inElements, modelica_metatype _eqIdcs, modelica_metatype _varIdcs);
499static const MMC_DEFSTRUCTLIT(boxvar_lit_HpcOmEqSystems_buildLinearJacobian,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_HpcOmEqSystems_buildLinearJacobian
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_HpcOmEqSystems_buildLinearJacobianomc_HpcOmEqSystems_buildLinearJacobian,0}};
500#define boxvar_HpcOmEqSystems_buildLinearJacobian((void*)((char*)(&(boxvar_lit_HpcOmEqSystems_buildLinearJacobian
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_HpcOmEqSystems_buildLinearJacobian)((void*)((char*)(&(boxvar_lit_HpcOmEqSystems_buildLinearJacobian
).header) + 3))
501PROTECTED_FUNCTION_STATIC modelica_metatype omc_HpcOmEqSystems_buildEqSystemComponent(threadData_t *threadData, modelica_metatype _eqIdcsIn, modelica_metatype _varIdcsIn, modelica_metatype _resEqsIn, modelica_metatype _tVarsIn, modelica_metatype _jacValuesIn, modelica_metatype _shared, modelica_metatype *out_resEqsOut, modelica_metatype *out_tVarsOut, modelica_metatype *out_addEqsOut, modelica_metatype *out_addVarsOut);
502static const MMC_DEFSTRUCTLIT(boxvar_lit_HpcOmEqSystems_buildEqSystemComponent,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_HpcOmEqSystems_buildEqSystemComponent
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_HpcOmEqSystems_buildEqSystemComponentomc_HpcOmEqSystems_buildEqSystemComponent,0}};
503#define boxvar_HpcOmEqSystems_buildEqSystemComponent((void*)((char*)(&(boxvar_lit_HpcOmEqSystems_buildEqSystemComponent
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_HpcOmEqSystems_buildEqSystemComponent)((void*)((char*)(&(boxvar_lit_HpcOmEqSystems_buildEqSystemComponent
).header) + 3))
504PROTECTED_FUNCTION_STATIC modelica_metatype omc_HpcOmEqSystems_simplifyNewEquations1(threadData_t *threadData, modelica_integer _eqIdx, modelica_metatype _eqArr, modelica_metatype _varArr, modelica_metatype _m, modelica_metatype _mt, modelica_integer _numAuxiliaryVars, modelica_metatype _shared, modelica_metatype _tplIn);
505PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_HpcOmEqSystems_simplifyNewEquations1(threadData_t *threadData, modelica_metatype _eqIdx, modelica_metatype _eqArr, modelica_metatype _varArr, modelica_metatype _m, modelica_metatype _mt, modelica_metatype _numAuxiliaryVars, modelica_metatype _shared, modelica_metatype _tplIn);
506static const MMC_DEFSTRUCTLIT(boxvar_lit_HpcOmEqSystems_simplifyNewEquations1,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_HpcOmEqSystems_simplifyNewEquations1
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_HpcOmEqSystems_simplifyNewEquations1,0}};
507#define boxvar_HpcOmEqSystems_simplifyNewEquations1((void*)((char*)(&(boxvar_lit_HpcOmEqSystems_simplifyNewEquations1
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_HpcOmEqSystems_simplifyNewEquations1)((void*)((char*)(&(boxvar_lit_HpcOmEqSystems_simplifyNewEquations1
).header) + 3))
508PROTECTED_FUNCTION_STATIC modelica_metatype omc_HpcOmEqSystems_simplifyNewEquations(threadData_t *threadData, modelica_metatype _eqsIn, modelica_metatype _varsIn, modelica_metatype _resEqsIn, modelica_integer _numAuxiliaryVars, modelica_integer _numIter, modelica_metatype _shared, modelica_metatype *out_varsOut, modelica_metatype *out_resEqsOut);
509PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_HpcOmEqSystems_simplifyNewEquations(threadData_t *threadData, modelica_metatype _eqsIn, modelica_metatype _varsIn, modelica_metatype _resEqsIn, modelica_metatype _numAuxiliaryVars, modelica_metatype _numIter, modelica_metatype _shared, modelica_metatype *out_varsOut, modelica_metatype *out_resEqsOut);
510static const MMC_DEFSTRUCTLIT(boxvar_lit_HpcOmEqSystems_simplifyNewEquations,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_HpcOmEqSystems_simplifyNewEquations
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_HpcOmEqSystems_simplifyNewEquations,0}};
511#define boxvar_HpcOmEqSystems_simplifyNewEquations((void*)((char*)(&(boxvar_lit_HpcOmEqSystems_simplifyNewEquations
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_HpcOmEqSystems_simplifyNewEquations)((void*)((char*)(&(boxvar_lit_HpcOmEqSystems_simplifyNewEquations
).header) + 3))
512PROTECTED_FUNCTION_STATIC modelica_metatype omc_HpcOmEqSystems_addDerReplacement(threadData_t *threadData, modelica_metatype _var1, modelica_metatype _var2, modelica_metatype _replIn);
513static const MMC_DEFSTRUCTLIT(boxvar_lit_HpcOmEqSystems_addDerReplacement,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_HpcOmEqSystems_addDerReplacement
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_HpcOmEqSystems_addDerReplacementomc_HpcOmEqSystems_addDerReplacement,0}};
514#define boxvar_HpcOmEqSystems_addDerReplacement((void*)((char*)(&(boxvar_lit_HpcOmEqSystems_addDerReplacement
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_HpcOmEqSystems_addDerReplacement)((void*)((char*)(&(boxvar_lit_HpcOmEqSystems_addDerReplacement
).header) + 3))
515PROTECTED_FUNCTION_STATIC modelica_metatype omc_HpcOmEqSystems_reduceLinearTornSystem2(threadData_t *threadData, modelica_metatype _isyst, modelica_metatype _ishared, modelica_metatype _tVarIdcs0, modelica_metatype _resEqIdcs0, modelica_metatype _innerEquations, modelica_integer _tornSysIdx, modelica_metatype *out_eqsNewOut, modelica_metatype *out_tVarsOut, modelica_metatype *out_resEqsOut, modelica_metatype *out_matchingOut);
516PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_HpcOmEqSystems_reduceLinearTornSystem2(threadData_t *threadData, modelica_metatype _isyst, modelica_metatype _ishared, modelica_metatype _tVarIdcs0, modelica_metatype _resEqIdcs0, modelica_metatype _innerEquations, modelica_metatype _tornSysIdx, modelica_metatype *out_eqsNewOut, modelica_metatype *out_tVarsOut, modelica_metatype *out_resEqsOut, modelica_metatype *out_matchingOut);
517static const MMC_DEFSTRUCTLIT(boxvar_lit_HpcOmEqSystems_reduceLinearTornSystem2,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_HpcOmEqSystems_reduceLinearTornSystem2
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_HpcOmEqSystems_reduceLinearTornSystem2,0}};
518#define boxvar_HpcOmEqSystems_reduceLinearTornSystem2((void*)((char*)(&(boxvar_lit_HpcOmEqSystems_reduceLinearTornSystem2
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_HpcOmEqSystems_reduceLinearTornSystem2)((void*)((char*)(&(boxvar_lit_HpcOmEqSystems_reduceLinearTornSystem2
).header) + 3))
519PROTECTED_FUNCTION_STATIC modelica_metatype omc_HpcOmEqSystems_replaceIndecesInComp(threadData_t *threadData, modelica_metatype _comp, modelica_metatype _eqMap, modelica_metatype _varMap);
520static const MMC_DEFSTRUCTLIT(boxvar_lit_HpcOmEqSystems_replaceIndecesInComp,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_HpcOmEqSystems_replaceIndecesInComp
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_HpcOmEqSystems_replaceIndecesInCompomc_HpcOmEqSystems_replaceIndecesInComp,0}};
521#define boxvar_HpcOmEqSystems_replaceIndecesInComp((void*)((char*)(&(boxvar_lit_HpcOmEqSystems_replaceIndecesInComp
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_HpcOmEqSystems_replaceIndecesInComp)((void*)((char*)(&(boxvar_lit_HpcOmEqSystems_replaceIndecesInComp
).header) + 3))
522PROTECTED_FUNCTION_STATIC modelica_metatype omc_HpcOmEqSystems_matchComponent(threadData_t *threadData, modelica_metatype _eqLstIn, modelica_metatype _varLstIn, modelica_metatype _eqIdcs, modelica_metatype _varIdcs, modelica_metatype _sharedIn);
523static const MMC_DEFSTRUCTLIT(boxvar_lit_HpcOmEqSystems_matchComponent,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_HpcOmEqSystems_matchComponent
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_HpcOmEqSystems_matchComponentomc_HpcOmEqSystems_matchComponent,0}};
524#define boxvar_HpcOmEqSystems_matchComponent((void*)((char*)(&(boxvar_lit_HpcOmEqSystems_matchComponent
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_HpcOmEqSystems_matchComponent)((void*)((char*)(&(boxvar_lit_HpcOmEqSystems_matchComponent
).header) + 3))
525PROTECTED_FUNCTION_STATIC void omc_HpcOmEqSystems_updateAssignmentsByComp(threadData_t *threadData, modelica_metatype _comp, modelica_metatype _ass1, modelica_metatype _ass2);
526static const MMC_DEFSTRUCTLIT(boxvar_lit_HpcOmEqSystems_updateAssignmentsByComp,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_HpcOmEqSystems_updateAssignmentsByComp
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_HpcOmEqSystems_updateAssignmentsByCompomc_HpcOmEqSystems_updateAssignmentsByComp,0}};
527#define boxvar_HpcOmEqSystems_updateAssignmentsByComp((void*)((char*)(&(boxvar_lit_HpcOmEqSystems_updateAssignmentsByComp
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_HpcOmEqSystems_updateAssignmentsByComp)((void*)((char*)(&(boxvar_lit_HpcOmEqSystems_updateAssignmentsByComp
).header) + 3))
528PROTECTED_FUNCTION_STATIC modelica_boolean omc_HpcOmEqSystems_compHasDummyState(threadData_t *threadData, modelica_metatype _comp, modelica_metatype _syst);
529PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_HpcOmEqSystems_compHasDummyState(threadData_t *threadData, modelica_metatype _comp, modelica_metatype _syst);
530static const MMC_DEFSTRUCTLIT(boxvar_lit_HpcOmEqSystems_compHasDummyState,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_HpcOmEqSystems_compHasDummyState
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_HpcOmEqSystems_compHasDummyState,0}};
531#define boxvar_HpcOmEqSystems_compHasDummyState((void*)((char*)(&(boxvar_lit_HpcOmEqSystems_compHasDummyState
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_HpcOmEqSystems_compHasDummyState)((void*)((char*)(&(boxvar_lit_HpcOmEqSystems_compHasDummyState
).header) + 3))
532PROTECTED_FUNCTION_STATIC modelica_metatype omc_HpcOmEqSystems_reduceLinearTornSystem1(threadData_t *threadData, modelica_integer _compIdx, modelica_metatype _compsIn, modelica_metatype _ass1, modelica_metatype _ass2, modelica_metatype _systIn, modelica_metatype _sharedIn, modelica_integer _tornSysIdxIn, modelica_integer *out_tornSysIdxOut);
533PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_HpcOmEqSystems_reduceLinearTornSystem1(threadData_t *threadData, modelica_metatype _compIdx, modelica_metatype _compsIn, modelica_metatype _ass1, modelica_metatype _ass2, modelica_metatype _systIn, modelica_metatype _sharedIn, modelica_metatype _tornSysIdxIn, modelica_metatype *out_tornSysIdxOut);
534static const MMC_DEFSTRUCTLIT(boxvar_lit_HpcOmEqSystems_reduceLinearTornSystem1,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_HpcOmEqSystems_reduceLinearTornSystem1
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_HpcOmEqSystems_reduceLinearTornSystem1,0}};
535#define boxvar_HpcOmEqSystems_reduceLinearTornSystem1((void*)((char*)(&(boxvar_lit_HpcOmEqSystems_reduceLinearTornSystem1
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_HpcOmEqSystems_reduceLinearTornSystem1)((void*)((char*)(&(boxvar_lit_HpcOmEqSystems_reduceLinearTornSystem1
).header) + 3))
536PROTECTED_FUNCTION_STATIC modelica_metatype omc_HpcOmEqSystems_reduceLinearTornSystem(threadData_t *threadData, modelica_metatype _systIn, modelica_metatype _sharedIn, modelica_integer _tornSysIdxIn, modelica_integer *out_tornSysIdxOut);
537PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_HpcOmEqSystems_reduceLinearTornSystem(threadData_t *threadData, modelica_metatype _systIn, modelica_metatype _sharedIn, modelica_metatype _tornSysIdxIn, modelica_metatype *out_tornSysIdxOut);
538static const MMC_DEFSTRUCTLIT(boxvar_lit_HpcOmEqSystems_reduceLinearTornSystem,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_HpcOmEqSystems_reduceLinearTornSystem
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_HpcOmEqSystems_reduceLinearTornSystem,0}};
539#define boxvar_HpcOmEqSystems_reduceLinearTornSystem((void*)((char*)(&(boxvar_lit_HpcOmEqSystems_reduceLinearTornSystem
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_HpcOmEqSystems_reduceLinearTornSystem)((void*)((char*)(&(boxvar_lit_HpcOmEqSystems_reduceLinearTornSystem
).header) + 3))
540
541DLLExport
542modelica_metatype omc_HpcOmEqSystems_createSingleBlockSchedule(threadData_t *threadData, modelica_metatype _graphIn, modelica_metatype _metaIn, modelica_metatype _scheduledTasks, modelica_metatype _sccSimEqMapping)
543{
544 modelica_metatype _schedule = NULL((void*)0);
545 modelica_metatype _nodes = NULL((void*)0);
546 modelica_metatype _schedTaskComps = NULL((void*)0);
547 modelica_metatype _comps = NULL((void*)0);
548 modelica_metatype _simEqSys = NULL((void*)0);
549 modelica_metatype _thread1 = NULL((void*)0);
550 modelica_metatype _threadTasks = NULL((void*)0);
551 modelica_metatype _inComps = NULL((void*)0);
552 modelica_metatype _lockIdc = NULL((void*)0);
553 modelica_metatype _allCalcTasks = NULL((void*)0);
554 modelica_metatype tmpMeta[2] __attribute__((unused)) = {0};
555 MMC_SO()mmc_check_stackoverflow(threadData);
556 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
557 // _schedule has no default value.
558 // _nodes has no default value.
559 // _schedTaskComps has no default value.
560 // _comps has no default value.
561 // _simEqSys has no default value.
562 // _thread1 has no default value.
563 // _threadTasks has no default value.
564 // _inComps has no default value.
565 // _lockIdc has no default value.
566 // _allCalcTasks has no default value.
567#line 2569 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
568 /* Pattern-matching assignment */
569#line 2569 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
570 tmpMeta[0] = _metaIn;
571#line 2569 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
572 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (2)))))
;
573#line 2569 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
574 _inComps = tmpMeta[1];
575#line 575 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
576
577#line 2570 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
578 _nodes = omc_List_intRange(threadData, arrayLength(_graphIn));
579#line 579 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
580
581#line 2571 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
582 _comps = omc_List_map1(threadData, _nodes, boxvar_Array_getIndexFirst((void*)((char*)(&(boxvar_lit_Array_getIndexFirst).header
) + 3))
, _inComps);
583#line 583 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
584
585#line 2572 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
586 _simEqSys = omc_HpcOmScheduler_getSimEqSysIdcsForNodeLst(threadData, _comps, _sccSimEqMapping);
587#line 587 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
588
589#line 2573 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
590 _simEqSys = omc_List_map1(threadData, _simEqSys, boxvar_List_sort((void*)((char*)(&(boxvar_lit_List_sort).header) + 3)), boxvar_intGt((void*)((char*)(&(boxvar_lit_intGt).header) + 3)));
591#line 591 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
592
593#line 2574 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
594 _thread1 = omc_List_threadMap1(threadData, _simEqSys, _nodes, boxvar_HpcOmScheduler_makeCalcTask((void*)((char*)(&(boxvar_lit_HpcOmScheduler_makeCalcTask
).header) + 3))
, mmc_mk_integermmc_mk_icon(((modelica_integer) 1)));
595#line 595 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
596
597#line 2575 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
598 tmpMeta[0] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
599#line 2575 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
600 _threadTasks = arrayCreate(((modelica_integer) 4), tmpMeta[0]);
601#line 601 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
602
603#line 2576 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
604 _threadTasks = arrayUpdate(_threadTasks, ((modelica_integer) 1), _thread1)boxptr_arrayUpdate(threadData,_threadTasks,mmc_mk_icon(((modelica_integer
) 1)),_thread1)
;
605#line 605 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
606
607#line 2577 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
608 _allCalcTasks = arrayCreate(listLength(_thread1), _OMC_LIT1((void*)((char*)(&(_OMC_LIT_STRUCT1).header) + 3)));
609#line 609 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
610
611#line 2578 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
612 tmpMeta[0] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
613#line 2578 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
614 tmpMeta[1] = mmc_mk_box5(4, &HpcOmSimCode_Schedule_THREADSCHEDULE__desc, _threadTasks, tmpMeta[0], _scheduledTasks, _allCalcTasks);
615#line 2578 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
616 _schedule = tmpMeta[1];
617#line 617 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
618 _return: OMC_LABEL_UNUSED__attribute__((unused))
619 return _schedule;
620}
621
622PROTECTED_FUNCTION_STATIC modelica_metatype omc_HpcOmEqSystems_buildDummyCommCost(threadData_t *threadData, modelica_integer _iChildNodeIdx)
623{
624 modelica_metatype _oCommCost = NULL((void*)0);
625 modelica_metatype tmpMeta[4] __attribute__((unused)) = {0};
626 MMC_SO()mmc_check_stackoverflow(threadData);
627 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
628 // _oCommCost has no default value.
629#line 2551 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
630 tmpMeta[0] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
631#line 2551 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
632 tmpMeta[1] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
633#line 2551 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
634 tmpMeta[2] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
635#line 2551 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
636 tmpMeta[3] = mmc_mk_box8(3, &HpcOmTaskGraph_Communication_COMMUNICATION__desc, mmc_mk_integermmc_mk_icon(((modelica_integer) 1)), tmpMeta[0], _OMC_LIT2((void*)((char*)(&(_OMC_LIT_STRUCT2).header) + 3)), tmpMeta[1], tmpMeta[2], mmc_mk_integermmc_mk_icon(_iChildNodeIdx), _OMC_LIT3((void*)((char*)(&(_OMC_LIT_STRUCT3).header) + 3)));
637#line 2551 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
638 _oCommCost = tmpMeta[3];
639#line 639 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
640 _return: OMC_LABEL_UNUSED__attribute__((unused))
641 return _oCommCost;
642}
643PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_HpcOmEqSystems_buildDummyCommCost(threadData_t *threadData, modelica_metatype _iChildNodeIdx)
644{
645 modelica_integer tmp1;
646 modelica_metatype _oCommCost = NULL((void*)0);
647 tmp1 = mmc_unbox_integer(_iChildNodeIdx)(((mmc_sint_t) (_iChildNodeIdx)) >> 1);
648 _oCommCost = omc_HpcOmEqSystems_buildDummyCommCost(threadData, tmp1);
649 /* skip box _oCommCost; HpcOmTaskGraph.Communication */
650 return _oCommCost;
651}
652
653PROTECTED_FUNCTION_STATIC modelica_metatype omc_HpcOmEqSystems_buildDummyCommCosts(threadData_t *threadData, modelica_metatype _childNodes)
654{
655 modelica_metatype _commCosts = NULL((void*)0);
656 MMC_SO()mmc_check_stackoverflow(threadData);
657 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
658 // _commCosts has no default value.
659#line 2543 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
660 _commCosts = omc_List_map(threadData, _childNodes, boxvar_HpcOmEqSystems_buildDummyCommCost((void*)((char*)(&(boxvar_lit_HpcOmEqSystems_buildDummyCommCost
).header) + 3))
);
661#line 661 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
662 _return: OMC_LABEL_UNUSED__attribute__((unused))
663 return _commCosts;
664}
665
666PROTECTED_FUNCTION_STATIC modelica_metatype omc_HpcOmEqSystems_buildTaskgraphMetaForTornSystem(threadData_t *threadData, modelica_metatype _graph, modelica_metatype _eqLst, modelica_metatype _varLst, modelica_metatype _metaIn)
667{
668 modelica_metatype _metaOut = NULL((void*)0);
669 modelica_integer _numNodes;
670 modelica_metatype _eqStrings = NULL((void*)0);
671 modelica_metatype _varStrings = NULL((void*)0);
672 modelica_metatype _descLst = NULL((void*)0);
673 modelica_metatype _eqCompMapping = NULL((void*)0);
674 modelica_metatype _varCompMapping = NULL((void*)0);
675 modelica_metatype _eqCharsLst = NULL((void*)0);
676 modelica_metatype _nodeMark = NULL((void*)0);
677 modelica_metatype _compDescs = NULL((void*)0);
678 modelica_metatype _compNames = NULL((void*)0);
679 modelica_metatype _inComps = NULL((void*)0);
680 modelica_metatype _exeCosts = NULL((void*)0);
681 modelica_metatype _compParamMapping = NULL((void*)0);
682 modelica_metatype _commCosts = NULL((void*)0);
683 modelica_metatype _compInformations = NULL((void*)0);
684 modelica_metatype tmpMeta[6] __attribute__((unused)) = {0};
685 MMC_SO()mmc_check_stackoverflow(threadData);
686 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
687 // _metaOut has no default value.
688 // _numNodes has no default value.
689 // _eqStrings has no default value.
690 // _varStrings has no default value.
691 // _descLst has no default value.
692 // _eqCompMapping has no default value.
693 // _varCompMapping has no default value.
694 // _eqCharsLst has no default value.
695 // _nodeMark has no default value.
696 // _compDescs has no default value.
697 // _compNames has no default value.
698 // _inComps has no default value.
699 // _exeCosts has no default value.
700 // _compParamMapping has no default value.
701 // _commCosts has no default value.
702 // _compInformations has no default value.
703#line 2519 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
704 /* Pattern-matching assignment */
705#line 2519 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
706 tmpMeta[0] = _metaIn;
707#line 2519 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
708 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (3)))))
;
709#line 2519 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
710 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (4)))))
;
711#line 2519 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
712 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 5))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (5)))))
;
713#line 2519 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
714 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 10))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (10)))))
;
715#line 2519 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
716 tmpMeta[5] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 11))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (11)))))
;
717#line 2519 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
718 _varCompMapping = tmpMeta[1];
719#line 2519 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
720 _eqCompMapping = tmpMeta[2];
721#line 2519 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
722 _compParamMapping = tmpMeta[3];
723#line 2519 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
724 _nodeMark = tmpMeta[4];
725#line 2519 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
726 _compInformations = tmpMeta[5];
727#line 727 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
728
729#line 2520 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
730 _numNodes = arrayLength(_graph);
731#line 731 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
732
733#line 2522 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
734 _inComps = listArray(omc_List_map(threadData, omc_List_intRange(threadData, _numNodes), boxvar_List_create((void*)((char*)(&(boxvar_lit_List_create).header) + 3))));
735#line 735 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
736
737#line 2524 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
738 _compNames = listArray(omc_List_map(threadData, omc_List_intRange(threadData, _numNodes), boxvar_intString((void*)((char*)(&(boxvar_lit_intString).header) + 3))));
739#line 739 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
740
741#line 2526 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
742 _exeCosts = arrayCreate(_numNodes, _OMC_LIT5((void*)((char*)(&(_OMC_LIT_STRUCT5).header) + 3)));
743#line 743 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
744
745#line 2528 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
746 _commCosts = omc_Array_map(threadData, _graph, boxvar_HpcOmEqSystems_buildDummyCommCosts((void*)((char*)(&(boxvar_lit_HpcOmEqSystems_buildDummyCommCosts
).header) + 3))
);
747#line 747 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
748
749#line 2530 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
750 _eqStrings = omc_List_map(threadData, _eqLst, boxvar_BackendDump_equationString((void*)((char*)(&(boxvar_lit_BackendDump_equationString)
.header) + 3))
);
751#line 751 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
752
753#line 2531 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
754 _varStrings = omc_List_map(threadData, _varLst, boxvar_HpcOmTaskGraph_getVarString((void*)((char*)(&(boxvar_lit_HpcOmTaskGraph_getVarString
).header) + 3))
);
755#line 755 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
756
757#line 2532 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
758 _descLst = omc_List_map1(threadData, _eqStrings, boxvar_stringAppend((void*)((char*)(&(boxvar_lit_stringAppend).header) + 3)), _OMC_LIT6((void*)((char*)(&(_OMC_LIT_STRUCT6).header) + 3)));
759#line 759 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
760
761#line 2533 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
762 _descLst = omc_List_threadMap(threadData, _descLst, _varStrings, boxvar_stringAppend((void*)((char*)(&(boxvar_lit_stringAppend).header) + 3)));
763#line 763 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
764
765#line 2534 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
766 _compDescs = listArray(_descLst);
767#line 767 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
768
769#line 2535 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
770 tmpMeta[0] = mmc_mk_box11(3, &HpcOmTaskGraph_TaskGraphMeta_TASKGRAPHMETA__desc, _inComps, _varCompMapping, _eqCompMapping, _compParamMapping, _compNames, _compDescs, _exeCosts, _commCosts, _nodeMark, _compInformations);
771#line 2535 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
772 _metaOut = tmpMeta[0];
773#line 773 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
774 _return: OMC_LABEL_UNUSED__attribute__((unused))
775 return _metaOut;
776}
777
778PROTECTED_FUNCTION_STATIC modelica_metatype omc_HpcOmEqSystems_buildMatchedGraphForTornSystem(threadData_t *threadData, modelica_integer _idx, modelica_metatype _eqsIn, modelica_metatype _varsIn, modelica_metatype _m, modelica_metatype _mt, modelica_metatype _graphIn)
779{
780 modelica_metatype _graphOut = NULL((void*)0);
781 modelica_metatype tmpMeta[1] __attribute__((unused)) = {0};
782 MMC_SO()mmc_check_stackoverflow(threadData);
783 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
784 // _graphOut has no default value.
785#line 785 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
786 { /* matchcontinue expression */
787 {
788 modelica_integer _eq;
789 modelica_metatype _vars = NULL((void*)0);
790 modelica_metatype _depEqs = NULL((void*)0);
791 modelica_metatype _graph = NULL((void*)0);
792 volatile mmc_switch_type tmp3;
793 int tmp4;
794 // _eq has no default value.
795 // _vars has no default value.
796 // _depEqs has no default value.
797 // _graph has no default value.
798 tmp3 = 0;
799 MMC_TRY_INTERNAL(mmc_jumper){ jmp_buf new_mmc_jumper, *old_jumper __attribute__((unused))
= threadData->mmc_jumper; threadData->mmc_jumper = &
new_mmc_jumper; if (_setjmp (new_mmc_jumper) == 0) {
800 tmp2_top:
801 threadData->mmc_jumper = &new_mmc_jumper;
802 for (; tmp3 < 2; tmp3++) {
803 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
804 case 0: {
805 modelica_boolean tmp5;
806 /* Pattern matching succeeded */
807#line 2484 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
808 /* Pattern-matching assignment */
809#line 2484 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
810 tmp5 = (listLength(_eqsIn) >= _idx);
811#line 2484 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
812 if (1 != tmp5) goto goto_1;
813#line 813 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
814
815#line 2485 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
816 _vars = listGet(_varsIn, _idx)boxptr_listGet(threadData,_varsIn,mmc_mk_icon(_idx));
817#line 817 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
818
819#line 2486 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
820 _eq = mmc_unbox_integer(listGet(_eqsIn, _idx))(((mmc_sint_t) (boxptr_listGet(threadData,_eqsIn,mmc_mk_icon(
_idx)))) >> 1)
;
821#line 821 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
822
823#line 2487 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
824 _depEqs = omc_List_flatten(threadData, omc_List_map1(threadData, _vars, boxvar_Array_getIndexFirst((void*)((char*)(&(boxvar_lit_Array_getIndexFirst).header
) + 3))
, _mt));
825#line 825 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
826
827#line 2488 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
828 _depEqs = omc_List_deleteMember(threadData, _depEqs, mmc_mk_integermmc_mk_icon(_eq));
829#line 829 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
830
831#line 2489 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
832 _graph = arrayUpdate(_graphIn, _eq, _depEqs)boxptr_arrayUpdate(threadData,_graphIn,mmc_mk_icon(_eq),_depEqs
)
;
833#line 833 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
834#line 2490 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
835 tmpMeta[0] = omc_HpcOmEqSystems_buildMatchedGraphForTornSystem(threadData, ((modelica_integer) 1) + _idx, _eqsIn, _varsIn, _m, _mt, _graph);
836#line 836 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
837 goto tmp2_done;
838 }
839 case 1: {
840 modelica_boolean tmp6;
841 /* Pattern matching succeeded */
842#line 2494 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
843 /* Pattern-matching assignment */
844#line 2494 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
845 tmp6 = (listLength(_eqsIn) > _idx);
846#line 2494 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
847 if (0 != tmp6) goto goto_1;
848#line 848 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
849#line 2495 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
850 tmpMeta[0] = _graphIn;
851#line 851 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
852 goto tmp2_done;
853 }
854 }
855 goto tmp2_end;
856 tmp2_end: ;
857 }
858 goto goto_1;
859 tmp2_done:
860 (void)tmp3;
861 MMC_RESTORE_INTERNAL(mmc_jumper)threadData->mmc_jumper = old_jumper;;
862 goto tmp2_done2;
863 goto_1:;
864 MMC_CATCH_INTERNAL(mmc_jumper)} threadData->mmc_jumper = old_jumper;mmc_catch_dummy_fn()
;}
;
865 if (++tmp3 < 2) {
866 goto tmp2_top;
867 }
868 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
869 tmp2_done2:;
870 }
871 }
872 _graphOut = tmpMeta[0];
873 _return: OMC_LABEL_UNUSED__attribute__((unused))
874 return _graphOut;
875}
876PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_HpcOmEqSystems_buildMatchedGraphForTornSystem(threadData_t *threadData, modelica_metatype _idx, modelica_metatype _eqsIn, modelica_metatype _varsIn, modelica_metatype _m, modelica_metatype _mt, modelica_metatype _graphIn)
877{
878 modelica_integer tmp1;
879 modelica_metatype _graphOut = NULL((void*)0);
880 tmp1 = mmc_unbox_integer(_idx)(((mmc_sint_t) (_idx)) >> 1);
881 _graphOut = omc_HpcOmEqSystems_buildMatchedGraphForTornSystem(threadData, tmp1, _eqsIn, _varsIn, _m, _mt, _graphIn);
882 /* skip box _graphOut; array<list<#Integer>> */
883 return _graphOut;
884}
885
886PROTECTED_FUNCTION_STATIC modelica_metatype omc_HpcOmEqSystems_genSystemVarIdcs(threadData_t *threadData, modelica_metatype _idcsIn, modelica_integer _idx, modelica_integer *out_idx2)
887{
888 modelica_metatype _idcsOut = NULL((void*)0);
889 modelica_integer _idx2;
890 MMC_SO()mmc_check_stackoverflow(threadData);
891 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
892 // _idcsOut has no default value.
893 // _idx2 has no default value.
894#line 2429 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
895 _idx2 = listLength(_idcsIn) + _idx;
896#line 896 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
897
898#line 2430 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
899 _idcsOut = omc_List_intRange2(threadData, _idx, ((modelica_integer) -1) + _idx2);
900#line 900 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
901 _return: OMC_LABEL_UNUSED__attribute__((unused))
902 if (out_idx2) { *out_idx2 = _idx2; }
903 return _idcsOut;
904}
905PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_HpcOmEqSystems_genSystemVarIdcs(threadData_t *threadData, modelica_metatype _idcsIn, modelica_metatype _idx, modelica_metatype *out_idx2)
906{
907 modelica_integer tmp1;
908 modelica_integer _idx2;
909 modelica_metatype _idcsOut = NULL((void*)0);
910 tmp1 = mmc_unbox_integer(_idx)(((mmc_sint_t) (_idx)) >> 1);
911 _idcsOut = omc_HpcOmEqSystems_genSystemVarIdcs(threadData, _idcsIn, tmp1, &_idx2);
912 /* skip box _idcsOut; list<#Integer> */
913 if (out_idx2) { *out_idx2 = mmc_mk_icon(_idx2); }
914 return _idcsOut;
915}
916
917PROTECTED_FUNCTION_STATIC modelica_metatype omc_HpcOmEqSystems_pts__transformScheduleToTask(threadData_t *threadData, modelica_metatype _otherEqSys, modelica_metatype _resSimEqs, modelica_integer _compIdx)
918{
919 modelica_metatype _task = NULL((void*)0);
920 modelica_metatype tmpMeta[4] __attribute__((unused)) = {0};
921 MMC_SO()mmc_check_stackoverflow(threadData);
922 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
923 // _task has no default value.
924#line 924 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
925 { /* matchcontinue expression */
926 volatile modelica_metatype tmp3_1;
927 tmp3_1 = _otherEqSys;
928 {
929 modelica_integer _numThreads;
930 modelica_metatype _outgoingDepTasks = NULL((void*)0);
931 modelica_metatype _schedule = NULL((void*)0);
932 modelica_metatype _threadTasks = NULL((void*)0);
933 modelica_metatype _threadTasksLst = NULL((void*)0);
934 modelica_metatype _allCalcTasks = NULL((void*)0);
935 volatile mmc_switch_type tmp3;
936 int tmp4;
937 // _numThreads has no default value.
938 // _outgoingDepTasks has no default value.
939 // _schedule has no default value.
940 // _threadTasks has no default value.
941 // _threadTasksLst has no default value.
942 // _allCalcTasks has no default value.
943 tmp3 = 0;
944 MMC_TRY_INTERNAL(mmc_jumper){ jmp_buf new_mmc_jumper, *old_jumper __attribute__((unused))
= threadData->mmc_jumper; threadData->mmc_jumper = &
new_mmc_jumper; if (_setjmp (new_mmc_jumper) == 0) {
945 tmp2_top:
946 threadData->mmc_jumper = &new_mmc_jumper;
947 for (; tmp3 < 3; tmp3++) {
948 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
949 case 0: {
950 if (mmc__uniontype__metarecord__typedef__equal(tmp3_1,0,2)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))==(((2 +1) <<
10) + (((0 +3) & 255) << 2)))
== 0) goto tmp2_end;
951
952 tmp3 += 1; /* Pattern matching succeeded; we may skip some cases if we fail */
953#line 2383 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
954 fputs(MMC_STRINGDATA(_OMC_LIT7)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT7).header) + 3))) - 3)))->data)
,stdoutstdout);
955#line 955 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
956#line 2384 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
957 goto goto_1;
958#line 958 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
959 goto tmp2_done;
960 }
961 case 1: {
962 if (mmc__uniontype__metarecord__typedef__equal(tmp3_1,1,4)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))==(((4 +1) <<
10) + (((1 +3) & 255) << 2)))
== 0) goto tmp2_end;
963 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
964 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(3)))))
;
965 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 5))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(5)))))
;
966 _threadTasks = tmpMeta[1];
967 _outgoingDepTasks = tmpMeta[2];
968 _allCalcTasks = tmpMeta[3];
969 /* Pattern matching succeeded */
970#line 2389 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
971 _numThreads = arrayLength(_threadTasks);
972#line 972 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
973
974#line 2402 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
975 _threadTasksLst = arrayList(_threadTasks);
976#line 976 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
977
978#line 2411 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
979 _threadTasks = listArray(_threadTasksLst);
980#line 980 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
981
982#line 2412 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
983 tmpMeta[1] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
984#line 2412 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
985 tmpMeta[2] = mmc_mk_box5(4, &HpcOmSimCode_Schedule_THREADSCHEDULE__desc, _threadTasks, _outgoingDepTasks, tmpMeta[1], _allCalcTasks);
986#line 2412 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
987 _schedule = tmpMeta[2];
988#line 988 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
989#line 2414 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
990 tmpMeta[1] = mmc_mk_box4(3, &HpcOmSimCode_Task_SCHEDULED__TASK__desc, mmc_mk_integermmc_mk_icon(_compIdx), mmc_mk_integermmc_mk_icon(_numThreads), _schedule);
991#line 2414 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
992 tmpMeta[0] = tmpMeta[1];
993#line 993 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
994 goto tmp2_done;
995 }
996 case 2: {
997
998 /* Pattern matching succeeded */
999#line 2418 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
1000 fputs(MMC_STRINGDATA(_OMC_LIT8)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT8).header) + 3))) - 3)))->data)
,stdoutstdout);
1001#line 1001 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
1002#line 2419 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
1003 goto goto_1;
1004#line 1004 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
1005 goto tmp2_done;
1006 }
1007 }
1008 goto tmp2_end;
1009 tmp2_end: ;
1010 }
1011 goto goto_1;
1012 tmp2_done:
1013 (void)tmp3;
1014 MMC_RESTORE_INTERNAL(mmc_jumper)threadData->mmc_jumper = old_jumper;;
1015 goto tmp2_done2;
1016 goto_1:;
1017 MMC_CATCH_INTERNAL(mmc_jumper)} threadData->mmc_jumper = old_jumper;mmc_catch_dummy_fn()
;}
;
1018 if (++tmp3 < 3) {
1019 goto tmp2_top;
1020 }
1021 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
1022 tmp2_done2:;
1023 }
1024 }
1025 _task = tmpMeta[0];
1026 _return: OMC_LABEL_UNUSED__attribute__((unused))
1027 return _task;
1028}
1029PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_HpcOmEqSystems_pts__transformScheduleToTask(threadData_t *threadData, modelica_metatype _otherEqSys, modelica_metatype _resSimEqs, modelica_metatype _compIdx)
1030{
1031 modelica_integer tmp1;
1032 modelica_metatype _task = NULL((void*)0);
1033 tmp1 = mmc_unbox_integer(_compIdx)(((mmc_sint_t) (_compIdx)) >> 1);
1034 _task = omc_HpcOmEqSystems_pts__transformScheduleToTask(threadData, _otherEqSys, _resSimEqs, tmp1);
1035 /* skip box _task; HpcOmSimCode.Task */
1036 return _task;
1037}
1038
1039PROTECTED_FUNCTION_STATIC modelica_integer omc_HpcOmEqSystems_pts__traverseCompsAndParallelize(threadData_t *threadData, modelica_metatype _inComps, modelica_metatype _eqsIn, modelica_metatype _varsIn, modelica_metatype _sccSimEqMapping, modelica_metatype _simVarMapping, modelica_integer _compIdxIn, modelica_metatype _taskLstIn, modelica_boolean _isInitial, modelica_metatype *out_taskLstOut)
1040{
1041 modelica_integer _compIdxOut;
1042 modelica_metatype _taskLstOut = NULL((void*)0);
1043 modelica_integer tmp1_c0 __attribute__((unused)) = 0;
1044 modelica_metatype tmpMeta[7] __attribute__((unused)) = {0};
1045 MMC_SO()mmc_check_stackoverflow(threadData);
1046 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1047 // _compIdxOut has no default value.
1048 // _taskLstOut has no default value.
1049#line 2279 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
1050
1051#line 2279 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
1052
1053#line 1053 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
1054 { /* matchcontinue expression */
1055 volatile modelica_metatype tmp4_1;
1056 tmp4_1 = _inComps;
1057 {
1058 modelica_integer _numEqs;
1059 modelica_integer _numVars;
1060 modelica_integer _numResEqs;
1061 modelica_metatype _eqIdcs = NULL((void*)0);
1062 modelica_metatype _varIdcs = NULL((void*)0);
1063 modelica_metatype _resEqs = NULL((void*)0);
1064 modelica_metatype _eqIdcsSys = NULL((void*)0);
1065 modelica_metatype _simEqSysIdcs = NULL((void*)0);
1066 modelica_metatype _resSimEqSysIdcs = NULL((void*)0);
1067 modelica_metatype _otherSimEqSysIdcs = NULL((void*)0);
1068 modelica_metatype _varIdcLstSys = NULL((void*)0);
1069 modelica_metatype _varIdcsLsts = NULL((void*)0);
1070 modelica_metatype _innerEquations = NULL((void*)0);
1071 modelica_metatype _otherSimEqMapping = NULL((void*)0);
1072 modelica_metatype _otherEqs = NULL((void*)0);
1073 modelica_metatype _m = NULL((void*)0);
1074 modelica_metatype _mT = NULL((void*)0);
1075 modelica_metatype _comp = NULL((void*)0);
1076 modelica_metatype _otherVars = NULL((void*)0);
1077 modelica_metatype _graph = NULL((void*)0);
1078 modelica_metatype _graphMerged = NULL((void*)0);
1079 modelica_metatype _meta = NULL((void*)0);
1080 modelica_metatype _metaMerged = NULL((void*)0);
1081 modelica_metatype _schedule = NULL((void*)0);
1082 modelica_metatype _task = NULL((void*)0);
1083 modelica_metatype _otherEqLst = NULL((void*)0);
1084 modelica_metatype _otherVarLst = NULL((void*)0);
1085 modelica_metatype _rest = NULL((void*)0);
1086 volatile mmc_switch_type tmp4;
1087 int tmp5;
1088 // _numEqs has no default value.
1089 // _numVars has no default value.
1090 // _numResEqs has no default value.
1091 // _eqIdcs has no default value.
1092 // _varIdcs has no default value.
1093 // _resEqs has no default value.
1094 // _eqIdcsSys has no default value.
1095 // _simEqSysIdcs has no default value.
1096 // _resSimEqSysIdcs has no default value.
1097 // _otherSimEqSysIdcs has no default value.
1098 // _varIdcLstSys has no default value.
1099 // _varIdcsLsts has no default value.
1100 // _innerEquations has no default value.
1101 // _otherSimEqMapping has no default value.
1102 // _otherEqs has no default value.
1103 // _m has no default value.
1104 // _mT has no default value.
1105 // _comp has no default value.
1106 // _otherVars has no default value.
1107 // _graph has no default value.
1108 // _graphMerged has no default value.
1109 // _meta has no default value.
1110 // _metaMerged has no default value.
1111 // _schedule has no default value.
1112 // _task has no default value.
1113 // _otherEqLst has no default value.
1114 // _otherVarLst has no default value.
1115 // _rest has no default value.
1116 tmp4 = 0;
1117 MMC_TRY_INTERNAL(mmc_jumper){ jmp_buf new_mmc_jumper, *old_jumper __attribute__((unused))
= threadData->mmc_jumper; threadData->mmc_jumper = &
new_mmc_jumper; if (_setjmp (new_mmc_jumper) == 0) {
1118 tmp3_top:
1119 threadData->mmc_jumper = &new_mmc_jumper;
1120 for (; tmp4 < 3; tmp4++) {
1121 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
1122 case 0: {
1123 if (!listEmpty(tmp4_1)((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp3_end;
1124 tmp4 += 2; /* Pattern matching succeeded; we may skip some cases if we fail */
1125#line 2300 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
1126 tmp1_c0 = _compIdxIn;
1127#line 2300 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
1128 tmpMeta[0+1] = _taskLstIn;
1129#line 1129 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
1130 goto tmp3_done;
1131 }
1132 case 1: {
1133 if (listEmpty(tmp4_1)((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp3_end;
1134 tmpMeta[2] = MMC_CAR(tmp4_1)(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(1)))))
;
1135 tmpMeta[3] = MMC_CDR(tmp4_1)(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(2)))))
;
1136 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[2],7,4)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[2]) - 3)))==(((4 +1)
<< 10) + (((7 +3) & 255) << 2)))
== 0) goto tmp3_end;
1137 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (2)))))
;
1138 tmpMeta[5] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[4]), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[4]) - 3
))) + (3)))))
;
1139 tmpMeta[6] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[4]), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[4]) - 3
))) + (4)))))
;
1140
1141 _comp = tmpMeta[2];
1142 _resEqs = tmpMeta[5];
1143 _innerEquations = tmpMeta[6];
1144 _rest = tmpMeta[3];
1145 /* Pattern matching succeeded */
1146#line 2303 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
1147 _eqIdcs = omc_List_map__3(threadData, _innerEquations, boxvar_BackendDAEUtil_getEqnAndVarsFromInnerEquation((void*)((char*)(&(boxvar_lit_BackendDAEUtil_getEqnAndVarsFromInnerEquation
).header) + 3))
,&_varIdcsLsts ,NULL((void*)0));
1148#line 1148 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
1149
1150#line 2304 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
1151 _varIdcs = omc_List_flatten(threadData, _varIdcsLsts);
1152#line 1152 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
1153
1154#line 2305 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
1155 _numEqs = listLength(_eqIdcs);
1156#line 1156 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
1157
1158#line 2306 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
1159 _numVars = listLength(_varIdcs);
1160#line 1160 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
1161
1162#line 2307 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
1163 _numResEqs = listLength(_resEqs);
1164#line 1164 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
1165
1166#line 2308 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
1167 _eqIdcsSys = omc_List_intRange(threadData, _numEqs);
1168#line 1168 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
1169
1170#line 2309 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
1171 _varIdcLstSys = omc_List_mapFold(threadData, _varIdcsLsts, boxvar_HpcOmEqSystems_genSystemVarIdcs((void*)((char*)(&(boxvar_lit_HpcOmEqSystems_genSystemVarIdcs
).header) + 3))
, mmc_mk_integermmc_mk_icon(((modelica_integer) 1)), NULL((void*)0));
1172#line 1172 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
1173
1174#line 2312 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
1175 _otherEqLst = omc_List_map1(threadData, _eqIdcs, boxvar_List_getIndexFirst((void*)((char*)(&(boxvar_lit_List_getIndexFirst).header)
+ 3))
, _eqsIn);
1176#line 1176 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
1177
1178#line 2313 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
1179 _otherVarLst = omc_List_map1(threadData, _varIdcs, boxvar_List_getIndexFirst((void*)((char*)(&(boxvar_lit_List_getIndexFirst).header)
+ 3))
, _varsIn);
1180#line 1180 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
1181
1182#line 2314 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
1183 _otherVars = omc_BackendVariable_listVar1(threadData, _otherVarLst);
1184#line 1184 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
1185
1186#line 2315 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
1187 _otherEqs = omc_BackendEquation_listEquation(threadData, _otherEqLst);
1188#line 1188 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
1189
1190#line 2316 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
1191 _m = omc_BackendDAEUtil_adjacencyMatrixDispatch(threadData, _otherVars, _otherEqs, _OMC_LIT9((void*)((char*)(&(_OMC_LIT_STRUCT9).header) + 3)), mmc_mk_none()((void*)((char*)(&(mmc_none).header) + 3)), _isInitial ,&_mT);
1192#line 1192 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
1193
1194#line 2319 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
1195 _graph = omc_HpcOmTaskGraph_getEmptyTaskGraph(threadData, _numEqs, _numEqs, _numVars ,&_meta);
1196#line 1196 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
1197
1198#line 2320 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
1199 _graph = omc_HpcOmEqSystems_buildMatchedGraphForTornSystem(threadData, ((modelica_integer) 1), _eqIdcsSys, _varIdcLstSys, _m, _mT, _graph);
1200#line 1200 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
1201
1202#line 2321 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
1203 _meta = omc_HpcOmEqSystems_buildTaskgraphMetaForTornSystem(threadData, _graph, _otherEqLst, _otherVarLst, _meta);
1204#line 1204 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
1205
1206#line 2326 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
1207 _simEqSysIdcs = arrayGet(_sccSimEqMapping, _compIdxIn)nobox_arrayGet(threadData,_sccSimEqMapping,_compIdxIn);
1208#line 1208 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
1209
1210#line 2327 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
1211 _resSimEqSysIdcs = omc_List_map1r(threadData, omc_List_intRange(threadData, _numResEqs), boxvar_intSub((void*)((char*)(&(boxvar_lit_intSub).header) + 3)), listHead(_simEqSysIdcs)boxptr_listHead(threadData,_simEqSysIdcs));
1212#line 1212 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
1213
1214#line 2328 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
1215 _otherSimEqSysIdcs = omc_List_map1r(threadData, omc_List_intRange2(threadData, ((modelica_integer) 1) + _numResEqs, _numResEqs + _numEqs), boxvar_intSub((void*)((char*)(&(boxvar_lit_intSub).header) + 3)), listHead(_simEqSysIdcs)boxptr_listHead(threadData,_simEqSysIdcs));
1216#line 1216 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
1217
1218#line 2329 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
1219 _otherSimEqMapping = listArray(omc_List_map(threadData, _otherSimEqSysIdcs, boxvar_List_create((void*)((char*)(&(boxvar_lit_List_create).header) + 3))));
1220#line 1220 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
1221
1222#line 2335 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
1223 tmpMeta[2] = stringAppend(_OMC_LIT10((void*)((char*)(&(_OMC_LIT_STRUCT10).header) + 3)),intString(_compIdxIn));
1224#line 2335 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
1225 omc_BackendDump_dumpBipartiteGraphStrongComponent1(threadData, _comp, _eqsIn, _varsIn, mmc_mk_none()((void*)((char*)(&(mmc_none).header) + 3)), tmpMeta[2]);
1226#line 1226 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
1227
1228#line 2336 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
1229 tmpMeta[2] = stringAppend(_OMC_LIT11((void*)((char*)(&(_OMC_LIT_STRUCT11).header) + 3)),intString(_compIdxIn));
1230#line 2336 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
1231 omc_BackendDump_dumpDAGStrongComponent(threadData, _graph, _meta, tmpMeta[2]);
1232#line 1232 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
1233
1234#line 2340 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
1235 /* Pattern-matching assignment */
1236#line 2340 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
1237 tmpMeta[2] = mmc_mk_box2(0, _graph, _meta);
1238#line 2340 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
1239 tmpMeta[3] = tmpMeta[2];
1240#line 2340 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
1241 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[3]), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[3]) - 3
))) + (1)))))
;
1242#line 2340 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
1243 tmpMeta[5] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[3]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[3]) - 3
))) + (2)))))
;
1244#line 2340 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
1245 _graphMerged = tmpMeta[4];
1246#line 2340 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
1247 _metaMerged = tmpMeta[5];
1248#line 1248 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
1249
1250#line 2341 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
1251 omc_Error_addMessage(threadData, _OMC_LIT16((void*)((char*)(&(_OMC_LIT_STRUCT16).header) + 3)), _OMC_LIT18((void*)((char*)(&(_OMC_LIT_STRUCT18).header) + 3)));
1252#line 1252 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
1253
1254#line 2343 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
1255 tmpMeta[2] = stringAppend(_OMC_LIT19((void*)((char*)(&(_OMC_LIT_STRUCT19).header) + 3)),intString(_compIdxIn));
1256#line 2343 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
1257 omc_BackendDump_dumpDAGStrongComponent(threadData, _graphMerged, _metaMerged, tmpMeta[2]);
1258#line 1258 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
1259
1260#line 2348 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
1261 _schedule = omc_HpcOmScheduler_createListSchedule(threadData, _graphMerged, _metaMerged, ((modelica_integer) 2), _otherSimEqMapping, _simVarMapping);
1262#line 1262 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
1263
1264#line 2349 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
1265 omc_HpcOmScheduler_printSchedule(threadData, _schedule);
1266#line 1266 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
1267
1268#line 2352 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
1269 _task = omc_HpcOmEqSystems_pts__transformScheduleToTask(threadData, _schedule, _resSimEqSysIdcs, _compIdxIn);
1270#line 1270 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
1271#line 2354 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
1272 tmpMeta[2] = mmc_mk_cons(_task, _taskLstIn);
1273#line 2354 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
1274 tmp1_c0 = omc_HpcOmEqSystems_pts__traverseCompsAndParallelize(threadData, _rest, _eqsIn, _varsIn, _sccSimEqMapping, _simVarMapping, ((modelica_integer) 1) + _compIdxIn, tmpMeta[2], _isInitial, &tmpMeta[0+1]);
1275#line 1275 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
1276 goto tmp3_done;
1277 }
1278 case 2: {
1279 if (listEmpty(tmp4_1)((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp3_end;
1280 tmpMeta[2] = MMC_CAR(tmp4_1)(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(1)))))
;
1281 tmpMeta[3] = MMC_CDR(tmp4_1)(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(2)))))
;
1282 _rest = tmpMeta[3];
1283 /* Pattern matching succeeded */
1284#line 2358 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
1285 tmp1_c0 = omc_HpcOmEqSystems_pts__traverseCompsAndParallelize(threadData, _rest, _eqsIn, _varsIn, _sccSimEqMapping, _simVarMapping, ((modelica_integer) 1) + _compIdxIn, _taskLstIn, _isInitial, &tmpMeta[0+1]);
1286#line 1286 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
1287 goto tmp3_done;
1288 }
1289 }
1290 goto tmp3_end;
1291 tmp3_end: ;
1292 }
1293 goto goto_2;
1294 tmp3_done:
1295 (void)tmp4;
1296 MMC_RESTORE_INTERNAL(mmc_jumper)threadData->mmc_jumper = old_jumper;;
1297 goto tmp3_done2;
1298 goto_2:;
1299 MMC_CATCH_INTERNAL(mmc_jumper)} threadData->mmc_jumper = old_jumper;mmc_catch_dummy_fn()
;}
;
1300 if (++tmp4 < 3) {
1301 goto tmp3_top;
1302 }
1303 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
1304 tmp3_done2:;
1305 }
1306 }
1307 _compIdxOut = tmp1_c0;
1308 _taskLstOut = tmpMeta[0+1];
1309 _return: OMC_LABEL_UNUSED__attribute__((unused))
1310 if (out_taskLstOut) { *out_taskLstOut = _taskLstOut; }
1311 return _compIdxOut;
1312}
1313PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_HpcOmEqSystems_pts__traverseCompsAndParallelize(threadData_t *threadData, modelica_metatype _inComps, modelica_metatype _eqsIn, modelica_metatype _varsIn, modelica_metatype _sccSimEqMapping, modelica_metatype _simVarMapping, modelica_metatype _compIdxIn, modelica_metatype _taskLstIn, modelica_metatype _isInitial, modelica_metatype *out_taskLstOut)
1314{
1315 modelica_integer tmp1;
1316 modelica_integer tmp2;
1317 modelica_integer _compIdxOut;
1318 modelica_metatype out_compIdxOut;
1319 tmp1 = mmc_unbox_integer(_compIdxIn)(((mmc_sint_t) (_compIdxIn)) >> 1);
1320 tmp2 = mmc_unbox_integer(_isInitial)(((mmc_sint_t) (_isInitial)) >> 1);
1321 _compIdxOut = omc_HpcOmEqSystems_pts__traverseCompsAndParallelize(threadData, _inComps, _eqsIn, _varsIn, _sccSimEqMapping, _simVarMapping, tmp1, _taskLstIn, tmp2, out_taskLstOut);
1322 out_compIdxOut = mmc_mk_icon(_compIdxOut);
1323 /* skip box _taskLstOut; list<HpcOmSimCode.Task> */
1324 return out_compIdxOut;
1325}
1326
1327PROTECTED_FUNCTION_STATIC modelica_integer omc_HpcOmEqSystems_pts__traverseEqSystems(threadData_t *threadData, modelica_metatype _eqSysIn, modelica_metatype _sccSimEqMapping, modelica_metatype _simVarMapping, modelica_integer _compIdxIn, modelica_metatype _taskLstIn, modelica_boolean _isInitial, modelica_metatype *out_taskLstOut)
1328{
1329 modelica_integer _compIdxOut;
1330 modelica_metatype _taskLstOut = NULL((void*)0);
1331 modelica_integer tmp1_c0 __attribute__((unused)) = 0;
1332 modelica_metatype tmpMeta[8] __attribute__((unused)) = {0};
1333 MMC_SO()mmc_check_stackoverflow(threadData);
1334 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1335 // _compIdxOut has no default value.
1336 // _taskLstOut has no default value.
1337#line 2240 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
1338
1339#line 2240 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
1340
1341#line 1341 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
1342 { /* matchcontinue expression */
1343 volatile modelica_metatype tmp4_1;
1344 tmp4_1 = _eqSysIn;
1345 {
1346 modelica_integer _compIdx;
1347 modelica_metatype _eqs = NULL((void*)0);
1348 modelica_metatype _eqSysRest = NULL((void*)0);
1349 modelica_metatype _vars = NULL((void*)0);
1350 modelica_metatype _comps = NULL((void*)0);
1351 modelica_metatype _eqLst = NULL((void*)0);
1352 modelica_metatype _varLst = NULL((void*)0);
1353 modelica_metatype _taskLst = NULL((void*)0);
1354 volatile mmc_switch_type tmp4;
1355 int tmp5;
1356 // _compIdx has no default value.
1357 // _eqs has no default value.
1358 // _eqSysRest has no default value.
1359 // _vars has no default value.
1360 // _comps has no default value.
1361 // _eqLst has no default value.
1362 // _varLst has no default value.
1363 // _taskLst has no default value.
1364 tmp4 = 0;
1365 MMC_TRY_INTERNAL(mmc_jumper){ jmp_buf new_mmc_jumper, *old_jumper __attribute__((unused))
= threadData->mmc_jumper; threadData->mmc_jumper = &
new_mmc_jumper; if (_setjmp (new_mmc_jumper) == 0) {
1366 tmp3_top:
1367 threadData->mmc_jumper = &new_mmc_jumper;
1368 for (; tmp4 < 3; tmp4++) {
1369 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
1370 case 0: {
1371 if (listEmpty(tmp4_1)((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp3_end;
1372 tmpMeta[2] = MMC_CAR(tmp4_1)(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(1)))))
;
1373 tmpMeta[3] = MMC_CDR(tmp4_1)(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(2)))))
;
1374 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (2)))))
;
1375 tmpMeta[5] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (3)))))
;
1376 tmpMeta[6] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 7))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (7)))))
;
1377 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[6],1,3)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[6]) - 3)))==(((3 +1)
<< 10) + (((1 +3) & 255) << 2)))
== 0) goto tmp3_end;
1378 tmpMeta[7] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[6]), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[6]) - 3
))) + (4)))))
;
1379
1380 _vars = tmpMeta[4];
1381 _eqs = tmpMeta[5];
1382 _comps = tmpMeta[7];
1383 _eqSysRest = tmpMeta[3];
1384 tmp4 += 1; /* Pattern matching succeeded; we may skip some cases if we fail */
1385#line 2252 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
1386 _eqLst = omc_BackendEquation_equationList(threadData, _eqs);
1387#line 1387 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
1388
1389#line 2253 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
1390 _varLst = omc_BackendVariable_varList(threadData, _vars);
1391#line 1391 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
1392
1393#line 2254 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
1394 _compIdx = omc_HpcOmEqSystems_pts__traverseCompsAndParallelize(threadData, _comps, _eqLst, _varLst, _sccSimEqMapping, _simVarMapping, _compIdxIn, _taskLstIn, _isInitial ,&_taskLst);
1395#line 1395 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
1396#line 2255 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
1397 tmp1_c0 = omc_HpcOmEqSystems_pts__traverseEqSystems(threadData, _eqSysRest, _sccSimEqMapping, _simVarMapping, _compIdx, _taskLst, _isInitial, &tmpMeta[0+1]);
1398#line 1398 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
1399 goto tmp3_done;
1400 }
1401 case 1: {
1402 if (!listEmpty(tmp4_1)((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp3_end;
1403 /* Pattern matching succeeded */
1404#line 2258 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
1405 tmp1_c0 = _compIdxIn;
1406#line 2258 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
1407 tmpMeta[0+1] = _taskLstIn;
1408#line 1408 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
1409 goto tmp3_done;
1410 }
1411 case 2: {
1412
1413 /* Pattern matching succeeded */
1414#line 2261 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
1415 fputs(MMC_STRINGDATA(_OMC_LIT20)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT20).header) + 3))) - 3)))->data)
,stdoutstdout);
1416#line 1416 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
1417#line 2262 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
1418 goto goto_2;
1419#line 1419 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
1420 goto tmp3_done;
1421 }
1422 }
1423 goto tmp3_end;
1424 tmp3_end: ;
1425 }
1426 goto goto_2;
1427 tmp3_done:
1428 (void)tmp4;
1429 MMC_RESTORE_INTERNAL(mmc_jumper)threadData->mmc_jumper = old_jumper;;
1430 goto tmp3_done2;
1431 goto_2:;
1432 MMC_CATCH_INTERNAL(mmc_jumper)} threadData->mmc_jumper = old_jumper;mmc_catch_dummy_fn()
;}
;
1433 if (++tmp4 < 3) {
1434 goto tmp3_top;
1435 }
1436 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
1437 tmp3_done2:;
1438 }
1439 }
1440 _compIdxOut = tmp1_c0;
1441 _taskLstOut = tmpMeta[0+1];
1442 _return: OMC_LABEL_UNUSED__attribute__((unused))
1443 if (out_taskLstOut) { *out_taskLstOut = _taskLstOut; }
1444 return _compIdxOut;
1445}
1446PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_HpcOmEqSystems_pts__traverseEqSystems(threadData_t *threadData, modelica_metatype _eqSysIn, modelica_metatype _sccSimEqMapping, modelica_metatype _simVarMapping, modelica_metatype _compIdxIn, modelica_metatype _taskLstIn, modelica_metatype _isInitial, modelica_metatype *out_taskLstOut)
1447{
1448 modelica_integer tmp1;
1449 modelica_integer tmp2;
1450 modelica_integer _compIdxOut;
1451 modelica_metatype out_compIdxOut;
1452 tmp1 = mmc_unbox_integer(_compIdxIn)(((mmc_sint_t) (_compIdxIn)) >> 1);
1453 tmp2 = mmc_unbox_integer(_isInitial)(((mmc_sint_t) (_isInitial)) >> 1);
1454 _compIdxOut = omc_HpcOmEqSystems_pts__traverseEqSystems(threadData, _eqSysIn, _sccSimEqMapping, _simVarMapping, tmp1, _taskLstIn, tmp2, out_taskLstOut);
1455 out_compIdxOut = mmc_mk_icon(_compIdxOut);
1456 /* skip box _taskLstOut; list<HpcOmSimCode.Task> */
1457 return out_compIdxOut;
1458}
1459
1460PROTECTED_FUNCTION_STATIC modelica_integer omc_HpcOmEqSystems_getScheduledTaskCompIdx(threadData_t *threadData, modelica_metatype _taskIn)
1461{
1462 modelica_integer _compIdx;
1463 modelica_integer tmp1 = 0;
1464 modelica_metatype tmpMeta[1] __attribute__((unused)) = {0};
1465 MMC_SO()mmc_check_stackoverflow(threadData);
1466 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1467 // _compIdx has no default value.
1468#line 1468 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
1469 { /* match expression */
1470 modelica_metatype tmp4_1;
1471 tmp4_1 = _taskIn;
1472 {
1473 volatile mmc_switch_type tmp4;
1474 int tmp5;
1475 tmp4 = 0;
1476 for (; tmp4 < 1; tmp4++) {
1477 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
1478 case 0: {
1479 modelica_integer tmp6;
1480 if (mmc__uniontype__metarecord__typedef__equal(tmp4_1,0,3)((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))==(((3 +1) <<
10) + (((0 +3) & 255) << 2)))
== 0) goto tmp3_end;
1481 tmpMeta[0] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(2)))))
;
1482 tmp6 = mmc_unbox_integer(tmpMeta[0])(((mmc_sint_t) (tmpMeta[0])) >> 1);
1483
1484 _compIdx = tmp6 /* pattern as ty=Integer */;
1485 /* Pattern matching succeeded */
1486#line 2225 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
1487 tmp1 = _compIdx;
1488#line 1488 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
1489 goto tmp3_done;
1490 }
1491 }
1492 goto tmp3_end;
1493 tmp3_end: ;
1494 }
1495 goto goto_2;
1496 goto_2:;
1497 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
1498 goto tmp3_done;
1499 tmp3_done:;
1500 }
1501 }
1502 _compIdx = tmp1;
1503 _return: OMC_LABEL_UNUSED__attribute__((unused))
1504 return _compIdx;
1505}
1506PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_HpcOmEqSystems_getScheduledTaskCompIdx(threadData_t *threadData, modelica_metatype _taskIn)
1507{
1508 modelica_integer _compIdx;
1509 modelica_metatype out_compIdx;
1510 _compIdx = omc_HpcOmEqSystems_getScheduledTaskCompIdx(threadData, _taskIn);
1511 out_compIdx = mmc_mk_icon(_compIdx);
1512 return out_compIdx;
1513}
1514
1515DLLExport
1516modelica_metatype omc_HpcOmEqSystems_parallelizeTornSystems(threadData_t *threadData, modelica_metatype _graphIn, modelica_metatype _metaIn, modelica_metatype _sccSimEqMapping, modelica_metatype _simVarMapping, modelica_metatype _inDAE, modelica_metatype *out_daeNodeIdcs)
1517{
1518 modelica_metatype _scheduledTasks = NULL((void*)0);
1519 modelica_metatype _daeNodeIdcs = NULL((void*)0);
1520 modelica_metatype tmpMeta[4] __attribute__((unused)) = {0};
1521 MMC_SO()mmc_check_stackoverflow(threadData);
1522 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1523 // _scheduledTasks has no default value.
1524 // _daeNodeIdcs has no default value.
1525#line 2197 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
1526
1527#line 2197 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
1528
1529#line 1529 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
1530 { /* matchcontinue expression */
1531 {
1532 modelica_metatype _eqSysts = NULL((void*)0);
1533 modelica_metatype _taskLst = NULL((void*)0);
1534 modelica_metatype _daeNodes = NULL((void*)0);
1535 volatile mmc_switch_type tmp4;
1536 int tmp5;
1537 // _eqSysts has no default value.
1538 // _taskLst has no default value.
1539 // _daeNodes has no default value.
1540 tmp4 = 0;
1541 MMC_TRY_INTERNAL(mmc_jumper){ jmp_buf new_mmc_jumper, *old_jumper __attribute__((unused))
= threadData->mmc_jumper; threadData->mmc_jumper = &
new_mmc_jumper; if (_setjmp (new_mmc_jumper) == 0) {
1542 tmp3_top:
1543 threadData->mmc_jumper = &new_mmc_jumper;
1544 for (; tmp4 < 2; tmp4++) {
1545 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
1546 case 0: {
1547 /* Pattern matching succeeded */
1548#line 2206 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
1549 goto goto_2;
1550#line 1550 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
1551
1552#line 2207 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
1553 /* Pattern-matching assignment */
1554#line 2207 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
1555 tmpMeta[2] = _inDAE;
1556#line 2207 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
1557 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (2)))))
;
1558#line 2207 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
1559 _eqSysts = tmpMeta[3];
1560#line 1560 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
1561
1562#line 2208 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
1563 tmpMeta[2] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
1564#line 2208 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
1565 omc_HpcOmEqSystems_pts__traverseEqSystems(threadData, _eqSysts, _sccSimEqMapping, _simVarMapping, ((modelica_integer) 1), tmpMeta[2], omc_BackendDAEUtil_isInitializationDAE(threadData, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_inDAE), 3))(*(void**)(((void*)((void**)(((void*)((char*)(_inDAE) - 3))) +
(3)))))
)) ,&_taskLst);
1566#line 1566 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
1567
1568#line 2210 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
1569 _daeNodes = omc_List_map(threadData, _taskLst, boxvar_HpcOmEqSystems_getScheduledTaskCompIdx((void*)((char*)(&(boxvar_lit_HpcOmEqSystems_getScheduledTaskCompIdx
).header) + 3))
);
1570#line 1570 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
1571#line 2213 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
1572 tmpMeta[0+0] = _taskLst;
1573#line 2213 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
1574 tmpMeta[0+1] = _daeNodes;
1575#line 1575 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
1576 goto tmp3_done;
1577 }
1578 case 1: {
1579 /* Pattern matching succeeded */
1580#line 2214 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
1581 tmpMeta[2] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
1582#line 2214 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
1583 tmpMeta[3] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
1584#line 2214 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
1585 tmpMeta[0+0] = tmpMeta[2];
1586#line 2214 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
1587 tmpMeta[0+1] = tmpMeta[3];
1588#line 1588 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
1589 goto tmp3_done;
1590 }
1591 }
1592 goto tmp3_end;
1593 tmp3_end: ;
1594 }
1595 goto goto_2;
1596 tmp3_done:
1597 (void)tmp4;
1598 MMC_RESTORE_INTERNAL(mmc_jumper)threadData->mmc_jumper = old_jumper;;
1599 goto tmp3_done2;
1600 goto_2:;
1601 MMC_CATCH_INTERNAL(mmc_jumper)} threadData->mmc_jumper = old_jumper;mmc_catch_dummy_fn()
;}
;
1602 if (++tmp4 < 2) {
1603 goto tmp3_top;
1604 }
1605 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
1606 tmp3_done2:;
1607 }
1608 }
1609 _scheduledTasks = tmpMeta[0+0];
1610 _daeNodeIdcs = tmpMeta[0+1];
1611 _return: OMC_LABEL_UNUSED__attribute__((unused))
1612 if (out_daeNodeIdcs) { *out_daeNodeIdcs = _daeNodeIdcs; }
1613 return _scheduledTasks;
1614}
1615
1616PROTECTED_FUNCTION_STATIC modelica_string omc_HpcOmEqSystems_dumpEqArrLst1(threadData_t *threadData, modelica_integer _lstIdx, modelica_metatype _inLstLst, modelica_string _heading)
1617{
1618 modelica_string _headingOut = NULL((void*)0);
1619 modelica_string _str1 = NULL((void*)0);
1620 modelica_metatype _inLst = NULL((void*)0);
1621 modelica_metatype tmpMeta[2] __attribute__((unused)) = {0};
1622 MMC_SO()mmc_check_stackoverflow(threadData);
1623 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1624 // _headingOut has no default value.
1625 // _str1 has no default value.
1626 // _inLst has no default value.
1627#line 2176 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
1628 _inLst = listGet(_inLstLst, _lstIdx)boxptr_listGet(threadData,_inLstLst,mmc_mk_icon(_lstIdx));
1629#line 1629 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
1630
1631#line 2177 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
1632 tmpMeta[0] = stringAppend(_heading,_OMC_LIT21((void*)((char*)(&(_OMC_LIT_STRUCT21).header) + 3)));
1633#line 2177 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
1634 tmpMeta[1] = stringAppend(tmpMeta[0],intString(((modelica_integer) -1) + _lstIdx));
1635#line 2177 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
1636 _str1 = tmpMeta[1];
1637#line 1637 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
1638
1639#line 2178 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
1640 omc_BackendDump_dumpEquationList(threadData, _inLst, _str1);
1641#line 1641 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
1642
1643#line 2179 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
1644 _headingOut = _heading;
1645#line 1645 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
1646 _return: OMC_LABEL_UNUSED__attribute__((unused))
1647 return _headingOut;
1648}
1649PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_HpcOmEqSystems_dumpEqArrLst1(threadData_t *threadData, modelica_metatype _lstIdx, modelica_metatype _inLstLst, modelica_metatype _heading)
1650{
1651 modelica_integer tmp1;
1652 modelica_string _headingOut = NULL((void*)0);
1653 tmp1 = mmc_unbox_integer(_lstIdx)(((mmc_sint_t) (_lstIdx)) >> 1);
1654 _headingOut = omc_HpcOmEqSystems_dumpEqArrLst1(threadData, tmp1, _inLstLst, _heading);
1655 /* skip box _headingOut; String */
1656 return _headingOut;
1657}
1658
1659PROTECTED_FUNCTION_STATIC void omc_HpcOmEqSystems_dumpEqArrLst(threadData_t *threadData, modelica_metatype _inArrLst, modelica_string _heading)
1660{
1661 modelica_string _str = NULL((void*)0);
1662 modelica_metatype _inLstLst = NULL((void*)0);
1663 modelica_metatype tmpMeta[2] __attribute__((unused)) = {0};
1664 MMC_SO()mmc_check_stackoverflow(threadData);
1665 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1666 // _str has no default value.
1667 // _inLstLst has no default value.
1668#line 2160 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
1669 _inLstLst = arrayList(_inArrLst);
1670#line 1670 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
1671
1672#line 2161 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
1673 tmpMeta[0] = stringAppend(_OMC_LIT22((void*)((char*)(&(_OMC_LIT_STRUCT22).header) + 3)),_heading);
1674#line 2161 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
1675 tmpMeta[1] = stringAppend(tmpMeta[0],_OMC_LIT23((void*)((char*)(&(_OMC_LIT_STRUCT23).header) + 3)));
1676#line 2161 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
1677 fputs(MMC_STRINGDATA(tmpMeta[1])(((struct mmc_string*)((void*)((char*)(tmpMeta[1]) - 3)))->
data)
,stdoutstdout);
1678#line 1678 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
1679
1680#line 2162 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
1681 _str = omc_List_fold1(threadData, omc_List_intRange(threadData, listLength(_inLstLst)), boxvar_HpcOmEqSystems_dumpEqArrLst1((void*)((char*)(&(boxvar_lit_HpcOmEqSystems_dumpEqArrLst1
).header) + 3))
, _inLstLst, _heading);
1682#line 1682 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
1683 _return: OMC_LABEL_UNUSED__attribute__((unused))
1684 return;
1685}
1686
1687PROTECTED_FUNCTION_STATIC modelica_string omc_HpcOmEqSystems_dumpVarArrLst1(threadData_t *threadData, modelica_integer _lstIdx, modelica_metatype _inLstLst, modelica_string _heading)
1688{
1689 modelica_string _headingOut = NULL((void*)0);
1690 modelica_string _str1 = NULL((void*)0);
1691 modelica_metatype _inLst = NULL((void*)0);
1692 modelica_metatype tmpMeta[2] __attribute__((unused)) = {0};
1693 MMC_SO()mmc_check_stackoverflow(threadData);
1694 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1695 // _headingOut has no default value.
1696 // _str1 has no default value.
1697 // _inLst has no default value.
1698#line 2145 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
1699 _inLst = listGet(_inLstLst, _lstIdx)boxptr_listGet(threadData,_inLstLst,mmc_mk_icon(_lstIdx));
1700#line 1700 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
1701
1702#line 2146 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
1703 tmpMeta[0] = stringAppend(_heading,_OMC_LIT21((void*)((char*)(&(_OMC_LIT_STRUCT21).header) + 3)));
1704#line 2146 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
1705 tmpMeta[1] = stringAppend(tmpMeta[0],intString(((modelica_integer) -1) + _lstIdx));
1706#line 2146 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
1707 _str1 = tmpMeta[1];
1708#line 1708 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
1709
1710#line 2147 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
1711 omc_BackendDump_dumpVarList(threadData, _inLst, _str1);
1712#line 1712 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
1713
1714#line 2148 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
1715 _headingOut = _heading;
1716#line 1716 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
1717 _return: OMC_LABEL_UNUSED__attribute__((unused))
1718 return _headingOut;
1719}
1720PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_HpcOmEqSystems_dumpVarArrLst1(threadData_t *threadData, modelica_metatype _lstIdx, modelica_metatype _inLstLst, modelica_metatype _heading)
1721{
1722 modelica_integer tmp1;
1723 modelica_string _headingOut = NULL((void*)0);
1724 tmp1 = mmc_unbox_integer(_lstIdx)(((mmc_sint_t) (_lstIdx)) >> 1);
1725 _headingOut = omc_HpcOmEqSystems_dumpVarArrLst1(threadData, tmp1, _inLstLst, _heading);
1726 /* skip box _headingOut; String */
1727 return _headingOut;
1728}
1729
1730PROTECTED_FUNCTION_STATIC void omc_HpcOmEqSystems_dumpVarArrLst(threadData_t *threadData, modelica_metatype _inArrLst, modelica_string _heading)
1731{
1732 modelica_string _str = NULL((void*)0);
1733 modelica_metatype _inLstLst = NULL((void*)0);
1734 modelica_metatype tmpMeta[2] __attribute__((unused)) = {0};
1735 MMC_SO()mmc_check_stackoverflow(threadData);
1736 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1737 // _str has no default value.
1738 // _inLstLst has no default value.
1739#line 2129 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
1740 _inLstLst = arrayList(_inArrLst);
1741#line 1741 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
1742
1743#line 2130 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
1744 tmpMeta[0] = stringAppend(_OMC_LIT22((void*)((char*)(&(_OMC_LIT_STRUCT22).header) + 3)),_heading);
1745#line 2130 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
1746 tmpMeta[1] = stringAppend(tmpMeta[0],_OMC_LIT24((void*)((char*)(&(_OMC_LIT_STRUCT24).header) + 3)));
1747#line 2130 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
1748 fputs(MMC_STRINGDATA(tmpMeta[1])(((struct mmc_string*)((void*)((char*)(tmpMeta[1]) - 3)))->
data)
,stdoutstdout);
1749#line 1749 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
1750
1751#line 2131 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
1752 _str = omc_List_fold1(threadData, omc_List_intRange(threadData, listLength(_inLstLst)), boxvar_HpcOmEqSystems_dumpVarArrLst1((void*)((char*)(&(boxvar_lit_HpcOmEqSystems_dumpVarArrLst1
).header) + 3))
, _inLstLst, _heading)
;
Value stored to '_str' is never read
1753#line 1753 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
1754 _return: OMC_LABEL_UNUSED__attribute__((unused))
1755 return;
1756}
1757
1758PROTECTED_FUNCTION_STATIC void omc_HpcOmEqSystems_dumpMatrix(threadData_t *threadData, modelica_metatype _matrix)
1759{
1760 modelica_metatype _sLst = NULL((void*)0);
1761 modelica_string _s = NULL((void*)0);
1762 modelica_metatype tmpMeta[2] __attribute__((unused)) = {0};
1763 MMC_SO()mmc_check_stackoverflow(threadData);
1764 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1765 // _sLst has no default value.
1766 // _s has no default value.
1767#line 2115 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
1768 _sLst = omc_List_map(threadData, arrayList(_matrix), boxvar_ExpressionDump_printExpListStr((void*)((char*)(&(boxvar_lit_ExpressionDump_printExpListStr
).header) + 3))
);
1769#line 1769 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
1770
1771#line 2116 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
1772 tmpMeta[0] = stringAppend(_OMC_LIT25((void*)((char*)(&(_OMC_LIT_STRUCT25).header) + 3)),stringDelimitList(_sLst, _OMC_LIT26((void*)((char*)(&(_OMC_LIT_STRUCT26).header) + 3))));
1773#line 2116 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
1774 tmpMeta[1] = stringAppend(tmpMeta[0],_OMC_LIT27((void*)((char*)(&(_OMC_LIT_STRUCT27).header) + 3)));
1775#line 2116 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
1776 _s = tmpMeta[1];
1777#line 1777 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
1778
1779#line 2117 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
1780 fputs(MMC_STRINGDATA(_s)(((struct mmc_string*)((void*)((char*)(_s) - 3)))->data),stdoutstdout);
1781#line 1781 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
1782 _return: OMC_LABEL_UNUSED__attribute__((unused))
1783 return;
1784}
1785
1786PROTECTED_FUNCTION_STATIC modelica_string omc_HpcOmEqSystems_EqSysRowString(threadData_t *threadData, modelica_metatype _Arow, modelica_metatype _x, modelica_metatype _b)
1787{
1788 modelica_string _s = NULL((void*)0);
1789 modelica_string _s1 = NULL((void*)0);
1790 modelica_string _s2 = NULL((void*)0);
1791 modelica_string _s3 = NULL((void*)0);
1792 modelica_metatype tmpMeta[3] __attribute__((unused)) = {0};
1793 MMC_SO()mmc_check_stackoverflow(threadData);
1794 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1795 // _s has no default value.
1796 // _s1 has no default value.
1797 // _s2 has no default value.
1798 // _s3 has no default value.
1799#line 2103 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
1800 tmpMeta[0] = stringAppend(_OMC_LIT25((void*)((char*)(&(_OMC_LIT_STRUCT25).header) + 3)),stringDelimitList(omc_List_map(threadData, _Arow, boxvar_ExpressionDump_printExpStr((void*)((char*)(&(boxvar_lit_ExpressionDump_printExpStr)
.header) + 3))
), _OMC_LIT28((void*)((char*)(&(_OMC_LIT_STRUCT28).header) + 3))));
1801#line 2103 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
1802 tmpMeta[1] = stringAppend(tmpMeta[0],_OMC_LIT29((void*)((char*)(&(_OMC_LIT_STRUCT29).header) + 3)));
1803#line 2103 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
1804 _s1 = tmpMeta[1];
1805#line 1805 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
1806
1807#line 2104 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
1808 tmpMeta[0] = stringAppend(_OMC_LIT25((void*)((char*)(&(_OMC_LIT_STRUCT25).header) + 3)),omc_ComponentReference_printComponentRefStr(threadData, omc_BackendVariable_varCref(threadData, _x)));
1809#line 2104 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
1810 tmpMeta[1] = stringAppend(tmpMeta[0],_OMC_LIT30((void*)((char*)(&(_OMC_LIT_STRUCT30).header) + 3)));
1811#line 2104 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
1812 _s2 = tmpMeta[1];
1813#line 1813 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
1814
1815#line 2105 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
1816 tmpMeta[0] = stringAppend(_OMC_LIT31((void*)((char*)(&(_OMC_LIT_STRUCT31).header) + 3)),omc_ExpressionDump_printExpStr(threadData, _b));
1817#line 2105 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
1818 tmpMeta[1] = stringAppend(tmpMeta[0],_OMC_LIT32((void*)((char*)(&(_OMC_LIT_STRUCT32).header) + 3)));
1819#line 2105 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
1820 _s3 = tmpMeta[1];
1821#line 1821 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
1822
1823#line 2106 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
1824 tmpMeta[0] = stringAppend(_s1,_OMC_LIT33((void*)((char*)(&(_OMC_LIT_STRUCT33).header) + 3)));
1825#line 2106 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
1826 tmpMeta[1] = stringAppend(tmpMeta[0],_s2);
1827#line 2106 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
1828 tmpMeta[2] = stringAppend(tmpMeta[1],_s3);
1829#line 2106 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
1830 _s = tmpMeta[2];
1831#line 1831 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
1832 _return: OMC_LABEL_UNUSED__attribute__((unused))
1833 return _s;
1834}
1835
1836PROTECTED_FUNCTION_STATIC void omc_HpcOmEqSystems_dumpEqSys(threadData_t *threadData, modelica_metatype _matrix)
1837{
1838 modelica_integer _dim;
1839 modelica_metatype _sLst = NULL((void*)0);
1840 modelica_metatype _matrixA = NULL((void*)0);
1841 modelica_metatype _vectorB = NULL((void*)0);
1842 modelica_metatype _vectorX = NULL((void*)0);
1843 modelica_integer tmp1;
1844 modelica_metatype tmpMeta[5] __attribute__((unused)) = {0};
1845 MMC_SO()mmc_check_stackoverflow(threadData);
1846 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1847 // _dim has no default value.
1848 // _sLst has no default value.
1849 // _matrixA has no default value.
1850 // _vectorB has no default value.
1851 // _vectorX has no default value.
1852#line 2089 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
1853 /* Pattern-matching assignment */
1854#line 2089 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
1855 tmpMeta[0] = _matrix;
1856#line 2089 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
1857 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (2)))))
;
1858#line 2089 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
1859 tmp1 = mmc_unbox_integer(tmpMeta[1])(((mmc_sint_t) (tmpMeta[1])) >> 1);
1860#line 2089 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
1861 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (3)))))
;
1862#line 2089 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
1863 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (4)))))
;
1864#line 2089 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
1865 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 5))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (5)))))
;
1866#line 2089 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
1867 _dim = tmp1 /* pattern as ty=Integer */;
1868#line 2089 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
1869 _matrixA = tmpMeta[2];
1870#line 2089 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
1871 _vectorB = tmpMeta[3];
1872#line 2089 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
1873 _vectorX = tmpMeta[4];
1874#line 1874 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
1875
1876#line 2090 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
1877 tmpMeta[0] = stringAppend(_OMC_LIT34((void*)((char*)(&(_OMC_LIT_STRUCT34).header) + 3)),intString(_dim));
1878#line 2090 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
1879 tmpMeta[1] = stringAppend(tmpMeta[0],_OMC_LIT35((void*)((char*)(&(_OMC_LIT_STRUCT35).header) + 3)));
1880#line 2090 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
1881 fputs(MMC_STRINGDATA(tmpMeta[1])(((struct mmc_string*)((void*)((char*)(tmpMeta[1]) - 3)))->
data)
,stdoutstdout);
1882#line 1882 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
1883
1884#line 2091 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
1885 _sLst = omc_List_thread3Map(threadData, arrayList(_matrixA), arrayList(_vectorX), arrayList(_vectorB), boxvar_HpcOmEqSystems_EqSysRowString((void*)((char*)(&(boxvar_lit_HpcOmEqSystems_EqSysRowString
).header) + 3))
);
1886#line 1886 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
1887
1888#line 2092 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
1889 tmpMeta[0] = stringAppend(stringDelimitList(_sLst, _OMC_LIT36((void*)((char*)(&(_OMC_LIT_STRUCT36).header) + 3))),_OMC_LIT36((void*)((char*)(&(_OMC_LIT_STRUCT36).header) + 3)));
1890#line 2092 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
1891 fputs(MMC_STRINGDATA(tmpMeta[0])(((struct mmc_string*)((void*)((char*)(tmpMeta[0]) - 3)))->
data)
,stdoutstdout);
1892#line 1892 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
1893 _return: OMC_LABEL_UNUSED__attribute__((unused))
1894 return;
1895}
1896
1897PROTECTED_FUNCTION_STATIC modelica_metatype omc_HpcOmEqSystems_transposeMatrix1(threadData_t *threadData, modelica_integer _idx, modelica_metatype _matrixOrig, modelica_metatype _matrixIn)
1898{
1899 modelica_metatype _matrixOut = NULL((void*)0);
1900 modelica_integer _size;
1901 modelica_metatype _row = NULL((void*)0);
1902 MMC_SO()mmc_check_stackoverflow(threadData);
1903 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1904 // _matrixOut has no default value.
1905 // _size has no default value.
1906 // _row has no default value.
1907#line 2071 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
1908 _row = arrayGet(_matrixOrig, _idx)nobox_arrayGet(threadData,_matrixOrig,_idx);
1909#line 1909 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
1910
1911#line 2072 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
1912 _matrixOut = omc_List_threadFold(threadData, omc_List_intRange(threadData, arrayLength(_matrixOrig)), _row, boxvar_Array_consToElement((void*)((char*)(&(boxvar_lit_Array_consToElement).header
) + 3))
, _matrixIn);
1913#line 1913 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
1914 _return: OMC_LABEL_UNUSED__attribute__((unused))
1915 return _matrixOut;
1916}
1917PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_HpcOmEqSystems_transposeMatrix1(threadData_t *threadData, modelica_metatype _idx, modelica_metatype _matrixOrig, modelica_metatype _matrixIn)
1918{
1919 modelica_integer tmp1;
1920 modelica_metatype _matrixOut = NULL((void*)0);
1921 tmp1 = mmc_unbox_integer(_idx)(((mmc_sint_t) (_idx)) >> 1);
1922 _matrixOut = omc_HpcOmEqSystems_transposeMatrix1(threadData, tmp1, _matrixOrig, _matrixIn);
1923 /* skip box _matrixOut; array<list<DAE.Exp>> */
1924 return _matrixOut;
1925}
1926
1927PROTECTED_FUNCTION_STATIC modelica_metatype omc_HpcOmEqSystems_transposeMatrix(threadData_t *threadData, modelica_metatype _matrixIn)
1928{
1929 modelica_metatype _matrixOut = NULL((void*)0);
1930 modelica_integer _size;
1931 modelica_metatype tmpMeta[1] __attribute__((unused)) = {0};
1932 MMC_SO()mmc_check_stackoverflow(threadData);
1933 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1934 // _matrixOut has no default value.
1935 // _size has no default value.
1936#line 2057 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
1937 _size = arrayLength(_matrixIn);
1938#line 1938 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
1939
1940#line 2058 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
1941 tmpMeta[0] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
1942#line 2058 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
1943 _matrixOut = arrayCreate(_size, tmpMeta[0]);
1944#line 1944 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
1945
1946#line 2059 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
1947 _matrixOut = omc_List_fold1(threadData, listReverse(omc_List_intRange(threadData, _size)), boxvar_HpcOmEqSystems_transposeMatrix1((void*)((char*)(&(boxvar_lit_HpcOmEqSystems_transposeMatrix1
).header) + 3))
, _matrixIn, _matrixOut);
1948#line 1948 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
1949 _return: OMC_LABEL_UNUSED__attribute__((unused))
1950 return _matrixOut;
1951}
1952
1953PROTECTED_FUNCTION_STATIC modelica_metatype omc_HpcOmEqSystems_getMatrixFromJac(threadData_t *threadData, modelica_metatype _jacValuesIn, modelica_metatype _vars)
1954{
1955 modelica_metatype _matrixOut = NULL((void*)0);
1956 modelica_metatype _AVars = NULL((void*)0);
1957 modelica_metatype _bVars = NULL((void*)0);
1958 modelica_metatype _matrixA = NULL((void*)0);
1959 modelica_metatype _vectorB = NULL((void*)0);
1960 modelica_metatype _vectorX = NULL((void*)0);
1961 modelica_metatype tmpMeta[3] __attribute__((unused)) = {0};
1962 MMC_SO()mmc_check_stackoverflow(threadData);
1963 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1964 // _matrixOut has no default value.
1965 // _AVars has no default value.
1966 // _bVars has no default value.
1967 // _matrixA has no default value.
1968 // _vectorB has no default value.
1969 // _vectorX has no default value.
1970#line 2042 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
1971 /* Pattern-matching assignment */
1972#line 2042 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
1973 tmpMeta[0] = arrayList(_jacValuesIn);
1974#line 2042 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
1975 if (listEmpty(tmpMeta[0])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[0]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
1976#line 2042 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
1977 tmpMeta[1] = MMC_CAR(tmpMeta[0])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (1)))))
;
1978#line 2042 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
1979 tmpMeta[2] = MMC_CDR(tmpMeta[0])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (2)))))
;
1980#line 2042 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
1981 _bVars = tmpMeta[1];
1982#line 2042 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
1983 _AVars = tmpMeta[2];
1984#line 1984 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
1985
1986#line 2043 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
1987 _matrixA = listArray(omc_List_mapList(threadData, _AVars, boxvar_BackendVariable_varExp((void*)((char*)(&(boxvar_lit_BackendVariable_varExp).header
) + 3))
));
1988#line 1988 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
1989
1990#line 2044 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
1991 _matrixA = omc_HpcOmEqSystems_transposeMatrix(threadData, _matrixA);
1992#line 1992 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
1993
1994#line 2045 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
1995 _vectorB = listArray(omc_List_mapMap(threadData, _bVars, boxvar_BackendVariable_varExp((void*)((char*)(&(boxvar_lit_BackendVariable_varExp).header
) + 3))
, boxvar_Expression_negate((void*)((char*)(&(boxvar_lit_Expression_negate).header) +
3))
));
1996#line 1996 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
1997
1998#line 2046 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
1999 _vectorX = listArray(_vars);
2000#line 2000 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
2001
2002#line 2047 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
2003 tmpMeta[0] = mmc_mk_box5(3, &HpcOmEqSystems_EqSys_LINSYS__desc, mmc_mk_integermmc_mk_icon(listLength(_bVars)), _matrixA, _vectorB, _vectorX);
2004#line 2047 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
2005 _matrixOut = tmpMeta[0];
2006#line 2006 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
2007 _return: OMC_LABEL_UNUSED__attribute__((unused))
2008 return _matrixOut;
2009}
2010
2011PROTECTED_FUNCTION_STATIC modelica_metatype omc_HpcOmEqSystems_replaceColumnInMatrix(threadData_t *threadData, modelica_metatype _matrixT, modelica_integer _col, modelica_metatype _vectorB)
2012{
2013 modelica_metatype _matrixOut = NULL((void*)0);
2014 modelica_metatype _matrix = NULL((void*)0);
2015 MMC_SO()mmc_check_stackoverflow(threadData);
2016 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
2017 // _matrixOut has no default value.
2018 // _matrix has no default value.
2019#line 2027 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
2020 _matrix = arrayUpdate(_matrixT, _col, _vectorB)boxptr_arrayUpdate(threadData,_matrixT,mmc_mk_icon(_col),_vectorB
)
;
2021#line 2021 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
2022
2023#line 2028 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
2024 _matrixOut = omc_HpcOmEqSystems_transposeMatrix(threadData, _matrix);
2025#line 2025 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
2026 _return: OMC_LABEL_UNUSED__attribute__((unused))
2027 return _matrixOut;
2028}
2029PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_HpcOmEqSystems_replaceColumnInMatrix(threadData_t *threadData, modelica_metatype _matrixT, modelica_metatype _col, modelica_metatype _vectorB)
2030{
2031 modelica_integer tmp1;
2032 modelica_metatype _matrixOut = NULL((void*)0);
2033 tmp1 = mmc_unbox_integer(_col)(((mmc_sint_t) (_col)) >> 1);
2034 _matrixOut = omc_HpcOmEqSystems_replaceColumnInMatrix(threadData, _matrixT, tmp1, _vectorB);
2035 /* skip box _matrixOut; array<list<DAE.Exp>> */
2036 return _matrixOut;
2037}
2038
2039PROTECTED_FUNCTION_STATIC modelica_metatype omc_HpcOmEqSystems_determinant(threadData_t *threadData, modelica_metatype _matrix)
2040{
2041 modelica_metatype _detOut = NULL((void*)0);
2042 modelica_metatype tmpMeta[11] __attribute__((unused)) = {0};
2043 MMC_SO()mmc_check_stackoverflow(threadData);
2044 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
2045 // _detOut has no default value.
2046#line 2046 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
2047 { /* matchcontinue expression */
2048 {
2049 modelica_metatype _a11 = NULL((void*)0);
2050 modelica_metatype _a12 = NULL((void*)0);
2051 modelica_metatype _a21 = NULL((void*)0);
2052 modelica_metatype _a22 = NULL((void*)0);
2053 modelica_metatype _a13 = NULL((void*)0);
2054 modelica_metatype _a23 = NULL((void*)0);
2055 modelica_metatype _a33 = NULL((void*)0);
2056 modelica_metatype _a31 = NULL((void*)0);
2057 modelica_metatype _a32 = NULL((void*)0);
2058 modelica_metatype _s1 = NULL((void*)0);
2059 modelica_metatype _s2 = NULL((void*)0);
2060 modelica_metatype _s3 = NULL((void*)0);
2061 modelica_metatype _s4 = NULL((void*)0);
2062 modelica_metatype _s5 = NULL((void*)0);
2063 modelica_metatype _s6 = NULL((void*)0);
2064 modelica_metatype _det = NULL((void*)0);
2065 modelica_metatype _ty = NULL((void*)0);
2066 volatile mmc_switch_type tmp3;
2067 int tmp4;
2068 // _a11 has no default value.
2069 // _a12 has no default value.
2070 // _a21 has no default value.
2071 // _a22 has no default value.
2072 // _a13 has no default value.
2073 // _a23 has no default value.
2074 // _a33 has no default value.
2075 // _a31 has no default value.
2076 // _a32 has no default value.
2077 // _s1 has no default value.
2078 // _s2 has no default value.
2079 // _s3 has no default value.
2080 // _s4 has no default value.
2081 // _s5 has no default value.
2082 // _s6 has no default value.
2083 // _det has no default value.
2084 // _ty has no default value.
2085 tmp3 = 0;
2086 MMC_TRY_INTERNAL(mmc_jumper){ jmp_buf new_mmc_jumper, *old_jumper __attribute__((unused))
= threadData->mmc_jumper; threadData->mmc_jumper = &
new_mmc_jumper; if (_setjmp (new_mmc_jumper) == 0) {
2087 tmp2_top:
2088 threadData->mmc_jumper = &new_mmc_jumper;
2089 for (; tmp3 < 3; tmp3++) {
2090 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
2091 case 0: {
2092 modelica_boolean tmp5;
2093 /* Pattern matching succeeded */
2094#line 1980 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
2095 /* Pattern-matching assignment */
2096#line 1980 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
2097 tmp5 = (arrayLength(_matrix) == ((modelica_integer) 2));
2098#line 1980 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
2099 if (1 != tmp5) goto goto_1;
2100#line 2100 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
2101
2102#line 1981 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
2103 _a11 = listGet(arrayGet(_matrix, ((modelica_integer) 1)), ((modelica_integer) 1))boxptr_listGet(threadData,nobox_arrayGet(threadData,_matrix,(
(modelica_integer) 1)),mmc_mk_icon(((modelica_integer) 1)))
;
2104#line 2104 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
2105
2106#line 1982 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
2107 _a12 = listGet(arrayGet(_matrix, ((modelica_integer) 1)), ((modelica_integer) 2))boxptr_listGet(threadData,nobox_arrayGet(threadData,_matrix,(
(modelica_integer) 1)),mmc_mk_icon(((modelica_integer) 2)))
;
2108#line 2108 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
2109
2110#line 1983 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
2111 _a21 = listGet(arrayGet(_matrix, ((modelica_integer) 2)), ((modelica_integer) 1))boxptr_listGet(threadData,nobox_arrayGet(threadData,_matrix,(
(modelica_integer) 2)),mmc_mk_icon(((modelica_integer) 1)))
;
2112#line 2112 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
2113
2114#line 1984 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
2115 _a22 = listGet(arrayGet(_matrix, ((modelica_integer) 2)), ((modelica_integer) 2))boxptr_listGet(threadData,nobox_arrayGet(threadData,_matrix,(
(modelica_integer) 2)),mmc_mk_icon(((modelica_integer) 2)))
;
2116#line 2116 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
2117
2118#line 1985 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
2119 _ty = omc_Expression_typeof(threadData, _a11);
2120#line 2120 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
2121
2122#line 1986 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
2123 tmpMeta[1] = mmc_mk_box2(5, &DAE_Operator_MUL__desc, _ty);
2124#line 1986 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
2125 tmpMeta[2] = mmc_mk_box4(10, &DAE_Exp_BINARY__desc, _a11, tmpMeta[1], _a22);
2126#line 1986 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
2127 tmpMeta[3] = mmc_mk_box2(4, &DAE_Operator_SUB__desc, _ty);
2128#line 1986 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
2129 tmpMeta[4] = mmc_mk_box2(5, &DAE_Operator_MUL__desc, _ty);
2130#line 1986 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
2131 tmpMeta[5] = mmc_mk_box4(10, &DAE_Exp_BINARY__desc, _a12, tmpMeta[4], _a21);
2132#line 1986 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
2133 tmpMeta[6] = mmc_mk_box4(10, &DAE_Exp_BINARY__desc, tmpMeta[2], tmpMeta[3], tmpMeta[5]);
2134#line 1986 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
2135 _det = tmpMeta[6];
2136#line 2136 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
2137#line 1987 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
2138 tmpMeta[0] = omc_ExpressionSimplify_simplify(threadData, _det, NULL((void*)0));
2139#line 2139 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
2140 goto tmp2_done;
2141 }
2142 case 1: {
2143 modelica_boolean tmp6;
2144 /* Pattern matching succeeded */
2145#line 1992 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
2146 /* Pattern-matching assignment */
2147#line 1992 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
2148 tmp6 = (arrayLength(_matrix) == ((modelica_integer) 3));
2149#line 1992 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
2150 if (1 != tmp6) goto goto_1;
2151#line 2151 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
2152
2153#line 1993 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
2154 _a11 = listGet(arrayGet(_matrix, ((modelica_integer) 1)), ((modelica_integer) 1))boxptr_listGet(threadData,nobox_arrayGet(threadData,_matrix,(
(modelica_integer) 1)),mmc_mk_icon(((modelica_integer) 1)))
;
2155#line 2155 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
2156
2157#line 1994 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
2158 _a12 = listGet(arrayGet(_matrix, ((modelica_integer) 1)), ((modelica_integer) 2))boxptr_listGet(threadData,nobox_arrayGet(threadData,_matrix,(
(modelica_integer) 1)),mmc_mk_icon(((modelica_integer) 2)))
;
2159#line 2159 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
2160
2161#line 1995 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
2162 _a13 = listGet(arrayGet(_matrix, ((modelica_integer) 1)), ((modelica_integer) 3))boxptr_listGet(threadData,nobox_arrayGet(threadData,_matrix,(
(modelica_integer) 1)),mmc_mk_icon(((modelica_integer) 3)))
;
2163#line 2163 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
2164
2165#line 1996 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
2166 _a21 = listGet(arrayGet(_matrix, ((modelica_integer) 2)), ((modelica_integer) 1))boxptr_listGet(threadData,nobox_arrayGet(threadData,_matrix,(
(modelica_integer) 2)),mmc_mk_icon(((modelica_integer) 1)))
;
2167#line 2167 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
2168
2169#line 1997 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
2170 _a22 = listGet(arrayGet(_matrix, ((modelica_integer) 2)), ((modelica_integer) 2))boxptr_listGet(threadData,nobox_arrayGet(threadData,_matrix,(
(modelica_integer) 2)),mmc_mk_icon(((modelica_integer) 2)))
;
2171#line 2171 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
2172
2173#line 1998 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
2174 _a23 = listGet(arrayGet(_matrix, ((modelica_integer) 2)), ((modelica_integer) 3))boxptr_listGet(threadData,nobox_arrayGet(threadData,_matrix,(
(modelica_integer) 2)),mmc_mk_icon(((modelica_integer) 3)))
;
2175#line 2175 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
2176
2177#line 1999 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
2178 _a31 = listGet(arrayGet(_matrix, ((modelica_integer) 3)), ((modelica_integer) 1))boxptr_listGet(threadData,nobox_arrayGet(threadData,_matrix,(
(modelica_integer) 3)),mmc_mk_icon(((modelica_integer) 1)))
;
2179#line 2179 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
2180
2181#line 2000 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
2182 _a32 = listGet(arrayGet(_matrix, ((modelica_integer) 3)), ((modelica_integer) 2))boxptr_listGet(threadData,nobox_arrayGet(threadData,_matrix,(
(modelica_integer) 3)),mmc_mk_icon(((modelica_integer) 2)))
;
2183#line 2183 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
2184
2185#line 2001 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
2186 _a33 = listGet(arrayGet(_matrix, ((modelica_integer) 3)), ((modelica_integer) 3))boxptr_listGet(threadData,nobox_arrayGet(threadData,_matrix,(
(modelica_integer) 3)),mmc_mk_icon(((modelica_integer) 3)))
;
2187#line 2187 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
2188
2189#line 2002 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
2190 _ty = omc_Expression_typeof(threadData, _a11);
2191#line 2191 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
2192
2193#line 2003 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
2194 tmpMeta[1] = mmc_mk_box2(5, &DAE_Operator_MUL__desc, _ty);
2195#line 2003 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
2196 tmpMeta[2] = mmc_mk_box4(10, &DAE_Exp_BINARY__desc, _a11, tmpMeta[1], _a22);
2197#line 2003 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
2198 tmpMeta[3] = mmc_mk_box2(5, &DAE_Operator_MUL__desc, _ty);
2199#line 2003 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
2200 tmpMeta[4] = mmc_mk_box4(10, &DAE_Exp_BINARY__desc, tmpMeta[2], tmpMeta[3], _a33);
2201#line 2003 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
2202 _s1 = tmpMeta[4];
2203#line 2203 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
2204
2205#line 2004 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
2206 tmpMeta[1] = mmc_mk_box2(5, &DAE_Operator_MUL__desc, _ty);
2207#line 2004 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
2208 tmpMeta[2] = mmc_mk_box4(10, &DAE_Exp_BINARY__desc, _a12, tmpMeta[1], _a23);
2209#line 2004 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
2210 tmpMeta[3] = mmc_mk_box2(5, &DAE_Operator_MUL__desc, _ty);
2211#line 2004 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
2212 tmpMeta[4] = mmc_mk_box4(10, &DAE_Exp_BINARY__desc, tmpMeta[2], tmpMeta[3], _a31);
2213#line 2004 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
2214 _s2 = tmpMeta[4];
2215#line 2215 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
2216
2217#line 2005 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
2218 tmpMeta[1] = mmc_mk_box2(5, &DAE_Operator_MUL__desc, _ty);
2219#line 2005 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
2220 tmpMeta[2] = mmc_mk_box4(10, &DAE_Exp_BINARY__desc, _a13, tmpMeta[1], _a21);
2221#line 2005 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
2222 tmpMeta[3] = mmc_mk_box2(5, &DAE_Operator_MUL__desc, _ty);
2223#line 2005 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
2224 tmpMeta[4] = mmc_mk_box4(10, &DAE_Exp_BINARY__desc, tmpMeta[2], tmpMeta[3], _a32);
2225#line 2005 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
2226 _s3 = tmpMeta[4];
2227#line 2227 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
2228
2229#line 2006 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
2230 tmpMeta[1] = mmc_mk_box2(5, &DAE_Operator_MUL__desc, _ty);
2231#line 2006 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
2232 tmpMeta[2] = mmc_mk_box4(10, &DAE_Exp_BINARY__desc, _a13, tmpMeta[1], _a22);
2233#line 2006 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
2234 tmpMeta[3] = mmc_mk_box2(5, &DAE_Operator_MUL__desc, _ty);
2235#line 2006 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
2236 tmpMeta[4] = mmc_mk_box4(10, &DAE_Exp_BINARY__desc, tmpMeta[2], tmpMeta[3], _a31);
2237#line 2006 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
2238 _s4 = tmpMeta[4];
2239#line 2239 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
2240
2241#line 2007 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
2242 tmpMeta[1] = mmc_mk_box2(5, &DAE_Operator_MUL__desc, _ty);
2243#line 2007 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
2244 tmpMeta[2] = mmc_mk_box4(10, &DAE_Exp_BINARY__desc, _a23, tmpMeta[1], _a32);
2245#line 2007 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
2246 tmpMeta[3] = mmc_mk_box2(5, &DAE_Operator_MUL__desc, _ty);
2247#line 2007 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
2248 tmpMeta[4] = mmc_mk_box4(10, &DAE_Exp_BINARY__desc, tmpMeta[2], tmpMeta[3], _a11);
2249#line 2007 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
2250 _s5 = tmpMeta[4];
2251#line 2251 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
2252
2253#line 2008 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
2254 tmpMeta[1] = mmc_mk_box2(5, &DAE_Operator_MUL__desc, _ty);
2255#line 2008 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
2256 tmpMeta[2] = mmc_mk_box4(10, &DAE_Exp_BINARY__desc, _a33, tmpMeta[1], _a12);
2257#line 2008 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
2258 tmpMeta[3] = mmc_mk_box2(5, &DAE_Operator_MUL__desc, _ty);
2259#line 2008 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
2260 tmpMeta[4] = mmc_mk_box4(10, &DAE_Exp_BINARY__desc, tmpMeta[2], tmpMeta[3], _a21);
2261#line 2008 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
2262 _s6 = tmpMeta[4];
2263#line 2263 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
2264
2265#line 2009 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
2266 tmpMeta[1] = mmc_mk_box2(3, &DAE_Operator_ADD__desc, _ty);
2267#line 2009 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
2268 tmpMeta[2] = mmc_mk_box4(10, &DAE_Exp_BINARY__desc, _s1, tmpMeta[1], _s2);
2269#line 2009 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
2270 tmpMeta[3] = mmc_mk_box2(3, &DAE_Operator_ADD__desc, _ty);
2271#line 2009 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
2272 tmpMeta[4] = mmc_mk_box4(10, &DAE_Exp_BINARY__desc, tmpMeta[2], tmpMeta[3], _s3);
2273#line 2009 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
2274 tmpMeta[5] = mmc_mk_box2(4, &DAE_Operator_SUB__desc, _ty);
2275#line 2009 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
2276 tmpMeta[6] = mmc_mk_box2(3, &DAE_Operator_ADD__desc, _ty);
2277#line 2009 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
2278 tmpMeta[7] = mmc_mk_box4(10, &DAE_Exp_BINARY__desc, _s4, tmpMeta[6], _s5);
2279#line 2009 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
2280 tmpMeta[8] = mmc_mk_box2(3, &DAE_Operator_ADD__desc, _ty);
2281#line 2009 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
2282 tmpMeta[9] = mmc_mk_box4(10, &DAE_Exp_BINARY__desc, tmpMeta[7], tmpMeta[8], _s6);
2283#line 2009 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
2284 tmpMeta[10] = mmc_mk_box4(10, &DAE_Exp_BINARY__desc, tmpMeta[4], tmpMeta[5], tmpMeta[9]);
2285#line 2009 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
2286 _det = tmpMeta[10];
2287#line 2287 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
2288#line 2010 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
2289 tmpMeta[0] = omc_ExpressionSimplify_simplify(threadData, _det, NULL((void*)0));
2290#line 2290 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
2291 goto tmp2_done;
2292 }
2293 case 2: {
2294 /* Pattern matching succeeded */
2295#line 2014 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
2296 fputs(MMC_STRINGDATA(_OMC_LIT37)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT37).header) + 3))) - 3)))->data)
,stdoutstdout);
2297#line 2297 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
2298#line 2015 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
2299 goto goto_1;
2300#line 2300 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
2301 goto tmp2_done;
2302 }
2303 }
2304 goto tmp2_end;
2305 tmp2_end: ;
2306 }
2307 goto goto_1;
2308 tmp2_done:
2309 (void)tmp3;
2310 MMC_RESTORE_INTERNAL(mmc_jumper)threadData->mmc_jumper = old_jumper;;
2311 goto tmp2_done2;
2312 goto_1:;
2313 MMC_CATCH_INTERNAL(mmc_jumper)} threadData->mmc_jumper = old_jumper;mmc_catch_dummy_fn()
;}
;
2314 if (++tmp3 < 3) {
2315 goto tmp2_top;
2316 }
2317 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
2318 tmp2_done2:;
2319 }
2320 }
2321 _detOut = tmpMeta[0];
2322 _return: OMC_LABEL_UNUSED__attribute__((unused))
2323 return _detOut;
2324}
2325
2326PROTECTED_FUNCTION_STATIC modelica_metatype omc_HpcOmEqSystems_CramerRule1(threadData_t *threadData, modelica_integer _idx, modelica_metatype _syst, modelica_metatype _matrixAT)
2327{
2328 modelica_metatype _det = NULL((void*)0);
2329 modelica_metatype tmpMeta[2] __attribute__((unused)) = {0};
2330 MMC_SO()mmc_check_stackoverflow(threadData);
2331 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
2332 // _det has no default value.
2333#line 2333 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
2334 { /* match expression */
2335 modelica_metatype tmp3_1;
2336 tmp3_1 = _syst;
2337 {
2338 modelica_metatype _matrixA = NULL((void*)0);
2339 modelica_metatype _vectorB = NULL((void*)0);
2340 volatile mmc_switch_type tmp3;
2341 int tmp4;
2342 // _matrixA has no default value.
2343 // _vectorB has no default value.
2344 tmp3 = 0;
2345 for (; tmp3 < 1; tmp3++) {
2346 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
2347 case 0: {
2348 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(4)))))
;
2349
2350 _vectorB = tmpMeta[1];
2351 /* Pattern matching succeeded */
2352#line 1961 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
2353 _matrixA = arrayCopy(_matrixAT);
2354#line 2354 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
2355
2356#line 1962 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
2357 _matrixA = omc_HpcOmEqSystems_replaceColumnInMatrix(threadData, _matrixA, _idx, arrayList(_vectorB));
2358#line 2358 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
2359#line 1964 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
2360 tmpMeta[0] = omc_HpcOmEqSystems_determinant(threadData, _matrixA);
2361#line 2361 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
2362 goto tmp2_done;
2363 }
2364 }
2365 goto tmp2_end;
2366 tmp2_end: ;
2367 }
2368 goto goto_1;
2369 goto_1:;
2370 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
2371 goto tmp2_done;
2372 tmp2_done:;
2373 }
2374 }
2375 _det = tmpMeta[0];
2376 _return: OMC_LABEL_UNUSED__attribute__((unused))
2377 return _det;
2378}
2379PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_HpcOmEqSystems_CramerRule1(threadData_t *threadData, modelica_metatype _idx, modelica_metatype _syst, modelica_metatype _matrixAT)
2380{
2381 modelica_integer tmp1;
2382 modelica_metatype _det = NULL((void*)0);
2383 tmp1 = mmc_unbox_integer(_idx)(((mmc_sint_t) (_idx)) >> 1);
2384 _det = omc_HpcOmEqSystems_CramerRule1(threadData, tmp1, _syst, _matrixAT);
2385 /* skip box _det; DAE.Exp */
2386 return _det;
2387}
2388
2389static modelica_metatype closure0_Expression_makeBinaryExp(threadData_t *thData, modelica_metatype closure, modelica_metatype inLhs, modelica_metatype inRhs)
2390{
2391 modelica_metatype inOp = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(closure),1))(*(void**)(((void*)((void**)(((void*)((char*)(closure) - 3)))
+ (1)))))
;
2392 return boxptr_Expression_makeBinaryExpomc_Expression_makeBinaryExp(thData, inLhs, inOp, inRhs);
2393}static modelica_metatype closure1_Expression_makeBinaryExp(threadData_t *thData, modelica_metatype closure, modelica_metatype inLhs, modelica_metatype inRhs)
2394{
2395 modelica_metatype inOp = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(closure),1))(*(void**)(((void*)((void**)(((void*)((char*)(closure) - 3)))
+ (1)))))
;
2396 return boxptr_Expression_makeBinaryExpomc_Expression_makeBinaryExp(thData, inLhs, inOp, inRhs);
2397}
2398PROTECTED_FUNCTION_STATIC modelica_metatype omc_HpcOmEqSystems_CramerRule(threadData_t *threadData, modelica_metatype _system, modelica_metatype *out_otherEqsOut, modelica_metatype *out_otherVarsOut)
2399{
2400 modelica_metatype _newResEqs = NULL((void*)0);
2401 modelica_metatype _otherEqsOut = NULL((void*)0);
2402 modelica_metatype _otherVarsOut = NULL((void*)0);
2403 modelica_metatype tmpMeta[6] __attribute__((unused)) = {0};
2404 MMC_SO()mmc_check_stackoverflow(threadData);
2405 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
2406 // _newResEqs has no default value.
2407 // _otherEqsOut has no default value.
2408 // _otherVarsOut has no default value.
2409#line 1895 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
2410
2411#line 1895 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
2412
2413#line 1895 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
2414
2415#line 2415 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
2416 { /* matchcontinue expression */
2417 volatile modelica_metatype tmp4_1;
2418 tmp4_1 = _system;
2419 {
2420 modelica_integer _dim;
2421 modelica_metatype _matrixA = NULL((void*)0);
2422 modelica_metatype _matrixAT = NULL((void*)0);
2423 modelica_metatype _vectorX = NULL((void*)0);
2424 modelica_metatype _detA = NULL((void*)0);
2425 modelica_metatype _detLst = NULL((void*)0);
2426 modelica_metatype _varExp = NULL((void*)0);
2427 modelica_metatype _eqLst = NULL((void*)0);
2428 volatile mmc_switch_type tmp4;
2429 int tmp5;
2430 // _dim has no default value.
2431 // _matrixA has no default value.
2432 // _matrixAT has no default value.
2433 // _vectorX has no default value.
2434 // _detA has no default value.
2435 // _detLst has no default value.
2436 // _varExp has no default value.
2437 // _eqLst has no default value.
2438 tmp4 = 0;
2439 MMC_TRY_INTERNAL(mmc_jumper){ jmp_buf new_mmc_jumper, *old_jumper __attribute__((unused))
= threadData->mmc_jumper; threadData->mmc_jumper = &
new_mmc_jumper; if (_setjmp (new_mmc_jumper) == 0) {
2440 tmp3_top:
2441 threadData->mmc_jumper = &new_mmc_jumper;
2442 for (; tmp4 < 4; tmp4++) {
2443 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
2444 case 0: {
2445 modelica_integer tmp6;
2446 modelica_boolean tmp7;
2447 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(2)))))
;
2448 tmp6 = mmc_unbox_integer(tmpMeta[3])(((mmc_sint_t) (tmpMeta[3])) >> 1);
2449 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(3)))))
;
2450 tmpMeta[5] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 5))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(5)))))
;
2451 _dim = tmp6 /* pattern as ty=Integer */;
2452 _matrixA = tmpMeta[4];
2453 _vectorX = tmpMeta[5];
2454 /* Pattern matching succeeded */
2455#line 1908 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
2456 /* Pattern-matching assignment */
2457#line 1908 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
2458 tmp7 = (_dim == ((modelica_integer) 2));
2459#line 1908 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
2460 if (1 != tmp7) goto goto_2;
2461#line 2461 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
2462
2463#line 1909 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
2464 _matrixAT = omc_HpcOmEqSystems_transposeMatrix(threadData, _matrixA);
2465#line 2465 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
2466
2467#line 1911 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
2468 _detA = omc_HpcOmEqSystems_determinant(threadData, _matrixA);
2469#line 2469 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
2470
2471#line 1913 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
2472 _detLst = omc_List_map2(threadData, omc_List_intRange(threadData, _dim), boxvar_HpcOmEqSystems_CramerRule1((void*)((char*)(&(boxvar_lit_HpcOmEqSystems_CramerRule1)
.header) + 3))
, _system, _matrixAT);
2473#line 2473 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
2474
2475#line 1915 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
2476 _varExp = omc_List_map(threadData, arrayList(_vectorX), boxvar_BackendVariable_varExp((void*)((char*)(&(boxvar_lit_BackendVariable_varExp).header
) + 3))
);
2477#line 2477 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
2478
2479#line 1916 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
2480 tmpMeta[3] = mmc_mk_box1(0, _OMC_LIT39((void*)((char*)(&(_OMC_LIT_STRUCT39).header) + 3)));
2481#line 1916 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
2482 _detLst = omc_List_map1(threadData, _detLst, (modelica_fnptr) mmc_mk_box2(0,closure0_Expression_makeBinaryExp,tmpMeta[3]), _detA);
2483#line 2483 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
2484
2485#line 1917 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
2486 _detLst = omc_List_map__2(threadData, _detLst, boxvar_ExpressionSimplify_simplify((void*)((char*)(&(boxvar_lit_ExpressionSimplify_simplify
).header) + 3))
, NULL((void*)0));
2487#line 2487 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
2488
2489#line 1918 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
2490 _eqLst = omc_List_threadMap2(threadData, _varExp, _detLst, boxvar_BackendEquation_generateEquation((void*)((char*)(&(boxvar_lit_BackendEquation_generateEquation
).header) + 3))
, _OMC_LIT44((void*)((char*)(&(_OMC_LIT_STRUCT44).header) + 3)), _OMC_LIT47((void*)((char*)(&(_OMC_LIT_STRUCT47).header) + 3)));
2491#line 2491 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
2492#line 1920 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
2493 tmpMeta[3] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
2494#line 1920 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
2495 tmpMeta[4] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
2496#line 1920 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
2497 tmpMeta[0+0] = _eqLst;
2498#line 1920 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
2499 tmpMeta[0+1] = tmpMeta[3];
2500#line 1920 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
2501 tmpMeta[0+2] = tmpMeta[4];
2502#line 2502 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
2503 goto tmp3_done;
2504 }
2505 case 1: {
2506 modelica_integer tmp8;
2507 modelica_boolean tmp9;
2508 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(2)))))
;
2509 tmp8 = mmc_unbox_integer(tmpMeta[3])(((mmc_sint_t) (tmpMeta[3])) >> 1);
2510 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(3)))))
;
2511 tmpMeta[5] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 5))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(5)))))
;
2512 _dim = tmp8 /* pattern as ty=Integer */;
2513 _matrixA = tmpMeta[4];
2514 _vectorX = tmpMeta[5];
2515 /* Pattern matching succeeded */
2516#line 1924 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
2517 /* Pattern-matching assignment */
2518#line 1924 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
2519 tmp9 = (_dim == ((modelica_integer) 3));
2520#line 1924 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
2521 if (1 != tmp9) goto goto_2;
2522#line 2522 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
2523
2524#line 1925 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
2525 _matrixAT = omc_HpcOmEqSystems_transposeMatrix(threadData, _matrixA);
2526#line 2526 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
2527
2528#line 1927 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
2529 _detA = omc_HpcOmEqSystems_determinant(threadData, _matrixA);
2530#line 2530 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
2531
2532#line 1929 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
2533 _detLst = omc_List_map2(threadData, omc_List_intRange(threadData, _dim), boxvar_HpcOmEqSystems_CramerRule1((void*)((char*)(&(boxvar_lit_HpcOmEqSystems_CramerRule1)
.header) + 3))
, _system, _matrixAT);
2534#line 2534 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
2535
2536#line 1931 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
2537 _varExp = omc_List_map(threadData, arrayList(_vectorX), boxvar_BackendVariable_varExp((void*)((char*)(&(boxvar_lit_BackendVariable_varExp).header
) + 3))
);
2538#line 2538 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
2539
2540#line 1932 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
2541 tmpMeta[3] = mmc_mk_box1(0, _OMC_LIT39((void*)((char*)(&(_OMC_LIT_STRUCT39).header) + 3)));
2542#line 1932 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
2543 _detLst = omc_List_map1(threadData, _detLst, (modelica_fnptr) mmc_mk_box2(0,closure1_Expression_makeBinaryExp,tmpMeta[3]), _detA);
2544#line 2544 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
2545
2546#line 1933 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
2547 _detLst = omc_List_map__2(threadData, _detLst, boxvar_ExpressionSimplify_simplify((void*)((char*)(&(boxvar_lit_ExpressionSimplify_simplify
).header) + 3))
, NULL((void*)0));
2548#line 2548 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
2549
2550#line 1934 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
2551 _eqLst = omc_List_threadMap2(threadData, _varExp, _detLst, boxvar_BackendEquation_generateEquation((void*)((char*)(&(boxvar_lit_BackendEquation_generateEquation
).header) + 3))
, _OMC_LIT44((void*)((char*)(&(_OMC_LIT_STRUCT44).header) + 3)), _OMC_LIT47((void*)((char*)(&(_OMC_LIT_STRUCT47).header) + 3)));
2552#line 2552 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
2553#line 1936 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
2554 tmpMeta[3] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
2555#line 1936 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
2556 tmpMeta[4] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
2557#line 1936 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
2558 tmpMeta[0+0] = _eqLst;
2559#line 1936 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
2560 tmpMeta[0+1] = tmpMeta[3];
2561#line 1936 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
2562 tmpMeta[0+2] = tmpMeta[4];
2563#line 2563 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
2564 goto tmp3_done;
2565 }
2566 case 2: {
2567 modelica_integer tmp10;
2568 modelica_boolean tmp11;
2569 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(2)))))
;
2570 tmp10 = mmc_unbox_integer(tmpMeta[3])(((mmc_sint_t) (tmpMeta[3])) >> 1);
2571
2572 _dim = tmp10 /* pattern as ty=Integer */;
2573 /* Pattern matching succeeded */
2574#line 1940 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
2575 /* Pattern-matching assignment */
2576#line 1940 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
2577 tmp11 = (_dim > ((modelica_integer) 3));
2578#line 1940 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
2579 if (1 != tmp11) goto goto_2;
2580#line 2580 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
2581#line 1941 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
2582 tmpMeta[0+0] = omc_HpcOmEqSystems_chiosCondensation(threadData, _system, &tmpMeta[0+1], &tmpMeta[0+2]);
2583#line 2583 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
2584 goto tmp3_done;
2585 }
2586 case 3: {
2587
2588 /* Pattern matching succeeded */
2589#line 1943 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
2590 tmpMeta[3] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
2591#line 1943 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
2592 tmpMeta[4] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
2593#line 1943 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
2594 tmpMeta[5] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
2595#line 1943 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
2596 tmpMeta[0+0] = tmpMeta[3];
2597#line 1943 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
2598 tmpMeta[0+1] = tmpMeta[4];
2599#line 1943 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
2600 tmpMeta[0+2] = tmpMeta[5];
2601#line 2601 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
2602 goto tmp3_done;
2603 }
2604 }
2605 goto tmp3_end;
2606 tmp3_end: ;
2607 }
2608 goto goto_2;
2609 tmp3_done:
2610 (void)tmp4;
2611 MMC_RESTORE_INTERNAL(mmc_jumper)threadData->mmc_jumper = old_jumper;;
2612 goto tmp3_done2;
2613 goto_2:;
2614 MMC_CATCH_INTERNAL(mmc_jumper)} threadData->mmc_jumper = old_jumper;mmc_catch_dummy_fn()
;}
;
2615 if (++tmp4 < 4) {
2616 goto tmp3_top;
2617 }
2618 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
2619 tmp3_done2:;
2620 }
2621 }
2622 _newResEqs = tmpMeta[0+0];
2623 _otherEqsOut = tmpMeta[0+1];
2624 _otherVarsOut = tmpMeta[0+2];
2625 _return: OMC_LABEL_UNUSED__attribute__((unused))
2626 if (out_otherEqsOut) { *out_otherEqsOut = _otherEqsOut; }
2627 if (out_otherVarsOut) { *out_otherVarsOut = _otherVarsOut; }
2628 return _newResEqs;
2629}
2630
2631PROTECTED_FUNCTION_STATIC modelica_metatype omc_HpcOmEqSystems_applyCramerRule(threadData_t *threadData, modelica_metatype _jacValuesIn, modelica_metatype _varsIn, modelica_metatype *out_tvarsOut, modelica_metatype *out_addEqsOut, modelica_metatype *out_addVarsOut)
2632{
2633 modelica_metatype _resEqsOut = NULL((void*)0);
2634 modelica_metatype _tvarsOut = NULL((void*)0);
2635 modelica_metatype _addEqsOut = NULL((void*)0);
2636 modelica_metatype _addVarsOut = NULL((void*)0);
2637 modelica_metatype tmpMeta[4] __attribute__((unused)) = {0};
2638 MMC_SO()mmc_check_stackoverflow(threadData);
2639 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
2640 // _resEqsOut has no default value.
2641 // _tvarsOut has no default value.
2642 // _addEqsOut has no default value.
2643 // _addVarsOut has no default value.
2644#line 1875 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
2645
2646#line 1875 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
2647
2648#line 1875 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
2649
2650#line 1875 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
2651
2652#line 2652 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
2653 { /* match expression */
2654 {
2655 modelica_metatype _syst = NULL((void*)0);
2656 modelica_metatype _addEqs = NULL((void*)0);
2657 modelica_metatype _resEqs = NULL((void*)0);
2658 modelica_metatype _addVars = NULL((void*)0);
2659 volatile mmc_switch_type tmp4;
2660 int tmp5;
2661 // _syst has no default value.
2662 // _addEqs has no default value.
2663 // _resEqs has no default value.
2664 // _addVars has no default value.
2665 tmp4 = 0;
2666 for (; tmp4 < 1; tmp4++) {
2667 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
2668 case 0: {
2669 /* Pattern matching succeeded */
2670#line 1882 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
2671 _syst = omc_HpcOmEqSystems_getMatrixFromJac(threadData, _jacValuesIn, _varsIn);
2672#line 2672 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
2673
2674#line 1884 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
2675 _resEqs = omc_HpcOmEqSystems_CramerRule(threadData, _syst ,&_addEqs ,&_addVars);
2676#line 2676 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
2677#line 1885 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
2678 tmpMeta[0+0] = _resEqs;
2679#line 1885 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
2680 tmpMeta[0+1] = _varsIn;
2681#line 1885 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
2682 tmpMeta[0+2] = _addEqs;
2683#line 1885 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
2684 tmpMeta[0+3] = _addVars;
2685#line 2685 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
2686 goto tmp3_done;
2687 }
2688 }
2689 goto tmp3_end;
2690 tmp3_end: ;
2691 }
2692 goto goto_2;
2693 goto_2:;
2694 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
2695 goto tmp3_done;
2696 tmp3_done:;
2697 }
2698 }
2699 _resEqsOut = tmpMeta[0+0];
2700 _tvarsOut = tmpMeta[0+1];
2701 _addEqsOut = tmpMeta[0+2];
2702 _addVarsOut = tmpMeta[0+3];
2703 _return: OMC_LABEL_UNUSED__attribute__((unused))
2704 if (out_tvarsOut) { *out_tvarsOut = _tvarsOut; }
2705 if (out_addEqsOut) { *out_addEqsOut = _addEqsOut; }
2706 if (out_addVarsOut) { *out_addVarsOut = _addVarsOut; }
2707 return _resEqsOut;
2708}
2709
2710PROTECTED_FUNCTION_STATIC modelica_metatype omc_HpcOmEqSystems_getNewChioEntry(threadData_t *threadData, modelica_integer _col, modelica_integer _row, modelica_metatype _syst, modelica_integer _iter, modelica_metatype _foldIn)
2711{
2712 modelica_metatype _foldOut = NULL((void*)0);
2713 modelica_integer _dim;
2714 modelica_metatype _a11 = NULL((void*)0);
2715 modelica_metatype _ar1 = NULL((void*)0);
2716 modelica_metatype _a1c = NULL((void*)0);
2717 modelica_metatype _arc = NULL((void*)0);
2718 modelica_metatype _br = NULL((void*)0);
2719 modelica_metatype _b1 = NULL((void*)0);
2720 modelica_metatype _detExp = NULL((void*)0);
2721 modelica_metatype _detVarExp = NULL((void*)0);
2722 modelica_metatype _ty = NULL((void*)0);
2723 modelica_metatype _detCR = NULL((void*)0);
2724 modelica_metatype _detAeq = NULL((void*)0);
2725 modelica_metatype _detAieq = NULL((void*)0);
2726 modelica_metatype _detAVar = NULL((void*)0);
2727 modelica_metatype _detAiVar = NULL((void*)0);
2728 modelica_string _detVarName = NULL((void*)0);
2729 modelica_metatype _matrixA = NULL((void*)0);
2730 modelica_metatype _matrixB = NULL((void*)0);
2731 modelica_metatype _matrixAi = NULL((void*)0);
2732 modelica_metatype _vectorB = NULL((void*)0);
2733 modelica_metatype _vecAi = NULL((void*)0);
2734 modelica_metatype _vectorX = NULL((void*)0);
2735 modelica_metatype _addEqs = NULL((void*)0);
2736 modelica_metatype _addVars = NULL((void*)0);
2737 modelica_integer tmp1;
2738 modelica_metatype tmpMeta[6] __attribute__((unused)) = {0};
2739 MMC_SO()mmc_check_stackoverflow(threadData);
2740 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
2741 // _foldOut has no default value.
2742 // _dim has no default value.
2743 // _a11 has no default value.
2744 // _ar1 has no default value.
2745 // _a1c has no default value.
2746 // _arc has no default value.
2747 // _br has no default value.
2748 // _b1 has no default value.
2749 // _detExp has no default value.
2750 // _detVarExp has no default value.
2751 // _ty has no default value.
2752 // _detCR has no default value.
2753 // _detAeq has no default value.
2754 // _detAieq has no default value.
2755 // _detAVar has no default value.
2756 // _detAiVar has no default value.
2757 // _detVarName has no default value.
2758 // _matrixA has no default value.
2759 // _matrixB has no default value.
2760 // _matrixAi has no default value.
2761 // _vectorB has no default value.
2762 // _vecAi has no default value.
2763 // _vectorX has no default value.
2764 // _addEqs has no default value.
2765 // _addVars has no default value.
2766#line 1825 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
2767 /* Pattern-matching assignment */
2768#line 1825 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
2769 tmpMeta[0] = _syst;
2770#line 1825 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
2771 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (2)))))
;
2772#line 1825 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
2773 tmp1 = mmc_unbox_integer(tmpMeta[1])(((mmc_sint_t) (tmpMeta[1])) >> 1);
2774#line 1825 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
2775 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (3)))))
;
2776#line 1825 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
2777 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (4)))))
;
2778#line 1825 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
2779 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 5))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (5)))))
;
2780#line 1825 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
2781 _dim = tmp1 /* pattern as ty=Integer */;
2782#line 1825 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
2783 _matrixA = tmpMeta[2];
2784#line 1825 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
2785 _vectorB = tmpMeta[3];
2786#line 1825 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
2787 _vectorX = tmpMeta[4];
2788#line 2788 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
2789
2790#line 1826 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
2791 /* Pattern-matching assignment */
2792#line 1826 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
2793 tmpMeta[0] = _foldIn;
2794#line 1826 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
2795 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (1)))))
;
2796#line 1826 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
2797 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (2)))))
;
2798#line 1826 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
2799 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (3)))))
;
2800#line 1826 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
2801 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (4)))))
;
2802#line 1826 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
2803 _matrixB = tmpMeta[1];
2804#line 1826 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
2805 _vecAi = tmpMeta[2];
2806#line 1826 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
2807 _addEqs = tmpMeta[3];
2808#line 1826 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
2809 _addVars = tmpMeta[4];
2810#line 2810 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
2811
2812#line 1828 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
2813 _a11 = listGet(arrayGet(_matrixA, ((modelica_integer) 1)), ((modelica_integer) 1))boxptr_listGet(threadData,nobox_arrayGet(threadData,_matrixA,
((modelica_integer) 1)),mmc_mk_icon(((modelica_integer) 1)))
;
2814#line 2814 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
2815
2816#line 1829 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
2817 _ar1 = listGet(arrayGet(_matrixA, _row), ((modelica_integer) 1))boxptr_listGet(threadData,nobox_arrayGet(threadData,_matrixA,
_row),mmc_mk_icon(((modelica_integer) 1)))
;
2818#line 2818 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
2819
2820#line 1830 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
2821 _a1c = listGet(arrayGet(_matrixA, ((modelica_integer) 1)), _col)boxptr_listGet(threadData,nobox_arrayGet(threadData,_matrixA,
((modelica_integer) 1)),mmc_mk_icon(_col))
;
2822#line 2822 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
2823
2824#line 1831 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
2825 _arc = listGet(arrayGet(_matrixA, _row), _col)boxptr_listGet(threadData,nobox_arrayGet(threadData,_matrixA,
_row),mmc_mk_icon(_col))
;
2826#line 2826 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
2827
2828#line 1832 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
2829 _ty = omc_Expression_typeof(threadData, _a11);
2830#line 2830 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
2831
2832#line 1833 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
2833 tmpMeta[0] = mmc_mk_box2(5, &DAE_Operator_MUL__desc, _ty);
2834#line 1833 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
2835 tmpMeta[1] = mmc_mk_box4(10, &DAE_Exp_BINARY__desc, _a11, tmpMeta[0], _arc);
2836#line 1833 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
2837 tmpMeta[2] = mmc_mk_box2(4, &DAE_Operator_SUB__desc, _ty);
2838#line 1833 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
2839 tmpMeta[3] = mmc_mk_box2(5, &DAE_Operator_MUL__desc, _ty);
2840#line 1833 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
2841 tmpMeta[4] = mmc_mk_box4(10, &DAE_Exp_BINARY__desc, _ar1, tmpMeta[3], _a1c);
2842#line 1833 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
2843 tmpMeta[5] = mmc_mk_box4(10, &DAE_Exp_BINARY__desc, tmpMeta[1], tmpMeta[2], tmpMeta[4]);
2844#line 1833 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
2845 _detExp = tmpMeta[5];
2846#line 2846 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
2847
2848#line 1834 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
2849 _detExp = omc_ExpressionSimplify_simplify(threadData, _detExp, NULL((void*)0));
2850#line 2850 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
2851
2852#line 1835 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
2853 tmpMeta[0] = stringAppend(_OMC_LIT48((void*)((char*)(&(_OMC_LIT_STRUCT48).header) + 3)),intString(_iter));
2854#line 1835 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
2855 tmpMeta[1] = stringAppend(tmpMeta[0],_OMC_LIT49((void*)((char*)(&(_OMC_LIT_STRUCT49).header) + 3)));
2856#line 1835 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
2857 tmpMeta[2] = stringAppend(tmpMeta[1],intString(((modelica_integer) -1) + _row));
2858#line 1835 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
2859 tmpMeta[3] = stringAppend(tmpMeta[2],_OMC_LIT21((void*)((char*)(&(_OMC_LIT_STRUCT21).header) + 3)));
2860#line 1835 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
2861 tmpMeta[4] = stringAppend(tmpMeta[3],intString(((modelica_integer) -1) + _col));
2862#line 1835 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
2863 _detVarName = tmpMeta[4];
2864#line 2864 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
2865
2866#line 1836 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
2867 tmpMeta[0] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
2868#line 1836 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
2869 _detCR = omc_ComponentReference_makeCrefIdent(threadData, _detVarName, _ty, tmpMeta[0]);
2870#line 2870 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
2871
2872#line 1837 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
2873 tmpMeta[0] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
2874#line 1837 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
2875 tmpMeta[1] = mmc_mk_box17(3, &BackendDAE_Var_VAR__desc, _detCR, _OMC_LIT50((void*)((char*)(&(_OMC_LIT_STRUCT50).header) + 3)), _OMC_LIT51((void*)((char*)(&(_OMC_LIT_STRUCT51).header) + 3)), _OMC_LIT52((void*)((char*)(&(_OMC_LIT_STRUCT52).header) + 3)), _ty, mmc_mk_none()((void*)((char*)(&(mmc_none).header) + 3)), mmc_mk_none()((void*)((char*)(&(mmc_none).header) + 3)), tmpMeta[0], _OMC_LIT44((void*)((char*)(&(_OMC_LIT_STRUCT44).header) + 3)), mmc_mk_none()((void*)((char*)(&(mmc_none).header) + 3)), mmc_mk_none()((void*)((char*)(&(mmc_none).header) + 3)), _OMC_LIT53((void*)((char*)(&(_OMC_LIT_STRUCT53).header) + 3)), mmc_mk_none()((void*)((char*)(&(mmc_none).header) + 3)), _OMC_LIT54((void*)((char*)(&(_OMC_LIT_STRUCT54).header) + 3)), _OMC_LIT55((void*)((char*)(&(_OMC_LIT_STRUCT55).header) + 3)), mmc_mk_boolean(0)((0) != 0 ? (mmc_mk_icon(1)) : (mmc_mk_icon(0))));
2876#line 1837 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
2877 _detAVar = tmpMeta[1];
2878#line 2878 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
2879
2880#line 1838 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
2881 _detVarExp = omc_Expression_crefExp(threadData, _detCR);
2882#line 2882 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
2883
2884#line 1839 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
2885 tmpMeta[0] = mmc_mk_box5(3, &BackendDAE_Equation_EQUATION__desc, _detVarExp, _detExp, _OMC_LIT44((void*)((char*)(&(_OMC_LIT_STRUCT44).header) + 3)), _OMC_LIT57((void*)((char*)(&(_OMC_LIT_STRUCT57).header) + 3)));
2886#line 1839 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
2887 _detAeq = tmpMeta[0];
2888#line 2888 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
2889
2890#line 1840 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
2891 _matrixB = omc_Array_consToElement(threadData, ((modelica_integer) -1) + _row, _detVarExp, _matrixB);
2892#line 2892 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
2893
2894#line 1841 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
2895 tmpMeta[0] = mmc_mk_cons(_detAeq, _addEqs);
2896#line 1841 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
2897 _addEqs = tmpMeta[0];
2898#line 2898 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
2899
2900#line 1842 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
2901 tmpMeta[0] = mmc_mk_cons(_detAVar, _addVars);
2902#line 1842 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
2903 _addVars = tmpMeta[0];
2904#line 2904 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
2905
2906#line 1845 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
2907 if((_col == _dim))
2908#line 1845 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
2909 {
2910#line 1846 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
2911 _b1 = arrayGet(_vectorB, ((modelica_integer) 1))nobox_arrayGet(threadData,_vectorB,((modelica_integer) 1));
2912#line 2912 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
2913
2914#line 1847 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
2915 _br = arrayGet(_vectorB, _row)nobox_arrayGet(threadData,_vectorB,_row);
2916#line 2916 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
2917
2918#line 1848 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
2919 tmpMeta[0] = mmc_mk_box2(5, &DAE_Operator_MUL__desc, _ty);
2920#line 1848 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
2921 tmpMeta[1] = mmc_mk_box4(10, &DAE_Exp_BINARY__desc, _a11, tmpMeta[0], _br);
2922#line 1848 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
2923 tmpMeta[2] = mmc_mk_box2(4, &DAE_Operator_SUB__desc, _ty);
2924#line 1848 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
2925 tmpMeta[3] = mmc_mk_box2(5, &DAE_Operator_MUL__desc, _ty);
2926#line 1848 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
2927 tmpMeta[4] = mmc_mk_box4(10, &DAE_Exp_BINARY__desc, _ar1, tmpMeta[3], _b1);
2928#line 1848 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
2929 tmpMeta[5] = mmc_mk_box4(10, &DAE_Exp_BINARY__desc, tmpMeta[1], tmpMeta[2], tmpMeta[4]);
2930#line 1848 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
2931 _detExp = tmpMeta[5];
2932#line 2932 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
2933
2934#line 1849 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
2935 _detExp = omc_ExpressionSimplify_simplify(threadData, _detExp, NULL((void*)0));
2936#line 2936 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
2937
2938#line 1850 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
2939 tmpMeta[0] = stringAppend(_OMC_LIT58((void*)((char*)(&(_OMC_LIT_STRUCT58).header) + 3)),intString(_iter));
2940#line 1850 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
2941 tmpMeta[1] = stringAppend(tmpMeta[0],_OMC_LIT49((void*)((char*)(&(_OMC_LIT_STRUCT49).header) + 3)));
2942#line 1850 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
2943 tmpMeta[2] = stringAppend(tmpMeta[1],intString(((modelica_integer) -1) + _row));
2944#line 1850 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
2945 tmpMeta[3] = stringAppend(tmpMeta[2],_OMC_LIT21((void*)((char*)(&(_OMC_LIT_STRUCT21).header) + 3)));
2946#line 1850 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
2947 tmpMeta[4] = stringAppend(tmpMeta[3],intString(((modelica_integer) -1) + _col));
2948#line 1850 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
2949 _detVarName = tmpMeta[4];
2950#line 2950 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
2951
2952#line 1851 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
2953 tmpMeta[0] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
2954#line 1851 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
2955 _detCR = omc_ComponentReference_makeCrefIdent(threadData, _detVarName, _ty, tmpMeta[0]);
2956#line 2956 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
2957
2958#line 1852 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
2959 tmpMeta[0] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
2960#line 1852 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
2961 tmpMeta[1] = mmc_mk_box17(3, &BackendDAE_Var_VAR__desc, _detCR, _OMC_LIT50((void*)((char*)(&(_OMC_LIT_STRUCT50).header) + 3)), _OMC_LIT51((void*)((char*)(&(_OMC_LIT_STRUCT51).header) + 3)), _OMC_LIT52((void*)((char*)(&(_OMC_LIT_STRUCT52).header) + 3)), _ty, mmc_mk_none()((void*)((char*)(&(mmc_none).header) + 3)), mmc_mk_none()((void*)((char*)(&(mmc_none).header) + 3)), tmpMeta[0], _OMC_LIT44((void*)((char*)(&(_OMC_LIT_STRUCT44).header) + 3)), mmc_mk_none()((void*)((char*)(&(mmc_none).header) + 3)), mmc_mk_none()((void*)((char*)(&(mmc_none).header) + 3)), _OMC_LIT53((void*)((char*)(&(_OMC_LIT_STRUCT53).header) + 3)), mmc_mk_none()((void*)((char*)(&(mmc_none).header) + 3)), _OMC_LIT54((void*)((char*)(&(_OMC_LIT_STRUCT54).header) + 3)), _OMC_LIT55((void*)((char*)(&(_OMC_LIT_STRUCT55).header) + 3)), mmc_mk_boolean(0)((0) != 0 ? (mmc_mk_icon(1)) : (mmc_mk_icon(0))));
2962#line 1852 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
2963 _detAiVar = tmpMeta[1];
2964#line 2964 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
2965
2966#line 1853 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
2967 _detVarExp = omc_Expression_crefExp(threadData, _detCR);
2968#line 2968 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
2969
2970#line 1854 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
2971 tmpMeta[0] = mmc_mk_box5(3, &BackendDAE_Equation_EQUATION__desc, _detVarExp, _detExp, _OMC_LIT44((void*)((char*)(&(_OMC_LIT_STRUCT44).header) + 3)), _OMC_LIT57((void*)((char*)(&(_OMC_LIT_STRUCT57).header) + 3)));
2972#line 1854 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
2973 _detAieq = tmpMeta[0];
2974#line 2974 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
2975
2976#line 1855 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
2977 arrayUpdate(_vecAi, ((modelica_integer) -1) + _row, _detVarExp)boxptr_arrayUpdate(threadData,_vecAi,mmc_mk_icon(((modelica_integer
) -1) + _row),_detVarExp)
;
2978#line 2978 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
2979
2980#line 1856 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
2981 tmpMeta[0] = mmc_mk_cons(_detAieq, _addEqs);
2982#line 1856 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
2983 _addEqs = tmpMeta[0];
2984#line 2984 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
2985
2986#line 1857 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
2987 tmpMeta[0] = mmc_mk_cons(_detAiVar, _addVars);
2988#line 1857 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
2989 _addVars = tmpMeta[0];
2990#line 2990 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
2991 }
2992
2993#line 1860 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
2994 tmpMeta[0] = mmc_mk_box4(0, _matrixB, _vecAi, _addEqs, _addVars);
2995#line 1860 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
2996 _foldOut = tmpMeta[0];
2997#line 2997 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
2998 _return: OMC_LABEL_UNUSED__attribute__((unused))
2999 return _foldOut;
3000}
3001PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_HpcOmEqSystems_getNewChioEntry(threadData_t *threadData, modelica_metatype _col, modelica_metatype _row, modelica_metatype _syst, modelica_metatype _iter, modelica_metatype _foldIn)
3002{
3003 modelica_integer tmp1;
3004 modelica_integer tmp2;
3005 modelica_integer tmp3;
3006 modelica_metatype _foldOut = NULL((void*)0);
3007 tmp1 = mmc_unbox_integer(_col)(((mmc_sint_t) (_col)) >> 1);
3008 tmp2 = mmc_unbox_integer(_row)(((mmc_sint_t) (_row)) >> 1);
3009 tmp3 = mmc_unbox_integer(_iter)(((mmc_sint_t) (_iter)) >> 1);
3010 _foldOut = omc_HpcOmEqSystems_getNewChioEntry(threadData, tmp1, tmp2, _syst, tmp3, _foldIn);
3011 /* skip box _foldOut; tuple<array<list<DAE.Exp>>, array<DAE.Exp>, list<BackendDAE.Equation>, list<BackendDAE.Var>> */
3012 return _foldOut;
3013}
3014
3015static modelica_metatype closure2_HpcOmEqSystems_getNewChioEntry(threadData_t *thData, modelica_metatype closure, modelica_metatype col, modelica_metatype foldIn)
3016{
3017 modelica_metatype row = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(closure),1))(*(void**)(((void*)((void**)(((void*)((char*)(closure) - 3)))
+ (1)))))
;
3018 modelica_metatype syst = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(closure),2))(*(void**)(((void*)((void**)(((void*)((char*)(closure) - 3)))
+ (2)))))
;
3019 modelica_metatype iter = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(closure),3))(*(void**)(((void*)((void**)(((void*)((char*)(closure) - 3)))
+ (3)))))
;
3020 return boxptr_HpcOmEqSystems_getNewChioEntry(thData, col, row, syst, iter, foldIn);
3021}
3022PROTECTED_FUNCTION_STATIC modelica_metatype omc_HpcOmEqSystems_getNewChioRow(threadData_t *threadData, modelica_integer _row, modelica_metatype _systemIn, modelica_integer _iterIdx, modelica_metatype _foldIn)
3023{
3024 modelica_metatype _foldOut = NULL((void*)0);
3025 modelica_integer _dim;
3026 modelica_metatype _columns = NULL((void*)0);
3027 modelica_metatype _addEqsIn = NULL((void*)0);
3028 modelica_metatype _addEqs = NULL((void*)0);
3029 modelica_metatype _addVarsIn = NULL((void*)0);
3030 modelica_metatype _addVars = NULL((void*)0);
3031 modelica_integer tmp1;
3032 modelica_metatype tmpMeta[2] __attribute__((unused)) = {0};
3033 MMC_SO()mmc_check_stackoverflow(threadData);
3034 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
3035 // _foldOut has no default value.
3036 // _dim has no default value.
3037 // _columns has no default value.
3038 // _addEqsIn has no default value.
3039 // _addEqs has no default value.
3040 // _addVarsIn has no default value.
3041 // _addVars has no default value.
3042#line 1798 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
3043 /* Pattern-matching assignment */
3044#line 1798 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
3045 tmpMeta[0] = _systemIn;
3046#line 1798 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
3047 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (2)))))
;
3048#line 1798 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
3049 tmp1 = mmc_unbox_integer(tmpMeta[1])(((mmc_sint_t) (tmpMeta[1])) >> 1);
3050#line 1798 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
3051 _dim = tmp1 /* pattern as ty=Integer */;
3052#line 3052 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
3053
3054#line 1799 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
3055 _columns = listReverse(omc_List_intRange2(threadData, ((modelica_integer) 2), _dim));
3056#line 3056 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
3057
3058#line 1800 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
3059 tmpMeta[0] = mmc_mk_box3(0, mmc_mk_integermmc_mk_icon(_row), _systemIn, mmc_mk_integermmc_mk_icon(_iterIdx));
3060#line 1800 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
3061 _foldOut = omc_List_fold(threadData, _columns, (modelica_fnptr) mmc_mk_box2(0,closure2_HpcOmEqSystems_getNewChioEntry,tmpMeta[0]), _foldIn);
3062#line 3062 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
3063 _return: OMC_LABEL_UNUSED__attribute__((unused))
3064 return _foldOut;
3065}
3066PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_HpcOmEqSystems_getNewChioRow(threadData_t *threadData, modelica_metatype _row, modelica_metatype _systemIn, modelica_metatype _iterIdx, modelica_metatype _foldIn)
3067{
3068 modelica_integer tmp1;
3069 modelica_integer tmp2;
3070 modelica_metatype _foldOut = NULL((void*)0);
3071 tmp1 = mmc_unbox_integer(_row)(((mmc_sint_t) (_row)) >> 1);
3072 tmp2 = mmc_unbox_integer(_iterIdx)(((mmc_sint_t) (_iterIdx)) >> 1);
3073 _foldOut = omc_HpcOmEqSystems_getNewChioRow(threadData, tmp1, _systemIn, tmp2, _foldIn);
3074 /* skip box _foldOut; tuple<array<list<DAE.Exp>>, array<DAE.Exp>, list<BackendDAE.Equation>, list<BackendDAE.Var>> */
3075 return _foldOut;
3076}
3077
3078PROTECTED_FUNCTION_STATIC modelica_metatype omc_HpcOmEqSystems_makeVarOfIdent(threadData_t *threadData, modelica_string _ident, modelica_metatype _ty)
3079{
3080 modelica_metatype _var = NULL((void*)0);
3081 modelica_metatype _cr = NULL((void*)0);
3082 modelica_metatype tmpMeta[2] __attribute__((unused)) = {0};
3083 MMC_SO()mmc_check_stackoverflow(threadData);
3084 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
3085 // _var has no default value.
3086 // _cr has no default value.
3087#line 1782 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
3088 tmpMeta[0] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
3089#line 1782 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
3090 _cr = omc_ComponentReference_makeCrefIdent(threadData, _ident, _ty, tmpMeta[0]);
3091#line 3091 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
3092
3093#line 1783 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
3094 tmpMeta[0] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
3095#line 1783 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
3096 tmpMeta[1] = mmc_mk_box17(3, &BackendDAE_Var_VAR__desc, _cr, _OMC_LIT50((void*)((char*)(&(_OMC_LIT_STRUCT50).header) + 3)), _OMC_LIT51((void*)((char*)(&(_OMC_LIT_STRUCT51).header) + 3)), _OMC_LIT52((void*)((char*)(&(_OMC_LIT_STRUCT52).header) + 3)), _ty, mmc_mk_none()((void*)((char*)(&(mmc_none).header) + 3)), mmc_mk_none()((void*)((char*)(&(mmc_none).header) + 3)), tmpMeta[0], _OMC_LIT44((void*)((char*)(&(_OMC_LIT_STRUCT44).header) + 3)), mmc_mk_none()((void*)((char*)(&(mmc_none).header) + 3)), mmc_mk_none()((void*)((char*)(&(mmc_none).header) + 3)), _OMC_LIT53((void*)((char*)(&(_OMC_LIT_STRUCT53).header) + 3)), mmc_mk_none()((void*)((char*)(&(mmc_none).header) + 3)), _OMC_LIT54((void*)((char*)(&(_OMC_LIT_STRUCT54).header) + 3)), _OMC_LIT55((void*)((char*)(&(_OMC_LIT_STRUCT55).header) + 3)), mmc_mk_boolean(0)((0) != 0 ? (mmc_mk_icon(1)) : (mmc_mk_icon(0))));
3097#line 1783 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
3098 _var = tmpMeta[1];
3099#line 3099 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
3100 _return: OMC_LABEL_UNUSED__attribute__((unused))
3101 return _var;
3102}
3103
3104PROTECTED_FUNCTION_STATIC modelica_metatype omc_HpcOmEqSystems_makeDetExp(threadData_t *threadData, modelica_integer _iterIdx, modelica_string _ident, modelica_integer _row, modelica_integer _col, modelica_metatype _ty)
3105{
3106 modelica_metatype _detExp = NULL((void*)0);
3107 modelica_metatype _cr = NULL((void*)0);
3108 modelica_string _name = NULL((void*)0);
3109 modelica_metatype tmpMeta[6] __attribute__((unused)) = {0};
3110 MMC_SO()mmc_check_stackoverflow(threadData);
3111 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
3112 // _detExp has no default value.
3113 // _cr has no default value.
3114 // _name has no default value.
3115#line 1770 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
3116 tmpMeta[0] = stringAppend(_OMC_LIT59((void*)((char*)(&(_OMC_LIT_STRUCT59).header) + 3)),_ident);
3117#line 1770 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
3118 tmpMeta[1] = stringAppend(tmpMeta[0],intString(_iterIdx));
3119#line 1770 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
3120 tmpMeta[2] = stringAppend(tmpMeta[1],_OMC_LIT49((void*)((char*)(&(_OMC_LIT_STRUCT49).header) + 3)));
3121#line 1770 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
3122 tmpMeta[3] = stringAppend(tmpMeta[2],intString(_row));
3123#line 1770 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
3124 tmpMeta[4] = stringAppend(tmpMeta[3],_OMC_LIT21((void*)((char*)(&(_OMC_LIT_STRUCT21).header) + 3)));
3125#line 1770 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
3126 tmpMeta[5] = stringAppend(tmpMeta[4],intString(_col));
3127#line 1770 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
3128 _name = tmpMeta[5];
3129#line 3129 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
3130
3131#line 1771 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
3132 tmpMeta[0] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
3133#line 1771 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
3134 _cr = omc_ComponentReference_makeCrefIdent(threadData, _name, _ty, tmpMeta[0]);
3135#line 3135 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
3136
3137#line 1772 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
3138 _detExp = omc_Expression_makeCrefExp(threadData, _cr, _ty);
3139#line 3139 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
3140 _return: OMC_LABEL_UNUSED__attribute__((unused))
3141 return _detExp;
3142}
3143PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_HpcOmEqSystems_makeDetExp(threadData_t *threadData, modelica_metatype _iterIdx, modelica_metatype _ident, modelica_metatype _row, modelica_metatype _col, modelica_metatype _ty)
3144{
3145 modelica_integer tmp1;
3146 modelica_integer tmp2;
3147 modelica_integer tmp3;
3148 modelica_metatype _detExp = NULL((void*)0);
3149 tmp1 = mmc_unbox_integer(_iterIdx)(((mmc_sint_t) (_iterIdx)) >> 1);
3150 tmp2 = mmc_unbox_integer(_row)(((mmc_sint_t) (_row)) >> 1);
3151 tmp3 = mmc_unbox_integer(_col)(((mmc_sint_t) (_col)) >> 1);
3152 _detExp = omc_HpcOmEqSystems_makeDetExp(threadData, tmp1, _ident, tmp2, tmp3, _ty);
3153 /* skip box _detExp; DAE.Exp */
3154 return _detExp;
3155}
3156
3157static modelica_metatype closure3_HpcOmEqSystems_makeDetExp(threadData_t *thData, modelica_metatype closure, modelica_metatype col)
3158{
3159 modelica_metatype iterIdx = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(closure),1))(*(void**)(((void*)((void**)(((void*)((char*)(closure) - 3)))
+ (1)))))
;
3160 modelica_string ident = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(closure),2))(*(void**)(((void*)((void**)(((void*)((char*)(closure) - 3)))
+ (2)))))
;
3161 modelica_metatype row = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(closure),3))(*(void**)(((void*)((void**)(((void*)((char*)(closure) - 3)))
+ (3)))))
;
3162 modelica_metatype ty = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(closure),4))(*(void**)(((void*)((void**)(((void*)((char*)(closure) - 3)))
+ (4)))))
;
3163 return boxptr_HpcOmEqSystems_makeDetExp(thData, iterIdx, ident, row, col, ty);
3164}static modelica_metatype closure4_Expression_makeBinaryExp(threadData_t *thData, modelica_metatype closure, modelica_metatype inLhs, modelica_metatype inRhs)
3165{
3166 modelica_metatype inOp = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(closure),1))(*(void**)(((void*)((void**)(((void*)((char*)(closure) - 3)))
+ (1)))))
;
3167 return boxptr_Expression_makeBinaryExpomc_Expression_makeBinaryExp(thData, inLhs, inOp, inRhs);
3168}static modelica_metatype closure5_Expression_makeBinaryExp(threadData_t *thData, modelica_metatype closure, modelica_metatype inLhs, modelica_metatype inRhs)
3169{
3170 modelica_metatype inOp = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(closure),1))(*(void**)(((void*)((void**)(((void*)((char*)(closure) - 3)))
+ (1)))))
;
3171 return boxptr_Expression_makeBinaryExpomc_Expression_makeBinaryExp(thData, inLhs, inOp, inRhs);
3172}static modelica_metatype closure6_Expression_makeBinaryExp(threadData_t *thData, modelica_metatype closure, modelica_metatype inLhs, modelica_metatype inRhs)
3173{
3174 modelica_metatype inOp = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(closure),1))(*(void**)(((void*)((void**)(((void*)((char*)(closure) - 3)))
+ (1)))))
;
3175 return boxptr_Expression_makeBinaryExpomc_Expression_makeBinaryExp(thData, inLhs, inOp, inRhs);
3176}static modelica_metatype closure7_Expression_makeBinaryExp(threadData_t *thData, modelica_metatype closure, modelica_metatype inLhs, modelica_metatype inRhs)
3177{
3178 modelica_metatype inOp = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(closure),1))(*(void**)(((void*)((void**)(((void*)((char*)(closure) - 3)))
+ (1)))))
;
3179 return boxptr_Expression_makeBinaryExpomc_Expression_makeBinaryExp(thData, inLhs, inOp, inRhs);
3180}
3181PROTECTED_FUNCTION_STATIC modelica_metatype omc_HpcOmEqSystems_generateCramerEqs(threadData_t *threadData, modelica_metatype _varIdcs, modelica_integer _dim, modelica_metatype _vectorX, modelica_metatype _vectorB, modelica_metatype _matrixA, modelica_metatype _eqsIn)
3182{
3183 modelica_metatype _eqsOut = NULL((void*)0);
3184 modelica_metatype tmpMeta[3] __attribute__((unused)) = {0};
3185 MMC_SO()mmc_check_stackoverflow(threadData);
3186 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
3187 // _eqsOut has no default value.
3188#line 3188 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
3189 { /* matchcontinue expression */
3190 volatile modelica_metatype tmp3_1;
3191 tmp3_1 = _varIdcs;
3192 {
3193 modelica_integer _varIdx;
3194 modelica_metatype _rest = NULL((void*)0);
3195 modelica_metatype _rangeAi = NULL((void*)0);
3196 modelica_metatype _rangeX = NULL((void*)0);
3197 modelica_metatype _detAexp = NULL((void*)0);
3198 modelica_metatype _detAiexp = NULL((void*)0);
3199 modelica_metatype _xExp = NULL((void*)0);
3200 modelica_metatype _rhs = NULL((void*)0);
3201 modelica_metatype _detAiExpLst = NULL((void*)0);
3202 modelica_metatype _xLst = NULL((void*)0);
3203 modelica_metatype _ty = NULL((void*)0);
3204 modelica_metatype _xEq = NULL((void*)0);
3205 modelica_metatype _xVar = NULL((void*)0);
3206 volatile mmc_switch_type tmp3;
3207 int tmp4;
3208 // _varIdx has no default value.
3209 // _rest has no default value.
3210 // _rangeAi has no default value.
3211 // _rangeX has no default value.
3212 // _detAexp has no default value.
3213 // _detAiexp has no default value.
3214 // _xExp has no default value.
3215 // _rhs has no default value.
3216 // _detAiExpLst has no default value.
3217 // _xLst has no default value.
3218 // _ty has no default value.
3219 // _xEq has no default value.
3220 // _xVar has no default value.
3221 tmp3 = 0;
3222 MMC_TRY_INTERNAL(mmc_jumper){ jmp_buf new_mmc_jumper, *old_jumper __attribute__((unused))
= threadData->mmc_jumper; threadData->mmc_jumper = &
new_mmc_jumper; if (_setjmp (new_mmc_jumper) == 0) {
3223 tmp2_top:
3224 threadData->mmc_jumper = &new_mmc_jumper;
3225 for (; tmp3 < 3; tmp3++) {
3226 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
3227 case 0: {
3228 if (!listEmpty(tmp3_1)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp2_end;
3229 tmp3 += 2; /* Pattern matching succeeded; we may skip some cases if we fail */
3230#line 1713 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
3231 tmpMeta[0] = _eqsIn;
3232#line 3232 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
3233 goto tmp2_done;
3234 }
3235 case 1: {
3236 modelica_integer tmp5;
3237 modelica_boolean tmp6;
3238 if (listEmpty(tmp3_1)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp2_end;
3239 tmpMeta[1] = MMC_CAR(tmp3_1)(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(1)))))
;
3240 tmpMeta[2] = MMC_CDR(tmp3_1)(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
3241 tmp5 = mmc_unbox_integer(tmpMeta[1])(((mmc_sint_t) (tmpMeta[1])) >> 1);
3242 _varIdx = tmp5 /* pattern as ty=Integer */;
3243 _rest = tmpMeta[2];
3244 /* Pattern matching succeeded */
3245#line 1716 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
3246 /* Pattern-matching assignment */
3247#line 1716 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
3248 tmp6 = (_varIdx != ((modelica_integer) 1));
3249#line 1716 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
3250 if (1 != tmp6) goto goto_1;
3251#line 3251 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
3252
3253#line 1717 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
3254 _xVar = arrayGet(_vectorX, _varIdx)nobox_arrayGet(threadData,_vectorX,_varIdx);
3255#line 3255 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
3256
3257#line 1718 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
3258 _xExp = omc_BackendVariable_varExp(threadData, _xVar);
3259#line 3259 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
3260
3261#line 1719 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
3262 _ty = omc_Expression_typeof(threadData, _xExp);
3263#line 3263 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
3264
3265#line 1720 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
3266 _detAexp = omc_HpcOmEqSystems_makeDetExp(threadData, ((modelica_integer) -1) + _varIdx, _OMC_LIT60((void*)((char*)(&(_OMC_LIT_STRUCT60).header) + 3)), ((modelica_integer) 1), ((modelica_integer) 1), _ty);
3267#line 3267 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
3268
3269#line 1721 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
3270 if((_varIdx != _dim))
3271#line 1721 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
3272 {
3273#line 1722 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
3274 _rangeAi = omc_List_intRange2(threadData, ((modelica_integer) 2), ((modelica_integer) 1) + _dim - _varIdx);
3275#line 3275 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
3276
3277#line 1723 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
3278 _rangeX = omc_List_intRange2(threadData, ((modelica_integer) 1) + _varIdx, _dim);
3279#line 3279 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
3280 }
3281 else
3282 {
3283#line 1725 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
3284 tmpMeta[1] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
3285#line 1725 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
3286 _rangeAi = tmpMeta[1];
3287#line 3287 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
3288
3289#line 1726 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
3290 tmpMeta[1] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
3291#line 1726 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
3292 _rangeX = tmpMeta[1];
3293#line 3293 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
3294 }
3295
3296#line 1728 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
3297 _detAiexp = omc_HpcOmEqSystems_makeDetExp(threadData, ((modelica_integer) -1) + _varIdx, _OMC_LIT61((void*)((char*)(&(_OMC_LIT_STRUCT61).header) + 3)), ((modelica_integer) 1), ((modelica_integer) 1) + _dim - _varIdx, _ty);
3298#line 3298 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
3299
3300#line 1729 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
3301 tmpMeta[1] = mmc_mk_box4(0, mmc_mk_integermmc_mk_icon(((modelica_integer) -1) + _varIdx), _OMC_LIT60((void*)((char*)(&(_OMC_LIT_STRUCT60).header) + 3)), mmc_mk_integermmc_mk_icon(((modelica_integer) 1)), _ty);
3302#line 1729 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
3303 _detAiExpLst = omc_List_map(threadData, _rangeAi, (modelica_fnptr) mmc_mk_box2(0,closure3_HpcOmEqSystems_makeDetExp,tmpMeta[1]));
3304#line 3304 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
3305
3306#line 1730 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
3307 _xLst = omc_List_map(threadData, omc_List_map1(threadData, _rangeX, boxvar_Array_getIndexFirst((void*)((char*)(&(boxvar_lit_Array_getIndexFirst).header
) + 3))
, _vectorX), boxvar_BackendVariable_varExp((void*)((char*)(&(boxvar_lit_BackendVariable_varExp).header
) + 3))
);
3308#line 3308 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
3309
3310#line 1731 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
3311 tmpMeta[2] = mmc_mk_box2(5, &DAE_Operator_MUL__desc, _ty);
3312#line 1731 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
3313 tmpMeta[1] = mmc_mk_box1(0, tmpMeta[2]);
3314#line 1731 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
3315 _detAiExpLst = omc_List_threadMap(threadData, _xLst, _detAiExpLst, (modelica_fnptr) mmc_mk_box2(0,closure4_Expression_makeBinaryExp,tmpMeta[1]));
3316#line 3316 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
3317
3318#line 1732 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
3319 tmpMeta[2] = mmc_mk_box2(4, &DAE_Operator_SUB__desc, _ty);
3320#line 1732 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
3321 tmpMeta[1] = mmc_mk_box1(0, tmpMeta[2]);
3322#line 1732 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
3323 _detAiexp = omc_List_foldr(threadData, _detAiExpLst, (modelica_fnptr) mmc_mk_box2(0,closure5_Expression_makeBinaryExp,tmpMeta[1]), _detAiexp);
3324#line 3324 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
3325
3326#line 1733 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
3327 _detAiexp = omc_ExpressionSimplify_simplify(threadData, _detAiexp, NULL((void*)0));
3328#line 3328 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
3329
3330#line 1734 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
3331 tmpMeta[1] = mmc_mk_box2(6, &DAE_Operator_DIV__desc, _ty);
3332#line 1734 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
3333 tmpMeta[2] = mmc_mk_box4(10, &DAE_Exp_BINARY__desc, _detAiexp, tmpMeta[1], _detAexp);
3334#line 1734 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
3335 _rhs = tmpMeta[2];
3336#line 3336 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
3337
3338#line 1735 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
3339 tmpMeta[1] = mmc_mk_box5(3, &BackendDAE_Equation_EQUATION__desc, _xExp, _rhs, _OMC_LIT44((void*)((char*)(&(_OMC_LIT_STRUCT44).header) + 3)), _OMC_LIT57((void*)((char*)(&(_OMC_LIT_STRUCT57).header) + 3)));
3340#line 1735 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
3341 _xEq = tmpMeta[1];
3342#line 3342 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
3343
3344#line 1736 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
3345 tmpMeta[1] = mmc_mk_cons(_xEq, MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3)));
3346#line 1736 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
3347 omc_BackendDump_dumpEquationList(threadData, tmpMeta[1], _OMC_LIT62((void*)((char*)(&(_OMC_LIT_STRUCT62).header) + 3)));
3348#line 3348 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
3349#line 1737 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
3350 tmpMeta[1] = mmc_mk_cons(_xEq, _eqsIn);
3351#line 1737 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
3352 tmpMeta[0] = omc_HpcOmEqSystems_generateCramerEqs(threadData, _rest, _dim, _vectorX, _vectorB, _matrixA, tmpMeta[1]);
3353#line 3353 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
3354 goto tmp2_done;
3355 }
3356 case 2: {
3357 modelica_integer tmp7;
3358 if (listEmpty(tmp3_1)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp2_end;
3359 tmpMeta[1] = MMC_CAR(tmp3_1)(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(1)))))
;
3360 tmpMeta[2] = MMC_CDR(tmp3_1)(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
3361 tmp7 = mmc_unbox_integer(tmpMeta[1])(((mmc_sint_t) (tmpMeta[1])) >> 1);
3362 if (1 != tmp7) goto tmp2_end;
3363 _rest = tmpMeta[2];
3364 /* Pattern matching succeeded */
3365#line 1740 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
3366 _varIdx = ((modelica_integer) 1);
3367#line 3367 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
3368
3369#line 1741 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
3370 _xVar = arrayGet(_vectorX, _varIdx)nobox_arrayGet(threadData,_vectorX,_varIdx);
3371#line 3371 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
3372
3373#line 1742 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
3374 _xExp = omc_BackendVariable_varExp(threadData, _xVar);
3375#line 3375 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
3376
3377#line 1743 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
3378 _ty = omc_Expression_typeof(threadData, _xExp);
3379#line 3379 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
3380
3381#line 1744 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
3382 _detAexp = listGet(arrayGet(_matrixA, ((modelica_integer) 1)), ((modelica_integer) 1))boxptr_listGet(threadData,nobox_arrayGet(threadData,_matrixA,
((modelica_integer) 1)),mmc_mk_icon(((modelica_integer) 1)))
;
3383#line 3383 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
3384
3385#line 1745 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
3386 _rangeX = omc_List_intRange2(threadData, ((modelica_integer) 2), _dim);
3387#line 3387 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
3388
3389#line 1746 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
3390 _detAiexp = arrayGet(_vectorB, ((modelica_integer) 1))nobox_arrayGet(threadData,_vectorB,((modelica_integer) 1));
3391#line 3391 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
3392
3393#line 1747 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
3394 _detAiExpLst = omc_List_map1(threadData, _rangeX, boxvar_List_getIndexFirst((void*)((char*)(&(boxvar_lit_List_getIndexFirst).header)
+ 3))
, arrayGet(_matrixA, ((modelica_integer) 1))nobox_arrayGet(threadData,_matrixA,((modelica_integer) 1)));
3395#line 3395 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
3396
3397#line 1748 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
3398 _xLst = omc_List_map(threadData, omc_List_map1(threadData, _rangeX, boxvar_Array_getIndexFirst((void*)((char*)(&(boxvar_lit_Array_getIndexFirst).header
) + 3))
, _vectorX), boxvar_BackendVariable_varExp((void*)((char*)(&(boxvar_lit_BackendVariable_varExp).header
) + 3))
);
3399#line 3399 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
3400
3401#line 1749 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
3402 tmpMeta[2] = mmc_mk_box2(5, &DAE_Operator_MUL__desc, _ty);
3403#line 1749 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
3404 tmpMeta[1] = mmc_mk_box1(0, tmpMeta[2]);
3405#line 1749 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
3406 _detAiExpLst = omc_List_threadMap(threadData, _xLst, _detAiExpLst, (modelica_fnptr) mmc_mk_box2(0,closure6_Expression_makeBinaryExp,tmpMeta[1]));
3407#line 3407 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
3408
3409#line 1750 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
3410 tmpMeta[2] = mmc_mk_box2(4, &DAE_Operator_SUB__desc, _ty);
3411#line 1750 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
3412 tmpMeta[1] = mmc_mk_box1(0, tmpMeta[2]);
3413#line 1750 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
3414 _detAiexp = omc_List_foldr(threadData, _detAiExpLst, (modelica_fnptr) mmc_mk_box2(0,closure7_Expression_makeBinaryExp,tmpMeta[1]), _detAiexp);
3415#line 3415 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
3416
3417#line 1751 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
3418 _detAiexp = omc_ExpressionSimplify_simplify(threadData, _detAiexp, NULL((void*)0));
3419#line 3419 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
3420
3421#line 1752 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
3422 tmpMeta[1] = mmc_mk_box2(6, &DAE_Operator_DIV__desc, _ty);
3423#line 1752 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
3424 tmpMeta[2] = mmc_mk_box4(10, &DAE_Exp_BINARY__desc, _detAiexp, tmpMeta[1], _detAexp);
3425#line 1752 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
3426 _rhs = tmpMeta[2];
3427#line 3427 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
3428
3429#line 1753 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
3430 tmpMeta[1] = mmc_mk_box5(3, &BackendDAE_Equation_EQUATION__desc, _xExp, _rhs, _OMC_LIT44((void*)((char*)(&(_OMC_LIT_STRUCT44).header) + 3)), _OMC_LIT57((void*)((char*)(&(_OMC_LIT_STRUCT57).header) + 3)));
3431#line 1753 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
3432 _xEq = tmpMeta[1];
3433#line 3433 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
3434
3435#line 1754 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
3436 tmpMeta[1] = mmc_mk_cons(_xEq, MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3)));
3437#line 1754 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
3438 omc_BackendDump_dumpEquationList(threadData, tmpMeta[1], _OMC_LIT62((void*)((char*)(&(_OMC_LIT_STRUCT62).header) + 3)));
3439#line 3439 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
3440#line 1755 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
3441 tmpMeta[1] = mmc_mk_cons(_xEq, _eqsIn);
3442#line 1755 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
3443 tmpMeta[0] = omc_HpcOmEqSystems_generateCramerEqs(threadData, _rest, _dim, _vectorX, _vectorB, _matrixA, tmpMeta[1]);
3444#line 3444 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
3445 goto tmp2_done;
3446 }
3447 }
3448 goto tmp2_end;
3449 tmp2_end: ;
3450 }
3451 goto goto_1;
3452 tmp2_done:
3453 (void)tmp3;
3454 MMC_RESTORE_INTERNAL(mmc_jumper)threadData->mmc_jumper = old_jumper;;
3455 goto tmp2_done2;
3456 goto_1:;
3457 MMC_CATCH_INTERNAL(mmc_jumper)} threadData->mmc_jumper = old_jumper;mmc_catch_dummy_fn()
;}
;
3458 if (++tmp3 < 3) {
3459 goto tmp2_top;
3460 }
3461 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
3462 tmp2_done2:;
3463 }
3464 }
3465 _eqsOut = tmpMeta[0];
3466 _return: OMC_LABEL_UNUSED__attribute__((unused))
3467 return _eqsOut;
3468}
3469PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_HpcOmEqSystems_generateCramerEqs(threadData_t *threadData, modelica_metatype _varIdcs, modelica_metatype _dim, modelica_metatype _vectorX, modelica_metatype _vectorB, modelica_metatype _matrixA, modelica_metatype _eqsIn)
3470{
3471 modelica_integer tmp1;
3472 modelica_metatype _eqsOut = NULL((void*)0);
3473 tmp1 = mmc_unbox_integer(_dim)(((mmc_sint_t) (_dim)) >> 1);
3474 _eqsOut = omc_HpcOmEqSystems_generateCramerEqs(threadData, _varIdcs, tmp1, _vectorX, _vectorB, _matrixA, _eqsIn);
3475 /* skip box _eqsOut; list<BackendDAE.Equation> */
3476 return _eqsOut;
3477}
3478
3479static modelica_metatype closure8_HpcOmEqSystems_getNewChioRow(threadData_t *thData, modelica_metatype closure, modelica_metatype row, modelica_metatype foldIn)
3480{
3481 modelica_metatype systemIn = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(closure),1))(*(void**)(((void*)((void**)(((void*)((char*)(closure) - 3)))
+ (1)))))
;
3482 modelica_metatype iterIdx = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(closure),2))(*(void**)(((void*)((void**)(((void*)((char*)(closure) - 3)))
+ (2)))))
;
3483 return boxptr_HpcOmEqSystems_getNewChioRow(thData, row, systemIn, iterIdx, foldIn);
3484}
3485PROTECTED_FUNCTION_STATIC modelica_metatype omc_HpcOmEqSystems_ChiosCondensation2(threadData_t *threadData, modelica_metatype _systemIn, modelica_integer _iterIdx, modelica_metatype _addEqsIn, modelica_metatype _addVarsIn, modelica_metatype *out_addVarsOut)
3486{
3487 modelica_metatype _addEqsOut = NULL((void*)0);
3488 modelica_metatype _addVarsOut = NULL((void*)0);
3489 modelica_metatype tmpMeta[9] __attribute__((unused)) = {0};
3490 MMC_SO()mmc_check_stackoverflow(threadData);
3491 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
3492 // _addEqsOut has no default value.
3493 // _addVarsOut has no default value.
3494#line 1655 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
3495
3496#line 1655 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
3497
3498#line 3498 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
3499 { /* matchcontinue expression */
3500 volatile modelica_metatype tmp4_1;
3501 tmp4_1 = _systemIn;
3502 {
3503 modelica_metatype _syst = NULL((void*)0);
3504 modelica_integer _dim;
3505 modelica_metatype _matrixB = NULL((void*)0);
3506 modelica_metatype _matrixA = NULL((void*)0);
3507 modelica_metatype _vecAi = NULL((void*)0);
3508 modelica_metatype _vectorX = NULL((void*)0);
3509 modelica_metatype _addEqs = NULL((void*)0);
3510 modelica_metatype _addVars = NULL((void*)0);
3511 volatile mmc_switch_type tmp4;
3512 int tmp5;
3513 // _syst has no default value.
3514 // _dim has no default value.
3515 // _matrixB has no default value.
3516 // _matrixA has no default value.
3517 // _vecAi has no default value.
3518 // _vectorX has no default value.
3519 // _addEqs has no default value.
3520 // _addVars has no default value.
3521 tmp4 = 0;
3522 MMC_TRY_INTERNAL(mmc_jumper){ jmp_buf new_mmc_jumper, *old_jumper __attribute__((unused))
= threadData->mmc_jumper; threadData->mmc_jumper = &
new_mmc_jumper; if (_setjmp (new_mmc_jumper) == 0) {
3523 tmp3_top:
3524 threadData->mmc_jumper = &new_mmc_jumper;
3525 for (; tmp4 < 2; tmp4++) {
3526 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
3527 case 0: {
3528 modelica_integer tmp6;
3529 modelica_boolean tmp7;
3530 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(2)))))
;
3531 tmp6 = mmc_unbox_integer(tmpMeta[2])(((mmc_sint_t) (tmpMeta[2])) >> 1);
3532 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 5))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(5)))))
;
3533 _dim = tmp6 /* pattern as ty=Integer */;
3534 _vectorX = tmpMeta[3];
3535 /* Pattern matching succeeded */
3536#line 1666 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
3537 /* Pattern-matching assignment */
3538#line 1666 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
3539 tmp7 = (_dim > ((modelica_integer) 1));
3540#line 1666 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
3541 if (1 != tmp7) goto goto_2;
3542#line 3542 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
3543
3544#line 1668 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
3545 tmpMeta[2] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
3546#line 1668 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
3547 _matrixB = arrayCreate(((modelica_integer) -1) + _dim, tmpMeta[2]);
3548#line 3548 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
3549
3550#line 1669 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
3551 _vecAi = arrayCreate(((modelica_integer) -1) + _dim, _OMC_LIT63((void*)((char*)(&(_OMC_LIT_STRUCT63).header) + 3)));
3552#line 3552 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
3553
3554#line 1670 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
3555 /* Pattern-matching assignment */
3556#line 1670 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
3557 tmpMeta[2] = mmc_mk_box2(0, _systemIn, mmc_mk_integermmc_mk_icon(_iterIdx));
3558#line 1670 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
3559 tmpMeta[3] = mmc_mk_box4(0, _matrixB, _vecAi, _addEqsIn, _addVarsIn);
3560#line 1670 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
3561 tmpMeta[4] = omc_List_fold(threadData, omc_List_intRange2(threadData, ((modelica_integer) 2), _dim), (modelica_fnptr) mmc_mk_box2(0,closure8_HpcOmEqSystems_getNewChioRow,tmpMeta[2]), tmpMeta[3]);
3562#line 1670 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
3563 tmpMeta[5] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[4]), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[4]) - 3
))) + (1)))))
;
3564#line 1670 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
3565 tmpMeta[6] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[4]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[4]) - 3
))) + (2)))))
;
3566#line 1670 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
3567 tmpMeta[7] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[4]), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[4]) - 3
))) + (3)))))
;
3568#line 1670 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
3569 tmpMeta[8] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[4]), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[4]) - 3
))) + (4)))))
;
3570#line 1670 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
3571 _matrixB = tmpMeta[5];
3572#line 1670 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
3573 _vecAi = tmpMeta[6];
3574#line 1670 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
3575 _addEqs = tmpMeta[7];
3576#line 1670 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
3577 _addVars = tmpMeta[8];
3578#line 3578 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
3579
3580#line 1672 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
3581 tmpMeta[2] = stringAppend(_OMC_LIT64((void*)((char*)(&(_OMC_LIT_STRUCT64).header) + 3)),intString(_dim));
3582#line 1672 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
3583 tmpMeta[3] = stringAppend(tmpMeta[2],_OMC_LIT36((void*)((char*)(&(_OMC_LIT_STRUCT36).header) + 3)));
3584#line 1672 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
3585 fputs(MMC_STRINGDATA(tmpMeta[3])(((struct mmc_string*)((void*)((char*)(tmpMeta[3]) - 3)))->
data)
,stdoutstdout);
3586#line 3586 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
3587
3588#line 1673 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
3589 omc_HpcOmEqSystems_dumpMatrix(threadData, _matrixB);
3590#line 3590 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
3591
3592#line 1674 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
3593 fputs(MMC_STRINGDATA(_OMC_LIT65)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT65).header) + 3))) - 3)))->data)
,stdoutstdout);
3594#line 3594 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
3595
3596#line 1675 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
3597 tmpMeta[2] = stringAppend(stringDelimitList(omc_List_map1(threadData, arrayList(_vecAi), boxvar_ExpressionDump_dumpExpStr((void*)((char*)(&(boxvar_lit_ExpressionDump_dumpExpStr).
header) + 3))
, mmc_mk_integermmc_mk_icon(((modelica_integer) 0))), _OMC_LIT36((void*)((char*)(&(_OMC_LIT_STRUCT36).header) + 3))),_OMC_LIT36((void*)((char*)(&(_OMC_LIT_STRUCT36).header) + 3)));
3598#line 1675 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
3599 fputs(MMC_STRINGDATA(tmpMeta[2])(((struct mmc_string*)((void*)((char*)(tmpMeta[2]) - 3)))->
data)
,stdoutstdout);
3600#line 3600 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
3601
3602#line 1676 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
3603 omc_BackendDump_dumpEquationList(threadData, _addEqs, _OMC_LIT66((void*)((char*)(&(_OMC_LIT_STRUCT66).header) + 3)));
3604#line 3604 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
3605
3606#line 1678 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
3607 tmpMeta[2] = mmc_mk_box5(3, &HpcOmEqSystems_EqSys_LINSYS__desc, mmc_mk_integermmc_mk_icon(((modelica_integer) -1) + _dim), _matrixB, _vecAi, _vectorX);
3608#line 1678 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
3609 _syst = tmpMeta[2];
3610#line 3610 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
3611#line 1679 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
3612 tmpMeta[0+0] = omc_HpcOmEqSystems_ChiosCondensation2(threadData, _syst, ((modelica_integer) 1) + _iterIdx, _addEqs, _addVars, &tmpMeta[0+1]);
3613#line 3613 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
3614 goto tmp3_done;
3615 }
3616 case 1: {
3617 modelica_integer tmp8;
3618 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(2)))))
;
3619 tmp8 = mmc_unbox_integer(tmpMeta[2])(((mmc_sint_t) (tmpMeta[2])) >> 1);
3620 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(3)))))
;
3621 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(4)))))
;
3622
3623 _dim = tmp8 /* pattern as ty=Integer */;
3624 _matrixA = tmpMeta[3];
3625 _vecAi = tmpMeta[4];
3626 /* Pattern matching succeeded */
3627#line 1683 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
3628 tmpMeta[2] = stringAppend(_OMC_LIT67((void*)((char*)(&(_OMC_LIT_STRUCT67).header) + 3)),intString(_dim));
3629#line 1683 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
3630 tmpMeta[3] = stringAppend(tmpMeta[2],_OMC_LIT36((void*)((char*)(&(_OMC_LIT_STRUCT36).header) + 3)));
3631#line 1683 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
3632 fputs(MMC_STRINGDATA(tmpMeta[3])(((struct mmc_string*)((void*)((char*)(tmpMeta[3]) - 3)))->
data)
,stdoutstdout);
3633#line 3633 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
3634
3635#line 1684 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
3636 omc_HpcOmEqSystems_dumpMatrix(threadData, _matrixA);
3637#line 3637 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
3638
3639#line 1685 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
3640 fputs(MMC_STRINGDATA(_OMC_LIT68)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT68).header) + 3))) - 3)))->data)
,stdoutstdout);
3641#line 3641 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
3642
3643#line 1686 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
3644 tmpMeta[2] = stringAppend(stringDelimitList(omc_List_map1(threadData, arrayList(_vecAi), boxvar_ExpressionDump_dumpExpStr((void*)((char*)(&(boxvar_lit_ExpressionDump_dumpExpStr).
header) + 3))
, mmc_mk_integermmc_mk_icon(((modelica_integer) 0))), _OMC_LIT36((void*)((char*)(&(_OMC_LIT_STRUCT36).header) + 3))),_OMC_LIT36((void*)((char*)(&(_OMC_LIT_STRUCT36).header) + 3)));
3645#line 1686 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
3646 fputs(MMC_STRINGDATA(tmpMeta[2])(((struct mmc_string*)((void*)((char*)(tmpMeta[2]) - 3)))->
data)
,stdoutstdout);
3647#line 3647 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
3648
3649#line 1687 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
3650 omc_BackendDump_dumpEquationList(threadData, _addEqsIn, _OMC_LIT66((void*)((char*)(&(_OMC_LIT_STRUCT66).header) + 3)));
3651#line 3651 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
3652#line 1689 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
3653 tmpMeta[0+0] = _addEqsIn;
3654#line 1689 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
3655 tmpMeta[0+1] = _addVarsIn;
3656#line 3656 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
3657 goto tmp3_done;
3658 }
3659 }
3660 goto tmp3_end;
3661 tmp3_end: ;
3662 }
3663 goto goto_2;
3664 tmp3_done:
3665 (void)tmp4;
3666 MMC_RESTORE_INTERNAL(mmc_jumper)threadData->mmc_jumper = old_jumper;;
3667 goto tmp3_done2;
3668 goto_2:;
3669 MMC_CATCH_INTERNAL(mmc_jumper)} threadData->mmc_jumper = old_jumper;mmc_catch_dummy_fn()
;}
;
3670 if (++tmp4 < 2) {
3671 goto tmp3_top;
3672 }
3673 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
3674 tmp3_done2:;
3675 }
3676 }
3677 _addEqsOut = tmpMeta[0+0];
3678 _addVarsOut = tmpMeta[0+1];
3679 _return: OMC_LABEL_UNUSED__attribute__((unused))
3680 if (out_addVarsOut) { *out_addVarsOut = _addVarsOut; }
3681 return _addEqsOut;
3682}
3683PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_HpcOmEqSystems_ChiosCondensation2(threadData_t *threadData, modelica_metatype _systemIn, modelica_metatype _iterIdx, modelica_metatype _addEqsIn, modelica_metatype _addVarsIn, modelica_metatype *out_addVarsOut)
3684{
3685 modelica_integer tmp1;
3686 modelica_metatype _addEqsOut = NULL((void*)0);
3687 tmp1 = mmc_unbox_integer(_iterIdx)(((mmc_sint_t) (_iterIdx)) >> 1);
3688 _addEqsOut = omc_HpcOmEqSystems_ChiosCondensation2(threadData, _systemIn, tmp1, _addEqsIn, _addVarsIn, out_addVarsOut);
3689 /* skip box _addEqsOut; list<BackendDAE.Equation> */
3690 /* skip box _addVarsOut; list<BackendDAE.Var> */
3691 return _addEqsOut;
3692}
3693
3694PROTECTED_FUNCTION_STATIC modelica_metatype omc_HpcOmEqSystems_chiosCondensation(threadData_t *threadData, modelica_metatype _systemIn, modelica_metatype *out_addEqsOut, modelica_metatype *out_addVarsOut)
3695{
3696 modelica_metatype _newResEqs = NULL((void*)0);
3697 modelica_metatype _addEqsOut = NULL((void*)0);
3698 modelica_metatype _addVarsOut = NULL((void*)0);
3699 modelica_integer _dim;
3700 modelica_metatype _vectorB = NULL((void*)0);
3701 modelica_metatype _vectorX = NULL((void*)0);
3702 modelica_metatype _matrixA = NULL((void*)0);
3703 modelica_metatype _eqLst = NULL((void*)0);
3704 modelica_integer tmp1;
3705 modelica_metatype tmpMeta[5] __attribute__((unused)) = {0};
3706 MMC_SO()mmc_check_stackoverflow(threadData);
3707 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
3708 // _newResEqs has no default value.
3709 // _addEqsOut has no default value.
3710 // _addVarsOut has no default value.
3711 // _dim has no default value.
3712 // _vectorB has no default value.
3713 // _vectorX has no default value.
3714 // _matrixA has no default value.
3715 // _eqLst has no default value.
3716#line 1639 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
3717 /* Pattern-matching assignment */
3718#line 1639 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
3719 tmpMeta[0] = _systemIn;
3720#line 1639 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
3721 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (2)))))
;
3722#line 1639 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
3723 tmp1 = mmc_unbox_integer(tmpMeta[1])(((mmc_sint_t) (tmpMeta[1])) >> 1);
3724#line 1639 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
3725 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (3)))))
;
3726#line 1639 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
3727 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (4)))))
;
3728#line 1639 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
3729 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 5))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (5)))))
;
3730#line 1639 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
3731 _dim = tmp1 /* pattern as ty=Integer */;
3732#line 1639 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
3733 _matrixA = tmpMeta[2];
3734#line 1639 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
3735 _vectorB = tmpMeta[3];
3736#line 1639 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
3737 _vectorX = tmpMeta[4];
3738#line 3738 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
3739
3740#line 1640 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
3741 tmpMeta[0] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
3742#line 1640 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
3743 tmpMeta[1] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
3744#line 1640 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
3745 _addEqsOut = omc_HpcOmEqSystems_ChiosCondensation2(threadData, _systemIn, ((modelica_integer) 1), tmpMeta[0], tmpMeta[1] ,&_addVarsOut);
3746#line 3746 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
3747
3748#line 1641 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
3749 _addEqsOut = listReverse(_addEqsOut);
3750#line 3750 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
3751
3752#line 1642 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
3753 _addVarsOut = listReverse(_addVarsOut);
3754#line 3754 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
3755
3756#line 1643 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
3757 tmpMeta[0] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
3758#line 1643 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
3759 _newResEqs = omc_HpcOmEqSystems_generateCramerEqs(threadData, listReverse(omc_List_intRange(threadData, _dim)), _dim, _vectorX, _vectorB, _matrixA, tmpMeta[0]);
3760#line 3760 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
3761
3762#line 1644 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
3763 _newResEqs = listReverse(_newResEqs);
3764#line 3764 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
3765 _return: OMC_LABEL_UNUSED__attribute__((unused))
3766 if (out_addEqsOut) { *out_addEqsOut = _addEqsOut; }
3767 if (out_addVarsOut) { *out_addVarsOut = _addVarsOut; }
3768 return _newResEqs;
3769}
3770
3771PROTECTED_FUNCTION_STATIC modelica_metatype omc_HpcOmEqSystems_getSummands(threadData_t *threadData, modelica_metatype _eq)
3772{
3773 modelica_metatype _exps = NULL((void*)0);
3774 modelica_metatype tmpMeta[3] __attribute__((unused)) = {0};
3775 MMC_SO()mmc_check_stackoverflow(threadData);
3776 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
3777 // _exps has no default value.
3778#line 3778 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
3779 { /* matchcontinue expression */
3780 volatile modelica_metatype tmp3_1;
3781 tmp3_1 = _eq;
3782 {
3783 modelica_metatype _lhs = NULL((void*)0);
3784 modelica_metatype _rhs = NULL((void*)0);
3785 modelica_metatype _expLst1 = NULL((void*)0);
3786 modelica_metatype _expLst2 = NULL((void*)0);
3787 volatile mmc_switch_type tmp3;
3788 int tmp4;
3789 // _lhs has no default value.
3790 // _rhs has no default value.
3791 // _expLst1 has no default value.
3792 // _expLst2 has no default value.
3793 tmp3 = 0;
3794 MMC_TRY_INTERNAL(mmc_jumper){ jmp_buf new_mmc_jumper, *old_jumper __attribute__((unused))
= threadData->mmc_jumper; threadData->mmc_jumper = &
new_mmc_jumper; if (_setjmp (new_mmc_jumper) == 0) {
3795 tmp2_top:
3796 threadData->mmc_jumper = &new_mmc_jumper;
3797 for (; tmp3 < 2; tmp3++) {
3798 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
3799 case 0: {
3800 if (mmc__uniontype__metarecord__typedef__equal(tmp3_1,0,4)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))==(((4 +1) <<
10) + (((0 +3) & 255) << 2)))
== 0) goto tmp2_end;
3801 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
3802 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(3)))))
;
3803
3804 _lhs = tmpMeta[1];
3805 _rhs = tmpMeta[2];
3806 /* Pattern matching succeeded */
3807#line 1611 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
3808 _expLst1 = omc_Expression_allTerms(threadData, _lhs);
3809#line 3809 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
3810
3811#line 1612 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
3812 _expLst1 = omc_List_map(threadData, _expLst1, boxvar_Expression_negate((void*)((char*)(&(boxvar_lit_Expression_negate).header) +
3))
);
3813#line 3813 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
3814
3815#line 1613 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
3816 _expLst2 = omc_Expression_allTerms(threadData, _rhs);
3817#line 3817 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
3818
3819#line 1614 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
3820 /* Pattern-matching assignment */
3821#line 1614 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
3822 tmpMeta[1] = listAppend(_expLst1, _expLst2);
3823#line 1614 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
3824 _expLst1 = tmpMeta[1];
3825#line 3825 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
3826#line 1615 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
3827 tmpMeta[0] = _expLst1;
3828#line 3828 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
3829 goto tmp2_done;
3830 }
3831 case 1: {
3832
3833 /* Pattern matching succeeded */
3834#line 1618 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
3835 tmpMeta[1] = stringAppend(_OMC_LIT69((void*)((char*)(&(_OMC_LIT_STRUCT69).header) + 3)),omc_BackendDump_equationString(threadData, _eq));
3836#line 1618 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
3837 tmpMeta[2] = stringAppend(tmpMeta[1],_OMC_LIT70((void*)((char*)(&(_OMC_LIT_STRUCT70).header) + 3)));
3838#line 1618 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
3839 fputs(MMC_STRINGDATA(tmpMeta[2])(((struct mmc_string*)((void*)((char*)(tmpMeta[2]) - 3)))->
data)
,stdoutstdout);
3840#line 3840 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
3841#line 1619 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
3842 tmpMeta[1] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
3843#line 1619 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
3844 tmpMeta[0] = tmpMeta[1];
3845#line 3845 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
3846 goto tmp2_done;
3847 }
3848 }
3849 goto tmp2_end;
3850 tmp2_end: ;
3851 }
3852 goto goto_1;
3853 tmp2_done:
3854 (void)tmp3;
3855 MMC_RESTORE_INTERNAL(mmc_jumper)threadData->mmc_jumper = old_jumper;;
3856 goto tmp2_done2;
3857 goto_1:;
3858 MMC_CATCH_INTERNAL(mmc_jumper)} threadData->mmc_jumper = old_jumper;mmc_catch_dummy_fn()
;}
;
3859 if (++tmp3 < 2) {
3860 goto tmp2_top;
3861 }
3862 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
3863 tmp2_done2:;
3864 }
3865 }
3866 _exps = tmpMeta[0];
3867 _return: OMC_LABEL_UNUSED__attribute__((unused))
3868 return _exps;
3869}
3870
3871PROTECTED_FUNCTION_STATIC modelica_metatype omc_HpcOmEqSystems_getCallExpLst(threadData_t *threadData, modelica_metatype _eIn, modelica_metatype _eLstIn, modelica_metatype *out_eLstOut)
3872{
3873 modelica_metatype _eOut = NULL((void*)0);
3874 modelica_metatype _eLstOut = NULL((void*)0);
3875 modelica_metatype tmpMeta[3] __attribute__((unused)) = {0};
3876 MMC_SO()mmc_check_stackoverflow(threadData);
3877 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
3878 // _eOut has no default value.
3879 // _eLstOut has no default value.
3880#line 1589 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
3881
3882#line 1589 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
3883
3884#line 3884 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
3885 { /* matchcontinue expression */
3886 volatile modelica_metatype tmp4_1;
3887 tmp4_1 = _eIn;
3888 {
3889 modelica_metatype _expLst = NULL((void*)0);
3890 volatile mmc_switch_type tmp4;
3891 int tmp5;
3892 // _expLst has no default value.
3893 tmp4 = 0;
3894 MMC_TRY_INTERNAL(mmc_jumper){ jmp_buf new_mmc_jumper, *old_jumper __attribute__((unused))
= threadData->mmc_jumper; threadData->mmc_jumper = &
new_mmc_jumper; if (_setjmp (new_mmc_jumper) == 0) {
3895 tmp3_top:
3896 threadData->mmc_jumper = &new_mmc_jumper;
3897 for (; tmp4 < 2; tmp4++) {
3898 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
3899 case 0: {
3900 if (mmc__uniontype__metarecord__typedef__equal(tmp4_1,13,3)((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))==(((3 +1) <<
10) + (((13 +3) & 255) << 2)))
== 0) goto tmp3_end;
3901 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(3)))))
;
3902
3903 _expLst = tmpMeta[2];
3904 /* Pattern matching succeeded */
3905#line 1593 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
3906 tmpMeta[0+0] = _eIn;
3907#line 1593 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
3908 tmpMeta[0+1] = listAppend(_expLst, _eLstIn);
3909#line 3909 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
3910 goto tmp3_done;
3911 }
3912 case 1: {
3913
3914 /* Pattern matching succeeded */
3915#line 1595 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
3916 tmpMeta[0+0] = _eIn;
3917#line 1595 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
3918 tmpMeta[0+1] = _eLstIn;
3919#line 3919 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
3920 goto tmp3_done;
3921 }
3922 }
3923 goto tmp3_end;
3924 tmp3_end: ;
3925 }
3926 goto goto_2;
3927 tmp3_done:
3928 (void)tmp4;
3929 MMC_RESTORE_INTERNAL(mmc_jumper)threadData->mmc_jumper = old_jumper;;
3930 goto tmp3_done2;
3931 goto_2:;
3932 MMC_CATCH_INTERNAL(mmc_jumper)} threadData->mmc_jumper = old_jumper;mmc_catch_dummy_fn()
;}
;
3933 if (++tmp4 < 2) {
3934 goto tmp3_top;
3935 }
3936 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
3937 tmp3_done2:;
3938 }
3939 }
3940 _eOut = tmpMeta[0+0];
3941 _eLstOut = tmpMeta[0+1];
3942 _return: OMC_LABEL_UNUSED__attribute__((unused))
3943 if (out_eLstOut) { *out_eLstOut = _eLstOut; }
3944 return _eOut;
3945}
3946
3947PROTECTED_FUNCTION_STATIC modelica_boolean omc_HpcOmEqSystems_containsFunctioncallOfCref(threadData_t *threadData, modelica_metatype _expIn, modelica_metatype _cref)
3948{
3949 modelica_boolean _hasCrefInCall;
3950 modelica_metatype _expLst = NULL((void*)0);
3951 modelica_metatype tmpMeta[1] __attribute__((unused)) = {0};
3952 MMC_SO()mmc_check_stackoverflow(threadData);
3953 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
3954 // _hasCrefInCall has no default value.
3955 // _expLst has no default value.
3956#line 1574 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
3957 if(omc_Expression_containFunctioncall(threadData, _expIn))
3958#line 1574 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
3959 {
3960#line 1575 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
3961 tmpMeta[0] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
3962#line 1575 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
3963 omc_Expression_traverseExpBottomUp(threadData, _expIn, boxvar_HpcOmEqSystems_getCallExpLst((void*)((char*)(&(boxvar_lit_HpcOmEqSystems_getCallExpLst
).header) + 3))
, tmpMeta[0] ,&_expLst);
3964#line 3964 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
3965
3966#line 1576 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
3967 _hasCrefInCall = mmc_unbox_boolean(omc_List_fold(threadData, omc_List_map1(threadData, _expLst, boxvar_Expression_expHasCref, _cref), boxvar_boolOr, mmc_mk_boolean(0)))(((mmc_sint_t) (omc_List_fold(threadData, omc_List_map1(threadData
, _expLst, ((void*)((char*)(&(boxvar_lit_Expression_expHasCref
).header) + 3)), _cref), ((void*)((char*)(&(boxvar_lit_boolOr
).header) + 3)), ((0) != 0 ? (mmc_mk_icon(1)) : (mmc_mk_icon(
0)))))) >> 1)
;
3968#line 3968 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
3969 }
3970 else
3971 {
3972#line 1578 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
3973 _hasCrefInCall = 0;
3974#line 3974 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
3975 }
3976 _return: OMC_LABEL_UNUSED__attribute__((unused))
3977 return _hasCrefInCall;
3978}
3979PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_HpcOmEqSystems_containsFunctioncallOfCref(threadData_t *threadData, modelica_metatype _expIn, modelica_metatype _cref)
3980{
3981 modelica_boolean _hasCrefInCall;
3982 modelica_metatype out_hasCrefInCall;
3983 _hasCrefInCall = omc_HpcOmEqSystems_containsFunctioncallOfCref(threadData, _expIn, _cref);
3984 out_hasCrefInCall = mmc_mk_icon(_hasCrefInCall);
3985 return out_hasCrefInCall;
3986}
3987
3988PROTECTED_FUNCTION_STATIC modelica_metatype omc_HpcOmEqSystems_getEqSystem3(threadData_t *threadData, modelica_metatype _cref, modelica_metatype _foldIn)
3989{
3990 modelica_metatype _foldOut = NULL((void*)0);
3991 modelica_metatype _coeff = NULL((void*)0);
3992 modelica_metatype _allTerms = NULL((void*)0);
3993 modelica_metatype _coeffs = NULL((void*)0);
3994 modelica_metatype _coeffsIn = NULL((void*)0);
3995 modelica_metatype tmpMeta[3] __attribute__((unused)) = {0};
3996 MMC_SO()mmc_check_stackoverflow(threadData);
3997 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
3998 // _foldOut has no default value.
3999 // _coeff has no default value.
4000 // _allTerms has no default value.
4001 // _coeffs has no default value.
4002 // _coeffsIn has no default value.
4003#line 1554 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
4004 /* Pattern-matching assignment */
4005#line 1554 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
4006 tmpMeta[0] = _foldIn;
4007#line 1554 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
4008 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (1)))))
;
4009#line 1554 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
4010 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (2)))))
;
4011#line 1554 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
4012 _allTerms = tmpMeta[1];
4013#line 1554 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
4014 _coeffsIn = tmpMeta[2];
4015#line 4015 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
4016
4017#line 1555 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
4018 _coeffs = omc_List_extract1OnTrue(threadData, _allTerms, boxvar_Expression_expHasCref((void*)((char*)(&(boxvar_lit_Expression_expHasCref).header
) + 3))
, _cref ,&_allTerms);
4019#line 4019 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
4020
4021#line 1556 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
4022 _coeff = omc_List_fold(threadData, _coeffs, boxvar_Expression_expAdd((void*)((char*)(&(boxvar_lit_Expression_expAdd).header) +
3))
, _OMC_LIT63((void*)((char*)(&(_OMC_LIT_STRUCT63).header) + 3)));
4023#line 4023 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
4024
4025#line 1557 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
4026 if(omc_HpcOmEqSystems_containsFunctioncallOfCref(threadData, _coeff, _cref))
4027#line 1557 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
4028 {
4029#line 1558 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
4030 fputs(MMC_STRINGDATA(_OMC_LIT71)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT71).header) + 3))) - 3)))->data)
,stdoutstdout);
4031#line 4031 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
4032
4033#line 1559 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
4034 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
4035#line 4035 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
4036 }
4037
4038#line 1561 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
4039 /* Pattern-matching assignment */
4040#line 1561 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
4041 tmpMeta[0] = omc_Expression_replaceExp(threadData, _coeff, omc_Expression_crefExp(threadData, _cref), _OMC_LIT73((void*)((char*)(&(_OMC_LIT_STRUCT73).header) + 3)));
4042#line 1561 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
4043 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (1)))))
;
4044#line 1561 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
4045 _coeff = tmpMeta[1];
4046#line 4046 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
4047
4048#line 1562 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
4049 _coeff = omc_ExpressionSimplify_simplify(threadData, _coeff, NULL((void*)0));
4050#line 4050 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
4051
4052#line 1563 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
4053 tmpMeta[0] = mmc_mk_cons(_coeff, _coeffsIn);
4054#line 1563 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
4055 tmpMeta[1] = mmc_mk_box2(0, _allTerms, tmpMeta[0]);
4056#line 1563 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
4057 _foldOut = tmpMeta[1];
4058#line 4058 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
4059 _return: OMC_LABEL_UNUSED__attribute__((unused))
4060 return _foldOut;
4061}
4062
4063PROTECTED_FUNCTION_STATIC modelica_metatype omc_HpcOmEqSystems_getEqSystem2(threadData_t *threadData, modelica_metatype _eq, modelica_metatype _crefs, modelica_metatype _foldIn)
4064{
4065 modelica_metatype _foldOut = NULL((void*)0);
4066 modelica_integer _idx;
4067 modelica_integer _dim;
4068 modelica_metatype _summands = NULL((void*)0);
4069 modelica_metatype _coeffs = NULL((void*)0);
4070 modelica_metatype _offsetLst = NULL((void*)0);
4071 modelica_metatype _offset = NULL((void*)0);
4072 modelica_metatype _sys = NULL((void*)0);
4073 modelica_metatype _matrixA = NULL((void*)0);
4074 modelica_metatype _vectorB = NULL((void*)0);
4075 modelica_metatype _vectorX = NULL((void*)0);
4076 modelica_integer tmp1;
4077 modelica_integer tmp2;
4078 modelica_metatype tmpMeta[5] __attribute__((unused)) = {0};
4079 MMC_SO()mmc_check_stackoverflow(threadData);
4080 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
4081 // _foldOut has no default value.
4082 // _idx has no default value.
4083 // _dim has no default value.
4084 // _summands has no default value.
4085 // _coeffs has no default value.
4086 // _offsetLst has no default value.
4087 // _offset has no default value.
4088 // _sys has no default value.
4089 // _matrixA has no default value.
4090 // _vectorB has no default value.
4091 // _vectorX has no default value.
4092#line 1531 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
4093 /* Pattern-matching assignment */
4094#line 1531 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
4095 tmpMeta[0] = _foldIn;
4096#line 1531 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
4097 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (1)))))
;
4098#line 1531 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
4099 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (2)))))
;
4100#line 1531 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
4101 tmp1 = mmc_unbox_integer(tmpMeta[2])(((mmc_sint_t) (tmpMeta[2])) >> 1);
4102#line 1531 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
4103 _sys = tmpMeta[1];
4104#line 1531 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
4105 _idx = tmp1 /* pattern as ty=Integer */;
4106#line 4106 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
4107
4108#line 1532 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
4109 _summands = omc_HpcOmEqSystems_getSummands(threadData, _eq);
4110#line 4110 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
4111
4112#line 1533 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
4113 _summands = omc_List_map__2(threadData, _summands, boxvar_ExpressionSimplify_simplify((void*)((char*)(&(boxvar_lit_ExpressionSimplify_simplify
).header) + 3))
, NULL((void*)0));
4114#line 4114 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
4115
4116#line 1534 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
4117 /* Pattern-matching assignment */
4118#line 1534 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
4119 tmpMeta[0] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
4120#line 1534 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
4121 tmpMeta[1] = mmc_mk_box2(0, _summands, tmpMeta[0]);
4122#line 1534 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
4123 tmpMeta[2] = omc_List_fold(threadData, _crefs, boxvar_HpcOmEqSystems_getEqSystem3((void*)((char*)(&(boxvar_lit_HpcOmEqSystems_getEqSystem3
).header) + 3))
, tmpMeta[1]);
4124#line 1534 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
4125 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (1)))))
;
4126#line 1534 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
4127 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (2)))))
;
4128#line 1534 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
4129 _offsetLst = tmpMeta[3];
4130#line 1534 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
4131 _coeffs = tmpMeta[4];
4132#line 4132 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
4133
4134#line 1535 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
4135 if(listEmpty(_offsetLst)((*(mmc_uint_t*)((void*)((char*)(_offsetLst) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
)
4136#line 1535 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
4137 {
4138#line 1535 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
4139 _offset = _OMC_LIT63((void*)((char*)(&(_OMC_LIT_STRUCT63).header) + 3));
4140#line 4140 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
4141 }
4142 else
4143 {
4144#line 1535 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
4145 /* Pattern-matching assignment */
4146#line 1535 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
4147 tmpMeta[0] = _offsetLst;
4148#line 1535 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
4149 if (listEmpty(tmpMeta[0])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[0]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
4150#line 1535 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
4151 tmpMeta[1] = MMC_CAR(tmpMeta[0])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (1)))))
;
4152#line 1535 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
4153 tmpMeta[2] = MMC_CDR(tmpMeta[0])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (2)))))
;
4154#line 1535 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
4155 _offset = tmpMeta[1];
4156#line 1535 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
4157 _offsetLst = tmpMeta[2];
4158#line 4158 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
4159 }
4160
4161#line 1536 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
4162 _offset = omc_List_fold(threadData, _offsetLst, boxvar_Expression_expAdd((void*)((char*)(&(boxvar_lit_Expression_expAdd).header) +
3))
, _offset);
4163#line 4163 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
4164
4165#line 1537 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
4166 _offset = omc_Expression_negate(threadData, _offset);
4167#line 4167 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
4168
4169#line 1538 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
4170 /* Pattern-matching assignment */
4171#line 1538 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
4172 tmpMeta[0] = _sys;
4173#line 1538 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
4174 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (2)))))
;
4175#line 1538 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
4176 tmp2 = mmc_unbox_integer(tmpMeta[1])(((mmc_sint_t) (tmpMeta[1])) >> 1);
4177#line 1538 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
4178 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (3)))))
;
4179#line 1538 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
4180 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (4)))))
;
4181#line 1538 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
4182 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 5))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (5)))))
;
4183#line 1538 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
4184 _dim = tmp2 /* pattern as ty=Integer */;
4185#line 1538 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
4186 _matrixA = tmpMeta[2];
4187#line 1538 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
4188 _vectorB = tmpMeta[3];
4189#line 1538 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
4190 _vectorX = tmpMeta[4];
4191#line 4191 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
4192
4193#line 1539 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
4194 _matrixA = arrayUpdate(_matrixA, _idx, listReverse(_coeffs))boxptr_arrayUpdate(threadData,_matrixA,mmc_mk_icon(_idx),listReverse
(_coeffs))
;
4195#line 4195 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
4196
4197#line 1540 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
4198 _vectorB = arrayUpdate(_vectorB, _idx, _offset)boxptr_arrayUpdate(threadData,_vectorB,mmc_mk_icon(_idx),_offset
)
;
4199#line 4199 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
4200
4201#line 1541 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
4202 tmpMeta[0] = mmc_mk_box5(3, &HpcOmEqSystems_EqSys_LINSYS__desc, mmc_mk_integermmc_mk_icon(_dim), _matrixA, _vectorB, _vectorX);
4203#line 1541 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
4204 _sys = tmpMeta[0];
4205#line 4205 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
4206
4207#line 1542 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
4208 tmpMeta[0] = mmc_mk_box2(0, _sys, mmc_mk_integermmc_mk_icon(((modelica_integer) 1) + _idx));
4209#line 1542 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
4210 _foldOut = tmpMeta[0];
4211#line 4211 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
4212 _return: OMC_LABEL_UNUSED__attribute__((unused))
4213 return _foldOut;
4214}
4215
4216PROTECTED_FUNCTION_STATIC modelica_metatype omc_HpcOmEqSystems_createEqSystem(threadData_t *threadData, modelica_metatype _varLst)
4217{
4218 modelica_metatype _sys = NULL((void*)0);
4219 modelica_integer _dim;
4220 modelica_metatype _matrixA = NULL((void*)0);
4221 modelica_metatype _vectorB = NULL((void*)0);
4222 modelica_metatype _vectorX = NULL((void*)0);
4223 modelica_metatype tmpMeta[1] __attribute__((unused)) = {0};
4224 MMC_SO()mmc_check_stackoverflow(threadData);
4225 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
4226 // _sys has no default value.
4227 // _dim has no default value.
4228 // _matrixA has no default value.
4229 // _vectorB has no default value.
4230 // _vectorX has no default value.
4231#line 1509 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
4232 _dim = listLength(_varLst);
4233#line 4233 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
4234
4235#line 1510 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
4236 tmpMeta[0] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
4237#line 1510 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
4238 _matrixA = arrayCreate(_dim, tmpMeta[0]);
4239#line 4239 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
4240
4241#line 1511 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
4242 _vectorB = arrayCreate(_dim, _OMC_LIT63((void*)((char*)(&(_OMC_LIT_STRUCT63).header) + 3)));
4243#line 4243 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
4244
4245#line 1512 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
4246 tmpMeta[0] = mmc_mk_box5(3, &HpcOmEqSystems_EqSys_LINSYS__desc, mmc_mk_integermmc_mk_icon(_dim), _matrixA, _vectorB, listArray(_varLst));
4247#line 1512 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
4248 _sys = tmpMeta[0];
4249#line 4249 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
4250 _return: OMC_LABEL_UNUSED__attribute__((unused))
4251 return _sys;
4252}
4253
4254PROTECTED_FUNCTION_STATIC modelica_metatype omc_HpcOmEqSystems_getEqSystem(threadData_t *threadData, modelica_metatype _eqLst, modelica_metatype _varLst)
4255{
4256 modelica_metatype _syst = NULL((void*)0);
4257 modelica_metatype _crefs = NULL((void*)0);
4258 modelica_metatype tmpMeta[3] __attribute__((unused)) = {0};
4259 MMC_SO()mmc_check_stackoverflow(threadData);
4260 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
4261 // _syst has no default value.
4262 // _crefs has no default value.
4263#line 1495 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
4264 _syst = omc_HpcOmEqSystems_createEqSystem(threadData, _varLst);
4265#line 4265 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
4266
4267#line 1496 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
4268 _crefs = omc_List_map(threadData, _varLst, boxvar_BackendVariable_varCref((void*)((char*)(&(boxvar_lit_BackendVariable_varCref).header
) + 3))
);
4269#line 4269 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
4270
4271#line 1497 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
4272 /* Pattern-matching assignment */
4273#line 1497 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
4274 tmpMeta[0] = mmc_mk_box2(0, _syst, mmc_mk_integermmc_mk_icon(((modelica_integer) 1)));
4275#line 1497 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
4276 tmpMeta[1] = omc_List_fold1(threadData, _eqLst, boxvar_HpcOmEqSystems_getEqSystem2((void*)((char*)(&(boxvar_lit_HpcOmEqSystems_getEqSystem2
).header) + 3))
, _crefs, tmpMeta[0]);
4277#line 1497 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
4278 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[1]), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (1)))))
;
4279#line 1497 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
4280 _syst = tmpMeta[2];
4281#line 4281 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
4282 _return: OMC_LABEL_UNUSED__attribute__((unused))
4283 return _syst;
4284}
4285
4286PROTECTED_FUNCTION_STATIC modelica_metatype omc_HpcOmEqSystems_replaceOtherVarsWithPrefixCref(threadData_t *threadData, modelica_integer _indxIn, modelica_string _prefix, modelica_metatype _oVarCRefLstIn, modelica_metatype _tplIn)
4287{
4288 modelica_metatype _tplOut = NULL((void*)0);
4289 modelica_metatype _replVarLstIn = NULL((void*)0);
4290 modelica_metatype _replVarLstOut = NULL((void*)0);
4291 modelica_metatype _replVar = NULL((void*)0);
4292 modelica_metatype _replacementIn = NULL((void*)0);
4293 modelica_metatype _replacementOut = NULL((void*)0);
4294 modelica_metatype _cRef = NULL((void*)0);
4295 modelica_metatype _oVarCRef = NULL((void*)0);
4296 modelica_metatype _varExp = NULL((void*)0);
4297 modelica_metatype _ty = NULL((void*)0);
4298 modelica_metatype tmpMeta[3] __attribute__((unused)) = {0};
4299 MMC_SO()mmc_check_stackoverflow(threadData);
4300 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
4301 // _tplOut has no default value.
4302 // _replVarLstIn has no default value.
4303 // _replVarLstOut has no default value.
4304 // _replVar has no default value.
4305 // _replacementIn has no default value.
4306 // _replacementOut has no default value.
4307 // _cRef has no default value.
4308 // _oVarCRef has no default value.
4309 // _varExp has no default value.
4310 // _ty has no default value.
4311#line 1469 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
4312 /* Pattern-matching assignment */
4313#line 1469 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
4314 tmpMeta[0] = _tplIn;
4315#line 1469 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
4316 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (1)))))
;
4317#line 1469 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
4318 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (2)))))
;
4319#line 1469 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
4320 _replVarLstIn = tmpMeta[1];
4321#line 1469 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
4322 _replacementIn = tmpMeta[2];
4323#line 4323 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
4324
4325#line 1470 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
4326 _oVarCRef = listGet(_oVarCRefLstIn, _indxIn)boxptr_listGet(threadData,_oVarCRefLstIn,mmc_mk_icon(_indxIn)
)
;
4327#line 4327 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
4328
4329#line 1471 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
4330 tmpMeta[0] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
4331#line 1471 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
4332 _cRef = omc_ComponentReference_makeCrefQual(threadData, _prefix, _OMC_LIT76((void*)((char*)(&(_OMC_LIT_STRUCT76).header) + 3)), tmpMeta[0], _oVarCRef);
4333#line 4333 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
4334
4335#line 1472 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
4336 _cRef = omc_ComponentReference_replaceSubsWithString(threadData, _cRef);
4337#line 4337 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
4338
4339#line 1473 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
4340 _cRef = omc_ComponentReference_crefSetLastType(threadData, _cRef, _OMC_LIT77((void*)((char*)(&(_OMC_LIT_STRUCT77).header) + 3)));
4341#line 4341 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
4342
4343#line 1474 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
4344 _varExp = omc_Expression_crefExp(threadData, _cRef);
4345#line 4345 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
4346
4347#line 1475 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
4348 _replacementOut = omc_BackendVarTransform_addReplacement(threadData, _replacementIn, _oVarCRef, _varExp, mmc_mk_none()((void*)((char*)(&(mmc_none).header) + 3)));
4349#line 4349 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
4350
4351#line 1476 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
4352 _ty = omc_ComponentReference_crefLastType(threadData, _cRef);
4353#line 4353 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
4354
4355#line 1477 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
4356 tmpMeta[0] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
4357#line 1477 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
4358 tmpMeta[1] = mmc_mk_box17(3, &BackendDAE_Var_VAR__desc, _cRef, _OMC_LIT50((void*)((char*)(&(_OMC_LIT_STRUCT50).header) + 3)), _OMC_LIT51((void*)((char*)(&(_OMC_LIT_STRUCT51).header) + 3)), _OMC_LIT52((void*)((char*)(&(_OMC_LIT_STRUCT52).header) + 3)), _ty, mmc_mk_none()((void*)((char*)(&(mmc_none).header) + 3)), mmc_mk_none()((void*)((char*)(&(mmc_none).header) + 3)), tmpMeta[0], _OMC_LIT44((void*)((char*)(&(_OMC_LIT_STRUCT44).header) + 3)), mmc_mk_none()((void*)((char*)(&(mmc_none).header) + 3)), mmc_mk_none()((void*)((char*)(&(mmc_none).header) + 3)), _OMC_LIT53((void*)((char*)(&(_OMC_LIT_STRUCT53).header) + 3)), mmc_mk_none()((void*)((char*)(&(mmc_none).header) + 3)), _OMC_LIT54((void*)((char*)(&(_OMC_LIT_STRUCT54).header) + 3)), _OMC_LIT55((void*)((char*)(&(_OMC_LIT_STRUCT55).header) + 3)), mmc_mk_boolean(0)((0) != 0 ? (mmc_mk_icon(1)) : (mmc_mk_icon(0))));
4359#line 1477 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
4360 _replVar = tmpMeta[1];
4361#line 4361 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
4362
4363#line 1478 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
4364 _replVar = omc_BackendVariable_setVarStartValue(threadData, _replVar, _OMC_LIT63((void*)((char*)(&(_OMC_LIT_STRUCT63).header) + 3)));
4365#line 4365 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
4366
4367#line 1479 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
4368 tmpMeta[0] = mmc_mk_cons(_replVar, _replVarLstIn);
4369#line 1479 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
4370 _replVarLstOut = tmpMeta[0];
4371#line 4371 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
4372
4373#line 1480 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
4374 tmpMeta[0] = mmc_mk_box2(0, _replVarLstOut, _replacementOut);
4375#line 1480 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
4376 _tplOut = tmpMeta[0];
4377#line 4377 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
4378 _return: OMC_LABEL_UNUSED__attribute__((unused))
4379 return _tplOut;
4380}
4381PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_HpcOmEqSystems_replaceOtherVarsWithPrefixCref(threadData_t *threadData, modelica_metatype _indxIn, modelica_metatype _prefix, modelica_metatype _oVarCRefLstIn, modelica_metatype _tplIn)
4382{
4383 modelica_integer tmp1;
4384 modelica_metatype _tplOut = NULL((void*)0);
4385 tmp1 = mmc_unbox_integer(_indxIn)(((mmc_sint_t) (_indxIn)) >> 1);
4386 _tplOut = omc_HpcOmEqSystems_replaceOtherVarsWithPrefixCref(threadData, tmp1, _prefix, _oVarCRefLstIn, _tplIn);
4387 /* skip box _tplOut; tuple<list<BackendDAE.Var>, BackendVarTransform.VariableReplacements> */
4388 return _tplOut;
4389}
4390
4391PROTECTED_FUNCTION_STATIC modelica_metatype omc_HpcOmEqSystems_replaceTVarWithReal(threadData_t *threadData, modelica_metatype _tVarCRefIn, modelica_real _realIn, modelica_metatype _replacementIn)
4392{
4393 modelica_metatype _replacementOut = NULL((void*)0);
4394 modelica_metatype tmpMeta[1] __attribute__((unused)) = {0};
4395 MMC_SO()mmc_check_stackoverflow(threadData);
4396 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
4397 // _replacementOut has no default value.
4398#line 1449 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
4399 tmpMeta[0] = mmc_mk_box2(4, &DAE_Exp_RCONST__desc, mmc_mk_realmmc_mk_rcon(_realIn));
4400#line 1449 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
4401 _replacementOut = omc_BackendVarTransform_addReplacement(threadData, _replacementIn, _tVarCRefIn, tmpMeta[0], mmc_mk_none()((void*)((char*)(&(mmc_none).header) + 3)));
4402#line 4402 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
4403 _return: OMC_LABEL_UNUSED__attribute__((unused))
4404 return _replacementOut;
4405}
4406PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_HpcOmEqSystems_replaceTVarWithReal(threadData_t *threadData, modelica_metatype _tVarCRefIn, modelica_metatype _realIn, modelica_metatype _replacementIn)
4407{
4408 modelica_real tmp1;
4409 modelica_metatype _replacementOut = NULL((void*)0);
4410 tmp1 = mmc_unbox_real(_realIn)mmc_prim_get_real(_realIn);
4411 _replacementOut = omc_HpcOmEqSystems_replaceTVarWithReal(threadData, _tVarCRefIn, tmp1, _replacementIn);
4412 /* skip box _replacementOut; BackendVarTransform.VariableReplacements */
4413 return _replacementOut;
4414}
4415
4416PROTECTED_FUNCTION_STATIC modelica_metatype omc_HpcOmEqSystems_getAlgebraicEquationsForEI(threadData_t *threadData, modelica_metatype _iIn, modelica_integer _size, modelica_metatype _otherEqLstIn, modelica_metatype _tvarLstIn, modelica_metatype _tVarCRefLstIn, modelica_metatype _otherVarLstIn, modelica_metatype _oVarCRefLstIn, modelica_metatype _g_iArrIn, modelica_metatype _xa_iArrIn, modelica_metatype _replacementArrIn, modelica_integer _tornSysIdx, modelica_metatype *out_xa_i_Out, modelica_metatype *out_replacementArrOut)
4417{
4418 modelica_metatype _g_i_Out = NULL((void*)0);
4419 modelica_metatype _xa_i_Out = NULL((void*)0);
4420 modelica_metatype _replacementArrOut = NULL((void*)0);
4421 modelica_metatype tmpMeta[10] __attribute__((unused)) = {0};
4422 MMC_SO()mmc_check_stackoverflow(threadData);
4423 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
4424 // _g_i_Out has no default value.
4425 // _xa_i_Out has no default value.
4426 // _replacementArrOut has no default value.
4427#line 1369 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
4428
4429#line 1369 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
4430
4431#line 1369 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
4432
4433#line 4433 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
4434 { /* matchcontinue expression */
4435 volatile modelica_metatype tmp4_1;
4436 tmp4_1 = _iIn;
4437 {
4438 modelica_integer _iValue;
4439 modelica_string _str1 = NULL((void*)0);
4440 modelica_metatype _iLstRest = NULL((void*)0);
4441 modelica_metatype _gEqLstTmp = NULL((void*)0);
4442 modelica_metatype _xaVarLstTmp = NULL((void*)0);
4443 modelica_metatype _replArrTmp = NULL((void*)0);
4444 modelica_metatype _tVarCRefLst1 = NULL((void*)0);
4445 modelica_metatype _g_iArrTmp = NULL((void*)0);
4446 modelica_metatype _xa_iArrTmp = NULL((void*)0);
4447 modelica_metatype _replTmp = NULL((void*)0);
4448 modelica_metatype _tVarCRef = NULL((void*)0);
4449 volatile mmc_switch_type tmp4;
4450 int tmp5;
4451 // _iValue has no default value.
4452 // _str1 has no default value.
4453 // _iLstRest has no default value.
4454 // _gEqLstTmp has no default value.
4455 // _xaVarLstTmp has no default value.
4456 // _replArrTmp has no default value.
4457 // _tVarCRefLst1 has no default value.
4458 // _g_iArrTmp has no default value.
4459 // _xa_iArrTmp has no default value.
4460 // _replTmp has no default value.
4461 // _tVarCRef has no default value.
4462 tmp4 = 0;
4463 MMC_TRY_INTERNAL(mmc_jumper){ jmp_buf new_mmc_jumper, *old_jumper __attribute__((unused))
= threadData->mmc_jumper; threadData->mmc_jumper = &
new_mmc_jumper; if (_setjmp (new_mmc_jumper) == 0) {
4464 tmp3_top:
4465 threadData->mmc_jumper = &new_mmc_jumper;
4466 for (; tmp4 < 4; tmp4++) {
4467 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
4468 case 0: {
4469 if (!listEmpty(tmp4_1)((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp3_end;
4470 tmp4 += 2; /* Pattern matching succeeded; we may skip some cases if we fail */
4471#line 1389 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
4472 tmpMeta[0+0] = _g_iArrIn;
4473#line 1389 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
4474 tmpMeta[0+1] = _xa_iArrIn;
4475#line 1389 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
4476 tmpMeta[0+2] = _replacementArrIn;
4477#line 4477 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
4478 goto tmp3_done;
4479 }
4480 case 1: {
4481 modelica_integer tmp6;
4482 modelica_boolean tmp7;
4483 modelica_boolean tmp8;
4484 if (listEmpty(tmp4_1)((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp3_end;
4485 tmpMeta[3] = MMC_CAR(tmp4_1)(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(1)))))
;
4486 tmpMeta[4] = MMC_CDR(tmp4_1)(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(2)))))
;
4487 tmp6 = mmc_unbox_integer(tmpMeta[3])(((mmc_sint_t) (tmpMeta[3])) >> 1);
4488 _iValue = tmp6 /* pattern as ty=Integer */;
4489 _iLstRest = tmpMeta[4];
4490 /* Pattern matching succeeded */
4491#line 1395 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
4492 /* Pattern-matching assignment */
4493#line 1395 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
4494 tmp7 = (_iValue == ((modelica_integer) 0));
4495#line 1395 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
4496 if (1 != tmp7) goto goto_2;
4497#line 4497 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
4498
4499#line 1396 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
4500 _replTmp = omc_BackendVarTransform_emptyReplacementsSized(threadData, _size);
4501#line 4501 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
4502
4503#line 1397 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
4504 _replTmp = omc_List_fold1(threadData, _tVarCRefLstIn, boxvar_HpcOmEqSystems_replaceTVarWithReal((void*)((char*)(&(boxvar_lit_HpcOmEqSystems_replaceTVarWithReal
).header) + 3))
, _OMC_LIT41((void*)((char*)(&(_OMC_LIT_STRUCT41).header) + 3)), _replTmp);
4505#line 4505 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
4506
4507#line 1398 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
4508 /* Pattern-matching assignment */
4509#line 1398 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
4510 tmpMeta[3] = stringAppend(_OMC_LIT78((void*)((char*)(&(_OMC_LIT_STRUCT78).header) + 3)),intString(_tornSysIdx));
4511#line 1398 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
4512 tmpMeta[4] = stringAppend(tmpMeta[3],_OMC_LIT79((void*)((char*)(&(_OMC_LIT_STRUCT79).header) + 3)));
4513#line 1398 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
4514 tmpMeta[5] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
4515#line 1398 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
4516 tmpMeta[6] = mmc_mk_box2(0, tmpMeta[5], _replTmp);
4517#line 1398 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
4518 tmpMeta[7] = omc_List_fold2(threadData, omc_List_intRange(threadData, listLength(_oVarCRefLstIn)), boxvar_HpcOmEqSystems_replaceOtherVarsWithPrefixCref((void*)((char*)(&(boxvar_lit_HpcOmEqSystems_replaceOtherVarsWithPrefixCref
).header) + 3))
, tmpMeta[4], _oVarCRefLstIn, tmpMeta[6]);
4519#line 1398 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
4520 tmpMeta[8] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[7]), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[7]) - 3
))) + (1)))))
;
4521#line 1398 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
4522 tmpMeta[9] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[7]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[7]) - 3
))) + (2)))))
;
4523#line 1398 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
4524 _xaVarLstTmp = tmpMeta[8];
4525#line 1398 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
4526 _replTmp = tmpMeta[9];
4527#line 4527 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
4528
4529#line 1399 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
4530 /* Pattern-matching tuple assignment */
4531#line 1399 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
4532 tmpMeta[3] = omc_BackendVarTransform_replaceEquations(threadData, _otherEqLstIn, _replTmp, mmc_mk_none()((void*)((char*)(&(mmc_none).header) + 3)), &tmp8);
4533#line 1399 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
4534 _gEqLstTmp = tmpMeta[3];
4535#line 1399 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
4536 if (1 != tmp8) goto goto_2;
4537#line 4537 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
4538
4539#line 1403 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
4540 _g_iArrTmp = arrayUpdate(_g_iArrIn, ((modelica_integer) 1) + _iValue, _gEqLstTmp)boxptr_arrayUpdate(threadData,_g_iArrIn,mmc_mk_icon(((modelica_integer
) 1) + _iValue),_gEqLstTmp)
;
4541#line 4541 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
4542
4543#line 1404 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
4544 _xa_iArrTmp = arrayUpdate(_xa_iArrIn, ((modelica_integer) 1) + _iValue, _xaVarLstTmp)boxptr_arrayUpdate(threadData,_xa_iArrIn,mmc_mk_icon(((modelica_integer
) 1) + _iValue),_xaVarLstTmp)
;
4545#line 4545 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
4546
4547#line 1405 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
4548 _replArrTmp = arrayUpdate(_replacementArrIn, ((modelica_integer) 1) + _iValue, _replTmp)boxptr_arrayUpdate(threadData,_replacementArrIn,mmc_mk_icon((
(modelica_integer) 1) + _iValue),_replTmp)
;
4549#line 4549 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
4550#line 1406 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
4551 tmpMeta[0+0] = omc_HpcOmEqSystems_getAlgebraicEquationsForEI(threadData, _iLstRest, _size, _otherEqLstIn, _tvarLstIn, _tVarCRefLstIn, _otherVarLstIn, _oVarCRefLstIn, _g_iArrTmp, _xa_iArrTmp, _replArrTmp, _tornSysIdx, &tmpMeta[0+1], &tmpMeta[0+2]);
4552#line 4552 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
4553 goto tmp3_done;
4554 }
4555 case 2: {
4556 modelica_integer tmp9;
4557 modelica_boolean tmp10;
4558 modelica_boolean tmp11;
4559 if (listEmpty(tmp4_1)((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp3_end;
4560 tmpMeta[3] = MMC_CAR(tmp4_1)(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(1)))))
;
4561 tmpMeta[4] = MMC_CDR(tmp4_1)(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(2)))))
;
4562 tmp9 = mmc_unbox_integer(tmpMeta[3])(((mmc_sint_t) (tmpMeta[3])) >> 1);
4563 _iValue = tmp9 /* pattern as ty=Integer */;
4564 _iLstRest = tmpMeta[4];
4565 /* Pattern matching succeeded */
4566#line 1413 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
4567 /* Pattern-matching assignment */
4568#line 1413 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
4569 tmp10 = (_iValue > ((modelica_integer) 0));
4570#line 1413 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
4571 if (1 != tmp10) goto goto_2;
4572#line 4572 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
4573
4574#line 1414 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
4575 tmpMeta[3] = stringAppend(_OMC_LIT78((void*)((char*)(&(_OMC_LIT_STRUCT78).header) + 3)),intString(_tornSysIdx));
4576#line 1414 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
4577 tmpMeta[4] = stringAppend(tmpMeta[3],intString(_iValue));
4578#line 1414 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
4579 _str1 = tmpMeta[4];
4580#line 4580 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
4581
4582#line 1415 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
4583 tmpMeta[3] = stringAppend(_OMC_LIT80((void*)((char*)(&(_OMC_LIT_STRUCT80).header) + 3)),intString(_tornSysIdx));
4584#line 1415 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
4585 tmpMeta[4] = stringAppend(tmpMeta[3],intString(_iValue));
4586#line 1415 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
4587 tmpMeta[4];
4588#line 4588 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
4589
4590#line 1416 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
4591 _tVarCRef = listGet(_tVarCRefLstIn, _iValue)boxptr_listGet(threadData,_tVarCRefLstIn,mmc_mk_icon(_iValue)
)
;
4592#line 4592 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
4593
4594#line 1417 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
4595 _tVarCRefLst1 = listDelete(_tVarCRefLstIn, _iValue)boxptr_listDelete(threadData,_tVarCRefLstIn,mmc_mk_icon(_iValue
))
;
4596#line 4596 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
4597
4598#line 1418 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
4599 _replTmp = omc_BackendVarTransform_emptyReplacementsSized(threadData, _size);
4600#line 4600 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
4601
4602#line 1419 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
4603 _replTmp = omc_HpcOmEqSystems_replaceTVarWithReal(threadData, _tVarCRef, 1.0, _replTmp);
4604#line 4604 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
4605
4606#line 1420 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
4607 _replTmp = omc_List_fold1(threadData, _tVarCRefLst1, boxvar_HpcOmEqSystems_replaceTVarWithReal((void*)((char*)(&(boxvar_lit_HpcOmEqSystems_replaceTVarWithReal
).header) + 3))
, _OMC_LIT41((void*)((char*)(&(_OMC_LIT_STRUCT41).header) + 3)), _replTmp);
4608#line 4608 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
4609
4610#line 1421 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
4611 /* Pattern-matching assignment */
4612#line 1421 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
4613 tmpMeta[3] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
4614#line 1421 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
4615 tmpMeta[4] = mmc_mk_box2(0, tmpMeta[3], _replTmp);
4616#line 1421 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
4617 tmpMeta[5] = omc_List_fold2(threadData, omc_List_intRange(threadData, listLength(_oVarCRefLstIn)), boxvar_HpcOmEqSystems_replaceOtherVarsWithPrefixCref((void*)((char*)(&(boxvar_lit_HpcOmEqSystems_replaceOtherVarsWithPrefixCref
).header) + 3))
, _str1, _oVarCRefLstIn, tmpMeta[4]);
4618#line 1421 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
4619 tmpMeta[6] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[5]), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[5]) - 3
))) + (1)))))
;
4620#line 1421 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
4621 tmpMeta[7] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[5]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[5]) - 3
))) + (2)))))
;
4622#line 1421 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
4623 _xaVarLstTmp = tmpMeta[6];
4624#line 1421 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
4625 _replTmp = tmpMeta[7];
4626#line 4626 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
4627
4628#line 1422 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
4629 /* Pattern-matching tuple assignment */
4630#line 1422 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
4631 tmpMeta[3] = omc_BackendVarTransform_replaceEquations(threadData, _otherEqLstIn, _replTmp, mmc_mk_none()((void*)((char*)(&(mmc_none).header) + 3)), &tmp11);
4632#line 1422 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
4633 _gEqLstTmp = tmpMeta[3];
4634#line 1422 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
4635 if (1 != tmp11) goto goto_2;
4636#line 4636 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
4637
4638#line 1423 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
4639 _g_iArrTmp = arrayUpdate(_g_iArrIn, ((modelica_integer) 1) + _iValue, _gEqLstTmp)boxptr_arrayUpdate(threadData,_g_iArrIn,mmc_mk_icon(((modelica_integer
) 1) + _iValue),_gEqLstTmp)
;
4640#line 4640 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
4641
4642#line 1424 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
4643 _xa_iArrTmp = arrayUpdate(_xa_iArrIn, ((modelica_integer) 1) + _iValue, _xaVarLstTmp)boxptr_arrayUpdate(threadData,_xa_iArrIn,mmc_mk_icon(((modelica_integer
) 1) + _iValue),_xaVarLstTmp)
;
4644#line 4644 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
4645
4646#line 1425 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
4647 _replArrTmp = arrayUpdate(_replacementArrIn, ((modelica_integer) 1) + _iValue, _replTmp)boxptr_arrayUpdate(threadData,_replacementArrIn,mmc_mk_icon((
(modelica_integer) 1) + _iValue),_replTmp)
;
4648#line 4648 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
4649#line 1429 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
4650 tmpMeta[0+0] = omc_HpcOmEqSystems_getAlgebraicEquationsForEI(threadData, _iLstRest, _size, _otherEqLstIn, _tvarLstIn, _tVarCRefLstIn, _otherVarLstIn, _oVarCRefLstIn, _g_iArrTmp, _xa_iArrTmp, _replArrTmp, _tornSysIdx, &tmpMeta[0+1], &tmpMeta[0+2]);
4651#line 4651 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
4652 goto tmp3_done;
4653 }
4654 case 3: {
4655
4656 /* Pattern matching succeeded */
4657#line 1435 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
4658 fputs(MMC_STRINGDATA(_OMC_LIT81)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT81).header) + 3))) - 3)))->data)
,stdoutstdout);
4659#line 4659 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
4660#line 1436 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
4661 goto goto_2;
4662#line 4662 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
4663 goto tmp3_done;
4664 }
4665 }
4666 goto tmp3_end;
4667 tmp3_end: ;
4668 }
4669 goto goto_2;
4670 tmp3_done:
4671 (void)tmp4;
4672 MMC_RESTORE_INTERNAL(mmc_jumper)threadData->mmc_jumper = old_jumper;;
4673 goto tmp3_done2;
4674 goto_2:;
4675 MMC_CATCH_INTERNAL(mmc_jumper)} threadData->mmc_jumper = old_jumper;mmc_catch_dummy_fn()
;}
;
4676 if (++tmp4 < 4) {
4677 goto tmp3_top;
4678 }
4679 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
4680 tmp3_done2:;
4681 }
4682 }
4683 _g_i_Out = tmpMeta[0+0];
4684 _xa_i_Out = tmpMeta[0+1];
4685 _replacementArrOut = tmpMeta[0+2];
4686 _return: OMC_LABEL_UNUSED__attribute__((unused))
4687 if (out_xa_i_Out) { *out_xa_i_Out = _xa_i_Out; }
4688 if (out_replacementArrOut) { *out_replacementArrOut = _replacementArrOut; }
4689 return _g_i_Out;
4690}
4691PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_HpcOmEqSystems_getAlgebraicEquationsForEI(threadData_t *threadData, modelica_metatype _iIn, modelica_metatype _size, modelica_metatype _otherEqLstIn, modelica_metatype _tvarLstIn, modelica_metatype _tVarCRefLstIn, modelica_metatype _otherVarLstIn, modelica_metatype _oVarCRefLstIn, modelica_metatype _g_iArrIn, modelica_metatype _xa_iArrIn, modelica_metatype _replacementArrIn, modelica_metatype _tornSysIdx, modelica_metatype *out_xa_i_Out, modelica_metatype *out_replacementArrOut)
4692{
4693 modelica_integer tmp1;
4694 modelica_integer tmp2;
4695 modelica_metatype _g_i_Out = NULL((void*)0);
4696 tmp1 = mmc_unbox_integer(_size)(((mmc_sint_t) (_size)) >> 1);
4697 tmp2 = mmc_unbox_integer(_tornSysIdx)(((mmc_sint_t) (_tornSysIdx)) >> 1);
4698 _g_i_Out = omc_HpcOmEqSystems_getAlgebraicEquationsForEI(threadData, _iIn, tmp1, _otherEqLstIn, _tvarLstIn, _tVarCRefLstIn, _otherVarLstIn, _oVarCRefLstIn, _g_iArrIn, _xa_iArrIn, _replacementArrIn, tmp2, out_xa_i_Out, out_replacementArrOut);
4699 /* skip box _g_i_Out; array<list<BackendDAE.Equation>> */
4700 /* skip box _xa_i_Out; array<list<BackendDAE.Var>> */
4701 /* skip box _replacementArrOut; array<BackendVarTransform.VariableReplacements> */
4702 return _g_i_Out;
4703}
4704
4705PROTECTED_FUNCTION_STATIC modelica_metatype omc_HpcOmEqSystems_eqInFrontList(threadData_t *threadData, modelica_metatype _eqIn, modelica_metatype _lstLstIn)
4706{
4707 modelica_metatype _lstLstOut = NULL((void*)0);
4708 modelica_metatype tmpMeta[2] __attribute__((unused)) = {0};
4709 MMC_SO()mmc_check_stackoverflow(threadData);
4710 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
4711 // _lstLstOut has no default value.
4712#line 4712 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
4713 { /* matchcontinue expression */
4714 volatile modelica_metatype tmp3_1;
4715 tmp3_1 = _lstLstIn;
4716 {
4717 modelica_metatype _eqLst = NULL((void*)0);
4718 volatile mmc_switch_type tmp3;
4719 int tmp4;
4720 // _eqLst has no default value.
4721 tmp3 = 0;
4722 MMC_TRY_INTERNAL(mmc_jumper){ jmp_buf new_mmc_jumper, *old_jumper __attribute__((unused))
= threadData->mmc_jumper; threadData->mmc_jumper = &
new_mmc_jumper; if (_setjmp (new_mmc_jumper) == 0) {
4723 tmp2_top:
4724 threadData->mmc_jumper = &new_mmc_jumper;
4725 for (; tmp3 < 2; tmp3++) {
4726 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
4727 case 0: {
4728 if (!listEmpty(tmp3_1)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp2_end;
4729 /* Pattern matching succeeded */
4730#line 1337 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
4731 tmpMeta[0] = _lstLstIn;
4732#line 4732 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
4733 goto tmp2_done;
4734 }
4735 case 1: {
4736
4737 /* Pattern matching succeeded */
4738#line 1341 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
4739 _eqLst = listHead(_lstLstIn)boxptr_listHead(threadData,_lstLstIn);
4740#line 4740 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
4741
4742#line 1342 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
4743 tmpMeta[1] = mmc_mk_cons(_eqIn, _eqLst);
4744#line 1342 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
4745 _eqLst = tmpMeta[1];
4746#line 4746 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
4747#line 1343 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
4748 tmpMeta[0] = omc_List_replaceAt(threadData, _eqLst, ((modelica_integer) 1), _lstLstIn);
4749#line 4749 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
4750 goto tmp2_done;
4751 }
4752 }
4753 goto tmp2_end;
4754 tmp2_end: ;
4755 }
4756 goto goto_1;
4757 tmp2_done:
4758 (void)tmp3;
4759 MMC_RESTORE_INTERNAL(mmc_jumper)threadData->mmc_jumper = old_jumper;;
4760 goto tmp2_done2;
4761 goto_1:;
4762 MMC_CATCH_INTERNAL(mmc_jumper)} threadData->mmc_jumper = old_jumper;mmc_catch_dummy_fn()
;}
;
4763 if (++tmp3 < 2) {
4764 goto tmp2_top;
4765 }
4766 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
4767 tmp2_done2:;
4768 }
4769 }
4770 _lstLstOut = tmpMeta[0];
4771 _return: OMC_LABEL_UNUSED__attribute__((unused))
4772 return _lstLstOut;
4773}
4774
4775PROTECTED_FUNCTION_STATIC modelica_metatype omc_HpcOmEqSystems_varInFrontList(threadData_t *threadData, modelica_metatype _varIn, modelica_metatype _lstLstIn)
4776{
4777 modelica_metatype _lstLstOut = NULL((void*)0);
4778 modelica_metatype tmpMeta[2] __attribute__((unused)) = {0};
4779 MMC_SO()mmc_check_stackoverflow(threadData);
4780 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
4781 // _lstLstOut has no default value.
4782#line 4782 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
4783 { /* matchcontinue expression */
4784 volatile modelica_metatype tmp3_1;
4785 tmp3_1 = _lstLstIn;
4786 {
4787 modelica_metatype _varLst = NULL((void*)0);
4788 volatile mmc_switch_type tmp3;
4789 int tmp4;
4790 // _varLst has no default value.
4791 tmp3 = 0;
4792 MMC_TRY_INTERNAL(mmc_jumper){ jmp_buf new_mmc_jumper, *old_jumper __attribute__((unused))
= threadData->mmc_jumper; threadData->mmc_jumper = &
new_mmc_jumper; if (_setjmp (new_mmc_jumper) == 0) {
4793 tmp2_top:
4794 threadData->mmc_jumper = &new_mmc_jumper;
4795 for (; tmp3 < 2; tmp3++) {
4796 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
4797 case 0: {
4798 if (!listEmpty(tmp3_1)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp2_end;
4799 /* Pattern matching succeeded */
4800#line 1314 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
4801 tmpMeta[0] = _lstLstIn;
4802#line 4802 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
4803 goto tmp2_done;
4804 }
4805 case 1: {
4806
4807 /* Pattern matching succeeded */
4808#line 1318 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
4809 _varLst = listHead(_lstLstIn)boxptr_listHead(threadData,_lstLstIn);
4810#line 4810 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
4811
4812#line 1319 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
4813 tmpMeta[1] = mmc_mk_cons(_varIn, _varLst);
4814#line 1319 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
4815 _varLst = tmpMeta[1];
4816#line 4816 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
4817#line 1320 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
4818 tmpMeta[0] = omc_List_replaceAt(threadData, _varLst, ((modelica_integer) 1), _lstLstIn);
4819#line 4819 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
4820 goto tmp2_done;
4821 }
4822 }
4823 goto tmp2_end;
4824 tmp2_end: ;
4825 }
4826 goto goto_1;
4827 tmp2_done:
4828 (void)tmp3;
4829 MMC_RESTORE_INTERNAL(mmc_jumper)threadData->mmc_jumper = old_jumper;;
4830 goto tmp2_done2;
4831 goto_1:;
4832 MMC_CATCH_INTERNAL(mmc_jumper)} threadData->mmc_jumper = old_jumper;mmc_catch_dummy_fn()
;}
;
4833 if (++tmp3 < 2) {
4834 goto tmp2_top;
4835 }
4836 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
4837 tmp2_done2:;
4838 }
4839 }
4840 _lstLstOut = tmpMeta[0];
4841 _return: OMC_LABEL_UNUSED__attribute__((unused))
4842 return _lstLstOut;
4843}
4844
4845PROTECTED_FUNCTION_STATIC modelica_metatype omc_HpcOmEqSystems_getResidualExpressionForEquation(threadData_t *threadData, modelica_metatype _eq)
4846{
4847 modelica_metatype _exp = NULL((void*)0);
4848 modelica_metatype tmpMeta[3] __attribute__((unused)) = {0};
4849 MMC_SO()mmc_check_stackoverflow(threadData);
4850 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
4851 // _exp has no default value.
4852#line 4852 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
4853 { /* match expression */
4854 modelica_metatype tmp3_1;
4855 tmp3_1 = _eq;
4856 {
4857 modelica_metatype _lhs = NULL((void*)0);
4858 modelica_metatype _rhs = NULL((void*)0);
4859 modelica_metatype _ty = NULL((void*)0);
4860 volatile mmc_switch_type tmp3;
4861 int tmp4;
4862 // _lhs has no default value.
4863 // _rhs has no default value.
4864 // _ty has no default value.
4865 tmp3 = 0;
4866 for (; tmp3 < 2; tmp3++) {
4867 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
4868 case 0: {
4869 if (mmc__uniontype__metarecord__typedef__equal(tmp3_1,0,4)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))==(((4 +1) <<
10) + (((0 +3) & 255) << 2)))
== 0) goto tmp2_end;
4870 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
4871 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(3)))))
;
4872
4873 _lhs = tmpMeta[1];
4874 _rhs = tmpMeta[2];
4875 /* Pattern matching succeeded */
4876#line 1292 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
4877 _ty = omc_Expression_typeof(threadData, _lhs);
4878#line 4878 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
4879
4880#line 1293 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
4881 tmpMeta[1] = mmc_mk_box2(4, &DAE_Operator_SUB__desc, _ty);
4882#line 1293 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
4883 tmpMeta[2] = mmc_mk_box4(10, &DAE_Exp_BINARY__desc, _rhs, tmpMeta[1], _lhs);
4884#line 1293 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
4885 _rhs = tmpMeta[2];
4886#line 4886 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
4887#line 1294 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
4888 tmpMeta[0] = omc_ExpressionSimplify_simplify(threadData, _rhs, NULL((void*)0));
4889#line 4889 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
4890 goto tmp2_done;
4891 }
4892 case 1: {
4893
4894 /* Pattern matching succeeded */
4895#line 1298 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
4896 fputs(MMC_STRINGDATA(_OMC_LIT82)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT82).header) + 3))) - 3)))->data)
,stdoutstdout);
4897#line 4897 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
4898#line 1299 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
4899 goto goto_1;
4900#line 4900 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
4901 goto tmp2_done;
4902 }
4903 }
4904 goto tmp2_end;
4905 tmp2_end: ;
4906 }
4907 goto goto_1;
4908 goto_1:;
4909 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
4910 goto tmp2_done;
4911 tmp2_done:;
4912 }
4913 }
4914 _exp = tmpMeta[0];
4915 _return: OMC_LABEL_UNUSED__attribute__((unused))
4916 return _exp;
4917}
4918
4919PROTECTED_FUNCTION_STATIC modelica_metatype omc_HpcOmEqSystems_getResidualExpressions1(threadData_t *threadData, modelica_integer _i, modelica_metatype _resExpsIn, modelica_metatype _replArr, modelica_metatype _h_iArrIn)
4920{
4921 modelica_metatype _h_iArrOut = NULL((void*)0);
4922 modelica_metatype _repl = NULL((void*)0);
4923 modelica_metatype _h_i = NULL((void*)0);
4924 modelica_metatype _h_iArr = NULL((void*)0);
4925 modelica_metatype tmpMeta[1] __attribute__((unused)) = {0};
4926 MMC_SO()mmc_check_stackoverflow(threadData);
4927 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
4928 // _h_iArrOut has no default value.
4929 // _repl has no default value.
4930 // _h_i has no default value.
4931 // _h_iArr has no default value.
4932#line 4932 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
4933 { /* matchcontinue expression */
4934 {
4935 volatile mmc_switch_type tmp3;
4936 int tmp4;
4937 tmp3 = 0;
4938 MMC_TRY_INTERNAL(mmc_jumper){ jmp_buf new_mmc_jumper, *old_jumper __attribute__((unused))
= threadData->mmc_jumper; threadData->mmc_jumper = &
new_mmc_jumper; if (_setjmp (new_mmc_jumper) == 0) {
4939 tmp2_top:
4940 threadData->mmc_jumper = &new_mmc_jumper;
4941 for (; tmp3 < 2; tmp3++) {
4942 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
4943 case 0: {
4944 /* Pattern matching succeeded */
4945#line 1269 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
4946 _repl = arrayGet(_replArr, ((modelica_integer) 1) + _i)nobox_arrayGet(threadData,_replArr,((modelica_integer) 1) + _i
)
;
4947#line 4947 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
4948
4949#line 1270 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
4950 _h_i = omc_BackendVarTransform_replaceExpList1(threadData, _resExpsIn, _repl, mmc_mk_none()((void*)((char*)(&(mmc_none).header) + 3)), NULL((void*)0));
4951#line 4951 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
4952#line 1271 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
4953 tmpMeta[0] = arrayUpdate(_h_iArrIn, ((modelica_integer) 1) + _i, _h_i)boxptr_arrayUpdate(threadData,_h_iArrIn,mmc_mk_icon(((modelica_integer
) 1) + _i),_h_i)
;
4954#line 4954 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
4955 goto tmp2_done;
4956 }
4957 case 1: {
4958 /* Pattern matching succeeded */
4959#line 1275 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
4960 fputs(MMC_STRINGDATA(_OMC_LIT83)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT83).header) + 3))) - 3)))->data)
,stdoutstdout);
4961#line 4961 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
4962#line 1276 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
4963 goto goto_1;
4964#line 4964 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
4965 goto tmp2_done;
4966 }
4967 }
4968 goto tmp2_end;
4969 tmp2_end: ;
4970 }
4971 goto goto_1;
4972 tmp2_done:
4973 (void)tmp3;
4974 MMC_RESTORE_INTERNAL(mmc_jumper)threadData->mmc_jumper = old_jumper;;
4975 goto tmp2_done2;
4976 goto_1:;
4977 MMC_CATCH_INTERNAL(mmc_jumper)} threadData->mmc_jumper = old_jumper;mmc_catch_dummy_fn()
;}
;
4978 if (++tmp3 < 2) {
4979 goto tmp2_top;
4980 }
4981 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
4982 tmp2_done2:;
4983 }
4984 }
4985 _h_iArrOut = tmpMeta[0];
4986 _return: OMC_LABEL_UNUSED__attribute__((unused))
4987 return _h_iArrOut;
4988}
4989PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_HpcOmEqSystems_getResidualExpressions1(threadData_t *threadData, modelica_metatype _i, modelica_metatype _resExpsIn, modelica_metatype _replArr, modelica_metatype _h_iArrIn)
4990{
4991 modelica_integer tmp1;
4992 modelica_metatype _h_iArrOut = NULL((void*)0);
4993 tmp1 = mmc_unbox_integer(_i)(((mmc_sint_t) (_i)) >> 1);
4994 _h_iArrOut = omc_HpcOmEqSystems_getResidualExpressions1(threadData, tmp1, _resExpsIn, _replArr, _h_iArrIn);
4995 /* skip box _h_iArrOut; array<list<DAE.Exp>> */
4996 return _h_iArrOut;
4997}
4998
4999PROTECTED_FUNCTION_STATIC modelica_metatype omc_HpcOmEqSystems_getResidualExpressions(threadData_t *threadData, modelica_metatype _iIn, modelica_metatype _resEqLstIn, modelica_metatype _replArrIn, modelica_metatype _h_iArrIn)
5000{
5001 modelica_metatype _h_iArrOut = NULL((void*)0);
5002 modelica_metatype _resExps = NULL((void*)0);
5003 MMC_SO()mmc_check_stackoverflow(threadData);
5004 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
5005 // _h_iArrOut has no default value.
5006 // _resExps has no default value.
5007#line 1248 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
5008 _resExps = omc_List_map(threadData, _resEqLstIn, boxvar_HpcOmEqSystems_getResidualExpressionForEquation((void*)((char*)(&(boxvar_lit_HpcOmEqSystems_getResidualExpressionForEquation
).header) + 3))
);
5009#line 5009 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
5010
5011#line 1249 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
5012 _h_iArrOut = omc_List_fold2(threadData, _iIn, boxvar_HpcOmEqSystems_getResidualExpressions1((void*)((char*)(&(boxvar_lit_HpcOmEqSystems_getResidualExpressions1
).header) + 3))
, _resExps, _replArrIn, _h_iArrIn);
5013#line 5013 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
5014 _return: OMC_LABEL_UNUSED__attribute__((unused))
5015 return _h_iArrOut;
5016}
5017
5018PROTECTED_FUNCTION_STATIC modelica_metatype omc_HpcOmEqSystems_varExp(threadData_t *threadData, modelica_metatype _varIn)
5019{
5020 modelica_metatype _expOut = NULL((void*)0);
5021 modelica_metatype _cr = NULL((void*)0);
5022 modelica_metatype _ty = NULL((void*)0);
5023 modelica_metatype tmpMeta[1] __attribute__((unused)) = {0};
5024 MMC_SO()mmc_check_stackoverflow(threadData);
5025 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
5026 // _expOut has no default value.
5027 // _cr has no default value.
5028 // _ty has no default value.
5029#line 1233 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
5030 _ty = omc_BackendVariable_varType(threadData, _varIn);
5031#line 5031 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
5032
5033#line 1234 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
5034 _cr = omc_BackendVariable_varCref(threadData, _varIn);
5035#line 5035 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
5036
5037#line 1235 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
5038 tmpMeta[0] = mmc_mk_box3(9, &DAE_Exp_CREF__desc, _cr, _ty);
5039#line 1235 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
5040 _expOut = tmpMeta[0];
5041#line 5041 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
5042 _return: OMC_LABEL_UNUSED__attribute__((unused))
5043 return _expOut;
5044}
5045
5046PROTECTED_FUNCTION_STATIC modelica_metatype omc_HpcOmEqSystems_getTornSystemCoefficients1(threadData_t *threadData, modelica_metatype _resIdxLst, modelica_integer _iIdx, modelica_metatype _h_iArr, modelica_metatype _hs_iArrIn, modelica_metatype _a_iArrIn, modelica_integer _tornSysIdx, modelica_metatype *out_a_iArrOut)
5047{
5048 modelica_metatype _hs_iArrOut = NULL((void*)0);
5049 modelica_metatype _a_iArrOut = NULL((void*)0);
5050 modelica_metatype tmpMeta[7] __attribute__((unused)) = {0};
5051 MMC_SO()mmc_check_stackoverflow(threadData);
5052 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
5053 // _hs_iArrOut has no default value.
5054 // _a_iArrOut has no default value.
5055#line 1137 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
5056
5057#line 1137 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
5058
5059#line 5059 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
5060 { /* matchcontinue expression */
5061 volatile modelica_metatype tmp4_1;
5062 tmp4_1 = _resIdxLst;
5063 {
5064 modelica_integer _resIdx;
5065 modelica_string _aName = NULL((void*)0);
5066 modelica_metatype _resIdxRest = NULL((void*)0);
5067 modelica_metatype _hs_iArrTmp = NULL((void*)0);
5068 modelica_metatype _a_iArrTmp = NULL((void*)0);
5069 modelica_metatype _hs_iTmp = NULL((void*)0);
5070 modelica_metatype _a_iTmp = NULL((void*)0);
5071 modelica_metatype _d_lst = NULL((void*)0);
5072 modelica_metatype _hs_ii = NULL((void*)0);
5073 modelica_metatype _a_ii = NULL((void*)0);
5074 modelica_metatype _dVar = NULL((void*)0);
5075 modelica_metatype _aCRef = NULL((void*)0);
5076 modelica_metatype _lhs = NULL((void*)0);
5077 modelica_metatype _rhs = NULL((void*)0);
5078 modelica_metatype _dExp = NULL((void*)0);
5079 modelica_metatype _ty = NULL((void*)0);
5080 volatile mmc_switch_type tmp4;
5081 int tmp5;
5082 // _resIdx has no default value.
5083 // _aName has no default value.
5084 // _resIdxRest has no default value.
5085 // _hs_iArrTmp has no default value.
5086 // _a_iArrTmp has no default value.
5087 // _hs_iTmp has no default value.
5088 // _a_iTmp has no default value.
5089 // _d_lst has no default value.
5090 // _hs_ii has no default value.
5091 // _a_ii has no default value.
5092 // _dVar has no default value.
5093 // _aCRef has no default value.
5094 // _lhs has no default value.
5095 // _rhs has no default value.
5096 // _dExp has no default value.
5097 // _ty has no default value.
5098 tmp4 = 0;
5099 MMC_TRY_INTERNAL(mmc_jumper){ jmp_buf new_mmc_jumper, *old_jumper __attribute__((unused))
= threadData->mmc_jumper; threadData->mmc_jumper = &
new_mmc_jumper; if (_setjmp (new_mmc_jumper) == 0) {
5100 tmp3_top:
5101 threadData->mmc_jumper = &new_mmc_jumper;
5102 for (; tmp4 < 4; tmp4++) {
5103 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
5104 case 0: {
5105 if (!listEmpty(tmp4_1)((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp3_end;
5106 tmp4 += 2; /* Pattern matching succeeded; we may skip some cases if we fail */
5107#line 1153 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
5108 tmpMeta[0+0] = _hs_iArrIn;
5109#line 1153 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
5110 tmpMeta[0+1] = _a_iArrIn;
5111#line 5111 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
5112 goto tmp3_done;
5113 }
5114 case 1: {
5115 modelica_integer tmp6;
5116 modelica_boolean tmp7;
5117 if (listEmpty(tmp4_1)((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp3_end;
5118 tmpMeta[2] = MMC_CAR(tmp4_1)(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(1)))))
;
5119 tmpMeta[3] = MMC_CDR(tmp4_1)(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(2)))))
;
5120 tmp6 = mmc_unbox_integer(tmpMeta[2])(((mmc_sint_t) (tmpMeta[2])) >> 1);
5121 _resIdx = tmp6 /* pattern as ty=Integer */;
5122 _resIdxRest = tmpMeta[3];
5123 /* Pattern matching succeeded */
5124#line 1157 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
5125 /* Pattern-matching assignment */
5126#line 1157 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
5127 tmp7 = (((modelica_integer) 0) == _iIdx);
5128#line 1157 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
5129 if (1 != tmp7) goto goto_2;
5130#line 5130 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
5131
5132#line 1159 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
5133 tmpMeta[2] = stringAppend(_OMC_LIT84((void*)((char*)(&(_OMC_LIT_STRUCT84).header) + 3)),intString(_tornSysIdx));
5134#line 1159 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
5135 tmpMeta[3] = stringAppend(tmpMeta[2],_OMC_LIT21((void*)((char*)(&(_OMC_LIT_STRUCT21).header) + 3)));
5136#line 1159 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
5137 tmpMeta[4] = stringAppend(tmpMeta[3],intString(_resIdx));
5138#line 1159 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
5139 tmpMeta[5] = stringAppend(tmpMeta[4],_OMC_LIT21((void*)((char*)(&(_OMC_LIT_STRUCT21).header) + 3)));
5140#line 1159 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
5141 tmpMeta[6] = stringAppend(tmpMeta[5],intString(_iIdx));
5142#line 1159 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
5143 _aName = tmpMeta[6];
5144#line 5144 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
5145
5146#line 1160 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
5147 _ty = _OMC_LIT77((void*)((char*)(&(_OMC_LIT_STRUCT77).header) + 3));
5148#line 5148 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
5149
5150#line 1161 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
5151 tmpMeta[2] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
5152#line 1161 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
5153 _aCRef = omc_ComponentReference_makeCrefIdent(threadData, _aName, _ty, tmpMeta[2]);
5154#line 5154 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
5155
5156#line 1162 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
5157 tmpMeta[2] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
5158#line 1162 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
5159 tmpMeta[3] = mmc_mk_box17(3, &BackendDAE_Var_VAR__desc, _aCRef, _OMC_LIT50((void*)((char*)(&(_OMC_LIT_STRUCT50).header) + 3)), _OMC_LIT51((void*)((char*)(&(_OMC_LIT_STRUCT51).header) + 3)), _OMC_LIT52((void*)((char*)(&(_OMC_LIT_STRUCT52).header) + 3)), _ty, mmc_mk_none()((void*)((char*)(&(mmc_none).header) + 3)), mmc_mk_none()((void*)((char*)(&(mmc_none).header) + 3)), tmpMeta[2], _OMC_LIT44((void*)((char*)(&(_OMC_LIT_STRUCT44).header) + 3)), mmc_mk_none()((void*)((char*)(&(mmc_none).header) + 3)), mmc_mk_none()((void*)((char*)(&(mmc_none).header) + 3)), _OMC_LIT53((void*)((char*)(&(_OMC_LIT_STRUCT53).header) + 3)), mmc_mk_none()((void*)((char*)(&(mmc_none).header) + 3)), _OMC_LIT54((void*)((char*)(&(_OMC_LIT_STRUCT54).header) + 3)), _OMC_LIT55((void*)((char*)(&(_OMC_LIT_STRUCT55).header) + 3)), mmc_mk_boolean(0)((0) != 0 ? (mmc_mk_icon(1)) : (mmc_mk_icon(0))));
5160#line 1162 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
5161 _a_ii = tmpMeta[3];
5162#line 5162 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
5163
5164#line 1163 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
5165 _a_ii = omc_BackendVariable_setVarStartValue(threadData, _a_ii, _OMC_LIT63((void*)((char*)(&(_OMC_LIT_STRUCT63).header) + 3)));
5166#line 5166 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
5167
5168#line 1166 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
5169 _lhs = omc_HpcOmEqSystems_varExp(threadData, _a_ii);
5170#line 5170 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
5171
5172#line 1167 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
5173 _rhs = listGet(arrayGet(_h_iArr, ((modelica_integer) 1) + _iIdx), _resIdx)boxptr_listGet(threadData,nobox_arrayGet(threadData,_h_iArr,(
(modelica_integer) 1) + _iIdx),mmc_mk_icon(_resIdx))
;
5174#line 5174 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
5175
5176#line 1168 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
5177 _rhs = omc_ExpressionSimplify_simplify(threadData, _rhs, NULL((void*)0));
5178#line 5178 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
5179
5180#line 1169 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
5181 tmpMeta[2] = mmc_mk_box5(3, &BackendDAE_Equation_EQUATION__desc, _lhs, _rhs, _OMC_LIT44((void*)((char*)(&(_OMC_LIT_STRUCT44).header) + 3)), _OMC_LIT57((void*)((char*)(&(_OMC_LIT_STRUCT57).header) + 3)));
5182#line 1169 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
5183 _hs_ii = tmpMeta[2];
5184#line 5184 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
5185
5186#line 1172 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
5187 _hs_iTmp = arrayGet(_hs_iArrIn, ((modelica_integer) 1) + _iIdx)nobox_arrayGet(threadData,_hs_iArrIn,((modelica_integer) 1) +
_iIdx)
;
5188#line 5188 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
5189
5190#line 1173 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
5191 tmpMeta[2] = mmc_mk_cons(_hs_ii, _hs_iTmp);
5192#line 1173 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
5193 _hs_iTmp = tmpMeta[2];
5194#line 5194 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
5195
5196#line 1174 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
5197 _hs_iArrTmp = arrayUpdate(_hs_iArrIn, ((modelica_integer) 1) + _iIdx, _hs_iTmp)boxptr_arrayUpdate(threadData,_hs_iArrIn,mmc_mk_icon(((modelica_integer
) 1) + _iIdx),_hs_iTmp)
;
5198#line 5198 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
5199
5200#line 1175 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
5201 _a_iArrTmp = _a_iArrIn;
5202#line 5202 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
5203
5204#line 1176 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
5205 _a_iTmp = arrayGet(_a_iArrIn, ((modelica_integer) 1) + _iIdx)nobox_arrayGet(threadData,_a_iArrIn,((modelica_integer) 1) + _iIdx
)
;
5206#line 5206 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
5207
5208#line 1177 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
5209 tmpMeta[2] = mmc_mk_cons(_a_ii, _a_iTmp);
5210#line 1177 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
5211 _a_iTmp = tmpMeta[2];
5212#line 5212 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
5213
5214#line 1178 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
5215 _a_iArrTmp = arrayUpdate(_a_iArrIn, ((modelica_integer) 1) + _iIdx, _a_iTmp)boxptr_arrayUpdate(threadData,_a_iArrIn,mmc_mk_icon(((modelica_integer
) 1) + _iIdx),_a_iTmp)
;
5216#line 5216 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
5217#line 1181 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
5218 tmpMeta[0+0] = omc_HpcOmEqSystems_getTornSystemCoefficients1(threadData, _resIdxRest, _iIdx, _h_iArr, _hs_iArrTmp, _a_iArrTmp, _tornSysIdx, &tmpMeta[0+1]);
5219#line 5219 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
5220 goto tmp3_done;
5221 }
5222 case 2: {
5223 modelica_integer tmp8;
5224 modelica_boolean tmp9;
5225 if (listEmpty(tmp4_1)((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp3_end;
5226 tmpMeta[2] = MMC_CAR(tmp4_1)(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(1)))))
;
5227 tmpMeta[3] = MMC_CDR(tmp4_1)(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(2)))))
;
5228 tmp8 = mmc_unbox_integer(tmpMeta[2])(((mmc_sint_t) (tmpMeta[2])) >> 1);
5229 _resIdx = tmp8 /* pattern as ty=Integer */;
5230 _resIdxRest = tmpMeta[3];
5231 /* Pattern matching succeeded */
5232#line 1186 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
5233 /* Pattern-matching assignment */
5234#line 1186 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
5235 tmp9 = (_iIdx > ((modelica_integer) 0));
5236#line 1186 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
5237 if (1 != tmp9) goto goto_2;
5238#line 5238 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
5239
5240#line 1188 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
5241 tmpMeta[2] = stringAppend(_OMC_LIT84((void*)((char*)(&(_OMC_LIT_STRUCT84).header) + 3)),intString(_tornSysIdx));
5242#line 1188 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
5243 tmpMeta[3] = stringAppend(tmpMeta[2],_OMC_LIT21((void*)((char*)(&(_OMC_LIT_STRUCT21).header) + 3)));
5244#line 1188 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
5245 tmpMeta[4] = stringAppend(tmpMeta[3],intString(_resIdx));
5246#line 1188 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
5247 tmpMeta[5] = stringAppend(tmpMeta[4],_OMC_LIT21((void*)((char*)(&(_OMC_LIT_STRUCT21).header) + 3)));
5248#line 1188 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
5249 tmpMeta[6] = stringAppend(tmpMeta[5],intString(_iIdx));
5250#line 1188 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
5251 _aName = tmpMeta[6];
5252#line 5252 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
5253
5254#line 1189 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
5255 _ty = _OMC_LIT77((void*)((char*)(&(_OMC_LIT_STRUCT77).header) + 3));
5256#line 5256 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
5257
5258#line 1190 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
5259 tmpMeta[2] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
5260#line 1190 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
5261 _aCRef = omc_ComponentReference_makeCrefIdent(threadData, _aName, _ty, tmpMeta[2]);
5262#line 5262 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
5263
5264#line 1191 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
5265 tmpMeta[2] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
5266#line 1191 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
5267 tmpMeta[3] = mmc_mk_box17(3, &BackendDAE_Var_VAR__desc, _aCRef, _OMC_LIT50((void*)((char*)(&(_OMC_LIT_STRUCT50).header) + 3)), _OMC_LIT51((void*)((char*)(&(_OMC_LIT_STRUCT51).header) + 3)), _OMC_LIT52((void*)((char*)(&(_OMC_LIT_STRUCT52).header) + 3)), _ty, mmc_mk_none()((void*)((char*)(&(mmc_none).header) + 3)), mmc_mk_none()((void*)((char*)(&(mmc_none).header) + 3)), tmpMeta[2], _OMC_LIT44((void*)((char*)(&(_OMC_LIT_STRUCT44).header) + 3)), mmc_mk_none()((void*)((char*)(&(mmc_none).header) + 3)), mmc_mk_none()((void*)((char*)(&(mmc_none).header) + 3)), _OMC_LIT53((void*)((char*)(&(_OMC_LIT_STRUCT53).header) + 3)), mmc_mk_none()((void*)((char*)(&(mmc_none).header) + 3)), _OMC_LIT54((void*)((char*)(&(_OMC_LIT_STRUCT54).header) + 3)), _OMC_LIT55((void*)((char*)(&(_OMC_LIT_STRUCT55).header) + 3)), mmc_mk_boolean(0)((0) != 0 ? (mmc_mk_icon(1)) : (mmc_mk_icon(0))));
5268#line 1191 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
5269 _a_ii = tmpMeta[3];
5270#line 5270 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
5271
5272#line 1192 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
5273 _a_ii = omc_BackendVariable_setVarStartValue(threadData, _a_ii, _OMC_LIT63((void*)((char*)(&(_OMC_LIT_STRUCT63).header) + 3)));
5274#line 5274 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
5275
5276#line 1195 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
5277 _d_lst = arrayGet(_a_iArrIn, ((modelica_integer) 1))nobox_arrayGet(threadData,_a_iArrIn,((modelica_integer) 1));
5278#line 5278 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
5279
5280#line 1196 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
5281 _dVar = listGet(_d_lst, _resIdx)boxptr_listGet(threadData,_d_lst,mmc_mk_icon(_resIdx));
5282#line 5282 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
5283
5284#line 1197 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
5285 _dExp = omc_HpcOmEqSystems_varExp(threadData, _dVar);
5286#line 5286 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
5287
5288#line 1198 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
5289 _lhs = omc_HpcOmEqSystems_varExp(threadData, _a_ii);
5290#line 5290 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
5291
5292#line 1199 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
5293 _rhs = listGet(arrayGet(_h_iArr, ((modelica_integer) 1) + _iIdx), _resIdx)boxptr_listGet(threadData,nobox_arrayGet(threadData,_h_iArr,(
(modelica_integer) 1) + _iIdx),mmc_mk_icon(_resIdx))
;
5294#line 5294 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
5295
5296#line 1200 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
5297 tmpMeta[2] = mmc_mk_box2(4, &DAE_Operator_SUB__desc, _ty);
5298#line 1200 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
5299 tmpMeta[3] = mmc_mk_box4(10, &DAE_Exp_BINARY__desc, _rhs, tmpMeta[2], _dExp);
5300#line 1200 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
5301 _rhs = tmpMeta[3];
5302#line 5302 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
5303
5304#line 1201 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
5305 _rhs = omc_ExpressionSimplify_simplify(threadData, _rhs, NULL((void*)0));
5306#line 5306 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
5307
5308#line 1202 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
5309 tmpMeta[2] = mmc_mk_box5(3, &BackendDAE_Equation_EQUATION__desc, _lhs, _rhs, _OMC_LIT44((void*)((char*)(&(_OMC_LIT_STRUCT44).header) + 3)), _OMC_LIT57((void*)((char*)(&(_OMC_LIT_STRUCT57).header) + 3)));
5310#line 1202 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo"
5311 _hs_ii = tmpMeta[2];
5312#line 5312 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmEqSystems.c"
5313