Bug Summary

File:OMCompiler/Compiler/boot/build/IndexReduction.c
Warning:line 16661, column 3
Value stored to '_inActualEqn' 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/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c" OMC_BASE_FILE
3#else
4 #define OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c" "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
5#endif
6#include "omc_simulation_settings.h"
7#include "IndexReduction.h"
8#define _OMC_LIT0_data" " " "
9static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT0,1,_OMC_LIT0_data)struct { mmc_uint_t header; const char data[(1)+1]; } _OMC_LIT_STRUCT0
= { ((((mmc_uint_t)1)<<(3))+((1<<(3+3))+5)), " "
}
;
10#define _OMC_LIT0((void*)((char*)(&(_OMC_LIT_STRUCT0).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT0)((void*)((char*)(&(_OMC_LIT_STRUCT0).header) + 3))
11#define _OMC_LIT1_data"IndexReduction.addStateOrderFinder failed for " "IndexReduction.addStateOrderFinder failed for "
12static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT1,46,_OMC_LIT1_data)struct { mmc_uint_t header; const char data[(46)+1]; } _OMC_LIT_STRUCT1
= { ((((mmc_uint_t)46)<<(3))+((1<<(3+3))+5)), "IndexReduction.addStateOrderFinder failed for "
}
;
13#define _OMC_LIT1((void*)((char*)(&(_OMC_LIT_STRUCT1).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT1)((void*)((char*)(&(_OMC_LIT_STRUCT1).header) + 3))
14#define _OMC_LIT2_data" with derivative " " with derivative "
15static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT2,17,_OMC_LIT2_data)struct { mmc_uint_t header; const char data[(17)+1]; } _OMC_LIT_STRUCT2
= { ((((mmc_uint_t)17)<<(3))+((1<<(3+3))+5)), " with derivative "
}
;
16#define _OMC_LIT2((void*)((char*)(&(_OMC_LIT_STRUCT2).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT2)((void*)((char*)(&(_OMC_LIT_STRUCT2).header) + 3))
17#define _OMC_LIT3_data"\n" "\n"
18static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT3,1,_OMC_LIT3_data)struct { mmc_uint_t header; const char data[(1)+1]; } _OMC_LIT_STRUCT3
= { ((((mmc_uint_t)1)<<(3))+((1<<(3+3))+5)), "\n"
}
;
19#define _OMC_LIT3((void*)((char*)(&(_OMC_LIT_STRUCT3).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT3)((void*)((char*)(&(_OMC_LIT_STRUCT3).header) + 3))
20static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT4,1,5)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT4
= { (((1) << 10) + (((5) & 255) << 2)),
{&ErrorTypes_MessageType_TRANSLATION__desc,}};
21#define _OMC_LIT4((void*)((char*)(&(_OMC_LIT_STRUCT4).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT4)((void*)((char*)(&(_OMC_LIT_STRUCT4).header) + 3))
22static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT5,1,4)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT5
= { (((1) << 10) + (((4) & 255) << 2)),
{&ErrorTypes_Severity_ERROR__desc,}};
23#define _OMC_LIT5((void*)((char*)(&(_OMC_LIT_STRUCT5).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT5)((void*)((char*)(&(_OMC_LIT_STRUCT5).header) + 3))
24#define _OMC_LIT6_data"Internal error %s" "Internal error %s"
25static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT6,17,_OMC_LIT6_data)struct { mmc_uint_t header; const char data[(17)+1]; } _OMC_LIT_STRUCT6
= { ((((mmc_uint_t)17)<<(3))+((1<<(3+3))+5)), "Internal error %s"
}
;
26#define _OMC_LIT6((void*)((char*)(&(_OMC_LIT_STRUCT6).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT6)((void*)((char*)(&(_OMC_LIT_STRUCT6).header) + 3))
27static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT7,2,3)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT7
= { (((2) << 10) + (((3) & 255) << 2)),
{&Gettext_TranslatableContent_gettext__desc,_OMC_LIT6((void*)((char*)(&(_OMC_LIT_STRUCT6).header) + 3))}};
28#define _OMC_LIT7((void*)((char*)(&(_OMC_LIT_STRUCT7).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT7)((void*)((char*)(&(_OMC_LIT_STRUCT7).header) + 3))
29static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT8,5,3)struct { mmc_uint_t header; const void *data[5]; } _OMC_LIT_STRUCT8
= { (((5) << 10) + (((3) & 255) << 2)),
{&ErrorTypes_Message_MESSAGE__desc,MMC_IMMEDIATE(MMC_TAGFIXNUM(63))((void*)(((((mmc_uint_t) (63)) << 1)+0))),_OMC_LIT4((void*)((char*)(&(_OMC_LIT_STRUCT4).header) + 3)),_OMC_LIT5((void*)((char*)(&(_OMC_LIT_STRUCT5).header) + 3)),_OMC_LIT7((void*)((char*)(&(_OMC_LIT_STRUCT7).header) + 3))}};
30#define _OMC_LIT8((void*)((char*)(&(_OMC_LIT_STRUCT8).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT8)((void*)((char*)(&(_OMC_LIT_STRUCT8).header) + 3))
31#define _OMC_LIT9_data"IndexReduction.addStateOrderFinder failed!" "IndexReduction.addStateOrderFinder failed!"
32static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT9,42,_OMC_LIT9_data)struct { mmc_uint_t header; const char data[(42)+1]; } _OMC_LIT_STRUCT9
= { ((((mmc_uint_t)42)<<(3))+((1<<(3+3))+5)), "IndexReduction.addStateOrderFinder failed!"
}
;
33#define _OMC_LIT9((void*)((char*)(&(_OMC_LIT_STRUCT9).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT9)((void*)((char*)(&(_OMC_LIT_STRUCT9).header) + 3))
34static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT10,2,1)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT10
= { (((2) << 10) + (((1) & 255) << 2)),
{_OMC_LIT9((void*)((char*)(&(_OMC_LIT_STRUCT9).header) + 3)),MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3))}};
35#define _OMC_LIT10((void*)((char*)(&(_OMC_LIT_STRUCT10).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT10)((void*)((char*)(&(_OMC_LIT_STRUCT10).header) + 3))
36#define _OMC_LIT11_data"$STATESET" "$STATESET"
37static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT11,9,_OMC_LIT11_data)struct { mmc_uint_t header; const char data[(9)+1]; } _OMC_LIT_STRUCT11
= { ((((mmc_uint_t)9)<<(3))+((1<<(3+3))+5)), "$STATESET"
}
;
38#define _OMC_LIT11((void*)((char*)(&(_OMC_LIT_STRUCT11).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT11)((void*)((char*)(&(_OMC_LIT_STRUCT11).header) + 3))
39#define _OMC_LIT12_data"" ""
40static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT12,0,_OMC_LIT12_data)struct { mmc_uint_t header; const char data[(0)+1]; } _OMC_LIT_STRUCT12
= { ((((mmc_uint_t)0)<<(3))+((1<<(3+3))+5)), "" }
;
41#define _OMC_LIT12((void*)((char*)(&(_OMC_LIT_STRUCT12).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT12)((void*)((char*)(&(_OMC_LIT_STRUCT12).header) + 3))
42static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT13,2,4)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT13
= { (((2) << 10) + (((4) & 255) << 2)),
{&Absyn_Path_IDENT__desc,_OMC_LIT12((void*)((char*)(&(_OMC_LIT_STRUCT12).header) + 3))}};
43#define _OMC_LIT13((void*)((char*)(&(_OMC_LIT_STRUCT13).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT13)((void*)((char*)(&(_OMC_LIT_STRUCT13).header) + 3))
44static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT14,2,3)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT14
= { (((2) << 10) + (((3) & 255) << 2)),
{&ClassInf_State_UNKNOWN__desc,_OMC_LIT13((void*)((char*)(&(_OMC_LIT_STRUCT13).header) + 3))}};
45#define _OMC_LIT14((void*)((char*)(&(_OMC_LIT_STRUCT14).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT14)((void*)((char*)(&(_OMC_LIT_STRUCT14).header) + 3))
46static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT15,4,12)struct { mmc_uint_t header; const void *data[4]; } _OMC_LIT_STRUCT15
= { (((4) << 10) + (((12) & 255) << 2)),
{&DAE_Type_T__COMPLEX__desc,_OMC_LIT14((void*)((char*)(&(_OMC_LIT_STRUCT14).header) + 3)),MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3)),MMC_REFSTRUCTLIT(mmc_none)((void*)((char*)(&(mmc_none).header) + 3))}};
47#define _OMC_LIT15((void*)((char*)(&(_OMC_LIT_STRUCT15).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT15)((void*)((char*)(&(_OMC_LIT_STRUCT15).header) + 3))
48static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT16,2,4)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT16
= { (((2) << 10) + (((4) & 255) << 2)),
{&DAE_Type_T__REAL__desc,MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3))}};
49#define _OMC_LIT16((void*)((char*)(&(_OMC_LIT_STRUCT16).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT16)((void*)((char*)(&(_OMC_LIT_STRUCT16).header) + 3))
50#define _OMC_LIT17_data"x" "x"
51static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT17,1,_OMC_LIT17_data)struct { mmc_uint_t header; const char data[(1)+1]; } _OMC_LIT_STRUCT17
= { ((((mmc_uint_t)1)<<(3))+((1<<(3+3))+5)), "x"
}
;
52#define _OMC_LIT17((void*)((char*)(&(_OMC_LIT_STRUCT17).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT17)((void*)((char*)(&(_OMC_LIT_STRUCT17).header) + 3))
53static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT18,4,4)struct { mmc_uint_t header; const void *data[4]; } _OMC_LIT_STRUCT18
= { (((4) << 10) + (((4) & 255) << 2)),
{&BackendDAE_VarKind_STATE__desc,MMC_IMMEDIATE(MMC_TAGFIXNUM(1))((void*)(((((mmc_uint_t) (1)) << 1)+0))),MMC_REFSTRUCTLIT(mmc_none)((void*)((char*)(&(mmc_none).header) + 3)),MMC_IMMEDIATE(MMC_TAGFIXNUM(0))((void*)(((((mmc_uint_t) (0)) << 1)+0)))}};
54#define _OMC_LIT18((void*)((char*)(&(_OMC_LIT_STRUCT18).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT18)((void*)((char*)(&(_OMC_LIT_STRUCT18).header) + 3))
55static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT19,2,3)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT19
= { (((2) << 10) + (((3) & 255) << 2)),
{&DAE_Type_T__INTEGER__desc,MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3))}};
56#define _OMC_LIT19((void*)((char*)(&(_OMC_LIT_STRUCT19).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT19)((void*)((char*)(&(_OMC_LIT_STRUCT19).header) + 3))
57#define _OMC_LIT20_data"A" "A"
58static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT20,1,_OMC_LIT20_data)struct { mmc_uint_t header; const char data[(1)+1]; } _OMC_LIT_STRUCT20
= { ((((mmc_uint_t)1)<<(3))+((1<<(3+3))+5)), "A"
}
;
59#define _OMC_LIT20((void*)((char*)(&(_OMC_LIT_STRUCT20).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT20)((void*)((char*)(&(_OMC_LIT_STRUCT20).header) + 3))
60static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT21,1,3)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT21
= { (((1) << 10) + (((3) & 255) << 2)),
{&BackendDAE_VarKind_VARIABLE__desc,}};
61#define _OMC_LIT21((void*)((char*)(&(_OMC_LIT_STRUCT21).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT21)((void*)((char*)(&(_OMC_LIT_STRUCT21).header) + 3))
62static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT22,2,3)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT22
= { (((2) << 10) + (((3) & 255) << 2)),
{&DAE_Exp_ICONST__desc,MMC_IMMEDIATE(MMC_TAGFIXNUM(0))((void*)(((((mmc_uint_t) (0)) << 1)+0)))}};
63#define _OMC_LIT22((void*)((char*)(&(_OMC_LIT_STRUCT22).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT22)((void*)((char*)(&(_OMC_LIT_STRUCT22).header) + 3))
64#define _OMC_LIT23_data"J" "J"
65static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT23,1,_OMC_LIT23_data)struct { mmc_uint_t header; const char data[(1)+1]; } _OMC_LIT_STRUCT23
= { ((((mmc_uint_t)1)<<(3))+((1<<(3+3))+5)), "J"
}
;
66#define _OMC_LIT23((void*)((char*)(&(_OMC_LIT_STRUCT23).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT23)((void*)((char*)(&(_OMC_LIT_STRUCT23).header) + 3))
67#define _OMC_LIT24_data"------------------" "------------------"
68static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT24,18,_OMC_LIT24_data)struct { mmc_uint_t header; const char data[(18)+1]; } _OMC_LIT_STRUCT24
= { ((((mmc_uint_t)18)<<(3))+((1<<(3+3))+5)), "------------------"
}
;
69#define _OMC_LIT24((void*)((char*)(&(_OMC_LIT_STRUCT24).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT24)((void*)((char*)(&(_OMC_LIT_STRUCT24).header) + 3))
70#define _OMC_LIT25_data"------------------\n" "------------------\n"
71static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT25,19,_OMC_LIT25_data)struct { mmc_uint_t header; const char data[(19)+1]; } _OMC_LIT_STRUCT25
= { ((((mmc_uint_t)19)<<(3))+((1<<(3+3))+5)), "------------------\n"
}
;
72#define _OMC_LIT25((void*)((char*)(&(_OMC_LIT_STRUCT25).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT25)((void*)((char*)(&(_OMC_LIT_STRUCT25).header) + 3))
73#define _OMC_LIT26_data"Constraint equation to be differentiated:\n" "Constraint equation to be differentiated:\n"
74static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT26,42,_OMC_LIT26_data)struct { mmc_uint_t header; const char data[(42)+1]; } _OMC_LIT_STRUCT26
= { ((((mmc_uint_t)42)<<(3))+((1<<(3+3))+5)), "Constraint equation to be differentiated:\n"
}
;
75#define _OMC_LIT26((void*)((char*)(&(_OMC_LIT_STRUCT26).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT26)((void*)((char*)(&(_OMC_LIT_STRUCT26).header) + 3))
76#define _OMC_LIT27_data"Differentiated equation:\n" "Differentiated equation:\n"
77static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT27,25,_OMC_LIT27_data)struct { mmc_uint_t header; const char data[(25)+1]; } _OMC_LIT_STRUCT27
= { ((((mmc_uint_t)25)<<(3))+((1<<(3+3))+5)), "Differentiated equation:\n"
}
;
78#define _OMC_LIT27((void*)((char*)(&(_OMC_LIT_STRUCT27).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT27)((void*)((char*)(&(_OMC_LIT_STRUCT27).header) + 3))
79#define _OMC_LIT28_data"\n\n" "\n\n"
80static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT28,2,_OMC_LIT28_data)struct { mmc_uint_t header; const char data[(2)+1]; } _OMC_LIT_STRUCT28
= { ((((mmc_uint_t)2)<<(3))+((1<<(3+3))+5)), "\n\n"
}
;
81#define _OMC_LIT28((void*)((char*)(&(_OMC_LIT_STRUCT28).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT28)((void*)((char*)(&(_OMC_LIT_STRUCT28).header) + 3))
82static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT29,3,0)struct { mmc_uint_t header; const void *data[3]; } _OMC_LIT_STRUCT29
= { (((3) << 10) + (((0) & 255) << 2)),
{MMC_IMMEDIATE(MMC_TAGFIXNUM(0))((void*)(((((mmc_uint_t) (0)) << 1)+0))),MMC_REFSTRUCTLIT(mmc_none)((void*)((char*)(&(mmc_none).header) + 3)),MMC_IMMEDIATE(MMC_TAGFIXNUM(0))((void*)(((((mmc_uint_t) (0)) << 1)+0)))}};
83#define _OMC_LIT29((void*)((char*)(&(_OMC_LIT_STRUCT29).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT29)((void*)((char*)(&(_OMC_LIT_STRUCT29).header) + 3))
84#define _OMC_LIT30_data"IndexReduction.increaseDifferentiation failt because of wrong input:\n" "IndexReduction.increaseDifferentiation failt because of wrong input:\n"
85static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT30,69,_OMC_LIT30_data)struct { mmc_uint_t header; const char data[(69)+1]; } _OMC_LIT_STRUCT30
= { ((((mmc_uint_t)69)<<(3))+((1<<(3+3))+5)), "IndexReduction.increaseDifferentiation failt because of wrong input:\n"
}
;
86#define _OMC_LIT30((void*)((char*)(&(_OMC_LIT_STRUCT30).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT30)((void*)((char*)(&(_OMC_LIT_STRUCT30).header) + 3))
87static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT31,1,3)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT31
= { (((1) << 10) + (((3) & 255) << 2)),
{&DAE_StateSelect_NEVER__desc,}};
88#define _OMC_LIT31((void*)((char*)(&(_OMC_LIT_STRUCT31).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT31)((void*)((char*)(&(_OMC_LIT_STRUCT31).header) + 3))
89#define _OMC_LIT32_data"der" "der"
90static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT32,3,_OMC_LIT32_data)struct { mmc_uint_t header; const char data[(3)+1]; } _OMC_LIT_STRUCT32
= { ((((mmc_uint_t)3)<<(3))+((1<<(3+3))+5)), "der"
}
;
91#define _OMC_LIT32((void*)((char*)(&(_OMC_LIT_STRUCT32).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT32)((void*)((char*)(&(_OMC_LIT_STRUCT32).header) + 3))
92static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT33,2,4)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT33
= { (((2) << 10) + (((4) & 255) << 2)),
{&Absyn_Path_IDENT__desc,_OMC_LIT32((void*)((char*)(&(_OMC_LIT_STRUCT32).header) + 3))}};
93#define _OMC_LIT33((void*)((char*)(&(_OMC_LIT_STRUCT33).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT33)((void*)((char*)(&(_OMC_LIT_STRUCT33).header) + 3))
94static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT34,2,3)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT34
= { (((2) << 10) + (((3) & 255) << 2)),
{&DAE_Exp_ICONST__desc,MMC_IMMEDIATE(MMC_TAGFIXNUM(2))((void*)(((((mmc_uint_t) (2)) << 1)+0)))}};
95#define _OMC_LIT34((void*)((char*)(&(_OMC_LIT_STRUCT34).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT34)((void*)((char*)(&(_OMC_LIT_STRUCT34).header) + 3))
96static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT35,1,7)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT35
= { (((1) << 10) + (((7) & 255) << 2)),
{&DAE_InlineType_NO__INLINE__desc,}};
97#define _OMC_LIT35((void*)((char*)(&(_OMC_LIT_STRUCT35).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT35)((void*)((char*)(&(_OMC_LIT_STRUCT35).header) + 3))
98static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT36,1,3)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT36
= { (((1) << 10) + (((3) & 255) << 2)),
{&DAE_TailCall_NO__TAIL__desc,}};
99#define _OMC_LIT36((void*)((char*)(&(_OMC_LIT_STRUCT36).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT36)((void*)((char*)(&(_OMC_LIT_STRUCT36).header) + 3))
100static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT37,8,3)struct { mmc_uint_t header; const void *data[8]; } _OMC_LIT_STRUCT37
= { (((8) << 10) + (((3) & 255) << 2)),
{&DAE_CallAttributes_CALL__ATTR__desc,_OMC_LIT16((void*)((char*)(&(_OMC_LIT_STRUCT16).header) + 3)),MMC_IMMEDIATE(MMC_TAGFIXNUM(0))((void*)(((((mmc_uint_t) (0)) << 1)+0))),MMC_IMMEDIATE(MMC_TAGFIXNUM(1))((void*)(((((mmc_uint_t) (1)) << 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_LIT35((void*)((char*)(&(_OMC_LIT_STRUCT35).header) + 3)),_OMC_LIT36((void*)((char*)(&(_OMC_LIT_STRUCT36).header) + 3))}};
101#define _OMC_LIT37((void*)((char*)(&(_OMC_LIT_STRUCT37).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT37)((void*)((char*)(&(_OMC_LIT_STRUCT37).header) + 3))
102static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT38,1,3)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT38
= { (((1) << 10) + (((3) & 255) << 2)),
{&BackendDAE_BaseClockPartitionKind_UNKNOWN__PARTITION__desc,}};
103#define _OMC_LIT38((void*)((char*)(&(_OMC_LIT_STRUCT38).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT38)((void*)((char*)(&(_OMC_LIT_STRUCT38).header) + 3))
104#define _OMC_LIT39_data"IndexReduction.replaceDummyDerivativesExp failed for " "IndexReduction.replaceDummyDerivativesExp failed for "
105static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT39,53,_OMC_LIT39_data)struct { mmc_uint_t header; const char data[(53)+1]; } _OMC_LIT_STRUCT39
= { ((((mmc_uint_t)53)<<(3))+((1<<(3+3))+5)), "IndexReduction.replaceDummyDerivativesExp failed for "
}
;
106#define _OMC_LIT39((void*)((char*)(&(_OMC_LIT_STRUCT39).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT39)((void*)((char*)(&(_OMC_LIT_STRUCT39).header) + 3))
107#define _OMC_LIT40_data"!" "!"
108static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT40,1,_OMC_LIT40_data)struct { mmc_uint_t header; const char data[(1)+1]; } _OMC_LIT_STRUCT40
= { ((((mmc_uint_t)1)<<(3))+((1<<(3+3))+5)), "!"
}
;
109#define _OMC_LIT40((void*)((char*)(&(_OMC_LIT_STRUCT40).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT40)((void*)((char*)(&(_OMC_LIT_STRUCT40).header) + 3))
110static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT41,1,5)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT41
= { (((1) << 10) + (((5) & 255) << 2)),
{&ErrorTypes_Severity_WARNING__desc,}};
111#define _OMC_LIT41((void*)((char*)(&(_OMC_LIT_STRUCT41).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT41)((void*)((char*)(&(_OMC_LIT_STRUCT41).header) + 3))
112#define _OMC_LIT42_data"%s" "%s"
113static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT42,2,_OMC_LIT42_data)struct { mmc_uint_t header; const char data[(2)+1]; } _OMC_LIT_STRUCT42
= { ((((mmc_uint_t)2)<<(3))+((1<<(3+3))+5)), "%s"
}
;
114#define _OMC_LIT42((void*)((char*)(&(_OMC_LIT_STRUCT42).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT42)((void*)((char*)(&(_OMC_LIT_STRUCT42).header) + 3))
115static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT43,2,4)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT43
= { (((2) << 10) + (((4) & 255) << 2)),
{&Gettext_TranslatableContent_notrans__desc,_OMC_LIT42((void*)((char*)(&(_OMC_LIT_STRUCT42).header) + 3))}};
116#define _OMC_LIT43((void*)((char*)(&(_OMC_LIT_STRUCT43).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT43)((void*)((char*)(&(_OMC_LIT_STRUCT43).header) + 3))
117static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT44,5,3)struct { mmc_uint_t header; const void *data[5]; } _OMC_LIT_STRUCT44
= { (((5) << 10) + (((3) & 255) << 2)),
{&ErrorTypes_Message_MESSAGE__desc,MMC_IMMEDIATE(MMC_TAGFIXNUM(6000))((void*)(((((mmc_uint_t) (6000)) << 1)+0))),_OMC_LIT4((void*)((char*)(&(_OMC_LIT_STRUCT4).header) + 3)),_OMC_LIT41((void*)((char*)(&(_OMC_LIT_STRUCT41).header) + 3)),_OMC_LIT43((void*)((char*)(&(_OMC_LIT_STRUCT43).header) + 3))}};
118#define _OMC_LIT44((void*)((char*)(&(_OMC_LIT_STRUCT44).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT44)((void*)((char*)(&(_OMC_LIT_STRUCT44).header) + 3))
119static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT45,2,6)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT45
= { (((2) << 10) + (((6) & 255) << 2)),
{&DAE_Exp_BCONST__desc,MMC_IMMEDIATE(MMC_TAGFIXNUM(0))((void*)(((((mmc_uint_t) (0)) << 1)+0)))}};
120#define _OMC_LIT45((void*)((char*)(&(_OMC_LIT_STRUCT45).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT45)((void*)((char*)(&(_OMC_LIT_STRUCT45).header) + 3))
121static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT46,1,1)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT46
= { (((1) << 10) + (((1) & 255) << 2)),
{_OMC_LIT45((void*)((char*)(&(_OMC_LIT_STRUCT45).header) + 3))}};
122#define _OMC_LIT46((void*)((char*)(&(_OMC_LIT_STRUCT46).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT46)((void*)((char*)(&(_OMC_LIT_STRUCT46).header) + 3))
123static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT47,1,6)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT47
= { (((1) << 10) + (((6) & 255) << 2)),
{&BackendDAE_VarKind_DUMMY__DER__desc,}};
124#define _OMC_LIT47((void*)((char*)(&(_OMC_LIT_STRUCT47).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT47)((void*)((char*)(&(_OMC_LIT_STRUCT47).header) + 3))
125static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT48,1,5)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT48
= { (((1) << 10) + (((5) & 255) << 2)),
{&DAE_VarDirection_BIDIR__desc,}};
126#define _OMC_LIT48((void*)((char*)(&(_OMC_LIT_STRUCT48).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT48)((void*)((char*)(&(_OMC_LIT_STRUCT48).header) + 3))
127static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT49,1,7)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT49
= { (((1) << 10) + (((7) & 255) << 2)),
{&BackendDAE_VarKind_DUMMY__STATE__desc,}};
128#define _OMC_LIT49((void*)((char*)(&(_OMC_LIT_STRUCT49).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT49)((void*)((char*)(&(_OMC_LIT_STRUCT49).header) + 3))
129#define _OMC_LIT50_data"IndexReduction.makeDummyVarandDummyDerivative failed " "IndexReduction.makeDummyVarandDummyDerivative failed "
130static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT50,53,_OMC_LIT50_data)struct { mmc_uint_t header; const char data[(53)+1]; } _OMC_LIT_STRUCT50
= { ((((mmc_uint_t)53)<<(3))+((1<<(3+3))+5)), "IndexReduction.makeDummyVarandDummyDerivative failed "
}
;
131#define _OMC_LIT50((void*)((char*)(&(_OMC_LIT_STRUCT50).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT50)((void*)((char*)(&(_OMC_LIT_STRUCT50).header) + 3))
132#define _OMC_LIT51_data"IndexReduction.makeAllDummyVarandDummyDerivativeRepl1 failed!" "IndexReduction.makeAllDummyVarandDummyDerivativeRepl1 failed!"
133static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT51,61,_OMC_LIT51_data)struct { mmc_uint_t header; const char data[(61)+1]; } _OMC_LIT_STRUCT51
= { ((((mmc_uint_t)61)<<(3))+((1<<(3+3))+5)), "IndexReduction.makeAllDummyVarandDummyDerivativeRepl1 failed!"
}
;
134#define _OMC_LIT51((void*)((char*)(&(_OMC_LIT_STRUCT51).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT51)((void*)((char*)(&(_OMC_LIT_STRUCT51).header) + 3))
135static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT52,2,1)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT52
= { (((2) << 10) + (((1) & 255) << 2)),
{_OMC_LIT51((void*)((char*)(&(_OMC_LIT_STRUCT51).header) + 3)),MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3))}};
136#define _OMC_LIT52((void*)((char*)(&(_OMC_LIT_STRUCT52).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT52)((void*)((char*)(&(_OMC_LIT_STRUCT52).header) + 3))
137#define _OMC_LIT53_data"Select as States(1):\n" "Select as States(1):\n"
138static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT53,21,_OMC_LIT53_data)struct { mmc_uint_t header; const char data[(21)+1]; } _OMC_LIT_STRUCT53
= { ((((mmc_uint_t)21)<<(3))+((1<<(3+3))+5)), "Select as States(1):\n"
}
;
139#define _OMC_LIT53((void*)((char*)(&(_OMC_LIT_STRUCT53).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT53)((void*)((char*)(&(_OMC_LIT_STRUCT53).header) + 3))
140#define _OMC_LIT54_data"Select as dummyStates(1):\n" "Select as dummyStates(1):\n"
141static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT54,26,_OMC_LIT54_data)struct { mmc_uint_t header; const char data[(26)+1]; } _OMC_LIT_STRUCT54
= { ((((mmc_uint_t)26)<<(3))+((1<<(3+3))+5)), "Select as dummyStates(1):\n"
}
;
142#define _OMC_LIT54((void*)((char*)(&(_OMC_LIT_STRUCT54).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT54)((void*)((char*)(&(_OMC_LIT_STRUCT54).header) + 3))
143#define _OMC_LIT55_data"bltdump" "bltdump"
144static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT55,7,_OMC_LIT55_data)struct { mmc_uint_t header; const char data[(7)+1]; } _OMC_LIT_STRUCT55
= { ((((mmc_uint_t)7)<<(3))+((1<<(3+3))+5)), "bltdump"
}
;
145#define _OMC_LIT55((void*)((char*)(&(_OMC_LIT_STRUCT55).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT55)((void*)((char*)(&(_OMC_LIT_STRUCT55).header) + 3))
146#define _OMC_LIT56_data"Dumps information from index reduction." "Dumps information from index reduction."
147static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT56,39,_OMC_LIT56_data)struct { mmc_uint_t header; const char data[(39)+1]; } _OMC_LIT_STRUCT56
= { ((((mmc_uint_t)39)<<(3))+((1<<(3+3))+5)), "Dumps information from index reduction."
}
;
148#define _OMC_LIT56((void*)((char*)(&(_OMC_LIT_STRUCT56).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT56)((void*)((char*)(&(_OMC_LIT_STRUCT56).header) + 3))
149static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT57,2,3)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT57
= { (((2) << 10) + (((3) & 255) << 2)),
{&Gettext_TranslatableContent_gettext__desc,_OMC_LIT56((void*)((char*)(&(_OMC_LIT_STRUCT56).header) + 3))}};
150#define _OMC_LIT57((void*)((char*)(&(_OMC_LIT_STRUCT57).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT57)((void*)((char*)(&(_OMC_LIT_STRUCT57).header) + 3))
151static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT58,5,3)struct { mmc_uint_t header; const void *data[5]; } _OMC_LIT_STRUCT58
= { (((5) << 10) + (((3) & 255) << 2)),
{&Flags_DebugFlag_DEBUG__FLAG__desc,MMC_IMMEDIATE(MMC_TAGFIXNUM(52))((void*)(((((mmc_uint_t) (52)) << 1)+0))),_OMC_LIT55((void*)((char*)(&(_OMC_LIT_STRUCT55).header) + 3)),MMC_IMMEDIATE(MMC_TAGFIXNUM(0))((void*)(((((mmc_uint_t) (0)) << 1)+0))),_OMC_LIT57((void*)((char*)(&(_OMC_LIT_STRUCT57).header) + 3))}};
152#define _OMC_LIT58((void*)((char*)(&(_OMC_LIT_STRUCT58).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT58)((void*)((char*)(&(_OMC_LIT_STRUCT58).header) + 3))
153#define _OMC_LIT59_data"Select " "Select "
154static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT59,7,_OMC_LIT59_data)struct { mmc_uint_t header; const char data[(7)+1]; } _OMC_LIT_STRUCT59
= { ((((mmc_uint_t)7)<<(3))+((1<<(3+3))+5)), "Select "
}
;
155#define _OMC_LIT59((void*)((char*)(&(_OMC_LIT_STRUCT59).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT59)((void*)((char*)(&(_OMC_LIT_STRUCT59).header) + 3))
156#define _OMC_LIT60_data" from " " from "
157static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT60,6,_OMC_LIT60_data)struct { mmc_uint_t header; const char data[(6)+1]; } _OMC_LIT_STRUCT60
= { ((((mmc_uint_t)6)<<(3))+((1<<(3+3))+5)), " from "
}
;
158#define _OMC_LIT60((void*)((char*)(&(_OMC_LIT_STRUCT60).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT60)((void*)((char*)(&(_OMC_LIT_STRUCT60).header) + 3))
159#define _OMC_LIT61_data" States\n" " States\n"
160static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT61,8,_OMC_LIT61_data)struct { mmc_uint_t header; const char data[(8)+1]; } _OMC_LIT_STRUCT61
= { ((((mmc_uint_t)8)<<(3))+((1<<(3+3))+5)), " States\n"
}
;
161#define _OMC_LIT61((void*)((char*)(&(_OMC_LIT_STRUCT61).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT61)((void*)((char*)(&(_OMC_LIT_STRUCT61).header) + 3))
162#define _OMC_LIT62_data"Select as dummyStates(2):\n" "Select as dummyStates(2):\n"
163static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT62,26,_OMC_LIT62_data)struct { mmc_uint_t header; const char data[(26)+1]; } _OMC_LIT_STRUCT62
= { ((((mmc_uint_t)26)<<(3))+((1<<(3+3))+5)), "Select as dummyStates(2):\n"
}
;
164#define _OMC_LIT62((void*)((char*)(&(_OMC_LIT_STRUCT62).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT62)((void*)((char*)(&(_OMC_LIT_STRUCT62).header) + 3))
165#define _OMC_LIT63_data"Selection of DummyDerivatives failed due to negative system rank of " "Selection of DummyDerivatives failed due to negative system rank of "
166static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT63,68,_OMC_LIT63_data)struct { mmc_uint_t header; const char data[(68)+1]; } _OMC_LIT_STRUCT63
= { ((((mmc_uint_t)68)<<(3))+((1<<(3+3))+5)), "Selection of DummyDerivatives failed due to negative system rank of "
}
;
167#define _OMC_LIT63((void*)((char*)(&(_OMC_LIT_STRUCT63).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT63)((void*)((char*)(&(_OMC_LIT_STRUCT63).header) + 3))
168#define _OMC_LIT64_data"!\n There are " "!\n There are "
169static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT64,23,_OMC_LIT64_data)struct { mmc_uint_t header; const char data[(23)+1]; } _OMC_LIT_STRUCT64
= { ((((mmc_uint_t)23)<<(3))+((1<<(3+3))+5)), "!\n There are "
}
;
170#define _OMC_LIT64((void*)((char*)(&(_OMC_LIT_STRUCT64).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT64)((void*)((char*)(&(_OMC_LIT_STRUCT64).header) + 3))
171#define _OMC_LIT65_data" unassigned equations and " " unassigned equations and "
172static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT65,26,_OMC_LIT65_data)struct { mmc_uint_t header; const char data[(26)+1]; } _OMC_LIT_STRUCT65
= { ((((mmc_uint_t)26)<<(3))+((1<<(3+3))+5)), " unassigned equations and "
}
;
173#define _OMC_LIT65((void*)((char*)(&(_OMC_LIT_STRUCT65).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT65)((void*)((char*)(&(_OMC_LIT_STRUCT65).header) + 3))
174#define _OMC_LIT66_data" potential states.\n" " potential states.\n"
175static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT66,19,_OMC_LIT66_data)struct { mmc_uint_t header; const char data[(19)+1]; } _OMC_LIT_STRUCT66
= { ((((mmc_uint_t)19)<<(3))+((1<<(3+3))+5)), " potential states.\n"
}
;
176#define _OMC_LIT66((void*)((char*)(&(_OMC_LIT_STRUCT66).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT66)((void*)((char*)(&(_OMC_LIT_STRUCT66).header) + 3))
177#define _OMC_LIT67_data"Select as dummyStates(3):\n" "Select as dummyStates(3):\n"
178static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT67,26,_OMC_LIT67_data)struct { mmc_uint_t header; const char data[(26)+1]; } _OMC_LIT_STRUCT67
= { ((((mmc_uint_t)26)<<(3))+((1<<(3+3))+5)), "Select as dummyStates(3):\n"
}
;
179#define _OMC_LIT67((void*)((char*)(&(_OMC_LIT_STRUCT67).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT67)((void*)((char*)(&(_OMC_LIT_STRUCT67).header) + 3))
180#define _OMC_LIT68_data"- IndexReduction.selectDummyDerivatives2new failed!" "- IndexReduction.selectDummyDerivatives2new failed!"
181static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT68,51,_OMC_LIT68_data)struct { mmc_uint_t header; const char data[(51)+1]; } _OMC_LIT_STRUCT68
= { ((((mmc_uint_t)51)<<(3))+((1<<(3+3))+5)), "- IndexReduction.selectDummyDerivatives2new failed!"
}
;
182#define _OMC_LIT68((void*)((char*)(&(_OMC_LIT_STRUCT68).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT68)((void*)((char*)(&(_OMC_LIT_STRUCT68).header) + 3))
183static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT69,2,1)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT69
= { (((2) << 10) + (((1) & 255) << 2)),
{_OMC_LIT68((void*)((char*)(&(_OMC_LIT_STRUCT68).header) + 3)),MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3))}};
184#define _OMC_LIT69((void*)((char*)(&(_OMC_LIT_STRUCT69).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT69)((void*)((char*)(&(_OMC_LIT_STRUCT69).header) + 3))
185#define _OMC_LIT70_data"$DER" "$DER"
186static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT70,4,_OMC_LIT70_data)struct { mmc_uint_t header; const char data[(4)+1]; } _OMC_LIT_STRUCT70
= { ((((mmc_uint_t)4)<<(3))+((1<<(3+3))+5)), "$DER"
}
;
187#define _OMC_LIT70((void*)((char*)(&(_OMC_LIT_STRUCT70).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT70)((void*)((char*)(&(_OMC_LIT_STRUCT70).header) + 3))
188#define _OMC_LIT71_data"Prio 1 : " "Prio 1 : "
189static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT71,9,_OMC_LIT71_data)struct { mmc_uint_t header; const char data[(9)+1]; } _OMC_LIT_STRUCT71
= { ((((mmc_uint_t)9)<<(3))+((1<<(3+3))+5)), "Prio 1 : "
}
;
190#define _OMC_LIT71((void*)((char*)(&(_OMC_LIT_STRUCT71).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT71)((void*)((char*)(&(_OMC_LIT_STRUCT71).header) + 3))
191#define _OMC_LIT72_data"Prio 2 : " "Prio 2 : "
192static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT72,9,_OMC_LIT72_data)struct { mmc_uint_t header; const char data[(9)+1]; } _OMC_LIT_STRUCT72
= { ((((mmc_uint_t)9)<<(3))+((1<<(3+3))+5)), "Prio 2 : "
}
;
193#define _OMC_LIT72((void*)((char*)(&(_OMC_LIT_STRUCT72).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT72)((void*)((char*)(&(_OMC_LIT_STRUCT72).header) + 3))
194#define _OMC_LIT73_data"Prio 3 : " "Prio 3 : "
195static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT73,9,_OMC_LIT73_data)struct { mmc_uint_t header; const char data[(9)+1]; } _OMC_LIT_STRUCT73
= { ((((mmc_uint_t)9)<<(3))+((1<<(3+3))+5)), "Prio 3 : "
}
;
196#define _OMC_LIT73((void*)((char*)(&(_OMC_LIT_STRUCT73).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT73)((void*)((char*)(&(_OMC_LIT_STRUCT73).header) + 3))
197#define _OMC_LIT74_data"Prio 4 : " "Prio 4 : "
198static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT74,9,_OMC_LIT74_data)struct { mmc_uint_t header; const char data[(9)+1]; } _OMC_LIT_STRUCT74
= { ((((mmc_uint_t)9)<<(3))+((1<<(3+3))+5)), "Prio 4 : "
}
;
199#define _OMC_LIT74((void*)((char*)(&(_OMC_LIT_STRUCT74).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT74)((void*)((char*)(&(_OMC_LIT_STRUCT74).header) + 3))
200#define _OMC_LIT75_data"Prio 5 : " "Prio 5 : "
201static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT75,9,_OMC_LIT75_data)struct { mmc_uint_t header; const char data[(9)+1]; } _OMC_LIT_STRUCT75
= { ((((mmc_uint_t)9)<<(3))+((1<<(3+3))+5)), "Prio 5 : "
}
;
202#define _OMC_LIT75((void*)((char*)(&(_OMC_LIT_STRUCT75).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT75)((void*)((char*)(&(_OMC_LIT_STRUCT75).header) + 3))
203#define _OMC_LIT76_data"dummyselect" "dummyselect"
204static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT76,11,_OMC_LIT76_data)struct { mmc_uint_t header; const char data[(11)+1]; } _OMC_LIT_STRUCT76
= { ((((mmc_uint_t)11)<<(3))+((1<<(3+3))+5)), "dummyselect"
}
;
205#define _OMC_LIT76((void*)((char*)(&(_OMC_LIT_STRUCT76).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT76)((void*)((char*)(&(_OMC_LIT_STRUCT76).header) + 3))
206#define _OMC_LIT77_data"Dumps information from dummy state selection heuristic." "Dumps information from dummy state selection heuristic."
207static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT77,55,_OMC_LIT77_data)struct { mmc_uint_t header; const char data[(55)+1]; } _OMC_LIT_STRUCT77
= { ((((mmc_uint_t)55)<<(3))+((1<<(3+3))+5)), "Dumps information from dummy state selection heuristic."
}
;
208#define _OMC_LIT77((void*)((char*)(&(_OMC_LIT_STRUCT77).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT77)((void*)((char*)(&(_OMC_LIT_STRUCT77).header) + 3))
209static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT78,2,3)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT78
= { (((2) << 10) + (((3) & 255) << 2)),
{&Gettext_TranslatableContent_gettext__desc,_OMC_LIT77((void*)((char*)(&(_OMC_LIT_STRUCT77).header) + 3))}};
210#define _OMC_LIT78((void*)((char*)(&(_OMC_LIT_STRUCT78).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT78)((void*)((char*)(&(_OMC_LIT_STRUCT78).header) + 3))
211static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT79,5,3)struct { mmc_uint_t header; const void *data[5]; } _OMC_LIT_STRUCT79
= { (((5) << 10) + (((3) & 255) << 2)),
{&Flags_DebugFlag_DEBUG__FLAG__desc,MMC_IMMEDIATE(MMC_TAGFIXNUM(53))((void*)(((((mmc_uint_t) (53)) << 1)+0))),_OMC_LIT76((void*)((char*)(&(_OMC_LIT_STRUCT76).header) + 3)),MMC_IMMEDIATE(MMC_TAGFIXNUM(0))((void*)(((((mmc_uint_t) (0)) << 1)+0))),_OMC_LIT78((void*)((char*)(&(_OMC_LIT_STRUCT78).header) + 3))}};
212#define _OMC_LIT79((void*)((char*)(&(_OMC_LIT_STRUCT79).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT79)((void*)((char*)(&(_OMC_LIT_STRUCT79).header) + 3))
213static const MMC_DEFREALLIT(_OMC_LIT_STRUCT80,-1.0)struct mmc_real_lit _OMC_LIT_STRUCT80 = {0,(((8/8) << 10
) + 9),-1.0}
;
214#define _OMC_LIT80((void*)((char*)(&(_OMC_LIT_STRUCT80).header) + 3)) MMC_REFREALLIT(_OMC_LIT_STRUCT80)((void*)((char*)(&(_OMC_LIT_STRUCT80).header) + 3))
215#define _OMC_LIT81_data"Calc Prio for " "Calc Prio for "
216static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT81,14,_OMC_LIT81_data)struct { mmc_uint_t header; const char data[(14)+1]; } _OMC_LIT_STRUCT81
= { ((((mmc_uint_t)14)<<(3))+((1<<(3+3))+5)), "Calc Prio for "
}
;
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"\n Prio StateSelect : " "\n Prio StateSelect : "
219static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT82,21,_OMC_LIT82_data)struct { mmc_uint_t header; const char data[(21)+1]; } _OMC_LIT_STRUCT82
= { ((((mmc_uint_t)21)<<(3))+((1<<(3+3))+5)), "\n Prio StateSelect : "
}
;
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"\n Prio Heuristik : " "\n Prio Heuristik : "
222static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT83,19,_OMC_LIT83_data)struct { mmc_uint_t header; const char data[(19)+1]; } _OMC_LIT_STRUCT83
= { ((((mmc_uint_t)19)<<(3))+((1<<(3+3))+5)), "\n Prio Heuristik : "
}
;
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"\n ### Prio Result : " "\n ### Prio Result : "
225static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT84,20,_OMC_LIT84_data)struct { mmc_uint_t header; const char data[(20)+1]; } _OMC_LIT_STRUCT84
= { ((((mmc_uint_t)20)<<(3))+((1<<(3+3))+5)), "\n ### Prio Result : "
}
;
226#define _OMC_LIT84((void*)((char*)(&(_OMC_LIT_STRUCT84).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT84)((void*)((char*)(&(_OMC_LIT_STRUCT84).header) + 3))
227static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT85,1,3)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT85
= { (((1) << 10) + (((3) & 255) << 2)),
{&DAE_InlineType_NORM__INLINE__desc,}};
228#define _OMC_LIT85((void*)((char*)(&(_OMC_LIT_STRUCT85).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT85)((void*)((char*)(&(_OMC_LIT_STRUCT85).header) + 3))
229static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT86,1,6)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT86
= { (((1) << 10) + (((6) & 255) << 2)),
{&DAE_InlineType_DEFAULT__INLINE__desc,}};
230#define _OMC_LIT86((void*)((char*)(&(_OMC_LIT_STRUCT86).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT86)((void*)((char*)(&(_OMC_LIT_STRUCT86).header) + 3))
231static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT87,2,1)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT87
= { (((2) << 10) + (((1) & 255) << 2)),
{_OMC_LIT86((void*)((char*)(&(_OMC_LIT_STRUCT86).header) + 3)),MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3))}};
232#define _OMC_LIT87((void*)((char*)(&(_OMC_LIT_STRUCT87).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT87)((void*)((char*)(&(_OMC_LIT_STRUCT87).header) + 3))
233static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT88,2,1)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT88
= { (((2) << 10) + (((1) & 255) << 2)),
{_OMC_LIT85((void*)((char*)(&(_OMC_LIT_STRUCT85).header) + 3)),_OMC_LIT87((void*)((char*)(&(_OMC_LIT_STRUCT87).header) + 3))}};
234#define _OMC_LIT88((void*)((char*)(&(_OMC_LIT_STRUCT88).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT88)((void*)((char*)(&(_OMC_LIT_STRUCT88).header) + 3))
235static const MMC_DEFREALLIT(_OMC_LIT_STRUCT89,0.0)struct mmc_real_lit _OMC_LIT_STRUCT89 = {0,(((8/8) << 10
) + 9),0.0}
;
236#define _OMC_LIT89((void*)((char*)(&(_OMC_LIT_STRUCT89).header) + 3)) MMC_REFREALLIT(_OMC_LIT_STRUCT89)((void*)((char*)(&(_OMC_LIT_STRUCT89).header) + 3))
237static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT90,8,3)struct { mmc_uint_t header; const void *data[8]; } _OMC_LIT_STRUCT90
= { (((8) << 10) + (((3) & 255) << 2)),
{&SourceInfo_SOURCEINFO__desc,_OMC_LIT12((void*)((char*)(&(_OMC_LIT_STRUCT12).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_LIT89((void*)((char*)(&(_OMC_LIT_STRUCT89).header) + 3))}};
238#define _OMC_LIT90((void*)((char*)(&(_OMC_LIT_STRUCT90).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT90)((void*)((char*)(&(_OMC_LIT_STRUCT90).header) + 3))
239static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT91,1,4)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT91
= { (((1) << 10) + (((4) & 255) << 2)),
{&DAE_ComponentPrefix_NOCOMPPRE__desc,}};
240#define _OMC_LIT91((void*)((char*)(&(_OMC_LIT_STRUCT91).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT91)((void*)((char*)(&(_OMC_LIT_STRUCT91).header) + 3))
241static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT92,8,3)struct { mmc_uint_t header; const void *data[8]; } _OMC_LIT_STRUCT92
= { (((8) << 10) + (((3) & 255) << 2)),
{&DAE_ElementSource_SOURCE__desc,_OMC_LIT90((void*)((char*)(&(_OMC_LIT_STRUCT90).header) + 3)),MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3)),_OMC_LIT91((void*)((char*)(&(_OMC_LIT_STRUCT91).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))}};
242#define _OMC_LIT92((void*)((char*)(&(_OMC_LIT_STRUCT92).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT92)((void*)((char*)(&(_OMC_LIT_STRUCT92).header) + 3))
243static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT93,2,0)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT93
= { (((2) << 10) + (((0) & 255) << 2)),
{MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3)),MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3))}};
244#define _OMC_LIT93((void*)((char*)(&(_OMC_LIT_STRUCT93).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT93)((void*)((char*)(&(_OMC_LIT_STRUCT93).header) + 3))
245#define _OMC_LIT94_data"- IndexReduction.processComps4New failed!" "- IndexReduction.processComps4New failed!"
246static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT94,41,_OMC_LIT94_data)struct { mmc_uint_t header; const char data[(41)+1]; } _OMC_LIT_STRUCT94
= { ((((mmc_uint_t)41)<<(3))+((1<<(3+3))+5)), "- IndexReduction.processComps4New failed!"
}
;
247#define _OMC_LIT94((void*)((char*)(&(_OMC_LIT_STRUCT94).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT94)((void*)((char*)(&(_OMC_LIT_STRUCT94).header) + 3))
248static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT95,2,1)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT95
= { (((2) << 10) + (((1) & 255) << 2)),
{_OMC_LIT94((void*)((char*)(&(_OMC_LIT_STRUCT94).header) + 3)),MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3))}};
249#define _OMC_LIT95((void*)((char*)(&(_OMC_LIT_STRUCT95).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT95)((void*)((char*)(&(_OMC_LIT_STRUCT95).header) + 3))
250static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT96,1,5)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT96
= { (((1) << 10) + (((5) & 255) << 2)),
{&BackendDAE_IndexType_SOLVABLE__desc,}};
251#define _OMC_LIT96((void*)((char*)(&(_OMC_LIT_STRUCT96).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT96)((void*)((char*)(&(_OMC_LIT_STRUCT96).header) + 3))
252static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT97,1,5)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT97
= { (((1) << 10) + (((5) & 255) << 2)),
{&AvlSetInt_Tree_EMPTY__desc,}};
253#define _OMC_LIT97((void*)((char*)(&(_OMC_LIT_STRUCT97).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT97)((void*)((char*)(&(_OMC_LIT_STRUCT97).header) + 3))
254#define _OMC_LIT98_data"##########################\n" "##########################\n"
255static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT98,27,_OMC_LIT98_data)struct { mmc_uint_t header; const char data[(27)+1]; } _OMC_LIT_STRUCT98
= { ((((mmc_uint_t)27)<<(3))+((1<<(3+3))+5)), "##########################\n"
}
;
256#define _OMC_LIT98((void*)((char*)(&(_OMC_LIT_STRUCT98).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT98)((void*)((char*)(&(_OMC_LIT_STRUCT98).header) + 3))
257#define _OMC_LIT99_data"StateSelect.never variables that will tried to be forced as dummys" "StateSelect.never variables that will tried to be forced as dummys"
258static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT99,66,_OMC_LIT99_data)struct { mmc_uint_t header; const char data[(66)+1]; } _OMC_LIT_STRUCT99
= { ((((mmc_uint_t)66)<<(3))+((1<<(3+3))+5)), "StateSelect.never variables that will tried to be forced as dummys"
}
;
259#define _OMC_LIT99((void*)((char*)(&(_OMC_LIT_STRUCT99).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT99)((void*)((char*)(&(_OMC_LIT_STRUCT99).header) + 3))
260#define _OMC_LIT100_data"They could not be forced to be statically selected as dummys, this could lead to errors during simulation, please use -d=bltdump for more information.\n" "They could not be forced to be statically selected as dummys, this could lead to errors during simulation, please use -d=bltdump for more information.\n"
261static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT100,151,_OMC_LIT100_data)struct { mmc_uint_t header; const char data[(151)+1]; } _OMC_LIT_STRUCT100
= { ((((mmc_uint_t)151)<<(3))+((1<<(3+3))+5)), "They could not be forced to be statically selected as dummys, this could lead to errors during simulation, please use -d=bltdump for more information.\n"
}
;
262#define _OMC_LIT100((void*)((char*)(&(_OMC_LIT_STRUCT100).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT100)((void*)((char*)(&(_OMC_LIT_STRUCT100).header) + 3))
263#define _OMC_LIT101_data"Following variables have attribute stateSelect=StateSelect.never, but cant be statically chosen. %s" "Following variables have attribute stateSelect=StateSelect.never, but cant be statically chosen. %s"
264static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT101,99,_OMC_LIT101_data)struct { mmc_uint_t header; const char data[(99)+1]; } _OMC_LIT_STRUCT101
= { ((((mmc_uint_t)99)<<(3))+((1<<(3+3))+5)), "Following variables have attribute stateSelect=StateSelect.never, but cant be statically chosen. %s"
}
;
265#define _OMC_LIT101((void*)((char*)(&(_OMC_LIT_STRUCT101).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT101)((void*)((char*)(&(_OMC_LIT_STRUCT101).header) + 3))
266static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT102,2,3)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT102
= { (((2) << 10) + (((3) & 255) << 2)),
{&Gettext_TranslatableContent_gettext__desc,_OMC_LIT101((void*)((char*)(&(_OMC_LIT_STRUCT101).header) + 3))}};
267#define _OMC_LIT102((void*)((char*)(&(_OMC_LIT_STRUCT102).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT102)((void*)((char*)(&(_OMC_LIT_STRUCT102).header) + 3))
268static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT103,5,3)struct { mmc_uint_t header; const void *data[5]; } _OMC_LIT_STRUCT103
= { (((5) << 10) + (((3) & 255) << 2)),
{&ErrorTypes_Message_MESSAGE__desc,MMC_IMMEDIATE(MMC_TAGFIXNUM(599))((void*)(((((mmc_uint_t) (599)) << 1)+0))),_OMC_LIT4((void*)((char*)(&(_OMC_LIT_STRUCT4).header) + 3)),_OMC_LIT41((void*)((char*)(&(_OMC_LIT_STRUCT41).header) + 3)),_OMC_LIT102((void*)((char*)(&(_OMC_LIT_STRUCT102).header) + 3))}};
269#define _OMC_LIT103((void*)((char*)(&(_OMC_LIT_STRUCT103).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT103)((void*)((char*)(&(_OMC_LIT_STRUCT103).header) + 3))
270#define _OMC_LIT104_data"\n###################################\nINCLUDES FORCED STATESELECT.NEVER()\n###################################\n" "\n###################################\nINCLUDES FORCED STATESELECT.NEVER()\n###################################\n"
271static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT104,109,_OMC_LIT104_data)struct { mmc_uint_t header; const char data[(109)+1]; } _OMC_LIT_STRUCT104
= { ((((mmc_uint_t)109)<<(3))+((1<<(3+3))+5)), "\n###################################\nINCLUDES FORCED STATESELECT.NEVER()\n###################################\n"
}
;
272#define _OMC_LIT104((void*)((char*)(&(_OMC_LIT_STRUCT104).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT104)((void*)((char*)(&(_OMC_LIT_STRUCT104).header) + 3))
273#define _OMC_LIT105_data"########## Try static state selection ##########\nTry to select dummy vars with natural matching (newer)\nSelect " "########## Try static state selection ##########\nTry to select dummy vars with natural matching (newer)\nSelect "
274static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT105,111,_OMC_LIT105_data)struct { mmc_uint_t header; const char data[(111)+1]; } _OMC_LIT_STRUCT105
= { ((((mmc_uint_t)111)<<(3))+((1<<(3+3))+5)), "########## Try static state selection ##########\nTry to select dummy vars with natural matching (newer)\nSelect "
}
;
275#define _OMC_LIT105((void*)((char*)(&(_OMC_LIT_STRUCT105).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT105)((void*)((char*)(&(_OMC_LIT_STRUCT105).header) + 3))
276#define _OMC_LIT106_data" dummy states from " " dummy states from "
277static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT106,19,_OMC_LIT106_data)struct { mmc_uint_t header; const char data[(19)+1]; } _OMC_LIT_STRUCT106
= { ((((mmc_uint_t)19)<<(3))+((1<<(3+3))+5)), " dummy states from "
}
;
278#define _OMC_LIT106((void*)((char*)(&(_OMC_LIT_STRUCT106).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT106)((void*)((char*)(&(_OMC_LIT_STRUCT106).header) + 3))
279#define _OMC_LIT107_data" candidates.\n" " candidates.\n"
280static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT107,13,_OMC_LIT107_data)struct { mmc_uint_t header; const char data[(13)+1]; } _OMC_LIT_STRUCT107
= { ((((mmc_uint_t)13)<<(3))+((1<<(3+3))+5)), " candidates.\n"
}
;
281#define _OMC_LIT107((void*)((char*)(&(_OMC_LIT_STRUCT107).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT107)((void*)((char*)(&(_OMC_LIT_STRUCT107).header) + 3))
282#define _OMC_LIT108_data"Highest order derivatives (state candidates):" "Highest order derivatives (state candidates):"
283static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT108,45,_OMC_LIT108_data)struct { mmc_uint_t header; const char data[(45)+1]; } _OMC_LIT_STRUCT108
= { ((((mmc_uint_t)45)<<(3))+((1<<(3+3))+5)), "Highest order derivatives (state candidates):"
}
;
284#define _OMC_LIT108((void*)((char*)(&(_OMC_LIT_STRUCT108).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT108)((void*)((char*)(&(_OMC_LIT_STRUCT108).header) + 3))
285#define _OMC_LIT109_data"Constraint equations:" "Constraint equations:"
286static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT109,21,_OMC_LIT109_data)struct { mmc_uint_t header; const char data[(21)+1]; } _OMC_LIT_STRUCT109
= { ((((mmc_uint_t)21)<<(3))+((1<<(3+3))+5)), "Constraint equations:"
}
;
287#define _OMC_LIT109((void*)((char*)(&(_OMC_LIT_STRUCT109).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT109)((void*)((char*)(&(_OMC_LIT_STRUCT109).header) + 3))
288#define _OMC_LIT110_data"No perfect matching possible, dynamic index reduction needed.\n" "No perfect matching possible, dynamic index reduction needed.\n"
289static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT110,62,_OMC_LIT110_data)struct { mmc_uint_t header; const char data[(62)+1]; } _OMC_LIT_STRUCT110
= { ((((mmc_uint_t)62)<<(3))+((1<<(3+3))+5)), "No perfect matching possible, dynamic index reduction needed.\n"
}
;
290#define _OMC_LIT110((void*)((char*)(&(_OMC_LIT_STRUCT110).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT110)((void*)((char*)(&(_OMC_LIT_STRUCT110).header) + 3))
291#define _OMC_LIT111_data"Unassigned equations:" "Unassigned equations:"
292static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT111,21,_OMC_LIT111_data)struct { mmc_uint_t header; const char data[(21)+1]; } _OMC_LIT_STRUCT111
= { ((((mmc_uint_t)21)<<(3))+((1<<(3+3))+5)), "Unassigned equations:"
}
;
293#define _OMC_LIT111((void*)((char*)(&(_OMC_LIT_STRUCT111).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT111)((void*)((char*)(&(_OMC_LIT_STRUCT111).header) + 3))
294#define _OMC_LIT112_data"Statically selected dummy states:" "Statically selected dummy states:"
295static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT112,33,_OMC_LIT112_data)struct { mmc_uint_t header; const char data[(33)+1]; } _OMC_LIT_STRUCT112
= { ((((mmc_uint_t)33)<<(3))+((1<<(3+3))+5)), "Statically selected dummy states:"
}
;
296#define _OMC_LIT112((void*)((char*)(&(_OMC_LIT_STRUCT112).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT112)((void*)((char*)(&(_OMC_LIT_STRUCT112).header) + 3))
297#define _OMC_LIT113_data"Perfect Matching, no dynamic index reduction needed! There are no unassigned equations.\n\n" "Perfect Matching, no dynamic index reduction needed! There are no unassigned equations.\n\n"
298static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT113,89,_OMC_LIT113_data)struct { mmc_uint_t header; const char data[(89)+1]; } _OMC_LIT_STRUCT113
= { ((((mmc_uint_t)89)<<(3))+((1<<(3+3))+5)), "Perfect Matching, no dynamic index reduction needed! There are no unassigned equations.\n\n"
}
;
299#define _OMC_LIT113((void*)((char*)(&(_OMC_LIT_STRUCT113).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT113)((void*)((char*)(&(_OMC_LIT_STRUCT113).header) + 3))
300#define _OMC_LIT114_data"Selected dummy states:" "Selected dummy states:"
301static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT114,22,_OMC_LIT114_data)struct { mmc_uint_t header; const char data[(22)+1]; } _OMC_LIT_STRUCT114
= { ((((mmc_uint_t)22)<<(3))+((1<<(3+3))+5)), "Selected dummy states:"
}
;
302#define _OMC_LIT114((void*)((char*)(&(_OMC_LIT_STRUCT114).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT114)((void*)((char*)(&(_OMC_LIT_STRUCT114).header) + 3))
303#define _OMC_LIT115_data"Selected continuous states:" "Selected continuous states:"
304static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT115,27,_OMC_LIT115_data)struct { mmc_uint_t header; const char data[(27)+1]; } _OMC_LIT_STRUCT115
= { ((((mmc_uint_t)27)<<(3))+((1<<(3+3))+5)), "Selected continuous states:"
}
;
305#define _OMC_LIT115((void*)((char*)(&(_OMC_LIT_STRUCT115).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT115)((void*)((char*)(&(_OMC_LIT_STRUCT115).header) + 3))
306static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT116,1,3)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT116
= { (((1) << 10) + (((3) & 255) << 2)),
{&BackendDAE_IndexType_ABSOLUTE__desc,}};
307#define _OMC_LIT116((void*)((char*)(&(_OMC_LIT_STRUCT116).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT116)((void*)((char*)(&(_OMC_LIT_STRUCT116).header) + 3))
308#define _OMC_LIT117_data" andidates.\n" " andidates.\n"
309static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT117,12,_OMC_LIT117_data)struct { mmc_uint_t header; const char data[(12)+1]; } _OMC_LIT_STRUCT117
= { ((((mmc_uint_t)12)<<(3))+((1<<(3+3))+5)), " andidates.\n"
}
;
310#define _OMC_LIT117((void*)((char*)(&(_OMC_LIT_STRUCT117).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT117)((void*)((char*)(&(_OMC_LIT_STRUCT117).header) + 3))
311#define _OMC_LIT118_data"It is not possible to select continuous time states because Number of Equations " "It is not possible to select continuous time states because Number of Equations "
312static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT118,80,_OMC_LIT118_data)struct { mmc_uint_t header; const char data[(80)+1]; } _OMC_LIT_STRUCT118
= { ((((mmc_uint_t)80)<<(3))+((1<<(3+3))+5)), "It is not possible to select continuous time states because Number of Equations "
}
;
313#define _OMC_LIT118((void*)((char*)(&(_OMC_LIT_STRUCT118).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT118)((void*)((char*)(&(_OMC_LIT_STRUCT118).header) + 3))
314#define _OMC_LIT119_data" greater than number of States " " greater than number of States "
315static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT119,31,_OMC_LIT119_data)struct { mmc_uint_t header; const char data[(31)+1]; } _OMC_LIT_STRUCT119
= { ((((mmc_uint_t)31)<<(3))+((1<<(3+3))+5)), " greater than number of States "
}
;
316#define _OMC_LIT119((void*)((char*)(&(_OMC_LIT_STRUCT119).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT119)((void*)((char*)(&(_OMC_LIT_STRUCT119).header) + 3))
317#define _OMC_LIT120_data" to select from." " to select from."
318static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT120,16,_OMC_LIT120_data)struct { mmc_uint_t header; const char data[(16)+1]; } _OMC_LIT_STRUCT120
= { ((((mmc_uint_t)16)<<(3))+((1<<(3+3))+5)), " to select from."
}
;
319#define _OMC_LIT120((void*)((char*)(&(_OMC_LIT_STRUCT120).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT120)((void*)((char*)(&(_OMC_LIT_STRUCT120).header) + 3))
320#define _OMC_LIT121_data"indexReductionMethod" "indexReductionMethod"
321static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT121,20,_OMC_LIT121_data)struct { mmc_uint_t header; const char data[(20)+1]; } _OMC_LIT_STRUCT121
= { ((((mmc_uint_t)20)<<(3))+((1<<(3+3))+5)), "indexReductionMethod"
}
;
322#define _OMC_LIT121((void*)((char*)(&(_OMC_LIT_STRUCT121).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT121)((void*)((char*)(&(_OMC_LIT_STRUCT121).header) + 3))
323static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT122,1,4)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT122
= { (((1) << 10) + (((4) & 255) << 2)),
{&Flags_FlagVisibility_EXTERNAL__desc,}};
324#define _OMC_LIT122((void*)((char*)(&(_OMC_LIT_STRUCT122).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT122)((void*)((char*)(&(_OMC_LIT_STRUCT122).header) + 3))
325#define _OMC_LIT123_data"dynamicStateSelection" "dynamicStateSelection"
326static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT123,21,_OMC_LIT123_data)struct { mmc_uint_t header; const char data[(21)+1]; } _OMC_LIT_STRUCT123
= { ((((mmc_uint_t)21)<<(3))+((1<<(3+3))+5)), "dynamicStateSelection"
}
;
327#define _OMC_LIT123((void*)((char*)(&(_OMC_LIT_STRUCT123).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT123)((void*)((char*)(&(_OMC_LIT_STRUCT123).header) + 3))
328static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT124,2,8)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT124
= { (((2) << 10) + (((8) & 255) << 2)),
{&Flags_FlagData_STRING__FLAG__desc,_OMC_LIT123((void*)((char*)(&(_OMC_LIT_STRUCT123).header) + 3))}};
329#define _OMC_LIT124((void*)((char*)(&(_OMC_LIT_STRUCT124).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT124)((void*)((char*)(&(_OMC_LIT_STRUCT124).header) + 3))
330#define _OMC_LIT125_data"none" "none"
331static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT125,4,_OMC_LIT125_data)struct { mmc_uint_t header; const char data[(4)+1]; } _OMC_LIT_STRUCT125
= { ((((mmc_uint_t)4)<<(3))+((1<<(3+3))+5)), "none"
}
;
332#define _OMC_LIT125((void*)((char*)(&(_OMC_LIT_STRUCT125).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT125)((void*)((char*)(&(_OMC_LIT_STRUCT125).header) + 3))
333#define _OMC_LIT126_data"Skip index reduction" "Skip index reduction"
334static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT126,20,_OMC_LIT126_data)struct { mmc_uint_t header; const char data[(20)+1]; } _OMC_LIT_STRUCT126
= { ((((mmc_uint_t)20)<<(3))+((1<<(3+3))+5)), "Skip index reduction"
}
;
335#define _OMC_LIT126((void*)((char*)(&(_OMC_LIT_STRUCT126).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT126)((void*)((char*)(&(_OMC_LIT_STRUCT126).header) + 3))
336static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT127,2,3)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT127
= { (((2) << 10) + (((3) & 255) << 2)),
{&Gettext_TranslatableContent_gettext__desc,_OMC_LIT126((void*)((char*)(&(_OMC_LIT_STRUCT126).header) + 3))}};
337#define _OMC_LIT127((void*)((char*)(&(_OMC_LIT_STRUCT127).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT127)((void*)((char*)(&(_OMC_LIT_STRUCT127).header) + 3))
338static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT128,2,0)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT128
= { (((2) << 10) + (((0) & 255) << 2)),
{_OMC_LIT125((void*)((char*)(&(_OMC_LIT_STRUCT125).header) + 3)),_OMC_LIT127((void*)((char*)(&(_OMC_LIT_STRUCT127).header) + 3))}};
339#define _OMC_LIT128((void*)((char*)(&(_OMC_LIT_STRUCT128).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT128)((void*)((char*)(&(_OMC_LIT_STRUCT128).header) + 3))
340#define _OMC_LIT129_data"uode" "uode"
341static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT129,4,_OMC_LIT129_data)struct { mmc_uint_t header; const char data[(4)+1]; } _OMC_LIT_STRUCT129
= { ((((mmc_uint_t)4)<<(3))+((1<<(3+3))+5)), "uode"
}
;
342#define _OMC_LIT129((void*)((char*)(&(_OMC_LIT_STRUCT129).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT129)((void*)((char*)(&(_OMC_LIT_STRUCT129).header) + 3))
343#define _OMC_LIT130_data"Use the underlying ODE without the constraints." "Use the underlying ODE without the constraints."
344static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT130,47,_OMC_LIT130_data)struct { mmc_uint_t header; const char data[(47)+1]; } _OMC_LIT_STRUCT130
= { ((((mmc_uint_t)47)<<(3))+((1<<(3+3))+5)), "Use the underlying ODE without the constraints."
}
;
345#define _OMC_LIT130((void*)((char*)(&(_OMC_LIT_STRUCT130).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT130)((void*)((char*)(&(_OMC_LIT_STRUCT130).header) + 3))
346static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT131,2,3)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT131
= { (((2) << 10) + (((3) & 255) << 2)),
{&Gettext_TranslatableContent_gettext__desc,_OMC_LIT130((void*)((char*)(&(_OMC_LIT_STRUCT130).header) + 3))}};
347#define _OMC_LIT131((void*)((char*)(&(_OMC_LIT_STRUCT131).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT131)((void*)((char*)(&(_OMC_LIT_STRUCT131).header) + 3))
348static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT132,2,0)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT132
= { (((2) << 10) + (((0) & 255) << 2)),
{_OMC_LIT129((void*)((char*)(&(_OMC_LIT_STRUCT129).header) + 3)),_OMC_LIT131((void*)((char*)(&(_OMC_LIT_STRUCT131).header) + 3))}};
349#define _OMC_LIT132((void*)((char*)(&(_OMC_LIT_STRUCT132).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT132)((void*)((char*)(&(_OMC_LIT_STRUCT132).header) + 3))
350#define _OMC_LIT133_data"Simple index reduction method, select (dynamic) dummy states based on analysis of the system." "Simple index reduction method, select (dynamic) dummy states based on analysis of the system."
351static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT133,93,_OMC_LIT133_data)struct { mmc_uint_t header; const char data[(93)+1]; } _OMC_LIT_STRUCT133
= { ((((mmc_uint_t)93)<<(3))+((1<<(3+3))+5)), "Simple index reduction method, select (dynamic) dummy states based on analysis of the system."
}
;
352#define _OMC_LIT133((void*)((char*)(&(_OMC_LIT_STRUCT133).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT133)((void*)((char*)(&(_OMC_LIT_STRUCT133).header) + 3))
353static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT134,2,3)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT134
= { (((2) << 10) + (((3) & 255) << 2)),
{&Gettext_TranslatableContent_gettext__desc,_OMC_LIT133((void*)((char*)(&(_OMC_LIT_STRUCT133).header) + 3))}};
354#define _OMC_LIT134((void*)((char*)(&(_OMC_LIT_STRUCT134).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT134)((void*)((char*)(&(_OMC_LIT_STRUCT134).header) + 3))
355static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT135,2,0)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT135
= { (((2) << 10) + (((0) & 255) << 2)),
{_OMC_LIT123((void*)((char*)(&(_OMC_LIT_STRUCT123).header) + 3)),_OMC_LIT134((void*)((char*)(&(_OMC_LIT_STRUCT134).header) + 3))}};
356#define _OMC_LIT135((void*)((char*)(&(_OMC_LIT_STRUCT135).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT135)((void*)((char*)(&(_OMC_LIT_STRUCT135).header) + 3))
357#define _OMC_LIT136_data"dummyDerivatives" "dummyDerivatives"
358static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT136,16,_OMC_LIT136_data)struct { mmc_uint_t header; const char data[(16)+1]; } _OMC_LIT_STRUCT136
= { ((((mmc_uint_t)16)<<(3))+((1<<(3+3))+5)), "dummyDerivatives"
}
;
359#define _OMC_LIT136((void*)((char*)(&(_OMC_LIT_STRUCT136).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT136)((void*)((char*)(&(_OMC_LIT_STRUCT136).header) + 3))
360#define _OMC_LIT137_data"Simple index reduction method, select (static) dummy states based on heuristic." "Simple index reduction method, select (static) dummy states based on heuristic."
361static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT137,79,_OMC_LIT137_data)struct { mmc_uint_t header; const char data[(79)+1]; } _OMC_LIT_STRUCT137
= { ((((mmc_uint_t)79)<<(3))+((1<<(3+3))+5)), "Simple index reduction method, select (static) dummy states based on heuristic."
}
;
362#define _OMC_LIT137((void*)((char*)(&(_OMC_LIT_STRUCT137).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT137)((void*)((char*)(&(_OMC_LIT_STRUCT137).header) + 3))
363static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT138,2,3)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT138
= { (((2) << 10) + (((3) & 255) << 2)),
{&Gettext_TranslatableContent_gettext__desc,_OMC_LIT137((void*)((char*)(&(_OMC_LIT_STRUCT137).header) + 3))}};
364#define _OMC_LIT138((void*)((char*)(&(_OMC_LIT_STRUCT138).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT138)((void*)((char*)(&(_OMC_LIT_STRUCT138).header) + 3))
365static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT139,2,0)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT139
= { (((2) << 10) + (((0) & 255) << 2)),
{_OMC_LIT136((void*)((char*)(&(_OMC_LIT_STRUCT136).header) + 3)),_OMC_LIT138((void*)((char*)(&(_OMC_LIT_STRUCT138).header) + 3))}};
366#define _OMC_LIT139((void*)((char*)(&(_OMC_LIT_STRUCT139).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT139)((void*)((char*)(&(_OMC_LIT_STRUCT139).header) + 3))
367static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT140,2,1)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT140
= { (((2) << 10) + (((1) & 255) << 2)),
{_OMC_LIT139((void*)((char*)(&(_OMC_LIT_STRUCT139).header) + 3)),MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3))}};
368#define _OMC_LIT140((void*)((char*)(&(_OMC_LIT_STRUCT140).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT140)((void*)((char*)(&(_OMC_LIT_STRUCT140).header) + 3))
369static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT141,2,1)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT141
= { (((2) << 10) + (((1) & 255) << 2)),
{_OMC_LIT135((void*)((char*)(&(_OMC_LIT_STRUCT135).header) + 3)),_OMC_LIT140((void*)((char*)(&(_OMC_LIT_STRUCT140).header) + 3))}};
370#define _OMC_LIT141((void*)((char*)(&(_OMC_LIT_STRUCT141).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT141)((void*)((char*)(&(_OMC_LIT_STRUCT141).header) + 3))
371static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT142,2,1)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT142
= { (((2) << 10) + (((1) & 255) << 2)),
{_OMC_LIT132((void*)((char*)(&(_OMC_LIT_STRUCT132).header) + 3)),_OMC_LIT141((void*)((char*)(&(_OMC_LIT_STRUCT141).header) + 3))}};
372#define _OMC_LIT142((void*)((char*)(&(_OMC_LIT_STRUCT142).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT142)((void*)((char*)(&(_OMC_LIT_STRUCT142).header) + 3))
373static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT143,2,1)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT143
= { (((2) << 10) + (((1) & 255) << 2)),
{_OMC_LIT128((void*)((char*)(&(_OMC_LIT_STRUCT128).header) + 3)),_OMC_LIT142((void*)((char*)(&(_OMC_LIT_STRUCT142).header) + 3))}};
374#define _OMC_LIT143((void*)((char*)(&(_OMC_LIT_STRUCT143).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT143)((void*)((char*)(&(_OMC_LIT_STRUCT143).header) + 3))
375static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT144,2,4)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT144
= { (((2) << 10) + (((4) & 255) << 2)),
{&Flags_ValidOptions_STRING__DESC__OPTION__desc,_OMC_LIT143((void*)((char*)(&(_OMC_LIT_STRUCT143).header) + 3))}};
376#define _OMC_LIT144((void*)((char*)(&(_OMC_LIT_STRUCT144).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT144)((void*)((char*)(&(_OMC_LIT_STRUCT144).header) + 3))
377static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT145,1,1)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT145
= { (((1) << 10) + (((1) & 255) << 2)),
{_OMC_LIT144((void*)((char*)(&(_OMC_LIT_STRUCT144).header) + 3))}};
378#define _OMC_LIT145((void*)((char*)(&(_OMC_LIT_STRUCT145).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT145)((void*)((char*)(&(_OMC_LIT_STRUCT145).header) + 3))
379#define _OMC_LIT146_data"Sets the index reduction method to use. See --help=optmodules for more info." "Sets the index reduction method to use. See --help=optmodules for more info."
380static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT146,76,_OMC_LIT146_data)struct { mmc_uint_t header; const char data[(76)+1]; } _OMC_LIT_STRUCT146
= { ((((mmc_uint_t)76)<<(3))+((1<<(3+3))+5)), "Sets the index reduction method to use. See --help=optmodules for more info."
}
;
381#define _OMC_LIT146((void*)((char*)(&(_OMC_LIT_STRUCT146).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT146)((void*)((char*)(&(_OMC_LIT_STRUCT146).header) + 3))
382static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT147,2,3)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT147
= { (((2) << 10) + (((3) & 255) << 2)),
{&Gettext_TranslatableContent_gettext__desc,_OMC_LIT146((void*)((char*)(&(_OMC_LIT_STRUCT146).header) + 3))}};
383#define _OMC_LIT147((void*)((char*)(&(_OMC_LIT_STRUCT147).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT147)((void*)((char*)(&(_OMC_LIT_STRUCT147).header) + 3))
384static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT148,8,3)struct { mmc_uint_t header; const void *data[8]; } _OMC_LIT_STRUCT148
= { (((8) << 10) + (((3) & 255) << 2)),
{&Flags_ConfigFlag_CONFIG__FLAG__desc,MMC_IMMEDIATE(MMC_TAGFIXNUM(15))((void*)(((((mmc_uint_t) (15)) << 1)+0))),_OMC_LIT121((void*)((char*)(&(_OMC_LIT_STRUCT121).header) + 3)),MMC_REFSTRUCTLIT(mmc_none)((void*)((char*)(&(mmc_none).header) + 3)),_OMC_LIT122((void*)((char*)(&(_OMC_LIT_STRUCT122).header) + 3)),_OMC_LIT124((void*)((char*)(&(_OMC_LIT_STRUCT124).header) + 3)),_OMC_LIT145((void*)((char*)(&(_OMC_LIT_STRUCT145).header) + 3)),_OMC_LIT147((void*)((char*)(&(_OMC_LIT_STRUCT147).header) + 3))}};
385#define _OMC_LIT148((void*)((char*)(&(_OMC_LIT_STRUCT148).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT148)((void*)((char*)(&(_OMC_LIT_STRUCT148).header) + 3))
386#define _OMC_LIT149_data"No state selection needed for following equations:" "No state selection needed for following equations:"
387static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT149,50,_OMC_LIT149_data)struct { mmc_uint_t header; const char data[(50)+1]; } _OMC_LIT_STRUCT149
= { ((((mmc_uint_t)50)<<(3))+((1<<(3+3))+5)), "No state selection needed for following equations:"
}
;
388#define _OMC_LIT149((void*)((char*)(&(_OMC_LIT_STRUCT149).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT149)((void*)((char*)(&(_OMC_LIT_STRUCT149).header) + 3))
389#define _OMC_LIT150_data"DynamicStateSelection" "DynamicStateSelection"
390static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT150,21,_OMC_LIT150_data)struct { mmc_uint_t header; const char data[(21)+1]; } _OMC_LIT_STRUCT150
= { ((((mmc_uint_t)21)<<(3))+((1<<(3+3))+5)), "DynamicStateSelection"
}
;
391#define _OMC_LIT150((void*)((char*)(&(_OMC_LIT_STRUCT150).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT150)((void*)((char*)(&(_OMC_LIT_STRUCT150).header) + 3))
392static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT151,2,17)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT151
= { (((2) << 10) + (((17) & 255) << 2)),
{&DAE_Operator_MUL__SCALAR__PRODUCT__desc,_OMC_LIT16((void*)((char*)(&(_OMC_LIT_STRUCT16).header) + 3))}};
393#define _OMC_LIT151((void*)((char*)(&(_OMC_LIT_STRUCT151).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT151)((void*)((char*)(&(_OMC_LIT_STRUCT151).header) + 3))
394#define _OMC_LIT152_data"stateselection" "stateselection"
395static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT152,14,_OMC_LIT152_data)struct { mmc_uint_t header; const char data[(14)+1]; } _OMC_LIT_STRUCT152
= { ((((mmc_uint_t)14)<<(3))+((1<<(3+3))+5)), "stateselection"
}
;
396#define _OMC_LIT152((void*)((char*)(&(_OMC_LIT_STRUCT152).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT152)((void*)((char*)(&(_OMC_LIT_STRUCT152).header) + 3))
397static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT153,8,3)struct { mmc_uint_t header; const void *data[8]; } _OMC_LIT_STRUCT153
= { (((8) << 10) + (((3) & 255) << 2)),
{&SourceInfo_SOURCEINFO__desc,_OMC_LIT152((void*)((char*)(&(_OMC_LIT_STRUCT152).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_LIT89((void*)((char*)(&(_OMC_LIT_STRUCT89).header) + 3))}};
398#define _OMC_LIT153((void*)((char*)(&(_OMC_LIT_STRUCT153).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT153)((void*)((char*)(&(_OMC_LIT_STRUCT153).header) + 3))
399static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT154,8,3)struct { mmc_uint_t header; const void *data[8]; } _OMC_LIT_STRUCT154
= { (((8) << 10) + (((3) & 255) << 2)),
{&DAE_ElementSource_SOURCE__desc,_OMC_LIT153((void*)((char*)(&(_OMC_LIT_STRUCT153).header) + 3)),MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3)),_OMC_LIT91((void*)((char*)(&(_OMC_LIT_STRUCT91).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))}};
400#define _OMC_LIT154((void*)((char*)(&(_OMC_LIT_STRUCT154).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT154)((void*)((char*)(&(_OMC_LIT_STRUCT154).header) + 3))
401static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT155,1,4)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT155
= { (((1) << 10) + (((4) & 255) << 2)),
{&BackendDAE_EquationKind_DYNAMIC__EQUATION__desc,}};
402#define _OMC_LIT155((void*)((char*)(&(_OMC_LIT_STRUCT155).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT155)((void*)((char*)(&(_OMC_LIT_STRUCT155).header) + 3))
403static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT156,5,3)struct { mmc_uint_t header; const void *data[5]; } _OMC_LIT_STRUCT156
= { (((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)))}};
404#define _OMC_LIT156((void*)((char*)(&(_OMC_LIT_STRUCT156).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT156)((void*)((char*)(&(_OMC_LIT_STRUCT156).header) + 3))
405static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT157,4,3)struct { mmc_uint_t header; const void *data[4]; } _OMC_LIT_STRUCT157
= { (((4) << 10) + (((3) & 255) << 2)),
{&BackendDAE_EquationAttributes_EQUATION__ATTRIBUTES__desc,MMC_IMMEDIATE(MMC_TAGFIXNUM(0))((void*)(((((mmc_uint_t) (0)) << 1)+0))),_OMC_LIT155((void*)((char*)(&(_OMC_LIT_STRUCT155).header) + 3)),_OMC_LIT156((void*)((char*)(&(_OMC_LIT_STRUCT156).header) + 3))}};
406#define _OMC_LIT157((void*)((char*)(&(_OMC_LIT_STRUCT157).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT157)((void*)((char*)(&(_OMC_LIT_STRUCT157).header) + 3))
407static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT158,1,5)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT158
= { (((1) << 10) + (((5) & 255) << 2)),
{&BackendDAE_Jacobian_EMPTY__JACOBIAN__desc,}};
408#define _OMC_LIT158((void*)((char*)(&(_OMC_LIT_STRUCT158).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT158)((void*)((char*)(&(_OMC_LIT_STRUCT158).header) + 3))
409#define _OMC_LIT159_data"Generated StateSets:" "Generated StateSets:"
410static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT159,20,_OMC_LIT159_data)struct { mmc_uint_t header; const char data[(20)+1]; } _OMC_LIT_STRUCT159
= { ((((mmc_uint_t)20)<<(3))+((1<<(3+3))+5)), "Generated StateSets:"
}
;
411#define _OMC_LIT159((void*)((char*)(&(_OMC_LIT_STRUCT159).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT159)((void*)((char*)(&(_OMC_LIT_STRUCT159).header) + 3))
412static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT160,1,8)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT160
= { (((1) << 10) + (((8) & 255) << 2)),
{&DAE_InlineType_AFTER__INDEX__RED__INLINE__desc,}};
413#define _OMC_LIT160((void*)((char*)(&(_OMC_LIT_STRUCT160).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT160)((void*)((char*)(&(_OMC_LIT_STRUCT160).header) + 3))
414static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT161,2,1)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT161
= { (((2) << 10) + (((1) & 255) << 2)),
{_OMC_LIT160((void*)((char*)(&(_OMC_LIT_STRUCT160).header) + 3)),MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3))}};
415#define _OMC_LIT161((void*)((char*)(&(_OMC_LIT_STRUCT161).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT161)((void*)((char*)(&(_OMC_LIT_STRUCT161).header) + 3))
416static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT162,2,1)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT162
= { (((2) << 10) + (((1) & 255) << 2)),
{_OMC_LIT85((void*)((char*)(&(_OMC_LIT_STRUCT85).header) + 3)),_OMC_LIT161((void*)((char*)(&(_OMC_LIT_STRUCT161).header) + 3))}};
417#define _OMC_LIT162((void*)((char*)(&(_OMC_LIT_STRUCT162).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT162)((void*)((char*)(&(_OMC_LIT_STRUCT162).header) + 3))
418#define _OMC_LIT163_data"########################### STATE SELECTION ###########################\n" "########################### STATE SELECTION ###########################\n"
419static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT163,72,_OMC_LIT163_data)struct { mmc_uint_t header; const char data[(72)+1]; } _OMC_LIT_STRUCT163
= { ((((mmc_uint_t)72)<<(3))+((1<<(3+3))+5)), "########################### STATE SELECTION ###########################\n"
}
;
420#define _OMC_LIT163((void*)((char*)(&(_OMC_LIT_STRUCT163).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT163)((void*)((char*)(&(_OMC_LIT_STRUCT163).header) + 3))
421#define _OMC_LIT164_data"- IndexReduction.dynamicStateSelectionWork failed!" "- IndexReduction.dynamicStateSelectionWork failed!"
422static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT164,50,_OMC_LIT164_data)struct { mmc_uint_t header; const char data[(50)+1]; } _OMC_LIT_STRUCT164
= { ((((mmc_uint_t)50)<<(3))+((1<<(3+3))+5)), "- IndexReduction.dynamicStateSelectionWork failed!"
}
;
423#define _OMC_LIT164((void*)((char*)(&(_OMC_LIT_STRUCT164).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT164)((void*)((char*)(&(_OMC_LIT_STRUCT164).header) + 3))
424static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT165,2,1)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT165
= { (((2) << 10) + (((1) & 255) << 2)),
{_OMC_LIT164((void*)((char*)(&(_OMC_LIT_STRUCT164).header) + 3)),MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3))}};
425#define _OMC_LIT165((void*)((char*)(&(_OMC_LIT_STRUCT165).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT165)((void*)((char*)(&(_OMC_LIT_STRUCT165).header) + 3))
426static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT166,1,4)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT166
= { (((1) << 10) + (((4) & 255) << 2)),
{&BackendDAE_StateOrder_NOSTATEORDER__desc,}};
427#define _OMC_LIT166((void*)((char*)(&(_OMC_LIT_STRUCT166).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT166)((void*)((char*)(&(_OMC_LIT_STRUCT166).header) + 3))
428#define _OMC_LIT167_data"Replaced final Parameter in Eqns\n" "Replaced final Parameter in Eqns\n"
429static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT167,33,_OMC_LIT167_data)struct { mmc_uint_t header; const char data[(33)+1]; } _OMC_LIT_STRUCT167
= { ((((mmc_uint_t)33)<<(3))+((1<<(3+3))+5)), "Replaced final Parameter in Eqns\n"
}
;
430#define _OMC_LIT167((void*)((char*)(&(_OMC_LIT_STRUCT167).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT167)((void*)((char*)(&(_OMC_LIT_STRUCT167).header) + 3))
431#define _OMC_LIT168_data"Update Adjacency Matrix: " "Update Adjacency Matrix: "
432static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT168,25,_OMC_LIT168_data)struct { mmc_uint_t header; const char data[(25)+1]; } _OMC_LIT_STRUCT168
= { ((((mmc_uint_t)25)<<(3))+((1<<(3+3))+5)), "Update Adjacency Matrix: "
}
;
433#define _OMC_LIT168((void*)((char*)(&(_OMC_LIT_STRUCT168).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT168)((void*)((char*)(&(_OMC_LIT_STRUCT168).header) + 3))
434#define _OMC_LIT169_data"Change varKind to algebraic for\n" "Change varKind to algebraic for\n"
435static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT169,32,_OMC_LIT169_data)struct { mmc_uint_t header; const char data[(32)+1]; } _OMC_LIT_STRUCT169
= { ((((mmc_uint_t)32)<<(3))+((1<<(3+3))+5)), "Change varKind to algebraic for\n"
}
;
436#define _OMC_LIT169((void*)((char*)(&(_OMC_LIT_STRUCT169).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT169)((void*)((char*)(&(_OMC_LIT_STRUCT169).header) + 3))
437#define _OMC_LIT170_data"Other Candidates are\n" "Other Candidates are\n"
438static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT170,21,_OMC_LIT170_data)struct { mmc_uint_t header; const char data[(21)+1]; } _OMC_LIT_STRUCT170
= { ((((mmc_uint_t)21)<<(3))+((1<<(3+3))+5)), "Other Candidates are\n"
}
;
439#define _OMC_LIT170((void*)((char*)(&(_OMC_LIT_STRUCT170).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT170)((void*)((char*)(&(_OMC_LIT_STRUCT170).header) + 3))
440#define _OMC_LIT171_data"All unassignedStates without Derivative: " "All unassignedStates without Derivative: "
441static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT171,41,_OMC_LIT171_data)struct { mmc_uint_t header; const char data[(41)+1]; } _OMC_LIT_STRUCT171
= { ((((mmc_uint_t)41)<<(3))+((1<<(3+3))+5)), "All unassignedStates without Derivative: "
}
;
442#define _OMC_LIT171((void*)((char*)(&(_OMC_LIT_STRUCT171).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT171)((void*)((char*)(&(_OMC_LIT_STRUCT171).header) + 3))
443#define _OMC_LIT172_data", " ", "
444static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT172,2,_OMC_LIT172_data)struct { mmc_uint_t header; const char data[(2)+1]; } _OMC_LIT_STRUCT172
= { ((((mmc_uint_t)2)<<(3))+((1<<(3+3))+5)), ", "
}
;
445#define _OMC_LIT172((void*)((char*)(&(_OMC_LIT_STRUCT172).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT172)((void*)((char*)(&(_OMC_LIT_STRUCT172).header) + 3))
446#define _OMC_LIT173_data"unassignedStates\n" "unassignedStates\n"
447static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT173,17,_OMC_LIT173_data)struct { mmc_uint_t header; const char data[(17)+1]; } _OMC_LIT_STRUCT173
= { ((((mmc_uint_t)17)<<(3))+((1<<(3+3))+5)), "unassignedStates\n"
}
;
448#define _OMC_LIT173((void*)((char*)(&(_OMC_LIT_STRUCT173).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT173)((void*)((char*)(&(_OMC_LIT_STRUCT173).header) + 3))
449#define _OMC_LIT174_data"not differentiable minimal singular subset:\n" "not differentiable minimal singular subset:\n"
450static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT174,44,_OMC_LIT174_data)struct { mmc_uint_t header; const char data[(44)+1]; } _OMC_LIT_STRUCT174
= { ((((mmc_uint_t)44)<<(3))+((1<<(3+3))+5)), "not differentiable minimal singular subset:\n"
}
;
451#define _OMC_LIT174((void*)((char*)(&(_OMC_LIT_STRUCT174).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT174)((void*)((char*)(&(_OMC_LIT_STRUCT174).header) + 3))
452#define _OMC_LIT175_data"unassignedEqns:\n" "unassignedEqns:\n"
453static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT175,16,_OMC_LIT175_data)struct { mmc_uint_t header; const char data[(16)+1]; } _OMC_LIT_STRUCT175
= { ((((mmc_uint_t)16)<<(3))+((1<<(3+3))+5)), "unassignedEqns:\n"
}
;
454#define _OMC_LIT175((void*)((char*)(&(_OMC_LIT_STRUCT175).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT175)((void*)((char*)(&(_OMC_LIT_STRUCT175).header) + 3))
455#define _OMC_LIT176_data"unassignedStates:\n" "unassignedStates:\n"
456static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT176,18,_OMC_LIT176_data)struct { mmc_uint_t header; const char data[(18)+1]; } _OMC_LIT_STRUCT176
= { ((((mmc_uint_t)18)<<(3))+((1<<(3+3))+5)), "unassignedStates:\n"
}
;
457#define _OMC_LIT176((void*)((char*)(&(_OMC_LIT_STRUCT176).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT176)((void*)((char*)(&(_OMC_LIT_STRUCT176).header) + 3))
458#define _OMC_LIT177_data"states without used derivative:\n" "states without used derivative:\n"
459static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT177,32,_OMC_LIT177_data)struct { mmc_uint_t header; const char data[(32)+1]; } _OMC_LIT_STRUCT177
= { ((((mmc_uint_t)32)<<(3))+((1<<(3+3))+5)), "states without used derivative:\n"
}
;
460#define _OMC_LIT177((void*)((char*)(&(_OMC_LIT_STRUCT177).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT177)((void*)((char*)(&(_OMC_LIT_STRUCT177).header) + 3))
461#define _OMC_LIT178_data"Skip already differentiated equation\n" "Skip already differentiated equation\n"
462static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT178,37,_OMC_LIT178_data)struct { mmc_uint_t header; const char data[(37)+1]; } _OMC_LIT_STRUCT178
= { ((((mmc_uint_t)37)<<(3))+((1<<(3+3))+5)), "Skip already differentiated equation\n"
}
;
463#define _OMC_LIT178((void*)((char*)(&(_OMC_LIT_STRUCT178).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT178)((void*)((char*)(&(_OMC_LIT_STRUCT178).header) + 3))
464#define _OMC_LIT179_data"Reduce Index failed! Found empty set of continuous equations.\nmarked equations:\n" "Reduce Index failed! Found empty set of continuous equations.\nmarked equations:\n"
465static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT179,80,_OMC_LIT179_data)struct { mmc_uint_t header; const char data[(80)+1]; } _OMC_LIT_STRUCT179
= { ((((mmc_uint_t)80)<<(3))+((1<<(3+3))+5)), "Reduce Index failed! Found empty set of continuous equations.\nmarked equations:\n"
}
;
466#define _OMC_LIT179((void*)((char*)(&(_OMC_LIT_STRUCT179).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT179)((void*)((char*)(&(_OMC_LIT_STRUCT179).header) + 3))
467#define _OMC_LIT180_data"IndexReduction.pantelidesIndexReduction failed! Found empty set of continuous equations. Use -d=bltdump to get more information." "IndexReduction.pantelidesIndexReduction failed! Found empty set of continuous equations. Use -d=bltdump to get more information."
468static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT180,128,_OMC_LIT180_data)struct { mmc_uint_t header; const char data[(128)+1]; } _OMC_LIT_STRUCT180
= { ((((mmc_uint_t)128)<<(3))+((1<<(3+3))+5)), "IndexReduction.pantelidesIndexReduction failed! Found empty set of continuous equations. Use -d=bltdump to get more information."
}
;
469#define _OMC_LIT180((void*)((char*)(&(_OMC_LIT_STRUCT180).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT180)((void*)((char*)(&(_OMC_LIT_STRUCT180).header) + 3))
470static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT181,2,1)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT181
= { (((2) << 10) + (((1) & 255) << 2)),
{_OMC_LIT180((void*)((char*)(&(_OMC_LIT_STRUCT180).header) + 3)),MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3))}};
471#define _OMC_LIT181((void*)((char*)(&(_OMC_LIT_STRUCT181).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT181)((void*)((char*)(&(_OMC_LIT_STRUCT181).header) + 3))
472#define _OMC_LIT182_data"Reduce Index failed! System is structurally singular and cannot be handled because the number of unassigned continuous equations is larger than the number of states.\nmarked equations:\n" "Reduce Index failed! System is structurally singular and cannot be handled because the number of unassigned continuous equations is larger than the number of states.\nmarked equations:\n"
473static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT182,184,_OMC_LIT182_data)struct { mmc_uint_t header; const char data[(184)+1]; } _OMC_LIT_STRUCT182
= { ((((mmc_uint_t)184)<<(3))+((1<<(3+3))+5)), "Reduce Index failed! System is structurally singular and cannot be handled because the number of unassigned continuous equations is larger than the number of states.\nmarked equations:\n"
}
;
474#define _OMC_LIT182((void*)((char*)(&(_OMC_LIT_STRUCT182).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT182)((void*)((char*)(&(_OMC_LIT_STRUCT182).header) + 3))
475#define _OMC_LIT183_data"\n\nunassigned states:\n" "\n\nunassigned states:\n"
476static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT183,21,_OMC_LIT183_data)struct { mmc_uint_t header; const char data[(21)+1]; } _OMC_LIT_STRUCT183
= { ((((mmc_uint_t)21)<<(3))+((1<<(3+3))+5)), "\n\nunassigned states:\n"
}
;
477#define _OMC_LIT183((void*)((char*)(&(_OMC_LIT_STRUCT183).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT183)((void*)((char*)(&(_OMC_LIT_STRUCT183).header) + 3))
478#define _OMC_LIT184_data"IndexReduction.pantelidesIndexReduction failed! System is structurally singular and cannot be handled because the number of unassigned equations is larger than the number of states. Use -d=bltdump to get more information." "IndexReduction.pantelidesIndexReduction failed! System is structurally singular and cannot be handled because the number of unassigned equations is larger than the number of states. Use -d=bltdump to get more information."
479static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT184,221,_OMC_LIT184_data)struct { mmc_uint_t header; const char data[(221)+1]; } _OMC_LIT_STRUCT184
= { ((((mmc_uint_t)221)<<(3))+((1<<(3+3))+5)), "IndexReduction.pantelidesIndexReduction failed! System is structurally singular and cannot be handled because the number of unassigned equations is larger than the number of states. Use -d=bltdump to get more information."
}
;
480#define _OMC_LIT184((void*)((char*)(&(_OMC_LIT_STRUCT184).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT184)((void*)((char*)(&(_OMC_LIT_STRUCT184).header) + 3))
481static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT185,2,1)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT185
= { (((2) << 10) + (((1) & 255) << 2)),
{_OMC_LIT184((void*)((char*)(&(_OMC_LIT_STRUCT184).header) + 3)),MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3))}};
482#define _OMC_LIT185((void*)((char*)(&(_OMC_LIT_STRUCT185).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT185)((void*)((char*)(&(_OMC_LIT_STRUCT185).header) + 3))
483static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT186,3,0)struct { mmc_uint_t header; const void *data[3]; } _OMC_LIT_STRUCT186
= { (((3) << 10) + (((0) & 255) << 2)),
{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))}};
484#define _OMC_LIT186((void*)((char*)(&(_OMC_LIT_STRUCT186).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT186)((void*)((char*)(&(_OMC_LIT_STRUCT186).header) + 3))
485#define _OMC_LIT187_data"Original Eq " "Original Eq "
486static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT187,12,_OMC_LIT187_data)struct { mmc_uint_t header; const char data[(12)+1]; } _OMC_LIT_STRUCT187
= { ((((mmc_uint_t)12)<<(3))+((1<<(3+3))+5)), "Original Eq "
}
;
487#define _OMC_LIT187((void*)((char*)(&(_OMC_LIT_STRUCT187).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT187)((void*)((char*)(&(_OMC_LIT_STRUCT187).header) + 3))
488#define _OMC_LIT188_data": " ": "
489static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT188,2,_OMC_LIT188_data)struct { mmc_uint_t header; const char data[(2)+1]; } _OMC_LIT_STRUCT188
= { ((((mmc_uint_t)2)<<(3))+((1<<(3+3))+5)), ": "
}
;
490#define _OMC_LIT188((void*)((char*)(&(_OMC_LIT_STRUCT188).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT188)((void*)((char*)(&(_OMC_LIT_STRUCT188).header) + 3))
491#define _OMC_LIT189_data"\n -->" "\n -->"
492static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT189,5,_OMC_LIT189_data)struct { mmc_uint_t header; const char data[(5)+1]; } _OMC_LIT_STRUCT189
= { ((((mmc_uint_t)5)<<(3))+((1<<(3+3))+5)), "\n -->"
}
;
493#define _OMC_LIT189((void*)((char*)(&(_OMC_LIT_STRUCT189).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT189)((void*)((char*)(&(_OMC_LIT_STRUCT189).header) + 3))
494#define _OMC_LIT190_data"##############--MSSS--##############\nIndices of constraint equations: " "##############--MSSS--##############\nIndices of constraint equations: "
495static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT190,70,_OMC_LIT190_data)struct { mmc_uint_t header; const char data[(70)+1]; } _OMC_LIT_STRUCT190
= { ((((mmc_uint_t)70)<<(3))+((1<<(3+3))+5)), "##############--MSSS--##############\nIndices of constraint equations: "
}
;
496#define _OMC_LIT190((void*)((char*)(&(_OMC_LIT_STRUCT190).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT190)((void*)((char*)(&(_OMC_LIT_STRUCT190).header) + 3))
497#define _OMC_LIT191_data"- IndexReduction.pantelidesIndexReductionMSS failed! Use -d=bltdump to get more information." "- IndexReduction.pantelidesIndexReductionMSS failed! Use -d=bltdump to get more information."
498static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT191,92,_OMC_LIT191_data)struct { mmc_uint_t header; const char data[(92)+1]; } _OMC_LIT_STRUCT191
= { ((((mmc_uint_t)92)<<(3))+((1<<(3+3))+5)), "- IndexReduction.pantelidesIndexReductionMSS failed! Use -d=bltdump to get more information."
}
;
499#define _OMC_LIT191((void*)((char*)(&(_OMC_LIT_STRUCT191).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT191)((void*)((char*)(&(_OMC_LIT_STRUCT191).header) + 3))
500static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT192,2,1)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT192
= { (((2) << 10) + (((1) & 255) << 2)),
{_OMC_LIT191((void*)((char*)(&(_OMC_LIT_STRUCT191).header) + 3)),MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3))}};
501#define _OMC_LIT192((void*)((char*)(&(_OMC_LIT_STRUCT192).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT192)((void*)((char*)(&(_OMC_LIT_STRUCT192).header) + 3))
502#define _OMC_LIT193_data"- IndexReduction.pantelidesIndexReduction1 failed! Use -d=bltdump to get more information." "- IndexReduction.pantelidesIndexReduction1 failed! Use -d=bltdump to get more information."
503static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT193,90,_OMC_LIT193_data)struct { mmc_uint_t header; const char data[(90)+1]; } _OMC_LIT_STRUCT193
= { ((((mmc_uint_t)90)<<(3))+((1<<(3+3))+5)), "- IndexReduction.pantelidesIndexReduction1 failed! Use -d=bltdump to get more information."
}
;
504#define _OMC_LIT193((void*)((char*)(&(_OMC_LIT_STRUCT193).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT193)((void*)((char*)(&(_OMC_LIT_STRUCT193).header) + 3))
505static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT194,2,1)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT194
= { (((2) << 10) + (((1) & 255) << 2)),
{_OMC_LIT193((void*)((char*)(&(_OMC_LIT_STRUCT193).header) + 3)),MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3))}};
506#define _OMC_LIT194((void*)((char*)(&(_OMC_LIT_STRUCT194).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT194)((void*)((char*)(&(_OMC_LIT_STRUCT194).header) + 3))
507#define _OMC_LIT195_data"Structurally singular system detected, but no index reduction method has been selected." "Structurally singular system detected, but no index reduction method has been selected."
508static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT195,87,_OMC_LIT195_data)struct { mmc_uint_t header; const char data[(87)+1]; } _OMC_LIT_STRUCT195
= { ((((mmc_uint_t)87)<<(3))+((1<<(3+3))+5)), "Structurally singular system detected, but no index reduction method has been selected."
}
;
509#define _OMC_LIT195((void*)((char*)(&(_OMC_LIT_STRUCT195).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT195)((void*)((char*)(&(_OMC_LIT_STRUCT195).header) + 3))
510#define _OMC_LIT196_data"- IndexReduction.pantelidesIndexReduction called with empty list of equations!" "- IndexReduction.pantelidesIndexReduction called with empty list of equations!"
511static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT196,78,_OMC_LIT196_data)struct { mmc_uint_t header; const char data[(78)+1]; } _OMC_LIT_STRUCT196
= { ((((mmc_uint_t)78)<<(3))+((1<<(3+3))+5)), "- IndexReduction.pantelidesIndexReduction called with empty list of equations!"
}
;
512#define _OMC_LIT196((void*)((char*)(&(_OMC_LIT_STRUCT196).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT196)((void*)((char*)(&(_OMC_LIT_STRUCT196).header) + 3))
513static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT197,2,1)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT197
= { (((2) << 10) + (((1) & 255) << 2)),
{_OMC_LIT196((void*)((char*)(&(_OMC_LIT_STRUCT196).header) + 3)),MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3))}};
514#define _OMC_LIT197((void*)((char*)(&(_OMC_LIT_STRUCT197).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT197)((void*)((char*)(&(_OMC_LIT_STRUCT197).header) + 3))
515#define _OMC_LIT198_data"Index reduction done.\n" "Index reduction done.\n"
516static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT198,22,_OMC_LIT198_data)struct { mmc_uint_t header; const char data[(22)+1]; } _OMC_LIT_STRUCT198
= { ((((mmc_uint_t)22)<<(3))+((1<<(3+3))+5)), "Index reduction done.\n"
}
;
517#define _OMC_LIT198((void*)((char*)(&(_OMC_LIT_STRUCT198).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT198)((void*)((char*)(&(_OMC_LIT_STRUCT198).header) + 3))
518#define _OMC_LIT199_data"optdaedump" "optdaedump"
519static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT199,10,_OMC_LIT199_data)struct { mmc_uint_t header; const char data[(10)+1]; } _OMC_LIT_STRUCT199
= { ((((mmc_uint_t)10)<<(3))+((1<<(3+3))+5)), "optdaedump"
}
;
520#define _OMC_LIT199((void*)((char*)(&(_OMC_LIT_STRUCT199).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT199)((void*)((char*)(&(_OMC_LIT_STRUCT199).header) + 3))
521#define _OMC_LIT200_data"Dumps information from the optimization modules." "Dumps information from the optimization modules."
522static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT200,48,_OMC_LIT200_data)struct { mmc_uint_t header; const char data[(48)+1]; } _OMC_LIT_STRUCT200
= { ((((mmc_uint_t)48)<<(3))+((1<<(3+3))+5)), "Dumps information from the optimization modules."
}
;
523#define _OMC_LIT200((void*)((char*)(&(_OMC_LIT_STRUCT200).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT200)((void*)((char*)(&(_OMC_LIT_STRUCT200).header) + 3))
524static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT201,2,3)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT201
= { (((2) << 10) + (((3) & 255) << 2)),
{&Gettext_TranslatableContent_gettext__desc,_OMC_LIT200((void*)((char*)(&(_OMC_LIT_STRUCT200).header) + 3))}};
525#define _OMC_LIT201((void*)((char*)(&(_OMC_LIT_STRUCT201).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT201)((void*)((char*)(&(_OMC_LIT_STRUCT201).header) + 3))
526static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT202,5,3)struct { mmc_uint_t header; const void *data[5]; } _OMC_LIT_STRUCT202
= { (((5) << 10) + (((3) & 255) << 2)),
{&Flags_DebugFlag_DEBUG__FLAG__desc,MMC_IMMEDIATE(MMC_TAGFIXNUM(56))((void*)(((((mmc_uint_t) (56)) << 1)+0))),_OMC_LIT199((void*)((char*)(&(_OMC_LIT_STRUCT199).header) + 3)),MMC_IMMEDIATE(MMC_TAGFIXNUM(0))((void*)(((((mmc_uint_t) (0)) << 1)+0))),_OMC_LIT201((void*)((char*)(&(_OMC_LIT_STRUCT201).header) + 3))}};
527#define _OMC_LIT202((void*)((char*)(&(_OMC_LIT_STRUCT202).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT202)((void*)((char*)(&(_OMC_LIT_STRUCT202).header) + 3))
528#define _OMC_LIT203_data"\n\nIndex reduction:\n" "\n\nIndex reduction:\n"
529static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT203,19,_OMC_LIT203_data)struct { mmc_uint_t header; const char data[(19)+1]; } _OMC_LIT_STRUCT203
= { ((((mmc_uint_t)19)<<(3))+((1<<(3+3))+5)), "\n\nIndex reduction:\n"
}
;
530#define _OMC_LIT203((void*)((char*)(&(_OMC_LIT_STRUCT203).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT203)((void*)((char*)(&(_OMC_LIT_STRUCT203).header) + 3))
531#define _OMC_LIT204_data"Pantelides" "Pantelides"
532static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT204,10,_OMC_LIT204_data)struct { mmc_uint_t header; const char data[(10)+1]; } _OMC_LIT_STRUCT204
= { ((((mmc_uint_t)10)<<(3))+((1<<(3+3))+5)), "Pantelides"
}
;
533#define _OMC_LIT204((void*)((char*)(&(_OMC_LIT_STRUCT204).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT204)((void*)((char*)(&(_OMC_LIT_STRUCT204).header) + 3))
534#define _OMC_LIT205_data"pantelidesIndexReduction" "pantelidesIndexReduction"
535static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT205,24,_OMC_LIT205_data)struct { mmc_uint_t header; const char data[(24)+1]; } _OMC_LIT_STRUCT205
= { ((((mmc_uint_t)24)<<(3))+((1<<(3+3))+5)), "pantelidesIndexReduction"
}
;
536#define _OMC_LIT205((void*)((char*)(&(_OMC_LIT_STRUCT205).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT205)((void*)((char*)(&(_OMC_LIT_STRUCT205).header) + 3))
537#define _OMC_LIT206_data"- IndexReduction.pantelidesIndexReduction failed!" "- IndexReduction.pantelidesIndexReduction failed!"
538static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT206,49,_OMC_LIT206_data)struct { mmc_uint_t header; const char data[(49)+1]; } _OMC_LIT_STRUCT206
= { ((((mmc_uint_t)49)<<(3))+((1<<(3+3))+5)), "- IndexReduction.pantelidesIndexReduction failed!"
}
;
539#define _OMC_LIT206((void*)((char*)(&(_OMC_LIT_STRUCT206).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT206)((void*)((char*)(&(_OMC_LIT_STRUCT206).header) + 3))
540static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT207,2,1)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT207
= { (((2) << 10) + (((1) & 255) << 2)),
{_OMC_LIT206((void*)((char*)(&(_OMC_LIT_STRUCT206).header) + 3)),MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3))}};
541#define _OMC_LIT207((void*)((char*)(&(_OMC_LIT_STRUCT207).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT207)((void*)((char*)(&(_OMC_LIT_STRUCT207).header) + 3))
542#include "util/modelica.h"
543
544#include "IndexReduction_includes.h"
545
546
547/* default, do not make protected functions static */
548#if !defined(PROTECTED_FUNCTION_STATIC)
549#define PROTECTED_FUNCTION_STATIC
550#endif
551PROTECTED_FUNCTION_STATIC modelica_metatype omc_IndexReduction_addOrgEqn(threadData_t *threadData, modelica_integer _e, modelica_metatype _inEqn, modelica_metatype _inOrgEqns);
552PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_IndexReduction_addOrgEqn(threadData_t *threadData, modelica_metatype _e, modelica_metatype _inEqn, modelica_metatype _inOrgEqns);
553static const MMC_DEFSTRUCTLIT(boxvar_lit_IndexReduction_addOrgEqn,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_IndexReduction_addOrgEqn
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_IndexReduction_addOrgEqn,0}};
554#define boxvar_IndexReduction_addOrgEqn((void*)((char*)(&(boxvar_lit_IndexReduction_addOrgEqn).header
) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_IndexReduction_addOrgEqn)((void*)((char*)(&(boxvar_lit_IndexReduction_addOrgEqn).header
) + 3))
555PROTECTED_FUNCTION_STATIC modelica_metatype omc_IndexReduction_getDerStateOrder(threadData_t *threadData, modelica_metatype _dcr, modelica_metatype _inStateOrder);
556static const MMC_DEFSTRUCTLIT(boxvar_lit_IndexReduction_getDerStateOrder,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_IndexReduction_getDerStateOrder
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_IndexReduction_getDerStateOrderomc_IndexReduction_getDerStateOrder,0}};
557#define boxvar_IndexReduction_getDerStateOrder((void*)((char*)(&(boxvar_lit_IndexReduction_getDerStateOrder
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_IndexReduction_getDerStateOrder)((void*)((char*)(&(boxvar_lit_IndexReduction_getDerStateOrder
).header) + 3))
558PROTECTED_FUNCTION_STATIC modelica_metatype omc_IndexReduction_getStateOrder(threadData_t *threadData, modelica_metatype _cr, modelica_metatype _inStateOrder);
559static const MMC_DEFSTRUCTLIT(boxvar_lit_IndexReduction_getStateOrder,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_IndexReduction_getStateOrder
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_IndexReduction_getStateOrderomc_IndexReduction_getStateOrder,0}};
560#define boxvar_IndexReduction_getStateOrder((void*)((char*)(&(boxvar_lit_IndexReduction_getStateOrder
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_IndexReduction_getStateOrder)((void*)((char*)(&(boxvar_lit_IndexReduction_getStateOrder
).header) + 3))
561PROTECTED_FUNCTION_STATIC modelica_metatype omc_IndexReduction_addStateOrder(threadData_t *threadData, modelica_metatype _cr, modelica_metatype _dcr, modelica_metatype _inStateOrder);
562static const MMC_DEFSTRUCTLIT(boxvar_lit_IndexReduction_addStateOrder,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_IndexReduction_addStateOrder
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_IndexReduction_addStateOrderomc_IndexReduction_addStateOrder,0}};
563#define boxvar_IndexReduction_addStateOrder((void*)((char*)(&(boxvar_lit_IndexReduction_addStateOrder
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_IndexReduction_addStateOrder)((void*)((char*)(&(boxvar_lit_IndexReduction_addStateOrder
).header) + 3))
564PROTECTED_FUNCTION_STATIC modelica_string omc_IndexReduction_dumpStates(threadData_t *threadData, modelica_metatype _state);
565static const MMC_DEFSTRUCTLIT(boxvar_lit_IndexReduction_dumpStates,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_IndexReduction_dumpStates
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_IndexReduction_dumpStatesomc_IndexReduction_dumpStates,0}};
566#define boxvar_IndexReduction_dumpStates((void*)((char*)(&(boxvar_lit_IndexReduction_dumpStates).
header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_IndexReduction_dumpStates)((void*)((char*)(&(boxvar_lit_IndexReduction_dumpStates).
header) + 3))
567PROTECTED_FUNCTION_STATIC modelica_metatype omc_IndexReduction_addStateOrderFinder(threadData_t *threadData, modelica_metatype _iVlst, modelica_metatype _iDerVlst, modelica_metatype _inVars);
568static const MMC_DEFSTRUCTLIT(boxvar_lit_IndexReduction_addStateOrderFinder,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_IndexReduction_addStateOrderFinder
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_IndexReduction_addStateOrderFinderomc_IndexReduction_addStateOrderFinder,0}};
569#define boxvar_IndexReduction_addStateOrderFinder((void*)((char*)(&(boxvar_lit_IndexReduction_addStateOrderFinder
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_IndexReduction_addStateOrderFinder)((void*)((char*)(&(boxvar_lit_IndexReduction_addStateOrderFinder
).header) + 3))
570PROTECTED_FUNCTION_STATIC modelica_metatype omc_IndexReduction_traverseFindStateOrder(threadData_t *threadData, modelica_metatype _inEq, modelica_metatype _inVars, modelica_metatype *out_outVars);
571static const MMC_DEFSTRUCTLIT(boxvar_lit_IndexReduction_traverseFindStateOrder,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_IndexReduction_traverseFindStateOrder
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_IndexReduction_traverseFindStateOrderomc_IndexReduction_traverseFindStateOrder,0}};
572#define boxvar_IndexReduction_traverseFindStateOrder((void*)((char*)(&(boxvar_lit_IndexReduction_traverseFindStateOrder
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_IndexReduction_traverseFindStateOrder)((void*)((char*)(&(boxvar_lit_IndexReduction_traverseFindStateOrder
).header) + 3))
573PROTECTED_FUNCTION_STATIC modelica_metatype omc_IndexReduction_findStateOrderWork(threadData_t *threadData, modelica_metatype _inSystem);
574static const MMC_DEFSTRUCTLIT(boxvar_lit_IndexReduction_findStateOrderWork,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_IndexReduction_findStateOrderWork
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_IndexReduction_findStateOrderWorkomc_IndexReduction_findStateOrderWork,0}};
575#define boxvar_IndexReduction_findStateOrderWork((void*)((char*)(&(boxvar_lit_IndexReduction_findStateOrderWork
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_IndexReduction_findStateOrderWork)((void*)((char*)(&(boxvar_lit_IndexReduction_findStateOrderWork
).header) + 3))
576PROTECTED_FUNCTION_STATIC modelica_metatype omc_IndexReduction_setSetAStart(threadData_t *threadData, modelica_metatype _iVars, modelica_integer _n, modelica_integer _r, modelica_integer _nCandidates, modelica_metatype _iAcc);
577PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_IndexReduction_setSetAStart(threadData_t *threadData, modelica_metatype _iVars, modelica_metatype _n, modelica_metatype _r, modelica_metatype _nCandidates, modelica_metatype _iAcc);
578static const MMC_DEFSTRUCTLIT(boxvar_lit_IndexReduction_setSetAStart,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_IndexReduction_setSetAStart
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_IndexReduction_setSetAStart,0}};
579#define boxvar_IndexReduction_setSetAStart((void*)((char*)(&(boxvar_lit_IndexReduction_setSetAStart
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_IndexReduction_setSetAStart)((void*)((char*)(&(boxvar_lit_IndexReduction_setSetAStart
).header) + 3))
580PROTECTED_FUNCTION_STATIC modelica_metatype omc_IndexReduction_getSetVars(threadData_t *threadData, modelica_integer _index, modelica_integer _setsize, modelica_integer _nCandidates, modelica_integer _nCEqns, modelica_integer _level, modelica_metatype *out_crset, modelica_metatype *out_oSetVars, modelica_metatype *out_ocrA, modelica_metatype *out_oAVars, modelica_metatype *out_realtp, modelica_metatype *out_ocrJ, modelica_metatype *out_oJVars);
581PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_IndexReduction_getSetVars(threadData_t *threadData, modelica_metatype _index, modelica_metatype _setsize, modelica_metatype _nCandidates, modelica_metatype _nCEqns, modelica_metatype _level, modelica_metatype *out_crset, modelica_metatype *out_oSetVars, modelica_metatype *out_ocrA, modelica_metatype *out_oAVars, modelica_metatype *out_realtp, modelica_metatype *out_ocrJ, modelica_metatype *out_oJVars);
582static const MMC_DEFSTRUCTLIT(boxvar_lit_IndexReduction_getSetVars,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_IndexReduction_getSetVars
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_IndexReduction_getSetVars,0}};
583#define boxvar_IndexReduction_getSetVars((void*)((char*)(&(boxvar_lit_IndexReduction_getSetVars).
header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_IndexReduction_getSetVars)((void*)((char*)(&(boxvar_lit_IndexReduction_getSetVars).
header) + 3))
584PROTECTED_FUNCTION_STATIC void omc_IndexReduction_debugdifferentiateEqns(threadData_t *threadData, modelica_metatype _inTpl);
585static const MMC_DEFSTRUCTLIT(boxvar_lit_IndexReduction_debugdifferentiateEqns,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_IndexReduction_debugdifferentiateEqns
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_IndexReduction_debugdifferentiateEqnsomc_IndexReduction_debugdifferentiateEqns,0}};
586#define boxvar_IndexReduction_debugdifferentiateEqns((void*)((char*)(&(boxvar_lit_IndexReduction_debugdifferentiateEqns
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_IndexReduction_debugdifferentiateEqns)((void*)((char*)(&(boxvar_lit_IndexReduction_debugdifferentiateEqns
).header) + 3))
587PROTECTED_FUNCTION_STATIC modelica_metatype omc_IndexReduction_increaseDifferentiation(threadData_t *threadData, modelica_metatype _inVarLst, modelica_metatype _iVarIndxs, modelica_integer _counter, modelica_metatype _inVars, modelica_metatype _iChangedVars, modelica_metatype *out_oChangedVars);
588PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_IndexReduction_increaseDifferentiation(threadData_t *threadData, modelica_metatype _inVarLst, modelica_metatype _iVarIndxs, modelica_metatype _counter, modelica_metatype _inVars, modelica_metatype _iChangedVars, modelica_metatype *out_oChangedVars);
589static const MMC_DEFSTRUCTLIT(boxvar_lit_IndexReduction_increaseDifferentiation,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_IndexReduction_increaseDifferentiation
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_IndexReduction_increaseDifferentiation,0}};
590#define boxvar_IndexReduction_increaseDifferentiation((void*)((char*)(&(boxvar_lit_IndexReduction_increaseDifferentiation
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_IndexReduction_increaseDifferentiation)((void*)((char*)(&(boxvar_lit_IndexReduction_increaseDifferentiation
).header) + 3))
591PROTECTED_FUNCTION_STATIC modelica_metatype omc_IndexReduction_algebraicState(threadData_t *threadData, modelica_metatype _inVarLst, modelica_metatype _inIndxLst, modelica_metatype _inVars, modelica_metatype _iChangedVars, modelica_metatype *out_oChangedVars);
592static const MMC_DEFSTRUCTLIT(boxvar_lit_IndexReduction_algebraicState,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_IndexReduction_algebraicState
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_IndexReduction_algebraicStateomc_IndexReduction_algebraicState,0}};
593#define boxvar_IndexReduction_algebraicState((void*)((char*)(&(boxvar_lit_IndexReduction_algebraicState
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_IndexReduction_algebraicState)((void*)((char*)(&(boxvar_lit_IndexReduction_algebraicState
).header) + 3))
594PROTECTED_FUNCTION_STATIC modelica_metatype omc_IndexReduction_changeDerVariablesToStatesFinder(threadData_t *threadData, modelica_metatype _inExp, modelica_metatype _inTpl, modelica_metatype *out_outTpl);
595static const MMC_DEFSTRUCTLIT(boxvar_lit_IndexReduction_changeDerVariablesToStatesFinder,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_IndexReduction_changeDerVariablesToStatesFinder
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_IndexReduction_changeDerVariablesToStatesFinderomc_IndexReduction_changeDerVariablesToStatesFinder,0}};
596#define boxvar_IndexReduction_changeDerVariablesToStatesFinder((void*)((char*)(&(boxvar_lit_IndexReduction_changeDerVariablesToStatesFinder
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_IndexReduction_changeDerVariablesToStatesFinder)((void*)((char*)(&(boxvar_lit_IndexReduction_changeDerVariablesToStatesFinder
).header) + 3))
597PROTECTED_FUNCTION_STATIC modelica_metatype omc_IndexReduction_replaceDummyDerivativesVar(threadData_t *threadData, modelica_metatype _inVar, modelica_metatype _inHt, modelica_metatype *out_outHt);
598static const MMC_DEFSTRUCTLIT(boxvar_lit_IndexReduction_replaceDummyDerivativesVar,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_IndexReduction_replaceDummyDerivativesVar
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_IndexReduction_replaceDummyDerivativesVaromc_IndexReduction_replaceDummyDerivativesVar,0}};
599#define boxvar_IndexReduction_replaceDummyDerivativesVar((void*)((char*)(&(boxvar_lit_IndexReduction_replaceDummyDerivativesVar
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_IndexReduction_replaceDummyDerivativesVar)((void*)((char*)(&(boxvar_lit_IndexReduction_replaceDummyDerivativesVar
).header) + 3))
600PROTECTED_FUNCTION_STATIC modelica_metatype omc_IndexReduction_replaceDummyDerivatives(threadData_t *threadData, modelica_metatype _inSyst, modelica_metatype _ht, modelica_metatype _inShared, modelica_metatype *out_outShared);
601static const MMC_DEFSTRUCTLIT(boxvar_lit_IndexReduction_replaceDummyDerivatives,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_IndexReduction_replaceDummyDerivatives
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_IndexReduction_replaceDummyDerivativesomc_IndexReduction_replaceDummyDerivatives,0}};
602#define boxvar_IndexReduction_replaceDummyDerivatives((void*)((char*)(&(boxvar_lit_IndexReduction_replaceDummyDerivatives
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_IndexReduction_replaceDummyDerivatives)((void*)((char*)(&(boxvar_lit_IndexReduction_replaceDummyDerivatives
).header) + 3))
603PROTECTED_FUNCTION_STATIC modelica_metatype omc_IndexReduction_replaceDummyDerivativesExp(threadData_t *threadData, modelica_metatype _inExp, modelica_metatype _iht, modelica_metatype *out_ht);
604static const MMC_DEFSTRUCTLIT(boxvar_lit_IndexReduction_replaceDummyDerivativesExp,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_IndexReduction_replaceDummyDerivativesExp
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_IndexReduction_replaceDummyDerivativesExpomc_IndexReduction_replaceDummyDerivativesExp,0}};
605#define boxvar_IndexReduction_replaceDummyDerivativesExp((void*)((char*)(&(boxvar_lit_IndexReduction_replaceDummyDerivativesExp
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_IndexReduction_replaceDummyDerivativesExp)((void*)((char*)(&(boxvar_lit_IndexReduction_replaceDummyDerivativesExp
).header) + 3))
606PROTECTED_FUNCTION_STATIC modelica_metatype omc_IndexReduction_replaceFirstOrderDerivativesExp(threadData_t *threadData, modelica_metatype _inExp, modelica_metatype _iht, modelica_metatype *out_ht);
607static const MMC_DEFSTRUCTLIT(boxvar_lit_IndexReduction_replaceFirstOrderDerivativesExp,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_IndexReduction_replaceFirstOrderDerivativesExp
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_IndexReduction_replaceFirstOrderDerivativesExpomc_IndexReduction_replaceFirstOrderDerivativesExp,0}};
608#define boxvar_IndexReduction_replaceFirstOrderDerivativesExp((void*)((char*)(&(boxvar_lit_IndexReduction_replaceFirstOrderDerivativesExp
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_IndexReduction_replaceFirstOrderDerivativesExp)((void*)((char*)(&(boxvar_lit_IndexReduction_replaceFirstOrderDerivativesExp
).header) + 3))
609PROTECTED_FUNCTION_STATIC modelica_metatype omc_IndexReduction_crefPrefixDerN(threadData_t *threadData, modelica_integer _n, modelica_metatype _iName, modelica_metatype *out_oDerName);
610PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_IndexReduction_crefPrefixDerN(threadData_t *threadData, modelica_metatype _n, modelica_metatype _iName, modelica_metatype *out_oDerName);
611static const MMC_DEFSTRUCTLIT(boxvar_lit_IndexReduction_crefPrefixDerN,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_IndexReduction_crefPrefixDerN
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_IndexReduction_crefPrefixDerN,0}};
612#define boxvar_IndexReduction_crefPrefixDerN((void*)((char*)(&(boxvar_lit_IndexReduction_crefPrefixDerN
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_IndexReduction_crefPrefixDerN)((void*)((char*)(&(boxvar_lit_IndexReduction_crefPrefixDerN
).header) + 3))
613PROTECTED_FUNCTION_STATIC modelica_metatype omc_IndexReduction_makeDummyVarandDummyDerivative(threadData_t *threadData, modelica_metatype _inVar, modelica_integer _level, modelica_metatype _inTpl);
614PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_IndexReduction_makeDummyVarandDummyDerivative(threadData_t *threadData, modelica_metatype _inVar, modelica_metatype _level, modelica_metatype _inTpl);
615static const MMC_DEFSTRUCTLIT(boxvar_lit_IndexReduction_makeDummyVarandDummyDerivative,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_IndexReduction_makeDummyVarandDummyDerivative
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_IndexReduction_makeDummyVarandDummyDerivative,0}};
616#define boxvar_IndexReduction_makeDummyVarandDummyDerivative((void*)((char*)(&(boxvar_lit_IndexReduction_makeDummyVarandDummyDerivative
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_IndexReduction_makeDummyVarandDummyDerivative)((void*)((char*)(&(boxvar_lit_IndexReduction_makeDummyVarandDummyDerivative
).header) + 3))
617PROTECTED_FUNCTION_STATIC modelica_metatype omc_IndexReduction_addDummyStates(threadData_t *threadData, modelica_metatype _dummyStates, modelica_integer _level, modelica_metatype _repl, modelica_metatype _inSystem, modelica_metatype _iHt, modelica_metatype *out_oHt);
618PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_IndexReduction_addDummyStates(threadData_t *threadData, modelica_metatype _dummyStates, modelica_metatype _level, modelica_metatype _repl, modelica_metatype _inSystem, modelica_metatype _iHt, modelica_metatype *out_oHt);
619static const MMC_DEFSTRUCTLIT(boxvar_lit_IndexReduction_addDummyStates,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_IndexReduction_addDummyStates
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_IndexReduction_addDummyStates,0}};
620#define boxvar_IndexReduction_addDummyStates((void*)((char*)(&(boxvar_lit_IndexReduction_addDummyStates
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_IndexReduction_addDummyStates)((void*)((char*)(&(boxvar_lit_IndexReduction_addDummyStates
).header) + 3))
621PROTECTED_FUNCTION_STATIC modelica_metatype omc_IndexReduction_makeAllDummyVarandDummyDerivativeRepl1(threadData_t *threadData, modelica_integer _diffCount, modelica_integer _diffedCount, modelica_metatype _iOrigName, modelica_metatype _iName, modelica_metatype _inVar, modelica_metatype _vars, modelica_metatype _so, modelica_metatype _iVarLst, modelica_metatype _iHt, modelica_metatype *out_oHt);
622PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_IndexReduction_makeAllDummyVarandDummyDerivativeRepl1(threadData_t *threadData, modelica_metatype _diffCount, modelica_metatype _diffedCount, modelica_metatype _iOrigName, modelica_metatype _iName, modelica_metatype _inVar, modelica_metatype _vars, modelica_metatype _so, modelica_metatype _iVarLst, modelica_metatype _iHt, modelica_metatype *out_oHt);
623static const MMC_DEFSTRUCTLIT(boxvar_lit_IndexReduction_makeAllDummyVarandDummyDerivativeRepl1,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_IndexReduction_makeAllDummyVarandDummyDerivativeRepl1
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_IndexReduction_makeAllDummyVarandDummyDerivativeRepl1,0}};
624#define boxvar_IndexReduction_makeAllDummyVarandDummyDerivativeRepl1((void*)((char*)(&(boxvar_lit_IndexReduction_makeAllDummyVarandDummyDerivativeRepl1
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_IndexReduction_makeAllDummyVarandDummyDerivativeRepl1)((void*)((char*)(&(boxvar_lit_IndexReduction_makeAllDummyVarandDummyDerivativeRepl1
).header) + 3))
625PROTECTED_FUNCTION_STATIC modelica_metatype omc_IndexReduction_makeAllDummyVarandDummyDerivativeRepl(threadData_t *threadData, modelica_metatype _inVar, modelica_metatype _inTpl, modelica_metatype *out_oTpl);
626static const MMC_DEFSTRUCTLIT(boxvar_lit_IndexReduction_makeAllDummyVarandDummyDerivativeRepl,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_IndexReduction_makeAllDummyVarandDummyDerivativeRepl
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_IndexReduction_makeAllDummyVarandDummyDerivativeReplomc_IndexReduction_makeAllDummyVarandDummyDerivativeRepl,0}};
627#define boxvar_IndexReduction_makeAllDummyVarandDummyDerivativeRepl((void*)((char*)(&(boxvar_lit_IndexReduction_makeAllDummyVarandDummyDerivativeRepl
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_IndexReduction_makeAllDummyVarandDummyDerivativeRepl)((void*)((char*)(&(boxvar_lit_IndexReduction_makeAllDummyVarandDummyDerivativeRepl
).header) + 3))
628PROTECTED_FUNCTION_STATIC modelica_metatype omc_IndexReduction_addAllDummyStates(threadData_t *threadData, modelica_metatype _inSystem, modelica_metatype _so, modelica_metatype _iHt, modelica_metatype *out_oHt);
629static const MMC_DEFSTRUCTLIT(boxvar_lit_IndexReduction_addAllDummyStates,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_IndexReduction_addAllDummyStates
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_IndexReduction_addAllDummyStatesomc_IndexReduction_addAllDummyStates,0}};
630#define boxvar_IndexReduction_addAllDummyStates((void*)((char*)(&(boxvar_lit_IndexReduction_addAllDummyStates
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_IndexReduction_addAllDummyStates)((void*)((char*)(&(boxvar_lit_IndexReduction_addAllDummyStates
).header) + 3))
631PROTECTED_FUNCTION_STATIC modelica_metatype omc_IndexReduction_makeHigherStatesRepl1(threadData_t *threadData, modelica_integer _diffCount, modelica_integer _diffedCount, modelica_metatype _iOrigName, modelica_metatype _iName, modelica_metatype _inVar, modelica_metatype _vars, modelica_metatype _iVarLst, modelica_metatype _iHt, modelica_integer _iN, modelica_metatype *out_oHt, modelica_integer *out_oN);
632PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_IndexReduction_makeHigherStatesRepl1(threadData_t *threadData, modelica_metatype _diffCount, modelica_metatype _diffedCount, modelica_metatype _iOrigName, modelica_metatype _iName, modelica_metatype _inVar, modelica_metatype _vars, modelica_metatype _iVarLst, modelica_metatype _iHt, modelica_metatype _iN, modelica_metatype *out_oHt, modelica_metatype *out_oN);
633static const MMC_DEFSTRUCTLIT(boxvar_lit_IndexReduction_makeHigherStatesRepl1,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_IndexReduction_makeHigherStatesRepl1
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_IndexReduction_makeHigherStatesRepl1,0}};
634#define boxvar_IndexReduction_makeHigherStatesRepl1((void*)((char*)(&(boxvar_lit_IndexReduction_makeHigherStatesRepl1
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_IndexReduction_makeHigherStatesRepl1)((void*)((char*)(&(boxvar_lit_IndexReduction_makeHigherStatesRepl1
).header) + 3))
635PROTECTED_FUNCTION_STATIC modelica_metatype omc_IndexReduction_makeHigherStatesRepl(threadData_t *threadData, modelica_metatype _inVar, modelica_metatype _inTpl, modelica_metatype *out_oTpl);
636static const MMC_DEFSTRUCTLIT(boxvar_lit_IndexReduction_makeHigherStatesRepl,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_IndexReduction_makeHigherStatesRepl
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_IndexReduction_makeHigherStatesReplomc_IndexReduction_makeHigherStatesRepl,0}};
637#define boxvar_IndexReduction_makeHigherStatesRepl((void*)((char*)(&(boxvar_lit_IndexReduction_makeHigherStatesRepl
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_IndexReduction_makeHigherStatesRepl)((void*)((char*)(&(boxvar_lit_IndexReduction_makeHigherStatesRepl
).header) + 3))
638PROTECTED_FUNCTION_STATIC void omc_IndexReduction_setHigerDerivativeAssignment(threadData_t *threadData, modelica_metatype _inTpl, modelica_metatype _ass1, modelica_metatype _ass2);
639static const MMC_DEFSTRUCTLIT(boxvar_lit_IndexReduction_setHigerDerivativeAssignment,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_IndexReduction_setHigerDerivativeAssignment
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_IndexReduction_setHigerDerivativeAssignmentomc_IndexReduction_setHigerDerivativeAssignment,0}};
640#define boxvar_IndexReduction_setHigerDerivativeAssignment((void*)((char*)(&(boxvar_lit_IndexReduction_setHigerDerivativeAssignment
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_IndexReduction_setHigerDerivativeAssignment)((void*)((char*)(&(boxvar_lit_IndexReduction_setHigerDerivativeAssignment
).header) + 3))
641PROTECTED_FUNCTION_STATIC modelica_metatype omc_IndexReduction_replaceHigherDerivatives(threadData_t *threadData, modelica_metatype _inSystem);
642static const MMC_DEFSTRUCTLIT(boxvar_lit_IndexReduction_replaceHigherDerivatives,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_IndexReduction_replaceHigherDerivatives
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_IndexReduction_replaceHigherDerivativesomc_IndexReduction_replaceHigherDerivatives,0}};
643#define boxvar_IndexReduction_replaceHigherDerivatives((void*)((char*)(&(boxvar_lit_IndexReduction_replaceHigherDerivatives
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_IndexReduction_replaceHigherDerivatives)((void*)((char*)(&(boxvar_lit_IndexReduction_replaceHigherDerivatives
).header) + 3))
644PROTECTED_FUNCTION_STATIC modelica_metatype omc_IndexReduction_getLevelStates(threadData_t *threadData, modelica_metatype _inVar, modelica_integer _level, modelica_metatype _iHt, modelica_metatype *out_oHt);
645PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_IndexReduction_getLevelStates(threadData_t *threadData, modelica_metatype _inVar, modelica_metatype _level, modelica_metatype _iHt, modelica_metatype *out_oHt);
646static const MMC_DEFSTRUCTLIT(boxvar_lit_IndexReduction_getLevelStates,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_IndexReduction_getLevelStates
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_IndexReduction_getLevelStates,0}};
647#define boxvar_IndexReduction_getLevelStates((void*)((char*)(&(boxvar_lit_IndexReduction_getLevelStates
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_IndexReduction_getLevelStates)((void*)((char*)(&(boxvar_lit_IndexReduction_getLevelStates
).header) + 3))
648PROTECTED_FUNCTION_STATIC modelica_metatype omc_IndexReduction_checkAssignment(threadData_t *threadData, modelica_integer _index, modelica_integer _len, modelica_metatype _ass, modelica_metatype _vars, modelica_metatype *out_outUnassigned);
649PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_IndexReduction_checkAssignment(threadData_t *threadData, modelica_metatype _index, modelica_metatype _len, modelica_metatype _ass, modelica_metatype _vars, modelica_metatype *out_outUnassigned);
650static const MMC_DEFSTRUCTLIT(boxvar_lit_IndexReduction_checkAssignment,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_IndexReduction_checkAssignment
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_IndexReduction_checkAssignment,0}};
651#define boxvar_IndexReduction_checkAssignment((void*)((char*)(&(boxvar_lit_IndexReduction_checkAssignment
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_IndexReduction_checkAssignment)((void*)((char*)(&(boxvar_lit_IndexReduction_checkAssignment
).header) + 3))
652PROTECTED_FUNCTION_STATIC modelica_metatype omc_IndexReduction_adjacencyMatrixElementElementfromEnhanced__1(threadData_t *threadData, modelica_integer _i, modelica_metatype _tpl, modelica_metatype _iRow);
653PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_IndexReduction_adjacencyMatrixElementElementfromEnhanced__1(threadData_t *threadData, modelica_metatype _i, modelica_metatype _tpl, modelica_metatype _iRow);
654static const MMC_DEFSTRUCTLIT(boxvar_lit_IndexReduction_adjacencyMatrixElementElementfromEnhanced__1,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_IndexReduction_adjacencyMatrixElementElementfromEnhanced__1
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_IndexReduction_adjacencyMatrixElementElementfromEnhanced__1,0}};
655#define boxvar_IndexReduction_adjacencyMatrixElementElementfromEnhanced__1((void*)((char*)(&(boxvar_lit_IndexReduction_adjacencyMatrixElementElementfromEnhanced__1
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_IndexReduction_adjacencyMatrixElementElementfromEnhanced__1)((void*)((char*)(&(boxvar_lit_IndexReduction_adjacencyMatrixElementElementfromEnhanced__1
).header) + 3))
656PROTECTED_FUNCTION_STATIC modelica_metatype omc_IndexReduction_adjacencyMatrixElementElementfromEnhanced(threadData_t *threadData, modelica_metatype _inTpl, modelica_metatype _tpl, modelica_metatype _iRow);
657static const MMC_DEFSTRUCTLIT(boxvar_lit_IndexReduction_adjacencyMatrixElementElementfromEnhanced,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_IndexReduction_adjacencyMatrixElementElementfromEnhanced
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_IndexReduction_adjacencyMatrixElementElementfromEnhancedomc_IndexReduction_adjacencyMatrixElementElementfromEnhanced,0}};
658#define boxvar_IndexReduction_adjacencyMatrixElementElementfromEnhanced((void*)((char*)(&(boxvar_lit_IndexReduction_adjacencyMatrixElementElementfromEnhanced
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_IndexReduction_adjacencyMatrixElementElementfromEnhanced)((void*)((char*)(&(boxvar_lit_IndexReduction_adjacencyMatrixElementElementfromEnhanced
).header) + 3))
659PROTECTED_FUNCTION_STATIC modelica_metatype omc_IndexReduction_adjacencyMatrixElementfromEnhancedPartial(threadData_t *threadData, modelica_metatype _iRow, modelica_integer _index, modelica_metatype _varsAssTpl);
660PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_IndexReduction_adjacencyMatrixElementfromEnhancedPartial(threadData_t *threadData, modelica_metatype _iRow, modelica_metatype _index, modelica_metatype _varsAssTpl);
661static const MMC_DEFSTRUCTLIT(boxvar_lit_IndexReduction_adjacencyMatrixElementfromEnhancedPartial,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_IndexReduction_adjacencyMatrixElementfromEnhancedPartial
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_IndexReduction_adjacencyMatrixElementfromEnhancedPartial,0}};
662#define boxvar_IndexReduction_adjacencyMatrixElementfromEnhancedPartial((void*)((char*)(&(boxvar_lit_IndexReduction_adjacencyMatrixElementfromEnhancedPartial
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_IndexReduction_adjacencyMatrixElementfromEnhancedPartial)((void*)((char*)(&(boxvar_lit_IndexReduction_adjacencyMatrixElementfromEnhancedPartial
).header) + 3))
663PROTECTED_FUNCTION_STATIC modelica_metatype omc_IndexReduction_adjacencyMatrixfromEnhancedPartial(threadData_t *threadData, modelica_metatype _me, modelica_metatype _vars, modelica_metatype _neverVars, modelica_metatype _ass, modelica_metatype _so);
664static const MMC_DEFSTRUCTLIT(boxvar_lit_IndexReduction_adjacencyMatrixfromEnhancedPartial,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_IndexReduction_adjacencyMatrixfromEnhancedPartial
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_IndexReduction_adjacencyMatrixfromEnhancedPartialomc_IndexReduction_adjacencyMatrixfromEnhancedPartial,0}};
665#define boxvar_IndexReduction_adjacencyMatrixfromEnhancedPartial((void*)((char*)(&(boxvar_lit_IndexReduction_adjacencyMatrixfromEnhancedPartial
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_IndexReduction_adjacencyMatrixfromEnhancedPartial)((void*)((char*)(&(boxvar_lit_IndexReduction_adjacencyMatrixfromEnhancedPartial
).header) + 3))
666PROTECTED_FUNCTION_STATIC modelica_metatype omc_IndexReduction_adjacencyMatrixElementfromEnhanced(threadData_t *threadData, modelica_metatype _iRow, modelica_metatype _tpl);
667static const MMC_DEFSTRUCTLIT(boxvar_lit_IndexReduction_adjacencyMatrixElementfromEnhanced,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_IndexReduction_adjacencyMatrixElementfromEnhanced
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_IndexReduction_adjacencyMatrixElementfromEnhancedomc_IndexReduction_adjacencyMatrixElementfromEnhanced,0}};
668#define boxvar_IndexReduction_adjacencyMatrixElementfromEnhanced((void*)((char*)(&(boxvar_lit_IndexReduction_adjacencyMatrixElementfromEnhanced
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_IndexReduction_adjacencyMatrixElementfromEnhanced)((void*)((char*)(&(boxvar_lit_IndexReduction_adjacencyMatrixElementfromEnhanced
).header) + 3))
669PROTECTED_FUNCTION_STATIC modelica_metatype omc_IndexReduction_adjacencyMatrixfromEnhanced(threadData_t *threadData, modelica_metatype _me, modelica_metatype _vars, modelica_metatype _so);
670static const MMC_DEFSTRUCTLIT(boxvar_lit_IndexReduction_adjacencyMatrixfromEnhanced,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_IndexReduction_adjacencyMatrixfromEnhanced
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_IndexReduction_adjacencyMatrixfromEnhancedomc_IndexReduction_adjacencyMatrixfromEnhanced,0}};
671#define boxvar_IndexReduction_adjacencyMatrixfromEnhanced((void*)((char*)(&(boxvar_lit_IndexReduction_adjacencyMatrixfromEnhanced
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_IndexReduction_adjacencyMatrixfromEnhanced)((void*)((char*)(&(boxvar_lit_IndexReduction_adjacencyMatrixfromEnhanced
).header) + 3))
672PROTECTED_FUNCTION_STATIC modelica_metatype omc_IndexReduction_adjacencyMatrixElementElementfromEnhancedStrict(threadData_t *threadData, modelica_metatype _inTpl, modelica_metatype _vars, modelica_metatype _iRow);
673static const MMC_DEFSTRUCTLIT(boxvar_lit_IndexReduction_adjacencyMatrixElementElementfromEnhancedStrict,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_IndexReduction_adjacencyMatrixElementElementfromEnhancedStrict
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_IndexReduction_adjacencyMatrixElementElementfromEnhancedStrictomc_IndexReduction_adjacencyMatrixElementElementfromEnhancedStrict,0}};
674#define boxvar_IndexReduction_adjacencyMatrixElementElementfromEnhancedStrict((void*)((char*)(&(boxvar_lit_IndexReduction_adjacencyMatrixElementElementfromEnhancedStrict
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_IndexReduction_adjacencyMatrixElementElementfromEnhancedStrict)((void*)((char*)(&(boxvar_lit_IndexReduction_adjacencyMatrixElementElementfromEnhancedStrict
).header) + 3))
675PROTECTED_FUNCTION_STATIC modelica_metatype omc_IndexReduction_adjacencyMatrixElementfromEnhancedStrict(threadData_t *threadData, modelica_metatype _iRow, modelica_metatype _vars);
676static const MMC_DEFSTRUCTLIT(boxvar_lit_IndexReduction_adjacencyMatrixElementfromEnhancedStrict,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_IndexReduction_adjacencyMatrixElementfromEnhancedStrict
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_IndexReduction_adjacencyMatrixElementfromEnhancedStrictomc_IndexReduction_adjacencyMatrixElementfromEnhancedStrict,0}};
677#define boxvar_IndexReduction_adjacencyMatrixElementfromEnhancedStrict((void*)((char*)(&(boxvar_lit_IndexReduction_adjacencyMatrixElementfromEnhancedStrict
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_IndexReduction_adjacencyMatrixElementfromEnhancedStrict)((void*)((char*)(&(boxvar_lit_IndexReduction_adjacencyMatrixElementfromEnhancedStrict
).header) + 3))
678PROTECTED_FUNCTION_STATIC modelica_metatype omc_IndexReduction_adjacencyMatrixfromEnhancedStrict(threadData_t *threadData, modelica_metatype _me, modelica_metatype _vars);
679static const MMC_DEFSTRUCTLIT(boxvar_lit_IndexReduction_adjacencyMatrixfromEnhancedStrict,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_IndexReduction_adjacencyMatrixfromEnhancedStrict
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_IndexReduction_adjacencyMatrixfromEnhancedStrictomc_IndexReduction_adjacencyMatrixfromEnhancedStrict,0}};
680#define boxvar_IndexReduction_adjacencyMatrixfromEnhancedStrict((void*)((char*)(&(boxvar_lit_IndexReduction_adjacencyMatrixfromEnhancedStrict
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_IndexReduction_adjacencyMatrixfromEnhancedStrict)((void*)((char*)(&(boxvar_lit_IndexReduction_adjacencyMatrixfromEnhancedStrict
).header) + 3))
681PROTECTED_FUNCTION_STATIC modelica_metatype omc_IndexReduction_selectDummyDerivatives2new(threadData_t *threadData, modelica_metatype _dstates, modelica_metatype _states, modelica_metatype _unassignedEqns, modelica_metatype _assignedEqns, modelica_metatype _vars, modelica_integer _varSize, modelica_metatype _eqns, modelica_integer _eqnsSize, modelica_metatype _mapIncRowEqn, modelica_integer _level, modelica_metatype _iStateSets, modelica_metatype *out_oStateSets);
682PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_IndexReduction_selectDummyDerivatives2new(threadData_t *threadData, modelica_metatype _dstates, modelica_metatype _states, modelica_metatype _unassignedEqns, modelica_metatype _assignedEqns, modelica_metatype _vars, modelica_metatype _varSize, modelica_metatype _eqns, modelica_metatype _eqnsSize, modelica_metatype _mapIncRowEqn, modelica_metatype _level, modelica_metatype _iStateSets, modelica_metatype *out_oStateSets);
683static const MMC_DEFSTRUCTLIT(boxvar_lit_IndexReduction_selectDummyDerivatives2new,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_IndexReduction_selectDummyDerivatives2new
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_IndexReduction_selectDummyDerivatives2new,0}};
684#define boxvar_IndexReduction_selectDummyDerivatives2new((void*)((char*)(&(boxvar_lit_IndexReduction_selectDummyDerivatives2new
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_IndexReduction_selectDummyDerivatives2new)((void*)((char*)(&(boxvar_lit_IndexReduction_selectDummyDerivatives2new
).header) + 3))
685PROTECTED_FUNCTION_STATIC modelica_real omc_IndexReduction_varStateSelectPrioAttribute(threadData_t *threadData, modelica_metatype _v);
686PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_IndexReduction_varStateSelectPrioAttribute(threadData_t *threadData, modelica_metatype _v);
687static const MMC_DEFSTRUCTLIT(boxvar_lit_IndexReduction_varStateSelectPrioAttribute,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_IndexReduction_varStateSelectPrioAttribute
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_IndexReduction_varStateSelectPrioAttribute,0}};
688#define boxvar_IndexReduction_varStateSelectPrioAttribute((void*)((char*)(&(boxvar_lit_IndexReduction_varStateSelectPrioAttribute
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_IndexReduction_varStateSelectPrioAttribute)((void*)((char*)(&(boxvar_lit_IndexReduction_varStateSelectPrioAttribute
).header) + 3))
689PROTECTED_FUNCTION_STATIC modelica_real omc_IndexReduction_varStateSelectHeuristicPrio3(threadData_t *threadData, modelica_metatype _v);
690PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_IndexReduction_varStateSelectHeuristicPrio3(threadData_t *threadData, modelica_metatype _v);
691static const MMC_DEFSTRUCTLIT(boxvar_lit_IndexReduction_varStateSelectHeuristicPrio3,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_IndexReduction_varStateSelectHeuristicPrio3
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_IndexReduction_varStateSelectHeuristicPrio3,0}};
692#define boxvar_IndexReduction_varStateSelectHeuristicPrio3((void*)((char*)(&(boxvar_lit_IndexReduction_varStateSelectHeuristicPrio3
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_IndexReduction_varStateSelectHeuristicPrio3)((void*)((char*)(&(boxvar_lit_IndexReduction_varStateSelectHeuristicPrio3
).header) + 3))
693PROTECTED_FUNCTION_STATIC modelica_real omc_IndexReduction_varStateSelectHeuristicPrio4(threadData_t *threadData, modelica_metatype _inVar, modelica_metatype _vars);
694PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_IndexReduction_varStateSelectHeuristicPrio4(threadData_t *threadData, modelica_metatype _inVar, modelica_metatype _vars);
695static const MMC_DEFSTRUCTLIT(boxvar_lit_IndexReduction_varStateSelectHeuristicPrio4,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_IndexReduction_varStateSelectHeuristicPrio4
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_IndexReduction_varStateSelectHeuristicPrio4,0}};
696#define boxvar_IndexReduction_varStateSelectHeuristicPrio4((void*)((char*)(&(boxvar_lit_IndexReduction_varStateSelectHeuristicPrio4
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_IndexReduction_varStateSelectHeuristicPrio4)((void*)((char*)(&(boxvar_lit_IndexReduction_varStateSelectHeuristicPrio4
).header) + 3))
697PROTECTED_FUNCTION_STATIC modelica_real omc_IndexReduction_varStateSelectHeuristicPrio5(threadData_t *threadData, modelica_metatype _v, modelica_integer _index, modelica_metatype _om);
698PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_IndexReduction_varStateSelectHeuristicPrio5(threadData_t *threadData, modelica_metatype _v, modelica_metatype _index, modelica_metatype _om);
699static const MMC_DEFSTRUCTLIT(boxvar_lit_IndexReduction_varStateSelectHeuristicPrio5,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_IndexReduction_varStateSelectHeuristicPrio5
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_IndexReduction_varStateSelectHeuristicPrio5,0}};
700#define boxvar_IndexReduction_varStateSelectHeuristicPrio5((void*)((char*)(&(boxvar_lit_IndexReduction_varStateSelectHeuristicPrio5
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_IndexReduction_varStateSelectHeuristicPrio5)((void*)((char*)(&(boxvar_lit_IndexReduction_varStateSelectHeuristicPrio5
).header) + 3))
701PROTECTED_FUNCTION_STATIC void omc_IndexReduction_printVarListtateSelectHeuristicPrio(threadData_t *threadData, modelica_real _Prio1, modelica_real _Prio2, modelica_real _Prio3, modelica_real _Prio4, modelica_real _Prio5);
702PROTECTED_FUNCTION_STATIC void boxptr_IndexReduction_printVarListtateSelectHeuristicPrio(threadData_t *threadData, modelica_metatype _Prio1, modelica_metatype _Prio2, modelica_metatype _Prio3, modelica_metatype _Prio4, modelica_metatype _Prio5);
703static const MMC_DEFSTRUCTLIT(boxvar_lit_IndexReduction_printVarListtateSelectHeuristicPrio,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_IndexReduction_printVarListtateSelectHeuristicPrio
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_IndexReduction_printVarListtateSelectHeuristicPrio,0}};
704#define boxvar_IndexReduction_printVarListtateSelectHeuristicPrio((void*)((char*)(&(boxvar_lit_IndexReduction_printVarListtateSelectHeuristicPrio
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_IndexReduction_printVarListtateSelectHeuristicPrio)((void*)((char*)(&(boxvar_lit_IndexReduction_printVarListtateSelectHeuristicPrio
).header) + 3))
705PROTECTED_FUNCTION_STATIC modelica_real omc_IndexReduction_varStateSelectHeuristicPrio(threadData_t *threadData, modelica_metatype _v, modelica_metatype _vars, modelica_integer _index, modelica_metatype _m);
706PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_IndexReduction_varStateSelectHeuristicPrio(threadData_t *threadData, modelica_metatype _v, modelica_metatype _vars, modelica_metatype _index, modelica_metatype _m);
707static const MMC_DEFSTRUCTLIT(boxvar_lit_IndexReduction_varStateSelectHeuristicPrio,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_IndexReduction_varStateSelectHeuristicPrio
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_IndexReduction_varStateSelectHeuristicPrio,0}};
708#define boxvar_IndexReduction_varStateSelectHeuristicPrio((void*)((char*)(&(boxvar_lit_IndexReduction_varStateSelectHeuristicPrio
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_IndexReduction_varStateSelectHeuristicPrio)((void*)((char*)(&(boxvar_lit_IndexReduction_varStateSelectHeuristicPrio
).header) + 3))
709PROTECTED_FUNCTION_STATIC modelica_real omc_IndexReduction_varStateSelectPrio(threadData_t *threadData, modelica_metatype _v, modelica_metatype _vars, modelica_integer _index, modelica_metatype _m, modelica_real *out_prio_heu);
710PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_IndexReduction_varStateSelectPrio(threadData_t *threadData, modelica_metatype _v, modelica_metatype _vars, modelica_metatype _index, modelica_metatype _m, modelica_metatype *out_prio_heu);
711static const MMC_DEFSTRUCTLIT(boxvar_lit_IndexReduction_varStateSelectPrio,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_IndexReduction_varStateSelectPrio
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_IndexReduction_varStateSelectPrio,0}};
712#define boxvar_IndexReduction_varStateSelectPrio((void*)((char*)(&(boxvar_lit_IndexReduction_varStateSelectPrio
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_IndexReduction_varStateSelectPrio)((void*)((char*)(&(boxvar_lit_IndexReduction_varStateSelectPrio
).header) + 3))
713PROTECTED_FUNCTION_STATIC modelica_boolean omc_IndexReduction_sortprioTuples(threadData_t *threadData, modelica_metatype _inTpl1, modelica_metatype _inTpl2);
714PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_IndexReduction_sortprioTuples(threadData_t *threadData, modelica_metatype _inTpl1, modelica_metatype _inTpl2);
715static const MMC_DEFSTRUCTLIT(boxvar_lit_IndexReduction_sortprioTuples,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_IndexReduction_sortprioTuples
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_IndexReduction_sortprioTuples,0}};
716#define boxvar_IndexReduction_sortprioTuples((void*)((char*)(&(boxvar_lit_IndexReduction_sortprioTuples
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_IndexReduction_sortprioTuples)((void*)((char*)(&(boxvar_lit_IndexReduction_sortprioTuples
).header) + 3))
717PROTECTED_FUNCTION_STATIC modelica_metatype omc_IndexReduction_sortStateCandidatesVars(threadData_t *threadData, modelica_metatype _inVars, modelica_metatype _allVars, modelica_metatype _m);
718static const MMC_DEFSTRUCTLIT(boxvar_lit_IndexReduction_sortStateCandidatesVars,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_IndexReduction_sortStateCandidatesVars
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_IndexReduction_sortStateCandidatesVarsomc_IndexReduction_sortStateCandidatesVars,0}};
719#define boxvar_IndexReduction_sortStateCandidatesVars((void*)((char*)(&(boxvar_lit_IndexReduction_sortStateCandidatesVars
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_IndexReduction_sortStateCandidatesVars)((void*)((char*)(&(boxvar_lit_IndexReduction_sortStateCandidatesVars
).header) + 3))
720PROTECTED_FUNCTION_STATIC modelica_metatype omc_IndexReduction_removeFirstOrgEqns(threadData_t *threadData, modelica_metatype _inOrgEqns, modelica_metatype *out_outOrgEqns);
721static const MMC_DEFSTRUCTLIT(boxvar_lit_IndexReduction_removeFirstOrgEqns,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_IndexReduction_removeFirstOrgEqns
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_IndexReduction_removeFirstOrgEqnsomc_IndexReduction_removeFirstOrgEqns,0}};
722#define boxvar_IndexReduction_removeFirstOrgEqns((void*)((char*)(&(boxvar_lit_IndexReduction_removeFirstOrgEqns
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_IndexReduction_removeFirstOrgEqns)((void*)((char*)(&(boxvar_lit_IndexReduction_removeFirstOrgEqns
).header) + 3))
723PROTECTED_FUNCTION_STATIC modelica_metatype omc_IndexReduction_getEqnsforDynamicStateSelectionRows(threadData_t *threadData, modelica_metatype _rows, modelica_metatype _m, modelica_metatype _mT, modelica_integer _mark, modelica_metatype _colummarks, modelica_metatype _ass1, modelica_metatype _ass2, modelica_metatype _mapEqnIncRow, modelica_metatype _mapIncRowEqn, modelica_metatype _inSubset, modelica_boolean _iFound, modelica_boolean *out_oFound);
724PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_IndexReduction_getEqnsforDynamicStateSelectionRows(threadData_t *threadData, modelica_metatype _rows, modelica_metatype _m, modelica_metatype _mT, modelica_metatype _mark, modelica_metatype _colummarks, modelica_metatype _ass1, modelica_metatype _ass2, modelica_metatype _mapEqnIncRow, modelica_metatype _mapIncRowEqn, modelica_metatype _inSubset, modelica_metatype _iFound, modelica_metatype *out_oFound);
725static const MMC_DEFSTRUCTLIT(boxvar_lit_IndexReduction_getEqnsforDynamicStateSelectionRows,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_IndexReduction_getEqnsforDynamicStateSelectionRows
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_IndexReduction_getEqnsforDynamicStateSelectionRows,0}};
726#define boxvar_IndexReduction_getEqnsforDynamicStateSelectionRows((void*)((char*)(&(boxvar_lit_IndexReduction_getEqnsforDynamicStateSelectionRows
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_IndexReduction_getEqnsforDynamicStateSelectionRows)((void*)((char*)(&(boxvar_lit_IndexReduction_getEqnsforDynamicStateSelectionRows
).header) + 3))
727PROTECTED_FUNCTION_STATIC modelica_metatype omc_IndexReduction_getEqnsforDynamicStateSelectionPhase(threadData_t *threadData, modelica_metatype _elst, modelica_metatype _m, modelica_metatype _mT, modelica_integer _mark, modelica_metatype _colummarks, modelica_metatype _ass1, modelica_metatype _ass2, modelica_metatype _mapEqnIncRow, modelica_metatype _mapIncRowEqn, modelica_metatype _inSubset, modelica_boolean _iFound, modelica_boolean *out_oFound);
728PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_IndexReduction_getEqnsforDynamicStateSelectionPhase(threadData_t *threadData, modelica_metatype _elst, modelica_metatype _m, modelica_metatype _mT, modelica_metatype _mark, modelica_metatype _colummarks, modelica_metatype _ass1, modelica_metatype _ass2, modelica_metatype _mapEqnIncRow, modelica_metatype _mapIncRowEqn, modelica_metatype _inSubset, modelica_metatype _iFound, modelica_metatype *out_oFound);
729static const MMC_DEFSTRUCTLIT(boxvar_lit_IndexReduction_getEqnsforDynamicStateSelectionPhase,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_IndexReduction_getEqnsforDynamicStateSelectionPhase
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_IndexReduction_getEqnsforDynamicStateSelectionPhase,0}};
730#define boxvar_IndexReduction_getEqnsforDynamicStateSelectionPhase((void*)((char*)(&(boxvar_lit_IndexReduction_getEqnsforDynamicStateSelectionPhase
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_IndexReduction_getEqnsforDynamicStateSelectionPhase)((void*)((char*)(&(boxvar_lit_IndexReduction_getEqnsforDynamicStateSelectionPhase
).header) + 3))
731PROTECTED_FUNCTION_STATIC modelica_metatype omc_IndexReduction_getEqnsforDynamicStateSelection1(threadData_t *threadData, modelica_metatype _U, modelica_metatype _m, modelica_metatype _mT, modelica_integer _mark, modelica_metatype _colummarks, modelica_metatype _ass1, modelica_metatype _ass2, modelica_metatype _mapEqnIncRow, modelica_metatype _mapIncRowEqn, modelica_metatype _inSubset);
732PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_IndexReduction_getEqnsforDynamicStateSelection1(threadData_t *threadData, modelica_metatype _U, modelica_metatype _m, modelica_metatype _mT, modelica_metatype _mark, modelica_metatype _colummarks, modelica_metatype _ass1, modelica_metatype _ass2, modelica_metatype _mapEqnIncRow, modelica_metatype _mapIncRowEqn, modelica_metatype _inSubset);
733static const MMC_DEFSTRUCTLIT(boxvar_lit_IndexReduction_getEqnsforDynamicStateSelection1,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_IndexReduction_getEqnsforDynamicStateSelection1
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_IndexReduction_getEqnsforDynamicStateSelection1,0}};
734#define boxvar_IndexReduction_getEqnsforDynamicStateSelection1((void*)((char*)(&(boxvar_lit_IndexReduction_getEqnsforDynamicStateSelection1
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_IndexReduction_getEqnsforDynamicStateSelection1)((void*)((char*)(&(boxvar_lit_IndexReduction_getEqnsforDynamicStateSelection1
).header) + 3))
735PROTECTED_FUNCTION_STATIC modelica_metatype omc_IndexReduction_getEqnsforDynamicStateSelection(threadData_t *threadData, modelica_metatype _U, modelica_integer _neqns, modelica_metatype _m, modelica_metatype _mT, modelica_metatype _ass1, modelica_metatype _ass2, modelica_metatype _mapEqnIncRow, modelica_metatype _mapIncRowEqn);
736PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_IndexReduction_getEqnsforDynamicStateSelection(threadData_t *threadData, modelica_metatype _U, modelica_metatype _neqns, modelica_metatype _m, modelica_metatype _mT, modelica_metatype _ass1, modelica_metatype _ass2, modelica_metatype _mapEqnIncRow, modelica_metatype _mapIncRowEqn);
737static const MMC_DEFSTRUCTLIT(boxvar_lit_IndexReduction_getEqnsforDynamicStateSelection,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_IndexReduction_getEqnsforDynamicStateSelection
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_IndexReduction_getEqnsforDynamicStateSelection,0}};
738#define boxvar_IndexReduction_getEqnsforDynamicStateSelection((void*)((char*)(&(boxvar_lit_IndexReduction_getEqnsforDynamicStateSelection
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_IndexReduction_getEqnsforDynamicStateSelection)((void*)((char*)(&(boxvar_lit_IndexReduction_getEqnsforDynamicStateSelection
).header) + 3))
739PROTECTED_FUNCTION_STATIC modelica_metatype omc_IndexReduction_getSetEqnStates(threadData_t *threadData, modelica_integer _v, modelica_metatype _flag, modelica_metatype _inM, modelica_metatype _vec2, modelica_metatype _iStates);
740PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_IndexReduction_getSetEqnStates(threadData_t *threadData, modelica_metatype _v, modelica_metatype _flag, modelica_metatype _inM, modelica_metatype _vec2, modelica_metatype _iStates);
741static const MMC_DEFSTRUCTLIT(boxvar_lit_IndexReduction_getSetEqnStates,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_IndexReduction_getSetEqnStates
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_IndexReduction_getSetEqnStates,0}};
742#define boxvar_IndexReduction_getSetEqnStates((void*)((char*)(&(boxvar_lit_IndexReduction_getSetEqnStates
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_IndexReduction_getSetEqnStates)((void*)((char*)(&(boxvar_lit_IndexReduction_getSetEqnStates
).header) + 3))
743PROTECTED_FUNCTION_STATIC modelica_metatype omc_IndexReduction_getSetStates(threadData_t *threadData, modelica_integer _e, modelica_metatype _flag, modelica_metatype _inM, modelica_metatype _vec2, modelica_metatype _iStates);
744PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_IndexReduction_getSetStates(threadData_t *threadData, modelica_metatype _e, modelica_metatype _flag, modelica_metatype _inM, modelica_metatype _vec2, modelica_metatype _iStates);
745static const MMC_DEFSTRUCTLIT(boxvar_lit_IndexReduction_getSetStates,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_IndexReduction_getSetStates
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_IndexReduction_getSetStates,0}};
746#define boxvar_IndexReduction_getSetStates((void*)((char*)(&(boxvar_lit_IndexReduction_getSetStates
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_IndexReduction_getSetStates)((void*)((char*)(&(boxvar_lit_IndexReduction_getSetStates
).header) + 3))
747PROTECTED_FUNCTION_STATIC modelica_metatype omc_IndexReduction_getSetSystem(threadData_t *threadData, modelica_metatype _iEqns, modelica_metatype _inMapEqnIncRow, modelica_metatype _inMapIncRowEqn, modelica_metatype _vec1, modelica_metatype _iVars, modelica_metatype _iEqnsArr, modelica_metatype _flag, modelica_integer _n, modelica_metatype _iEqnsLst, modelica_metatype _iVarsLst, modelica_metatype _iAss1, modelica_metatype _iAss2, modelica_metatype *out_oVarsLst, modelica_metatype *out_oAss1, modelica_metatype *out_oAss2, modelica_metatype *out_oEqnsArr);
748PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_IndexReduction_getSetSystem(threadData_t *threadData, modelica_metatype _iEqns, modelica_metatype _inMapEqnIncRow, modelica_metatype _inMapIncRowEqn, modelica_metatype _vec1, modelica_metatype _iVars, modelica_metatype _iEqnsArr, modelica_metatype _flag, modelica_metatype _n, modelica_metatype _iEqnsLst, modelica_metatype _iVarsLst, modelica_metatype _iAss1, modelica_metatype _iAss2, modelica_metatype *out_oVarsLst, modelica_metatype *out_oAss1, modelica_metatype *out_oAss2, modelica_metatype *out_oEqnsArr);
749static const MMC_DEFSTRUCTLIT(boxvar_lit_IndexReduction_getSetSystem,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_IndexReduction_getSetSystem
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_IndexReduction_getSetSystem,0}};
750#define boxvar_IndexReduction_getSetSystem((void*)((char*)(&(boxvar_lit_IndexReduction_getSetSystem
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_IndexReduction_getSetSystem)((void*)((char*)(&(boxvar_lit_IndexReduction_getSetSystem
).header) + 3))
751PROTECTED_FUNCTION_STATIC modelica_metatype omc_IndexReduction_forceInlinEqn(threadData_t *threadData, modelica_metatype _inExp, modelica_metatype _inFuncs, modelica_metatype *out_funcs);
752static const MMC_DEFSTRUCTLIT(boxvar_lit_IndexReduction_forceInlinEqn,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_IndexReduction_forceInlinEqn
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_IndexReduction_forceInlinEqnomc_IndexReduction_forceInlinEqn,0}};
753#define boxvar_IndexReduction_forceInlinEqn((void*)((char*)(&(boxvar_lit_IndexReduction_forceInlinEqn
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_IndexReduction_forceInlinEqn)((void*)((char*)(&(boxvar_lit_IndexReduction_forceInlinEqn
).header) + 3))
754PROTECTED_FUNCTION_STATIC modelica_metatype omc_IndexReduction_processComps4New(threadData_t *threadData, modelica_metatype _iSets, modelica_integer _inVarSize, modelica_integer _inEqnsSize, modelica_metatype _iVars, modelica_metatype _iEqns, modelica_metatype _inM, modelica_metatype _inMT, modelica_metatype _inMapEqnIncRow, modelica_metatype _inMapIncRowEqn, modelica_metatype _vec1, modelica_metatype _vec2, modelica_integer _level, modelica_metatype _iShared, modelica_metatype _inHov, modelica_metatype _inDummyStates, modelica_metatype _iStateSets, modelica_metatype *out_outDummyStates, modelica_metatype *out_oStateSets);
755PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_IndexReduction_processComps4New(threadData_t *threadData, modelica_metatype _iSets, modelica_metatype _inVarSize, modelica_metatype _inEqnsSize, modelica_metatype _iVars, modelica_metatype _iEqns, modelica_metatype _inM, modelica_metatype _inMT, modelica_metatype _inMapEqnIncRow, modelica_metatype _inMapIncRowEqn, modelica_metatype _vec1, modelica_metatype _vec2, modelica_metatype _level, modelica_metatype _iShared, modelica_metatype _inHov, modelica_metatype _inDummyStates, modelica_metatype _iStateSets, modelica_metatype *out_outDummyStates, modelica_metatype *out_oStateSets);
756static const MMC_DEFSTRUCTLIT(boxvar_lit_IndexReduction_processComps4New,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_IndexReduction_processComps4New
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_IndexReduction_processComps4New,0}};
757#define boxvar_IndexReduction_processComps4New((void*)((char*)(&(boxvar_lit_IndexReduction_processComps4New
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_IndexReduction_processComps4New)((void*)((char*)(&(boxvar_lit_IndexReduction_processComps4New
).header) + 3))
758PROTECTED_FUNCTION_STATIC modelica_metatype omc_IndexReduction_partitionSystemSplitt(threadData_t *threadData, modelica_integer _index, modelica_metatype _rowmarkarr, modelica_metatype _systsarr);
759PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_IndexReduction_partitionSystemSplitt(threadData_t *threadData, modelica_metatype _index, modelica_metatype _rowmarkarr, modelica_metatype _systsarr);
760static const MMC_DEFSTRUCTLIT(boxvar_lit_IndexReduction_partitionSystemSplitt,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_IndexReduction_partitionSystemSplitt
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_IndexReduction_partitionSystemSplitt,0}};
761#define boxvar_IndexReduction_partitionSystemSplitt((void*)((char*)(&(boxvar_lit_IndexReduction_partitionSystemSplitt
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_IndexReduction_partitionSystemSplitt)((void*)((char*)(&(boxvar_lit_IndexReduction_partitionSystemSplitt
).header) + 3))
762PROTECTED_FUNCTION_STATIC modelica_integer omc_IndexReduction_partitionSystemstraverseRows(threadData_t *threadData, modelica_metatype _iRows, modelica_metatype _iQueue, modelica_metatype _m, modelica_metatype _mT, modelica_metatype _rowmarkarr, modelica_metatype _collmarkarr, modelica_integer _iNSystems);
763PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_IndexReduction_partitionSystemstraverseRows(threadData_t *threadData, modelica_metatype _iRows, modelica_metatype _iQueue, modelica_metatype _m, modelica_metatype _mT, modelica_metatype _rowmarkarr, modelica_metatype _collmarkarr, modelica_metatype _iNSystems);
764static const MMC_DEFSTRUCTLIT(boxvar_lit_IndexReduction_partitionSystemstraverseRows,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_IndexReduction_partitionSystemstraverseRows
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_IndexReduction_partitionSystemstraverseRows,0}};
765#define boxvar_IndexReduction_partitionSystemstraverseRows((void*)((char*)(&(boxvar_lit_IndexReduction_partitionSystemstraverseRows
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_IndexReduction_partitionSystemstraverseRows)((void*)((char*)(&(boxvar_lit_IndexReduction_partitionSystemstraverseRows
).header) + 3))
766PROTECTED_FUNCTION_STATIC modelica_integer omc_IndexReduction_partitionSystem1(threadData_t *threadData, modelica_integer _index, modelica_metatype _m, modelica_metatype _mT, modelica_metatype _rowmarkarr, modelica_metatype _collmarkarr, modelica_integer _iNSystems);
767PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_IndexReduction_partitionSystem1(threadData_t *threadData, modelica_metatype _index, modelica_metatype _m, modelica_metatype _mT, modelica_metatype _rowmarkarr, modelica_metatype _collmarkarr, modelica_metatype _iNSystems);
768static const MMC_DEFSTRUCTLIT(boxvar_lit_IndexReduction_partitionSystem1,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_IndexReduction_partitionSystem1
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_IndexReduction_partitionSystem1,0}};
769#define boxvar_IndexReduction_partitionSystem1((void*)((char*)(&(boxvar_lit_IndexReduction_partitionSystem1
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_IndexReduction_partitionSystem1)((void*)((char*)(&(boxvar_lit_IndexReduction_partitionSystem1
).header) + 3))
770PROTECTED_FUNCTION_STATIC modelica_metatype omc_IndexReduction_partitionSystem(threadData_t *threadData, modelica_metatype _m, modelica_metatype _mT);
771static const MMC_DEFSTRUCTLIT(boxvar_lit_IndexReduction_partitionSystem,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_IndexReduction_partitionSystem
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_IndexReduction_partitionSystemomc_IndexReduction_partitionSystem,0}};
772#define boxvar_IndexReduction_partitionSystem((void*)((char*)(&(boxvar_lit_IndexReduction_partitionSystem
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_IndexReduction_partitionSystem)((void*)((char*)(&(boxvar_lit_IndexReduction_partitionSystem
).header) + 3))
773PROTECTED_FUNCTION_STATIC void omc_IndexReduction_getAdjacencyMatrixLevelEquations(threadData_t *threadData, modelica_metatype _iEqns, modelica_metatype _vars, modelica_integer _index, modelica_integer _sindex, modelica_metatype _m, modelica_metatype _mT, modelica_metatype _om, modelica_metatype _mapEqnIncRow, modelica_metatype _mapIncRowEqn, modelica_metatype _stateindexs, modelica_metatype _functionTree, modelica_boolean _isInitial);
774PROTECTED_FUNCTION_STATIC void boxptr_IndexReduction_getAdjacencyMatrixLevelEquations(threadData_t *threadData, modelica_metatype _iEqns, modelica_metatype _vars, modelica_metatype _index, modelica_metatype _sindex, modelica_metatype _m, modelica_metatype _mT, modelica_metatype _om, modelica_metatype _mapEqnIncRow, modelica_metatype _mapIncRowEqn, modelica_metatype _stateindexs, modelica_metatype _functionTree, modelica_metatype _isInitial);
775static const MMC_DEFSTRUCTLIT(boxvar_lit_IndexReduction_getAdjacencyMatrixLevelEquations,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_IndexReduction_getAdjacencyMatrixLevelEquations
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_IndexReduction_getAdjacencyMatrixLevelEquations,0}};
776#define boxvar_IndexReduction_getAdjacencyMatrixLevelEquations((void*)((char*)(&(boxvar_lit_IndexReduction_getAdjacencyMatrixLevelEquations
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_IndexReduction_getAdjacencyMatrixLevelEquations)((void*)((char*)(&(boxvar_lit_IndexReduction_getAdjacencyMatrixLevelEquations
).header) + 3))
777PROTECTED_FUNCTION_STATIC modelica_integer omc_IndexReduction_replaceStateIndex(threadData_t *threadData, modelica_integer _iR, modelica_metatype _stateindexs);
778PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_IndexReduction_replaceStateIndex(threadData_t *threadData, modelica_metatype _iR, modelica_metatype _stateindexs);
779static const MMC_DEFSTRUCTLIT(boxvar_lit_IndexReduction_replaceStateIndex,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_IndexReduction_replaceStateIndex
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_IndexReduction_replaceStateIndex,0}};
780#define boxvar_IndexReduction_replaceStateIndex((void*)((char*)(&(boxvar_lit_IndexReduction_replaceStateIndex
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_IndexReduction_replaceStateIndex)((void*)((char*)(&(boxvar_lit_IndexReduction_replaceStateIndex
).header) + 3))
781PROTECTED_FUNCTION_STATIC void omc_IndexReduction_getAdjacencyMatrixSelectStates(threadData_t *threadData, modelica_integer _nEqns, modelica_metatype _m, modelica_metatype _mT, modelica_metatype _mo, modelica_metatype _stateindexs);
782PROTECTED_FUNCTION_STATIC void boxptr_IndexReduction_getAdjacencyMatrixSelectStates(threadData_t *threadData, modelica_metatype _nEqns, modelica_metatype _m, modelica_metatype _mT, modelica_metatype _mo, modelica_metatype _stateindexs);
783static const MMC_DEFSTRUCTLIT(boxvar_lit_IndexReduction_getAdjacencyMatrixSelectStates,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_IndexReduction_getAdjacencyMatrixSelectStates
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_IndexReduction_getAdjacencyMatrixSelectStates,0}};
784#define boxvar_IndexReduction_getAdjacencyMatrixSelectStates((void*)((char*)(&(boxvar_lit_IndexReduction_getAdjacencyMatrixSelectStates
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_IndexReduction_getAdjacencyMatrixSelectStates)((void*)((char*)(&(boxvar_lit_IndexReduction_getAdjacencyMatrixSelectStates
).header) + 3))
785PROTECTED_FUNCTION_STATIC modelica_metatype omc_IndexReduction_getStateIndexes(threadData_t *threadData, modelica_metatype _inVar, modelica_metatype _inTpl, modelica_metatype *out_outTpl);
786static const MMC_DEFSTRUCTLIT(boxvar_lit_IndexReduction_getStateIndexes,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_IndexReduction_getStateIndexes
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_IndexReduction_getStateIndexesomc_IndexReduction_getStateIndexes,0}};
787#define boxvar_IndexReduction_getStateIndexes((void*)((char*)(&(boxvar_lit_IndexReduction_getStateIndexes
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_IndexReduction_getStateIndexes)((void*)((char*)(&(boxvar_lit_IndexReduction_getStateIndexes
).header) + 3))
788PROTECTED_FUNCTION_STATIC void omc_IndexReduction_dumpBlock(threadData_t *threadData, modelica_metatype _comp, modelica_metatype _iMapIncRowEqn, modelica_integer _nvars, modelica_metatype _syst);
789PROTECTED_FUNCTION_STATIC void boxptr_IndexReduction_dumpBlock(threadData_t *threadData, modelica_metatype _comp, modelica_metatype _iMapIncRowEqn, modelica_metatype _nvars, modelica_metatype _syst);
790static const MMC_DEFSTRUCTLIT(boxvar_lit_IndexReduction_dumpBlock,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_IndexReduction_dumpBlock
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_IndexReduction_dumpBlock,0}};
791#define boxvar_IndexReduction_dumpBlock((void*)((char*)(&(boxvar_lit_IndexReduction_dumpBlock).header
) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_IndexReduction_dumpBlock)((void*)((char*)(&(boxvar_lit_IndexReduction_dumpBlock).header
) + 3))
792PROTECTED_FUNCTION_STATIC modelica_metatype omc_IndexReduction_getCompsExtraVars(threadData_t *threadData, modelica_metatype _comp, modelica_integer _nvars, modelica_metatype _ass2, modelica_metatype _iAcc);
793PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_IndexReduction_getCompsExtraVars(threadData_t *threadData, modelica_metatype _comp, modelica_metatype _nvars, modelica_metatype _ass2, modelica_metatype _iAcc);
794static const MMC_DEFSTRUCTLIT(boxvar_lit_IndexReduction_getCompsExtraVars,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_IndexReduction_getCompsExtraVars
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_IndexReduction_getCompsExtraVars,0}};
795#define boxvar_IndexReduction_getCompsExtraVars((void*)((char*)(&(boxvar_lit_IndexReduction_getCompsExtraVars
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_IndexReduction_getCompsExtraVars)((void*)((char*)(&(boxvar_lit_IndexReduction_getCompsExtraVars
).header) + 3))
796PROTECTED_FUNCTION_STATIC modelica_metatype omc_IndexReduction_getCompsExtraEquations(threadData_t *threadData, modelica_metatype _comp, modelica_integer _neqns, modelica_metatype _iAcc);
797PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_IndexReduction_getCompsExtraEquations(threadData_t *threadData, modelica_metatype _comp, modelica_metatype _neqns, modelica_metatype _iAcc);
798static const MMC_DEFSTRUCTLIT(boxvar_lit_IndexReduction_getCompsExtraEquations,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_IndexReduction_getCompsExtraEquations
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_IndexReduction_getCompsExtraEquations,0}};
799#define boxvar_IndexReduction_getCompsExtraEquations((void*)((char*)(&(boxvar_lit_IndexReduction_getCompsExtraEquations
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_IndexReduction_getCompsExtraEquations)((void*)((char*)(&(boxvar_lit_IndexReduction_getCompsExtraEquations
).header) + 3))
800PROTECTED_FUNCTION_STATIC modelica_boolean omc_IndexReduction_selectBlock(threadData_t *threadData, modelica_metatype _comp, modelica_integer _ne);
801PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_IndexReduction_selectBlock(threadData_t *threadData, modelica_metatype _comp, modelica_metatype _ne);
802static const MMC_DEFSTRUCTLIT(boxvar_lit_IndexReduction_selectBlock,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_IndexReduction_selectBlock
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_IndexReduction_selectBlock,0}};
803#define boxvar_IndexReduction_selectBlock((void*)((char*)(&(boxvar_lit_IndexReduction_selectBlock)
.header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_IndexReduction_selectBlock)((void*)((char*)(&(boxvar_lit_IndexReduction_selectBlock)
.header) + 3))
804PROTECTED_FUNCTION_STATIC modelica_metatype omc_IndexReduction_forceStateSelectNever(threadData_t *threadData, modelica_metatype _vec_old1, modelica_metatype _vec_old2, modelica_metatype _vars, modelica_metatype _eqns, modelica_metatype _me, modelica_metatype _inShared, modelica_metatype _so, modelica_metatype *out_states, modelica_metatype *out_vec1, modelica_metatype *out_vec2);
805static const MMC_DEFSTRUCTLIT(boxvar_lit_IndexReduction_forceStateSelectNever,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_IndexReduction_forceStateSelectNever
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_IndexReduction_forceStateSelectNeveromc_IndexReduction_forceStateSelectNever,0}};
806#define boxvar_IndexReduction_forceStateSelectNever((void*)((char*)(&(boxvar_lit_IndexReduction_forceStateSelectNever
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_IndexReduction_forceStateSelectNever)((void*)((char*)(&(boxvar_lit_IndexReduction_forceStateSelectNever
).header) + 3))
807PROTECTED_FUNCTION_STATIC modelica_metatype omc_IndexReduction_selectStatesWork1(threadData_t *threadData, modelica_integer _nfreeStates, modelica_metatype _statecandidates, modelica_integer _neqns, modelica_metatype _eqnslst, modelica_integer _level, modelica_metatype _inSystem, modelica_metatype _inShared, modelica_metatype _so, modelica_metatype _iMapEqnIncRow, modelica_metatype _iMapIncRowEqn, modelica_metatype _iHov, modelica_metatype _inDummyVars, modelica_metatype _iStateSets, modelica_metatype *out_oStateSets);
808PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_IndexReduction_selectStatesWork1(threadData_t *threadData, modelica_metatype _nfreeStates, modelica_metatype _statecandidates, modelica_metatype _neqns, modelica_metatype _eqnslst, modelica_metatype _level, modelica_metatype _inSystem, modelica_metatype _inShared, modelica_metatype _so, modelica_metatype _iMapEqnIncRow, modelica_metatype _iMapIncRowEqn, modelica_metatype _iHov, modelica_metatype _inDummyVars, modelica_metatype _iStateSets, modelica_metatype *out_oStateSets);
809static const MMC_DEFSTRUCTLIT(boxvar_lit_IndexReduction_selectStatesWork1,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_IndexReduction_selectStatesWork1
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_IndexReduction_selectStatesWork1,0}};
810#define boxvar_IndexReduction_selectStatesWork1((void*)((char*)(&(boxvar_lit_IndexReduction_selectStatesWork1
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_IndexReduction_selectStatesWork1)((void*)((char*)(&(boxvar_lit_IndexReduction_selectStatesWork1
).header) + 3))
811PROTECTED_FUNCTION_STATIC modelica_metatype omc_IndexReduction_fixDerivativeIndex(threadData_t *threadData, modelica_metatype _inVar, modelica_integer _level, modelica_metatype _iVars);
812PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_IndexReduction_fixDerivativeIndex(threadData_t *threadData, modelica_metatype _inVar, modelica_metatype _level, modelica_metatype _iVars);
813static const MMC_DEFSTRUCTLIT(boxvar_lit_IndexReduction_fixDerivativeIndex,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_IndexReduction_fixDerivativeIndex
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_IndexReduction_fixDerivativeIndex,0}};
814#define boxvar_IndexReduction_fixDerivativeIndex((void*)((char*)(&(boxvar_lit_IndexReduction_fixDerivativeIndex
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_IndexReduction_fixDerivativeIndex)((void*)((char*)(&(boxvar_lit_IndexReduction_fixDerivativeIndex
).header) + 3))
815PROTECTED_FUNCTION_STATIC modelica_metatype omc_IndexReduction_getlowerOrderDerivatives(threadData_t *threadData, modelica_metatype _inVar, modelica_integer _level, modelica_metatype _so, modelica_metatype _vars, modelica_metatype _iVars);
816PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_IndexReduction_getlowerOrderDerivatives(threadData_t *threadData, modelica_metatype _inVar, modelica_metatype _level, modelica_metatype _so, modelica_metatype _vars, modelica_metatype _iVars);
817static const MMC_DEFSTRUCTLIT(boxvar_lit_IndexReduction_getlowerOrderDerivatives,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_IndexReduction_getlowerOrderDerivatives
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_IndexReduction_getlowerOrderDerivatives,0}};
818#define boxvar_IndexReduction_getlowerOrderDerivatives((void*)((char*)(&(boxvar_lit_IndexReduction_getlowerOrderDerivatives
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_IndexReduction_getlowerOrderDerivatives)((void*)((char*)(&(boxvar_lit_IndexReduction_getlowerOrderDerivatives
).header) + 3))
819PROTECTED_FUNCTION_STATIC modelica_metatype omc_IndexReduction_removeFirstOrderDerivatives(threadData_t *threadData, modelica_metatype _iDummyVars, modelica_metatype _iVars, modelica_metatype _so, modelica_metatype _iRepl, modelica_metatype *out_oRepl);
820static const MMC_DEFSTRUCTLIT(boxvar_lit_IndexReduction_removeFirstOrderDerivatives,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_IndexReduction_removeFirstOrderDerivatives
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_IndexReduction_removeFirstOrderDerivativesomc_IndexReduction_removeFirstOrderDerivatives,0}};
821#define boxvar_IndexReduction_removeFirstOrderDerivatives((void*)((char*)(&(boxvar_lit_IndexReduction_removeFirstOrderDerivatives
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_IndexReduction_removeFirstOrderDerivatives)((void*)((char*)(&(boxvar_lit_IndexReduction_removeFirstOrderDerivatives
).header) + 3))
822PROTECTED_FUNCTION_STATIC modelica_metatype omc_IndexReduction_selectStatesWork(threadData_t *threadData, modelica_integer _level, modelica_metatype _iHov, modelica_metatype _inSystem, modelica_metatype _inShared, modelica_metatype _so, modelica_metatype _iOrgEqnsLst, modelica_metatype _iMapEqnIncRow, modelica_metatype _iMapIncRowEqn, modelica_metatype _iHt, modelica_integer _iSetIndex, modelica_metatype *out_oshared, modelica_metatype *out_oHt, modelica_integer *out_oSetIndex);
823PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_IndexReduction_selectStatesWork(threadData_t *threadData, modelica_metatype _level, modelica_metatype _iHov, modelica_metatype _inSystem, modelica_metatype _inShared, modelica_metatype _so, modelica_metatype _iOrgEqnsLst, modelica_metatype _iMapEqnIncRow, modelica_metatype _iMapIncRowEqn, modelica_metatype _iHt, modelica_metatype _iSetIndex, modelica_metatype *out_oshared, modelica_metatype *out_oHt, modelica_metatype *out_oSetIndex);
824static const MMC_DEFSTRUCTLIT(boxvar_lit_IndexReduction_selectStatesWork,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_IndexReduction_selectStatesWork
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_IndexReduction_selectStatesWork,0}};
825#define boxvar_IndexReduction_selectStatesWork((void*)((char*)(&(boxvar_lit_IndexReduction_selectStatesWork
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_IndexReduction_selectStatesWork)((void*)((char*)(&(boxvar_lit_IndexReduction_selectStatesWork
).header) + 3))
826PROTECTED_FUNCTION_STATIC modelica_metatype omc_IndexReduction_selectStates(threadData_t *threadData, modelica_integer _nfreeStates, modelica_integer _nOrgEqns, modelica_metatype _inSystem, modelica_metatype _inShared, modelica_metatype _iSo, modelica_metatype _orgEqnsLst, modelica_metatype _iMapEqnIncRow, modelica_metatype _iMapIncRowEqn, modelica_metatype _iHt, modelica_integer _iSetIndex, modelica_metatype *out_oshared, modelica_metatype *out_oHt, modelica_integer *out_oSetIndex);
827PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_IndexReduction_selectStates(threadData_t *threadData, modelica_metatype _nfreeStates, modelica_metatype _nOrgEqns, modelica_metatype _inSystem, modelica_metatype _inShared, modelica_metatype _iSo, modelica_metatype _orgEqnsLst, modelica_metatype _iMapEqnIncRow, modelica_metatype _iMapIncRowEqn, modelica_metatype _iHt, modelica_metatype _iSetIndex, modelica_metatype *out_oshared, modelica_metatype *out_oHt, modelica_metatype *out_oSetIndex);
828static const MMC_DEFSTRUCTLIT(boxvar_lit_IndexReduction_selectStates,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_IndexReduction_selectStates
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_IndexReduction_selectStates,0}};
829#define boxvar_IndexReduction_selectStates((void*)((char*)(&(boxvar_lit_IndexReduction_selectStates
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_IndexReduction_selectStates)((void*)((char*)(&(boxvar_lit_IndexReduction_selectStates
).header) + 3))
830PROTECTED_FUNCTION_STATIC modelica_metatype omc_IndexReduction_setStartExp(threadData_t *threadData, modelica_metatype _inVar, modelica_metatype _startExp, modelica_integer _size, modelica_integer _iIndex, modelica_integer *out_oIndex);
831PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_IndexReduction_setStartExp(threadData_t *threadData, modelica_metatype _inVar, modelica_metatype _startExp, modelica_metatype _size, modelica_metatype _iIndex, modelica_metatype *out_oIndex);
832static const MMC_DEFSTRUCTLIT(boxvar_lit_IndexReduction_setStartExp,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_IndexReduction_setStartExp
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_IndexReduction_setStartExp,0}};
833#define boxvar_IndexReduction_setStartExp((void*)((char*)(&(boxvar_lit_IndexReduction_setStartExp)
.header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_IndexReduction_setStartExp)((void*)((char*)(&(boxvar_lit_IndexReduction_setStartExp)
.header) + 3))
834PROTECTED_FUNCTION_STATIC modelica_integer omc_IndexReduction_generateStateSets(threadData_t *threadData, modelica_metatype _iTplLst, modelica_integer _iSetIndex, modelica_metatype _iVars, modelica_metatype _iEqns, modelica_metatype _iStateSets, modelica_metatype *out_oVars, modelica_metatype *out_oEqns, modelica_metatype *out_oStateSets);
835PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_IndexReduction_generateStateSets(threadData_t *threadData, modelica_metatype _iTplLst, modelica_metatype _iSetIndex, modelica_metatype _iVars, modelica_metatype _iEqns, modelica_metatype _iStateSets, modelica_metatype *out_oVars, modelica_metatype *out_oEqns, modelica_metatype *out_oStateSets);
836static const MMC_DEFSTRUCTLIT(boxvar_lit_IndexReduction_generateStateSets,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_IndexReduction_generateStateSets
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_IndexReduction_generateStateSets,0}};
837#define boxvar_IndexReduction_generateStateSets((void*)((char*)(&(boxvar_lit_IndexReduction_generateStateSets
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_IndexReduction_generateStateSets)((void*)((char*)(&(boxvar_lit_IndexReduction_generateStateSets
).header) + 3))
838PROTECTED_FUNCTION_STATIC modelica_integer omc_IndexReduction_addStateSets(threadData_t *threadData, modelica_metatype _iTplLst, modelica_integer _iSetIndex, modelica_metatype _inSystem, modelica_metatype *out_oSystem);
839PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_IndexReduction_addStateSets(threadData_t *threadData, modelica_metatype _iTplLst, modelica_metatype _iSetIndex, modelica_metatype _inSystem, modelica_metatype *out_oSystem);
840static const MMC_DEFSTRUCTLIT(boxvar_lit_IndexReduction_addStateSets,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_IndexReduction_addStateSets
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_IndexReduction_addStateSets,0}};
841#define boxvar_IndexReduction_addStateSets((void*)((char*)(&(boxvar_lit_IndexReduction_addStateSets
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_IndexReduction_addStateSets)((void*)((char*)(&(boxvar_lit_IndexReduction_addStateSets
).header) + 3))
842PROTECTED_FUNCTION_STATIC modelica_metatype omc_IndexReduction_reduceStateSets2(threadData_t *threadData, modelica_metatype _iTplLst);
843static const MMC_DEFSTRUCTLIT(boxvar_lit_IndexReduction_reduceStateSets2,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_IndexReduction_reduceStateSets2
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_IndexReduction_reduceStateSets2omc_IndexReduction_reduceStateSets2,0}};
844#define boxvar_IndexReduction_reduceStateSets2((void*)((char*)(&(boxvar_lit_IndexReduction_reduceStateSets2
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_IndexReduction_reduceStateSets2)((void*)((char*)(&(boxvar_lit_IndexReduction_reduceStateSets2
).header) + 3))
845PROTECTED_FUNCTION_STATIC modelica_metatype omc_IndexReduction_reduceStateSets(threadData_t *threadData, modelica_metatype _iTplLst, modelica_metatype _idummyStates);
846static const MMC_DEFSTRUCTLIT(boxvar_lit_IndexReduction_reduceStateSets,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_IndexReduction_reduceStateSets
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_IndexReduction_reduceStateSetsomc_IndexReduction_reduceStateSets,0}};
847#define boxvar_IndexReduction_reduceStateSets((void*)((char*)(&(boxvar_lit_IndexReduction_reduceStateSets
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_IndexReduction_reduceStateSets)((void*)((char*)(&(boxvar_lit_IndexReduction_reduceStateSets
).header) + 3))
848PROTECTED_FUNCTION_STATIC modelica_metatype omc_IndexReduction_getVar(threadData_t *threadData, modelica_metatype _cr, modelica_metatype _vars);
849static const MMC_DEFSTRUCTLIT(boxvar_lit_IndexReduction_getVar,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_IndexReduction_getVar
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_IndexReduction_getVaromc_IndexReduction_getVar,0}};
850#define boxvar_IndexReduction_getVar((void*)((char*)(&(boxvar_lit_IndexReduction_getVar).header
) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_IndexReduction_getVar)((void*)((char*)(&(boxvar_lit_IndexReduction_getVar).header
) + 3))
851PROTECTED_FUNCTION_STATIC modelica_metatype omc_IndexReduction_traversinghighestOrderDerivativesFinder(threadData_t *threadData, modelica_metatype _inVar, modelica_metatype _inTpl, modelica_metatype *out_outTpl);
852static const MMC_DEFSTRUCTLIT(boxvar_lit_IndexReduction_traversinghighestOrderDerivativesFinder,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_IndexReduction_traversinghighestOrderDerivativesFinder
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_IndexReduction_traversinghighestOrderDerivativesFinderomc_IndexReduction_traversinghighestOrderDerivativesFinder,0}};
853#define boxvar_IndexReduction_traversinghighestOrderDerivativesFinder((void*)((char*)(&(boxvar_lit_IndexReduction_traversinghighestOrderDerivativesFinder
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_IndexReduction_traversinghighestOrderDerivativesFinder)((void*)((char*)(&(boxvar_lit_IndexReduction_traversinghighestOrderDerivativesFinder
).header) + 3))
854PROTECTED_FUNCTION_STATIC modelica_metatype omc_IndexReduction_highestOrderDerivatives(threadData_t *threadData, modelica_metatype _v, modelica_metatype _iSo, modelica_metatype *out_oSo);
855static const MMC_DEFSTRUCTLIT(boxvar_lit_IndexReduction_highestOrderDerivatives,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_IndexReduction_highestOrderDerivatives
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_IndexReduction_highestOrderDerivativesomc_IndexReduction_highestOrderDerivatives,0}};
856#define boxvar_IndexReduction_highestOrderDerivatives((void*)((char*)(&(boxvar_lit_IndexReduction_highestOrderDerivatives
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_IndexReduction_highestOrderDerivatives)((void*)((char*)(&(boxvar_lit_IndexReduction_highestOrderDerivatives
).header) + 3))
857PROTECTED_FUNCTION_STATIC modelica_metatype omc_IndexReduction_replaceDerStatesStatesExp(threadData_t *threadData, modelica_metatype _inExp, modelica_metatype _inOrder, modelica_metatype *out_outOrder);
858static const MMC_DEFSTRUCTLIT(boxvar_lit_IndexReduction_replaceDerStatesStatesExp,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_IndexReduction_replaceDerStatesStatesExp
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_IndexReduction_replaceDerStatesStatesExpomc_IndexReduction_replaceDerStatesStatesExp,0}};
859#define boxvar_IndexReduction_replaceDerStatesStatesExp((void*)((char*)(&(boxvar_lit_IndexReduction_replaceDerStatesStatesExp
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_IndexReduction_replaceDerStatesStatesExp)((void*)((char*)(&(boxvar_lit_IndexReduction_replaceDerStatesStatesExp
).header) + 3))
860PROTECTED_FUNCTION_STATIC modelica_metatype omc_IndexReduction_inlineOrgEqns(threadData_t *threadData, modelica_metatype _inOrgEqns, modelica_metatype _inA);
861static const MMC_DEFSTRUCTLIT(boxvar_lit_IndexReduction_inlineOrgEqns,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_IndexReduction_inlineOrgEqns
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_IndexReduction_inlineOrgEqnsomc_IndexReduction_inlineOrgEqns,0}};
862#define boxvar_IndexReduction_inlineOrgEqns((void*)((char*)(&(boxvar_lit_IndexReduction_inlineOrgEqns
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_IndexReduction_inlineOrgEqns)((void*)((char*)(&(boxvar_lit_IndexReduction_inlineOrgEqns
).header) + 3))
863PROTECTED_FUNCTION_STATIC modelica_integer omc_IndexReduction_countOrgEqns(threadData_t *threadData, modelica_metatype _inOrgEqns, modelica_integer _iCount);
864PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_IndexReduction_countOrgEqns(threadData_t *threadData, modelica_metatype _inOrgEqns, modelica_metatype _iCount);
865static const MMC_DEFSTRUCTLIT(boxvar_lit_IndexReduction_countOrgEqns,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_IndexReduction_countOrgEqns
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_IndexReduction_countOrgEqns,0}};
866#define boxvar_IndexReduction_countOrgEqns((void*)((char*)(&(boxvar_lit_IndexReduction_countOrgEqns
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_IndexReduction_countOrgEqns)((void*)((char*)(&(boxvar_lit_IndexReduction_countOrgEqns
).header) + 3))
867PROTECTED_FUNCTION_STATIC modelica_metatype omc_IndexReduction_countStateCandidatesWithNever(threadData_t *threadData, modelica_metatype _inVar, modelica_integer _inCount, modelica_integer *out_outCount);
868PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_IndexReduction_countStateCandidatesWithNever(threadData_t *threadData, modelica_metatype _inVar, modelica_metatype _inCount, modelica_metatype *out_outCount);
869static const MMC_DEFSTRUCTLIT(boxvar_lit_IndexReduction_countStateCandidatesWithNever,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_IndexReduction_countStateCandidatesWithNever
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_IndexReduction_countStateCandidatesWithNever,0}};
870#define boxvar_IndexReduction_countStateCandidatesWithNever((void*)((char*)(&(boxvar_lit_IndexReduction_countStateCandidatesWithNever
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_IndexReduction_countStateCandidatesWithNever)((void*)((char*)(&(boxvar_lit_IndexReduction_countStateCandidatesWithNever
).header) + 3))
871PROTECTED_FUNCTION_STATIC modelica_metatype omc_IndexReduction_countStateCandidates(threadData_t *threadData, modelica_metatype _inVar, modelica_integer _inCount, modelica_integer *out_outCount);
872PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_IndexReduction_countStateCandidates(threadData_t *threadData, modelica_metatype _inVar, modelica_metatype _inCount, modelica_metatype *out_outCount);
873static const MMC_DEFSTRUCTLIT(boxvar_lit_IndexReduction_countStateCandidates,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_IndexReduction_countStateCandidates
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_IndexReduction_countStateCandidates,0}};
874#define boxvar_IndexReduction_countStateCandidates((void*)((char*)(&(boxvar_lit_IndexReduction_countStateCandidates
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_IndexReduction_countStateCandidates)((void*)((char*)(&(boxvar_lit_IndexReduction_countStateCandidates
).header) + 3))
875PROTECTED_FUNCTION_STATIC modelica_metatype omc_IndexReduction_dynamicStateSelectionWork(threadData_t *threadData, modelica_metatype _inSystem, modelica_metatype _inShared, modelica_metatype _inArg, modelica_metatype _iHt, modelica_integer _iSetIndex, modelica_metatype *out_oshared, modelica_metatype *out_oHt, modelica_integer *out_oSetIndex);
876PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_IndexReduction_dynamicStateSelectionWork(threadData_t *threadData, modelica_metatype _inSystem, modelica_metatype _inShared, modelica_metatype _inArg, modelica_metatype _iHt, modelica_metatype _iSetIndex, modelica_metatype *out_oshared, modelica_metatype *out_oHt, modelica_metatype *out_oSetIndex);
877static const MMC_DEFSTRUCTLIT(boxvar_lit_IndexReduction_dynamicStateSelectionWork,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_IndexReduction_dynamicStateSelectionWork
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_IndexReduction_dynamicStateSelectionWork,0}};
878#define boxvar_IndexReduction_dynamicStateSelectionWork((void*)((char*)(&(boxvar_lit_IndexReduction_dynamicStateSelectionWork
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_IndexReduction_dynamicStateSelectionWork)((void*)((char*)(&(boxvar_lit_IndexReduction_dynamicStateSelectionWork
).header) + 3))
879PROTECTED_FUNCTION_STATIC modelica_metatype omc_IndexReduction_dynamicStateSelection__mapEqsystem(threadData_t *threadData, modelica_metatype _isysts, modelica_metatype _inShared, modelica_metatype _iargs, modelica_integer _setIndex, modelica_metatype _iHt, modelica_metatype *out_oshared, modelica_metatype *out_oHt);
880PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_IndexReduction_dynamicStateSelection__mapEqsystem(threadData_t *threadData, modelica_metatype _isysts, modelica_metatype _inShared, modelica_metatype _iargs, modelica_metatype _setIndex, modelica_metatype _iHt, modelica_metatype *out_oshared, modelica_metatype *out_oHt);
881static const MMC_DEFSTRUCTLIT(boxvar_lit_IndexReduction_dynamicStateSelection__mapEqsystem,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_IndexReduction_dynamicStateSelection__mapEqsystem
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_IndexReduction_dynamicStateSelection__mapEqsystem,0}};
882#define boxvar_IndexReduction_dynamicStateSelection__mapEqsystem((void*)((char*)(&(boxvar_lit_IndexReduction_dynamicStateSelection__mapEqsystem
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_IndexReduction_dynamicStateSelection__mapEqsystem)((void*)((char*)(&(boxvar_lit_IndexReduction_dynamicStateSelection__mapEqsystem
).header) + 3))
883PROTECTED_FUNCTION_STATIC modelica_metatype omc_IndexReduction_replaceFinalVarsGetExp(threadData_t *threadData, modelica_metatype _inVar, modelica_metatype _D_24in_repl, modelica_boolean _D_24in_b, modelica_boolean *out_b);
884PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_IndexReduction_replaceFinalVarsGetExp(threadData_t *threadData, modelica_metatype _inVar, modelica_metatype _D_24in_repl, modelica_metatype _D_24in_b, modelica_metatype *out_b);
885static const MMC_DEFSTRUCTLIT(boxvar_lit_IndexReduction_replaceFinalVarsGetExp,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_IndexReduction_replaceFinalVarsGetExp
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_IndexReduction_replaceFinalVarsGetExp,0}};
886#define boxvar_IndexReduction_replaceFinalVarsGetExp((void*)((char*)(&(boxvar_lit_IndexReduction_replaceFinalVarsGetExp
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_IndexReduction_replaceFinalVarsGetExp)((void*)((char*)(&(boxvar_lit_IndexReduction_replaceFinalVarsGetExp
).header) + 3))
887PROTECTED_FUNCTION_STATIC modelica_metatype omc_IndexReduction_replaceFinalVarsExp(threadData_t *threadData, modelica_metatype _inExp, modelica_metatype _inTpl, modelica_metatype *out_outTpl);
888static const MMC_DEFSTRUCTLIT(boxvar_lit_IndexReduction_replaceFinalVarsExp,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_IndexReduction_replaceFinalVarsExp
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_IndexReduction_replaceFinalVarsExpomc_IndexReduction_replaceFinalVarsExp,0}};
889#define boxvar_IndexReduction_replaceFinalVarsExp((void*)((char*)(&(boxvar_lit_IndexReduction_replaceFinalVarsExp
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_IndexReduction_replaceFinalVarsExp)((void*)((char*)(&(boxvar_lit_IndexReduction_replaceFinalVarsExp
).header) + 3))
890PROTECTED_FUNCTION_STATIC modelica_metatype omc_IndexReduction_replaceFinalVarsEqn(threadData_t *threadData, modelica_metatype _inExp, modelica_metatype _inTpl, modelica_metatype *out_tpl);
891static const MMC_DEFSTRUCTLIT(boxvar_lit_IndexReduction_replaceFinalVarsEqn,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_IndexReduction_replaceFinalVarsEqn
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_IndexReduction_replaceFinalVarsEqnomc_IndexReduction_replaceFinalVarsEqn,0}};
892#define boxvar_IndexReduction_replaceFinalVarsEqn((void*)((char*)(&(boxvar_lit_IndexReduction_replaceFinalVarsEqn
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_IndexReduction_replaceFinalVarsEqn)((void*)((char*)(&(boxvar_lit_IndexReduction_replaceFinalVarsEqn
).header) + 3))
893PROTECTED_FUNCTION_STATIC modelica_metatype omc_IndexReduction_replaceFinalVars(threadData_t *threadData, modelica_integer _e, modelica_metatype _vars, modelica_metatype _inTpl);
894PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_IndexReduction_replaceFinalVars(threadData_t *threadData, modelica_metatype _e, modelica_metatype _vars, modelica_metatype _inTpl);
895static const MMC_DEFSTRUCTLIT(boxvar_lit_IndexReduction_replaceFinalVars,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_IndexReduction_replaceFinalVars
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_IndexReduction_replaceFinalVars,0}};
896#define boxvar_IndexReduction_replaceFinalVars((void*)((char*)(&(boxvar_lit_IndexReduction_replaceFinalVars
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_IndexReduction_replaceFinalVars)((void*)((char*)(&(boxvar_lit_IndexReduction_replaceFinalVars
).header) + 3))
897PROTECTED_FUNCTION_STATIC modelica_metatype omc_IndexReduction_handleundifferntiableMSS(threadData_t *threadData, modelica_boolean _b, modelica_metatype _statesWithUnusedDer, modelica_metatype _inEqns, modelica_metatype _unassignedStates, modelica_metatype _unassignedEqns, modelica_metatype _inSystem, modelica_metatype _inShared, modelica_metatype _inAss1, modelica_metatype _inAss2, modelica_metatype _inStateOrd, modelica_metatype _inOrgEqnsLst, modelica_metatype _imapEqnIncRow, modelica_metatype _imapIncRowEqn, modelica_metatype *out_oshared, modelica_metatype *out_outAss1, modelica_metatype *out_outAss2, modelica_metatype *out_outStateOrd, modelica_metatype *out_outOrgEqnsLst, modelica_metatype *out_omapEqnIncRow, modelica_metatype *out_omapIncRowEqn);
898PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_IndexReduction_handleundifferntiableMSS(threadData_t *threadData, modelica_metatype _b, modelica_metatype _statesWithUnusedDer, modelica_metatype _inEqns, modelica_metatype _unassignedStates, modelica_metatype _unassignedEqns, modelica_metatype _inSystem, modelica_metatype _inShared, modelica_metatype _inAss1, modelica_metatype _inAss2, modelica_metatype _inStateOrd, modelica_metatype _inOrgEqnsLst, modelica_metatype _imapEqnIncRow, modelica_metatype _imapIncRowEqn, modelica_metatype *out_oshared, modelica_metatype *out_outAss1, modelica_metatype *out_outAss2, modelica_metatype *out_outStateOrd, modelica_metatype *out_outOrgEqnsLst, modelica_metatype *out_omapEqnIncRow, modelica_metatype *out_omapIncRowEqn);
899static const MMC_DEFSTRUCTLIT(boxvar_lit_IndexReduction_handleundifferntiableMSS,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_IndexReduction_handleundifferntiableMSS
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_IndexReduction_handleundifferntiableMSS,0}};
900#define boxvar_IndexReduction_handleundifferntiableMSS((void*)((char*)(&(boxvar_lit_IndexReduction_handleundifferntiableMSS
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_IndexReduction_handleundifferntiableMSS)((void*)((char*)(&(boxvar_lit_IndexReduction_handleundifferntiableMSS
).header) + 3))
901PROTECTED_FUNCTION_STATIC modelica_metatype omc_IndexReduction_handleundifferntiableMSSLst(threadData_t *threadData, modelica_metatype _iNotDiffableMSS, modelica_metatype _inSystem, modelica_metatype _inShared, modelica_metatype _inAss1, modelica_metatype _inAss2, modelica_metatype _iArg, modelica_metatype *out_oshared, modelica_metatype *out_outAss1, modelica_metatype *out_outAss2, modelica_metatype *out_oArg);
902static const MMC_DEFSTRUCTLIT(boxvar_lit_IndexReduction_handleundifferntiableMSSLst,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_IndexReduction_handleundifferntiableMSSLst
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_IndexReduction_handleundifferntiableMSSLstomc_IndexReduction_handleundifferntiableMSSLst,0}};
903#define boxvar_IndexReduction_handleundifferntiableMSSLst((void*)((char*)(&(boxvar_lit_IndexReduction_handleundifferntiableMSSLst
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_IndexReduction_handleundifferntiableMSSLst)((void*)((char*)(&(boxvar_lit_IndexReduction_handleundifferntiableMSSLst
).header) + 3))
904PROTECTED_FUNCTION_STATIC modelica_boolean omc_IndexReduction_isStateonIndex(threadData_t *threadData, modelica_integer _index, modelica_metatype _vars);
905PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_IndexReduction_isStateonIndex(threadData_t *threadData, modelica_metatype _index, modelica_metatype _vars);
906static const MMC_DEFSTRUCTLIT(boxvar_lit_IndexReduction_isStateonIndex,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_IndexReduction_isStateonIndex
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_IndexReduction_isStateonIndex,0}};
907#define boxvar_IndexReduction_isStateonIndex((void*)((char*)(&(boxvar_lit_IndexReduction_isStateonIndex
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_IndexReduction_isStateonIndex)((void*)((char*)(&(boxvar_lit_IndexReduction_isStateonIndex
).header) + 3))
908PROTECTED_FUNCTION_STATIC modelica_metatype omc_IndexReduction_statesWithUnusedDerivative(threadData_t *threadData, modelica_integer _state, modelica_metatype _mt, modelica_metatype _iAcc);
909PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_IndexReduction_statesWithUnusedDerivative(threadData_t *threadData, modelica_metatype _state, modelica_metatype _mt, modelica_metatype _iAcc);
910static const MMC_DEFSTRUCTLIT(boxvar_lit_IndexReduction_statesWithUnusedDerivative,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_IndexReduction_statesWithUnusedDerivative
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_IndexReduction_statesWithUnusedDerivative,0}};
911#define boxvar_IndexReduction_statesWithUnusedDerivative((void*)((char*)(&(boxvar_lit_IndexReduction_statesWithUnusedDerivative
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_IndexReduction_statesWithUnusedDerivative)((void*)((char*)(&(boxvar_lit_IndexReduction_statesWithUnusedDerivative
).header) + 3))
912PROTECTED_FUNCTION_STATIC modelica_metatype omc_IndexReduction_replaceStateOrderExpFinder(threadData_t *threadData, modelica_metatype _inExp, modelica_metatype _inVars, modelica_boolean *out_cont, modelica_metatype *out_outVars);
913PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_IndexReduction_replaceStateOrderExpFinder(threadData_t *threadData, modelica_metatype _inExp, modelica_metatype _inVars, modelica_metatype *out_cont, modelica_metatype *out_outVars);
914static const MMC_DEFSTRUCTLIT(boxvar_lit_IndexReduction_replaceStateOrderExpFinder,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_IndexReduction_replaceStateOrderExpFinder
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_IndexReduction_replaceStateOrderExpFinder,0}};
915#define boxvar_IndexReduction_replaceStateOrderExpFinder((void*)((char*)(&(boxvar_lit_IndexReduction_replaceStateOrderExpFinder
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_IndexReduction_replaceStateOrderExpFinder)((void*)((char*)(&(boxvar_lit_IndexReduction_replaceStateOrderExpFinder
).header) + 3))
916PROTECTED_FUNCTION_STATIC modelica_metatype omc_IndexReduction_replaceStateOrderExp(threadData_t *threadData, modelica_metatype _inExp, modelica_metatype _inVars, modelica_metatype *out_vars);
917static const MMC_DEFSTRUCTLIT(boxvar_lit_IndexReduction_replaceStateOrderExp,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_IndexReduction_replaceStateOrderExp
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_IndexReduction_replaceStateOrderExpomc_IndexReduction_replaceStateOrderExp,0}};
918#define boxvar_IndexReduction_replaceStateOrderExp((void*)((char*)(&(boxvar_lit_IndexReduction_replaceStateOrderExp
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_IndexReduction_replaceStateOrderExp)((void*)((char*)(&(boxvar_lit_IndexReduction_replaceStateOrderExp
).header) + 3))
919PROTECTED_FUNCTION_STATIC modelica_metatype omc_IndexReduction_replaceDifferentiatedEqns(threadData_t *threadData, modelica_metatype _inEqnTplLst, modelica_metatype _vars, modelica_metatype _eqns, modelica_metatype _mt, modelica_metatype _imapIncRowEqn, modelica_metatype _inChangedVars, modelica_metatype _inOrgEqns, modelica_metatype *out_outEqns, modelica_metatype *out_outChangedVars, modelica_metatype *out_outOrgEqns);
920static const MMC_DEFSTRUCTLIT(boxvar_lit_IndexReduction_replaceDifferentiatedEqns,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_IndexReduction_replaceDifferentiatedEqns
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_IndexReduction_replaceDifferentiatedEqnsomc_IndexReduction_replaceDifferentiatedEqns,0}};
921#define boxvar_IndexReduction_replaceDifferentiatedEqns((void*)((char*)(&(boxvar_lit_IndexReduction_replaceDifferentiatedEqns
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_IndexReduction_replaceDifferentiatedEqns)((void*)((char*)(&(boxvar_lit_IndexReduction_replaceDifferentiatedEqns
).header) + 3))
922PROTECTED_FUNCTION_STATIC modelica_metatype omc_IndexReduction_differentiateEqnsLst1(threadData_t *threadData, modelica_integer _eqIdx, modelica_metatype _vars, modelica_metatype _eqns, modelica_metatype _inShared, modelica_metatype *out_oshared);
923PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_IndexReduction_differentiateEqnsLst1(threadData_t *threadData, modelica_metatype _eqIdx, modelica_metatype _vars, modelica_metatype _eqns, modelica_metatype _inShared, modelica_metatype *out_oshared);
924static const MMC_DEFSTRUCTLIT(boxvar_lit_IndexReduction_differentiateEqnsLst1,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_IndexReduction_differentiateEqnsLst1
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_IndexReduction_differentiateEqnsLst1,0}};
925#define boxvar_IndexReduction_differentiateEqnsLst1((void*)((char*)(&(boxvar_lit_IndexReduction_differentiateEqnsLst1
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_IndexReduction_differentiateEqnsLst1)((void*)((char*)(&(boxvar_lit_IndexReduction_differentiateEqnsLst1
).header) + 3))
926PROTECTED_FUNCTION_STATIC modelica_metatype omc_IndexReduction_differentiateEqnsLst(threadData_t *threadData, modelica_metatype _inEqns, modelica_metatype _vars, modelica_metatype _eqns, modelica_metatype _inShared, modelica_metatype *out_oShared);
927static const MMC_DEFSTRUCTLIT(boxvar_lit_IndexReduction_differentiateEqnsLst,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_IndexReduction_differentiateEqnsLst
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_IndexReduction_differentiateEqnsLstomc_IndexReduction_differentiateEqnsLst,0}};
928#define boxvar_IndexReduction_differentiateEqnsLst((void*)((char*)(&(boxvar_lit_IndexReduction_differentiateEqnsLst
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_IndexReduction_differentiateEqnsLst)((void*)((char*)(&(boxvar_lit_IndexReduction_differentiateEqnsLst
).header) + 3))
929PROTECTED_FUNCTION_STATIC modelica_metatype omc_IndexReduction_searchDerivativesExp(threadData_t *threadData, modelica_metatype _inExp, modelica_metatype _tpl, modelica_metatype *out_outTpl);
930static const MMC_DEFSTRUCTLIT(boxvar_lit_IndexReduction_searchDerivativesExp,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_IndexReduction_searchDerivativesExp
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_IndexReduction_searchDerivativesExpomc_IndexReduction_searchDerivativesExp,0}};
931#define boxvar_IndexReduction_searchDerivativesExp((void*)((char*)(&(boxvar_lit_IndexReduction_searchDerivativesExp
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_IndexReduction_searchDerivativesExp)((void*)((char*)(&(boxvar_lit_IndexReduction_searchDerivativesExp
).header) + 3))
932PROTECTED_FUNCTION_STATIC modelica_metatype omc_IndexReduction_collectVarEqns(threadData_t *threadData, modelica_metatype _varIdcsIn, modelica_metatype _mT, modelica_integer _numVars, modelica_integer _numEqs);
933PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_IndexReduction_collectVarEqns(threadData_t *threadData, modelica_metatype _varIdcsIn, modelica_metatype _mT, modelica_metatype _numVars, modelica_metatype _numEqs);
934static const MMC_DEFSTRUCTLIT(boxvar_lit_IndexReduction_collectVarEqns,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_IndexReduction_collectVarEqns
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_IndexReduction_collectVarEqns,0}};
935#define boxvar_IndexReduction_collectVarEqns((void*)((char*)(&(boxvar_lit_IndexReduction_collectVarEqns
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_IndexReduction_collectVarEqns)((void*)((char*)(&(boxvar_lit_IndexReduction_collectVarEqns
).header) + 3))
936PROTECTED_FUNCTION_STATIC modelica_metatype omc_IndexReduction_differentiateEqns(threadData_t *threadData, modelica_metatype _inEqnsTpl, modelica_metatype _MSSSeqs, modelica_metatype _unassignedStates, modelica_metatype _unassignedEqns, modelica_metatype _inSystem, modelica_metatype _inShared, modelica_metatype _inAss1, modelica_metatype _inAss2, modelica_metatype _inOrgEqnsLst, modelica_metatype _imapEqnIncRow, modelica_metatype _imapIncRowEqn, modelica_metatype _iNotDiffableMSS, modelica_metatype *out_oshared, modelica_metatype *out_outAss1, modelica_metatype *out_outAss2, modelica_metatype *out_outOrgEqnsLst, modelica_metatype *out_omapEqnIncRow, modelica_metatype *out_omapIncRowEqn, modelica_metatype *out_oNotDiffableMSS);
937static const MMC_DEFSTRUCTLIT(boxvar_lit_IndexReduction_differentiateEqns,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_IndexReduction_differentiateEqns
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_IndexReduction_differentiateEqnsomc_IndexReduction_differentiateEqns,0}};
938#define boxvar_IndexReduction_differentiateEqns((void*)((char*)(&(boxvar_lit_IndexReduction_differentiateEqns
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_IndexReduction_differentiateEqns)((void*)((char*)(&(boxvar_lit_IndexReduction_differentiateEqns
).header) + 3))
939PROTECTED_FUNCTION_STATIC modelica_metatype omc_IndexReduction_markTrue(threadData_t *threadData, modelica_integer _indx, modelica_integer _mark, modelica_metatype _D_24in_arr);
940PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_IndexReduction_markTrue(threadData_t *threadData, modelica_metatype _indx, modelica_metatype _mark, modelica_metatype _D_24in_arr);
941static const MMC_DEFSTRUCTLIT(boxvar_lit_IndexReduction_markTrue,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_IndexReduction_markTrue
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_IndexReduction_markTrue,0}};
942#define boxvar_IndexReduction_markTrue((void*)((char*)(&(boxvar_lit_IndexReduction_markTrue).header
) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_IndexReduction_markTrue)((void*)((char*)(&(boxvar_lit_IndexReduction_markTrue).header
) + 3))
943PROTECTED_FUNCTION_STATIC modelica_boolean omc_IndexReduction_isMarked(threadData_t *threadData, modelica_metatype _ass, modelica_integer _indx);
944PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_IndexReduction_isMarked(threadData_t *threadData, modelica_metatype _ass, modelica_metatype _indx);
945static const MMC_DEFSTRUCTLIT(boxvar_lit_IndexReduction_isMarked,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_IndexReduction_isMarked
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_IndexReduction_isMarked,0}};
946#define boxvar_IndexReduction_isMarked((void*)((char*)(&(boxvar_lit_IndexReduction_isMarked).header
) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_IndexReduction_isMarked)((void*)((char*)(&(boxvar_lit_IndexReduction_isMarked).header
) + 3))
947PROTECTED_FUNCTION_STATIC modelica_metatype omc_IndexReduction_statesInEquations(threadData_t *threadData, modelica_integer _eindx, modelica_metatype _inTpl, modelica_metatype _ass1, modelica_metatype _inStateLst);
948PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_IndexReduction_statesInEquations(threadData_t *threadData, modelica_metatype _eindx, modelica_metatype _inTpl, modelica_metatype _ass1, modelica_metatype _inStateLst);
949static const MMC_DEFSTRUCTLIT(boxvar_lit_IndexReduction_statesInEquations,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_IndexReduction_statesInEquations
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_IndexReduction_statesInEquations,0}};
950#define boxvar_IndexReduction_statesInEquations((void*)((char*)(&(boxvar_lit_IndexReduction_statesInEquations
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_IndexReduction_statesInEquations)((void*)((char*)(&(boxvar_lit_IndexReduction_statesInEquations
).header) + 3))
951PROTECTED_FUNCTION_STATIC modelica_metatype omc_IndexReduction_unassignedContinuesEqns(threadData_t *threadData, modelica_integer _eindx, modelica_metatype _vars, modelica_metatype _ass2, modelica_metatype _m, modelica_metatype _inFold);
952PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_IndexReduction_unassignedContinuesEqns(threadData_t *threadData, modelica_metatype _eindx, modelica_metatype _vars, modelica_metatype _ass2, modelica_metatype _m, modelica_metatype _inFold);
953static const MMC_DEFSTRUCTLIT(boxvar_lit_IndexReduction_unassignedContinuesEqns,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_IndexReduction_unassignedContinuesEqns
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_IndexReduction_unassignedContinuesEqns,0}};
954#define boxvar_IndexReduction_unassignedContinuesEqns((void*)((char*)(&(boxvar_lit_IndexReduction_unassignedContinuesEqns
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_IndexReduction_unassignedContinuesEqns)((void*)((char*)(&(boxvar_lit_IndexReduction_unassignedContinuesEqns
).header) + 3))
955PROTECTED_FUNCTION_STATIC void omc_IndexReduction_singularSystemError(threadData_t *threadData, modelica_boolean _b, modelica_metatype _unassignedStates, modelica_metatype _unassignedEqns, modelica_metatype _eqns, modelica_metatype _inSystem, modelica_metatype _inShared, modelica_metatype _inAssignments1, modelica_metatype _inAssignments2, modelica_metatype _inArg);
956PROTECTED_FUNCTION_STATIC void boxptr_IndexReduction_singularSystemError(threadData_t *threadData, modelica_metatype _b, modelica_metatype _unassignedStates, modelica_metatype _unassignedEqns, modelica_metatype _eqns, modelica_metatype _inSystem, modelica_metatype _inShared, modelica_metatype _inAssignments1, modelica_metatype _inAssignments2, modelica_metatype _inArg);
957static const MMC_DEFSTRUCTLIT(boxvar_lit_IndexReduction_singularSystemError,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_IndexReduction_singularSystemError
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_IndexReduction_singularSystemError,0}};
958#define boxvar_IndexReduction_singularSystemError((void*)((char*)(&(boxvar_lit_IndexReduction_singularSystemError
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_IndexReduction_singularSystemError)((void*)((char*)(&(boxvar_lit_IndexReduction_singularSystemError
).header) + 3))
959PROTECTED_FUNCTION_STATIC modelica_metatype omc_IndexReduction_minimalStructurallySingularSystemMSS(threadData_t *threadData, modelica_metatype _inEqnsLst, modelica_metatype _inSystem, modelica_metatype _inShared, modelica_metatype _inAssignments1, modelica_metatype _inAssignments2, modelica_metatype _inArg, modelica_metatype _statemark, modelica_integer _mark, modelica_metatype _m, modelica_metatype _vars, modelica_metatype _inEqnsLstAcc, modelica_metatype _inStateIndxsAcc, modelica_metatype _inUnassEqnsAcc, modelica_metatype _inDiscEqnsAcc, modelica_metatype *out_outStateIndxs, modelica_metatype *out_outUnassEqnsAcc, modelica_metatype *out_outDiscEqns);
960PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_IndexReduction_minimalStructurallySingularSystemMSS(threadData_t *threadData, modelica_metatype _inEqnsLst, modelica_metatype _inSystem, modelica_metatype _inShared, modelica_metatype _inAssignments1, modelica_metatype _inAssignments2, modelica_metatype _inArg, modelica_metatype _statemark, modelica_metatype _mark, modelica_metatype _m, modelica_metatype _vars, modelica_metatype _inEqnsLstAcc, modelica_metatype _inStateIndxsAcc, modelica_metatype _inUnassEqnsAcc, modelica_metatype _inDiscEqnsAcc, modelica_metatype *out_outStateIndxs, modelica_metatype *out_outUnassEqnsAcc, modelica_metatype *out_outDiscEqns);
961static const MMC_DEFSTRUCTLIT(boxvar_lit_IndexReduction_minimalStructurallySingularSystemMSS,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_IndexReduction_minimalStructurallySingularSystemMSS
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_IndexReduction_minimalStructurallySingularSystemMSS,0}};
962#define boxvar_IndexReduction_minimalStructurallySingularSystemMSS((void*)((char*)(&(boxvar_lit_IndexReduction_minimalStructurallySingularSystemMSS
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_IndexReduction_minimalStructurallySingularSystemMSS)((void*)((char*)(&(boxvar_lit_IndexReduction_minimalStructurallySingularSystemMSS
).header) + 3))
963PROTECTED_FUNCTION_STATIC modelica_string omc_IndexReduction_eqnstplDebugString(threadData_t *threadData, modelica_metatype _tpl);
964static const MMC_DEFSTRUCTLIT(boxvar_lit_IndexReduction_eqnstplDebugString,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_IndexReduction_eqnstplDebugString
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_IndexReduction_eqnstplDebugStringomc_IndexReduction_eqnstplDebugString,0}};
965#define boxvar_IndexReduction_eqnstplDebugString((void*)((char*)(&(boxvar_lit_IndexReduction_eqnstplDebugString
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_IndexReduction_eqnstplDebugString)((void*)((char*)(&(boxvar_lit_IndexReduction_eqnstplDebugString
).header) + 3))
966PROTECTED_FUNCTION_STATIC modelica_metatype omc_IndexReduction_pantelidesIndexReductionMSS(threadData_t *threadData, modelica_metatype _unassignedStates, modelica_metatype _unassignedEqns, modelica_metatype _alleqns, modelica_metatype _MSSSeqs, modelica_integer _actualEqn, modelica_metatype _inSystem, modelica_metatype _inShared, modelica_metatype _inAssignments1, modelica_metatype _inAssignments2, modelica_integer _mark, modelica_metatype _markarr, modelica_metatype _inArg, modelica_metatype _iNotDiffableMSS, modelica_metatype *out_oshared, modelica_metatype *out_outAssignments1, modelica_metatype *out_outAssignments2, modelica_metatype *out_outArg, modelica_metatype *out_oNotDiffableMSS);
967PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_IndexReduction_pantelidesIndexReductionMSS(threadData_t *threadData, modelica_metatype _unassignedStates, modelica_metatype _unassignedEqns, modelica_metatype _alleqns, modelica_metatype _MSSSeqs, modelica_metatype _actualEqn, modelica_metatype _inSystem, modelica_metatype _inShared, modelica_metatype _inAssignments1, modelica_metatype _inAssignments2, modelica_metatype _mark, modelica_metatype _markarr, modelica_metatype _inArg, modelica_metatype _iNotDiffableMSS, modelica_metatype *out_oshared, modelica_metatype *out_outAssignments1, modelica_metatype *out_outAssignments2, modelica_metatype *out_outArg, modelica_metatype *out_oNotDiffableMSS);
968static const MMC_DEFSTRUCTLIT(boxvar_lit_IndexReduction_pantelidesIndexReductionMSS,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_IndexReduction_pantelidesIndexReductionMSS
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_IndexReduction_pantelidesIndexReductionMSS,0}};
969#define boxvar_IndexReduction_pantelidesIndexReductionMSS((void*)((char*)(&(boxvar_lit_IndexReduction_pantelidesIndexReductionMSS
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_IndexReduction_pantelidesIndexReductionMSS)((void*)((char*)(&(boxvar_lit_IndexReduction_pantelidesIndexReductionMSS
).header) + 3))
970PROTECTED_FUNCTION_STATIC modelica_metatype omc_IndexReduction_pantelidesIndexReduction1(threadData_t *threadData, modelica_metatype _unassignedStates, modelica_metatype _unassignedEqns, modelica_metatype _alleqns, modelica_metatype _iEqns, modelica_integer _actualEqn, modelica_metatype _inSystem, modelica_metatype _inShared, modelica_metatype _inAssignments1, modelica_metatype _inAssignments2, modelica_integer _mark, modelica_metatype _markarr, modelica_metatype _inArg, modelica_metatype _iNotDiffableMSS, modelica_metatype *out_oshared, modelica_metatype *out_outAssignments1, modelica_metatype *out_outAssignments2, modelica_metatype *out_outArg, modelica_metatype *out_oNotDiffableMSS);
971PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_IndexReduction_pantelidesIndexReduction1(threadData_t *threadData, modelica_metatype _unassignedStates, modelica_metatype _unassignedEqns, modelica_metatype _alleqns, modelica_metatype _iEqns, modelica_metatype _actualEqn, modelica_metatype _inSystem, modelica_metatype _inShared, modelica_metatype _inAssignments1, modelica_metatype _inAssignments2, modelica_metatype _mark, modelica_metatype _markarr, modelica_metatype _inArg, modelica_metatype _iNotDiffableMSS, modelica_metatype *out_oshared, modelica_metatype *out_outAssignments1, modelica_metatype *out_outAssignments2, modelica_metatype *out_outArg, modelica_metatype *out_oNotDiffableMSS);
972static const MMC_DEFSTRUCTLIT(boxvar_lit_IndexReduction_pantelidesIndexReduction1,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_IndexReduction_pantelidesIndexReduction1
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_IndexReduction_pantelidesIndexReduction1,0}};
973#define boxvar_IndexReduction_pantelidesIndexReduction1((void*)((char*)(&(boxvar_lit_IndexReduction_pantelidesIndexReduction1
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_IndexReduction_pantelidesIndexReduction1)((void*)((char*)(&(boxvar_lit_IndexReduction_pantelidesIndexReduction1
).header) + 3))
974PROTECTED_FUNCTION_STATIC modelica_metatype omc_IndexReduction_getChangedEqnsAndLowest(threadData_t *threadData, modelica_integer _index, modelica_metatype _ass2, modelica_metatype _iAcc, modelica_integer _iLowest, modelica_integer *out_oLowest);
975PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_IndexReduction_getChangedEqnsAndLowest(threadData_t *threadData, modelica_metatype _index, modelica_metatype _ass2, modelica_metatype _iAcc, modelica_metatype _iLowest, modelica_metatype *out_oLowest);
976static const MMC_DEFSTRUCTLIT(boxvar_lit_IndexReduction_getChangedEqnsAndLowest,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_IndexReduction_getChangedEqnsAndLowest
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_IndexReduction_getChangedEqnsAndLowest,0}};
977#define boxvar_IndexReduction_getChangedEqnsAndLowest((void*)((char*)(&(boxvar_lit_IndexReduction_getChangedEqnsAndLowest
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_IndexReduction_getChangedEqnsAndLowest)((void*)((char*)(&(boxvar_lit_IndexReduction_getChangedEqnsAndLowest
).header) + 3))
978
979PROTECTED_FUNCTION_STATIC modelica_metatype omc_IndexReduction_addOrgEqn(threadData_t *threadData, modelica_integer _e, modelica_metatype _inEqn, modelica_metatype _inOrgEqns)
980{
981 modelica_metatype _outOrgEqns = NULL((void*)0);
982 modelica_metatype _eqs = NULL((void*)0);
983 modelica_metatype tmpMeta[1] __attribute__((unused)) = {0};
984 MMC_SO()mmc_check_stackoverflow(threadData);
985 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
986 // _outOrgEqns has no default value.
987 // _eqs has no default value.
988#line 4546 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
989 _outOrgEqns = _inOrgEqns;
990#line 990 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
991
992#line 4547 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
993 _eqs = arrayGet(_inOrgEqns, _e)nobox_arrayGet(threadData,_inOrgEqns,_e);
994#line 994 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
995
996#line 4548 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
997 tmpMeta[0] = mmc_mk_cons(_inEqn, _eqs);
998#line 4548 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
999 _eqs = tmpMeta[0];
1000#line 1000 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
1001
1002#line 4549 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
1003 arrayUpdate(_outOrgEqns, _e, _eqs)boxptr_arrayUpdate(threadData,_outOrgEqns,mmc_mk_icon(_e),_eqs
)
;
1004#line 1004 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
1005 _return: OMC_LABEL_UNUSED__attribute__((unused))
1006 return _outOrgEqns;
1007}
1008PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_IndexReduction_addOrgEqn(threadData_t *threadData, modelica_metatype _e, modelica_metatype _inEqn, modelica_metatype _inOrgEqns)
1009{
1010 modelica_integer tmp1;
1011 modelica_metatype _outOrgEqns = NULL((void*)0);
1012 tmp1 = mmc_unbox_integer(_e)(((mmc_sint_t) (_e)) >> 1);
1013 _outOrgEqns = omc_IndexReduction_addOrgEqn(threadData, tmp1, _inEqn, _inOrgEqns);
1014 /* skip box _outOrgEqns; array<list<BackendDAE.Equation>> */
1015 return _outOrgEqns;
1016}
1017
1018PROTECTED_FUNCTION_STATIC modelica_metatype omc_IndexReduction_getDerStateOrder(threadData_t *threadData, modelica_metatype _dcr, modelica_metatype _inStateOrder)
1019{
1020 modelica_metatype _crlst = NULL((void*)0);
1021 modelica_metatype _dht = NULL((void*)0);
1022 modelica_metatype tmpMeta[2] __attribute__((unused)) = {0};
1023 MMC_SO()mmc_check_stackoverflow(threadData);
1024 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1025 // _crlst has no default value.
1026 // _dht has no default value.
1027#line 4532 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
1028 /* Pattern-matching assignment */
1029#line 4532 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
1030 tmpMeta[0] = _inStateOrder;
1031#line 4532 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
1032 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[0],0,2)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[0]) - 3)))==(((2 +1)
<< 10) + (((0 +3) & 255) << 2)))
== 0) MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
1033#line 4532 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
1034 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (3)))))
;
1035#line 4532 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
1036 _dht = tmpMeta[1];
1037#line 1037 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
1038
1039#line 4533 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
1040 _crlst = omc_BaseHashTable_get(threadData, _dcr, _dht);
1041#line 1041 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
1042 _return: OMC_LABEL_UNUSED__attribute__((unused))
1043 return _crlst;
1044}
1045
1046PROTECTED_FUNCTION_STATIC modelica_metatype omc_IndexReduction_getStateOrder(threadData_t *threadData, modelica_metatype _cr, modelica_metatype _inStateOrder)
1047{
1048 modelica_metatype _dcr = NULL((void*)0);
1049 modelica_metatype _ht = NULL((void*)0);
1050 modelica_metatype tmpMeta[2] __attribute__((unused)) = {0};
1051 MMC_SO()mmc_check_stackoverflow(threadData);
1052 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1053 // _dcr has no default value.
1054 // _ht has no default value.
1055#line 4518 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
1056 /* Pattern-matching assignment */
1057#line 4518 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
1058 tmpMeta[0] = _inStateOrder;
1059#line 4518 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
1060 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[0],0,2)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[0]) - 3)))==(((2 +1)
<< 10) + (((0 +3) & 255) << 2)))
== 0) MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
1061#line 4518 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
1062 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (2)))))
;
1063#line 4518 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
1064 _ht = tmpMeta[1];
1065#line 1065 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
1066
1067#line 4519 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
1068 _dcr = omc_BaseHashTable_get(threadData, _cr, _ht);
1069#line 1069 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
1070 _return: OMC_LABEL_UNUSED__attribute__((unused))
1071 return _dcr;
1072}
1073
1074PROTECTED_FUNCTION_STATIC modelica_metatype omc_IndexReduction_addStateOrder(threadData_t *threadData, modelica_metatype _cr, modelica_metatype _dcr, modelica_metatype _inStateOrder)
1075{
1076 modelica_metatype _outStateOrder = NULL((void*)0);
1077 modelica_metatype tmpMeta[3] __attribute__((unused)) = {0};
1078 MMC_SO()mmc_check_stackoverflow(threadData);
1079 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1080 // _outStateOrder has no default value.
1081#line 1081 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
1082 { /* matchcontinue expression */
1083 volatile modelica_metatype tmp3_1;
1084 tmp3_1 = _inStateOrder;
1085 {
1086 modelica_metatype _ht = NULL((void*)0);
1087 modelica_metatype _ht1 = NULL((void*)0);
1088 modelica_metatype _dht = NULL((void*)0);
1089 modelica_metatype _dht1 = NULL((void*)0);
1090 modelica_metatype _crlst = NULL((void*)0);
1091 volatile mmc_switch_type tmp3;
1092 int tmp4;
1093 // _ht has no default value.
1094 // _ht1 has no default value.
1095 // _dht has no default value.
1096 // _dht1 has no default value.
1097 // _crlst has no default value.
1098 tmp3 = 0;
1099 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) {
1100 tmp2_top:
1101 threadData->mmc_jumper = &new_mmc_jumper;
1102 for (; tmp3 < 2; tmp3++) {
1103 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
1104 case 0: {
1105 modelica_boolean tmp5;
1106 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;
1107 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
1108 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(3)))))
;
1109 _ht = tmpMeta[1];
1110 _dht = tmpMeta[2];
1111 /* Pattern matching succeeded */
1112#line 4493 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
1113 tmpMeta[1] = mmc_mk_box2(0, _cr, _dcr);
1114#line 4493 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
1115 _ht1 = omc_BaseHashTable_add(threadData, tmpMeta[1], _ht);
1116#line 1116 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
1117
1118#line 4494 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
1119 tmp5 = 0; /* begin failure */
1120#line 4494 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
1121 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) {
1122#line 4494 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
1123 omc_IndexReduction_getDerStateOrder(threadData, _dcr, _inStateOrder);
1124#line 1124 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
1125 tmp5 = 1;
1126 goto goto_6;
1127 goto_6:;
1128 MMC_CATCH_INTERNAL(mmc_jumper)} threadData->mmc_jumper = old_jumper;mmc_catch_dummy_fn()
;}
1129 if (tmp5) {goto goto_1;} /* end failure */
1130
1131#line 4495 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
1132 tmpMeta[1] = mmc_mk_cons(_cr, MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3)));
1133#line 4495 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
1134 tmpMeta[2] = mmc_mk_box2(0, _dcr, tmpMeta[1]);
1135#line 4495 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
1136 _dht1 = omc_BaseHashTable_add(threadData, tmpMeta[2], _dht);
1137#line 1137 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
1138#line 4496 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
1139 tmpMeta[1] = mmc_mk_box3(3, &BackendDAE_StateOrder_STATEORDER__desc, _ht1, _dht1);
1140#line 4496 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
1141 tmpMeta[0] = tmpMeta[1];
1142#line 1142 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
1143 goto tmp2_done;
1144 }
1145 case 1: {
1146 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;
1147 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
1148 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(3)))))
;
1149 _ht = tmpMeta[1];
1150 _dht = tmpMeta[2];
1151 /* Pattern matching succeeded */
1152#line 4500 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
1153 tmpMeta[1] = mmc_mk_box2(0, _cr, _dcr);
1154#line 4500 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
1155 _ht1 = omc_BaseHashTable_add(threadData, tmpMeta[1], _ht);
1156#line 1156 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
1157
1158#line 4501 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
1159 _crlst = omc_IndexReduction_getDerStateOrder(threadData, _dcr, _inStateOrder);
1160#line 1160 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
1161
1162#line 4502 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
1163 tmpMeta[1] = mmc_mk_cons(_cr, _crlst);
1164#line 4502 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
1165 tmpMeta[2] = mmc_mk_box2(0, _dcr, tmpMeta[1]);
1166#line 4502 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
1167 _dht1 = omc_BaseHashTable_add(threadData, tmpMeta[2], _dht);
1168#line 1168 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
1169#line 4503 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
1170 tmpMeta[1] = mmc_mk_box3(3, &BackendDAE_StateOrder_STATEORDER__desc, _ht1, _dht1);
1171#line 4503 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
1172 tmpMeta[0] = tmpMeta[1];
1173#line 1173 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
1174 goto tmp2_done;
1175 }
1176 }
1177 goto tmp2_end;
1178 tmp2_end: ;
1179 }
1180 goto goto_1;
1181 tmp2_done:
1182 (void)tmp3;
1183 MMC_RESTORE_INTERNAL(mmc_jumper)threadData->mmc_jumper = old_jumper;;
1184 goto tmp2_done2;
1185 goto_1:;
1186 MMC_CATCH_INTERNAL(mmc_jumper)} threadData->mmc_jumper = old_jumper;mmc_catch_dummy_fn()
;}
;
1187 if (++tmp3 < 2) {
1188 goto tmp2_top;
1189 }
1190 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
1191 tmp2_done2:;
1192 }
1193 }
1194 _outStateOrder = tmpMeta[0];
1195 _return: OMC_LABEL_UNUSED__attribute__((unused))
1196 return _outStateOrder;
1197}
1198
1199PROTECTED_FUNCTION_STATIC modelica_string omc_IndexReduction_dumpStates(threadData_t *threadData, modelica_metatype _state)
1200{
1201 modelica_string _outStr = NULL((void*)0);
1202 modelica_metatype tmpMeta[2] __attribute__((unused)) = {0};
1203 MMC_SO()mmc_check_stackoverflow(threadData);
1204 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1205 // _outStr has no default value.
1206#line 4469 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
1207 tmpMeta[0] = stringAppend(intString(mmc_unbox_integer(omc_Util_tuple22(threadData, _state))(((mmc_sint_t) (omc_Util_tuple22(threadData, _state))) >>
1)
),_OMC_LIT0((void*)((char*)(&(_OMC_LIT_STRUCT0).header) + 3)));
1208#line 4469 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
1209 tmpMeta[1] = stringAppend(tmpMeta[0],omc_ComponentReference_printComponentRefStr(threadData, omc_Util_tuple21(threadData, _state)));
1210#line 4469 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
1211 _outStr = tmpMeta[1];
1212#line 1212 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
1213 _return: OMC_LABEL_UNUSED__attribute__((unused))
1214 return _outStr;
1215}
1216
1217PROTECTED_FUNCTION_STATIC modelica_metatype omc_IndexReduction_addStateOrderFinder(threadData_t *threadData, modelica_metatype _iVlst, modelica_metatype _iDerVlst, modelica_metatype _inVars)
1218{
1219 modelica_metatype _oVars = NULL((void*)0);
1220 modelica_metatype tmpMeta[7] __attribute__((unused)) = {0};
1221 MMC_SO()mmc_check_stackoverflow(threadData);
1222 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1223 // _oVars has no default value.
1224#line 1224 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
1225 { /* match expression */
1226 modelica_metatype tmp3_1;modelica_metatype tmp3_2;
1227 tmp3_1 = _iVlst;
1228 tmp3_2 = _iDerVlst;
1229 {
1230 modelica_metatype _dcr = NULL((void*)0);
1231 modelica_metatype _var = NULL((void*)0);
1232 modelica_metatype _dvar = NULL((void*)0);
1233 modelica_metatype _vlst = NULL((void*)0);
1234 modelica_metatype _dvlst = NULL((void*)0);
1235 modelica_metatype _vars = NULL((void*)0);
1236 modelica_string _msg = NULL((void*)0);
1237 volatile mmc_switch_type tmp3;
1238 int tmp4;
1239 // _dcr has no default value.
1240 // _var has no default value.
1241 // _dvar has no default value.
1242 // _vlst has no default value.
1243 // _dvlst has no default value.
1244 // _vars has no default value.
1245 // _msg has no default value.
1246 tmp3 = 0;
1247 for (; tmp3 < 4; tmp3++) {
1248 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
1249 case 0: {
1250 if (!listEmpty(tmp3_1)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp2_end;
1251
1252 /* Pattern matching succeeded */
1253#line 4446 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
1254 tmpMeta[0] = _inVars;
1255#line 1255 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
1256 goto tmp2_done;
1257 }
1258 case 1: {
1259 if (listEmpty(tmp3_2)((*(mmc_uint_t*)((void*)((char*)(tmp3_2) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp2_end;
1260 tmpMeta[1] = MMC_CAR(tmp3_2)(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(1)))))
;
1261 tmpMeta[2] = MMC_CDR(tmp3_2)(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(2)))))
;
1262 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[1]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (2)))))
;
1263 if (listEmpty(tmp3_1)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp2_end;
1264 tmpMeta[4] = MMC_CAR(tmp3_1)(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(1)))))
;
1265 tmpMeta[5] = MMC_CDR(tmp3_1)(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
1266 tmpMeta[6] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[4]), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[4]) - 3
))) + (3)))))
;
1267 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 tmp2_end;
1268
1269 _dcr = tmpMeta[3];
1270 _dvlst = tmpMeta[2];
1271 _var = tmpMeta[4];
1272 _vlst = tmpMeta[5];
1273 /* Pattern matching succeeded */
1274#line 4449 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
1275 _var = omc_BackendVariable_setStateDerivative(threadData, _var, mmc_mk_some(_dcr));
1276#line 1276 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
1277
1278#line 4450 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
1279 _vars = omc_BackendVariable_addVar(threadData, _var, _inVars);
1280#line 1280 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
1281#line 4451 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
1282 /* Tail recursive call */
1283#line 4451 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
1284 _iVlst = _vlst;
1285#line 4451 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
1286 _iDerVlst = _dvlst;
1287#line 4451 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
1288 _inVars = _vars;
1289#line 4451 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
1290 goto _tailrecursive;
1291#line 4451 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
1292 /* TODO: Make sure any eventual dead code below is never generated */
1293#line 1293 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
1294 goto tmp2_done;
1295 }
1296 case 2: {
1297 if (listEmpty(tmp3_1)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp2_end;
1298 tmpMeta[1] = MMC_CAR(tmp3_1)(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(1)))))
;
1299 tmpMeta[2] = MMC_CDR(tmp3_1)(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
1300 if (listEmpty(tmp3_2)((*(mmc_uint_t*)((void*)((char*)(tmp3_2) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp2_end;
1301 tmpMeta[3] = MMC_CAR(tmp3_2)(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(1)))))
;
1302 tmpMeta[4] = MMC_CDR(tmp3_2)(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(2)))))
;
1303 _var = tmpMeta[1];
1304 _dvar = tmpMeta[3];
1305 /* Pattern matching succeeded */
1306#line 4454 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
1307 tmpMeta[1] = stringAppend(_OMC_LIT1((void*)((char*)(&(_OMC_LIT_STRUCT1).header) + 3)),omc_BackendDump_varString(threadData, _var));
1308#line 4454 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
1309 tmpMeta[2] = stringAppend(tmpMeta[1],_OMC_LIT2((void*)((char*)(&(_OMC_LIT_STRUCT2).header) + 3)));
1310#line 4454 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
1311 tmpMeta[3] = stringAppend(tmpMeta[2],omc_BackendDump_varString(threadData, _dvar));
1312#line 4454 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
1313 tmpMeta[4] = stringAppend(tmpMeta[3],_OMC_LIT3((void*)((char*)(&(_OMC_LIT_STRUCT3).header) + 3)));
1314#line 4454 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
1315 _msg = tmpMeta[4];
1316#line 1316 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
1317
1318#line 4455 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
1319 tmpMeta[1] = mmc_mk_cons(_msg, MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3)));
1320#line 4455 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
1321 omc_Error_addMessage(threadData, _OMC_LIT8((void*)((char*)(&(_OMC_LIT_STRUCT8).header) + 3)), tmpMeta[1]);
1322#line 1322 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
1323#line 4456 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
1324 goto goto_1;
1325#line 1325 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
1326 goto tmp2_done;
1327 }
1328 case 3: {
1329
1330 /* Pattern matching succeeded */
1331#line 4459 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
1332 omc_Error_addMessage(threadData, _OMC_LIT8((void*)((char*)(&(_OMC_LIT_STRUCT8).header) + 3)), _OMC_LIT10((void*)((char*)(&(_OMC_LIT_STRUCT10).header) + 3)));
1333#line 1333 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
1334#line 4460 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
1335 goto goto_1;
1336#line 1336 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
1337 goto tmp2_done;
1338 }
1339 }
1340 goto tmp2_end;
1341 tmp2_end: ;
1342 }
1343 goto goto_1;
1344 goto_1:;
1345 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
1346 goto tmp2_done;
1347 tmp2_done:;
1348 }
1349 }
1350 _oVars = tmpMeta[0];
1351 _return: OMC_LABEL_UNUSED__attribute__((unused))
1352 return _oVars;
1353}
1354
1355PROTECTED_FUNCTION_STATIC modelica_metatype omc_IndexReduction_traverseFindStateOrder(threadData_t *threadData, modelica_metatype _inEq, modelica_metatype _inVars, modelica_metatype *out_outVars)
1356{
1357 modelica_metatype _outEq = NULL((void*)0);
1358 modelica_metatype _outVars = NULL((void*)0);
1359 modelica_metatype tmpMeta[4] __attribute__((unused)) = {0};
1360 MMC_SO()mmc_check_stackoverflow(threadData);
1361 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1362 // _outEq has no default value.
1363 // _outVars has no default value.
1364#line 4415 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
1365
1366#line 4415 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
1367
1368#line 1368 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
1369 { /* matchcontinue expression */
1370 volatile modelica_metatype tmp4_1;volatile modelica_metatype tmp4_2;
1371 tmp4_1 = _inEq;
1372 tmp4_2 = _inVars;
1373 {
1374 modelica_metatype _e = NULL((void*)0);
1375 modelica_metatype _v = NULL((void*)0);
1376 modelica_metatype _cr = NULL((void*)0);
1377 modelica_metatype _dcr = NULL((void*)0);
1378 modelica_metatype _vlst = NULL((void*)0);
1379 modelica_metatype _dvlst = NULL((void*)0);
1380 volatile mmc_switch_type tmp4;
1381 int tmp5;
1382 // _e has no default value.
1383 // _v has no default value.
1384 // _cr has no default value.
1385 // _dcr has no default value.
1386 // _vlst has no default value.
1387 // _dvlst has no default value.
1388 tmp4 = 0;
1389 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) {
1390 tmp3_top:
1391 threadData->mmc_jumper = &new_mmc_jumper;
1392 for (; tmp4 < 2; tmp4++) {
1393 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
1394 case 0: {
1395 modelica_boolean tmp6;
1396
1397 _e = tmp4_1;
1398 _v = tmp4_2;
1399 /* Pattern matching succeeded */
1400#line 4423 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
1401 /* Pattern-matching tuple assignment */
1402#line 4423 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
1403 tmpMeta[3] = omc_BackendEquation_derivativeEquation(threadData, _e, &tmpMeta[2], NULL((void*)0), NULL((void*)0), &tmp6);
1404#line 4423 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
1405 _cr = tmpMeta[3];
1406#line 4423 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
1407 if (0 != tmp6) goto goto_2;
1408#line 4423 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
1409 _dcr = tmpMeta[2];
1410#line 1410 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
1411
1412#line 4424 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
1413 _vlst = omc_BackendVariable_getVar(threadData, _cr, _v, NULL((void*)0));
1414#line 1414 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
1415
1416#line 4425 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
1417 _dvlst = omc_BackendVariable_getVar(threadData, _dcr, _v, NULL((void*)0));
1418#line 1418 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
1419
1420#line 4426 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
1421 _v = omc_IndexReduction_addStateOrderFinder(threadData, _vlst, _dvlst, _v);
1422#line 1422 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
1423#line 4427 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
1424 tmpMeta[0+0] = _e;
1425#line 4427 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
1426 tmpMeta[0+1] = _v;
1427#line 1427 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
1428 goto tmp3_done;
1429 }
1430 case 1: {
1431
1432 /* Pattern matching succeeded */
1433#line 4428 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
1434 tmpMeta[0+0] = _inEq;
1435#line 4428 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
1436 tmpMeta[0+1] = _inVars;
1437#line 1437 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
1438 goto tmp3_done;
1439 }
1440 }
1441 goto tmp3_end;
1442 tmp3_end: ;
1443 }
1444 goto goto_2;
1445 tmp3_done:
1446 (void)tmp4;
1447 MMC_RESTORE_INTERNAL(mmc_jumper)threadData->mmc_jumper = old_jumper;;
1448 goto tmp3_done2;
1449 goto_2:;
1450 MMC_CATCH_INTERNAL(mmc_jumper)} threadData->mmc_jumper = old_jumper;mmc_catch_dummy_fn()
;}
;
1451 if (++tmp4 < 2) {
1452 goto tmp3_top;
1453 }
1454 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
1455 tmp3_done2:;
1456 }
1457 }
1458 _outEq = tmpMeta[0+0];
1459 _outVars = tmpMeta[0+1];
1460 _return: OMC_LABEL_UNUSED__attribute__((unused))
1461 if (out_outVars) { *out_outVars = _outVars; }
1462 return _outEq;
1463}
1464
1465PROTECTED_FUNCTION_STATIC modelica_metatype omc_IndexReduction_findStateOrderWork(threadData_t *threadData, modelica_metatype _inSystem)
1466{
1467 modelica_metatype _outSystem = NULL((void*)0);
1468 modelica_metatype tmpMeta[1] __attribute__((unused)) = {0};
1469 MMC_SO()mmc_check_stackoverflow(threadData);
1470 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1471 _outSystem = _inSystem;
1472#line 4403 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
1473 tmpMeta[0] = MMC_TAGPTR(mmc_alloc_words(11))((void*)((char*)(mmc_alloc_words(11)) + 3));
1474#line 4403 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
1475 memcpy(MMC_UNTAGPTR(tmpMeta[0])((void*)((char*)(tmpMeta[0]) - 3)), MMC_UNTAGPTR(_outSystem)((void*)((char*)(_outSystem) - 3)), 11*sizeof(modelica_metatype));
1476#line 4403 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
1477 ((modelica_metatype*)MMC_UNTAGPTR(tmpMeta[0])((void*)((char*)(tmpMeta[0]) - 3)))[2] = omc_BackendEquation_traverseEquationArray(threadData, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_inSystem), 3))(*(void**)(((void*)((void**)(((void*)((char*)(_inSystem) - 3)
)) + (3)))))
), boxvar_IndexReduction_traverseFindStateOrder((void*)((char*)(&(boxvar_lit_IndexReduction_traverseFindStateOrder
).header) + 3))
, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_inSystem), 2))(*(void**)(((void*)((void**)(((void*)((char*)(_inSystem) - 3)
)) + (2)))))
));
1478#line 4403 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
1479 _outSystem = tmpMeta[0];
1480#line 1480 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
1481 _return: OMC_LABEL_UNUSED__attribute__((unused))
1482 return _outSystem;
1483}
1484
1485DLLExport
1486modelica_metatype omc_IndexReduction_findStateOrder(threadData_t *threadData, modelica_metatype _inDAE)
1487{
1488 modelica_metatype _outDAE = NULL((void*)0);
1489 modelica_metatype _systs = NULL((void*)0);
1490 modelica_metatype _shared = NULL((void*)0);
1491 modelica_metatype tmpMeta[3] __attribute__((unused)) = {0};
1492 MMC_SO()mmc_check_stackoverflow(threadData);
1493 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1494 // _outDAE has no default value.
1495 // _systs has no default value.
1496 // _shared has no default value.
1497#line 4392 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
1498 /* Pattern-matching assignment */
1499#line 4392 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
1500 tmpMeta[0] = _inDAE;
1501#line 4392 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
1502 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (2)))))
;
1503#line 4392 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
1504 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (3)))))
;
1505#line 4392 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
1506 _systs = tmpMeta[1];
1507#line 4392 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
1508 _shared = tmpMeta[2];
1509#line 1509 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
1510
1511#line 4394 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
1512 _systs = omc_List_map(threadData, _systs, boxvar_IndexReduction_findStateOrderWork((void*)((char*)(&(boxvar_lit_IndexReduction_findStateOrderWork
).header) + 3))
);
1513#line 1513 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
1514
1515#line 4395 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
1516 tmpMeta[0] = mmc_mk_box3(3, &BackendDAE_BackendDAE_DAE__desc, _systs, _shared);
1517#line 4395 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
1518 _outDAE = tmpMeta[0];
1519#line 1519 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
1520 _return: OMC_LABEL_UNUSED__attribute__((unused))
1521 return _outDAE;
1522}
1523
1524PROTECTED_FUNCTION_STATIC modelica_metatype omc_IndexReduction_setSetAStart(threadData_t *threadData, modelica_metatype _iVars, modelica_integer _n, modelica_integer _r, modelica_integer _nCandidates, modelica_metatype _iAcc)
1525{
1526 modelica_metatype _oAcc = NULL((void*)0);
1527 modelica_metatype tmpMeta[3] __attribute__((unused)) = {0};
1528 MMC_SO()mmc_check_stackoverflow(threadData);
1529 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1530 // _oAcc has no default value.
1531#line 1531 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
1532 { /* match expression */
1533 modelica_metatype tmp3_1;
1534 tmp3_1 = _iVars;
1535 {
1536 modelica_metatype _v = NULL((void*)0);
1537 modelica_metatype _rest = NULL((void*)0);
1538 modelica_integer _n1;
1539 modelica_integer _r1;
1540 modelica_integer _start;
1541 volatile mmc_switch_type tmp3;
1542 int tmp4;
1543 // _v has no default value.
1544 // _rest has no default value.
1545 // _n1 has no default value.
1546 // _r1 has no default value.
1547 // _start has no default value.
1548 tmp3 = 0;
1549 for (; tmp3 < 2; tmp3++) {
1550 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
1551 case 0: {
1552 if (!listEmpty(tmp3_1)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp2_end;
1553 /* Pattern matching succeeded */
1554#line 4366 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
1555 tmpMeta[0] = listReverse(_iAcc);
1556#line 1556 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
1557 goto tmp2_done;
1558 }
1559 case 1: {
1560 if (listEmpty(tmp3_1)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp2_end;
1561 tmpMeta[1] = MMC_CAR(tmp3_1)(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(1)))))
;
1562 tmpMeta[2] = MMC_CDR(tmp3_1)(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
1563 _v = tmpMeta[1];
1564 _rest = tmpMeta[2];
1565 /* Pattern matching succeeded */
1566#line 4369 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
1567 _start = ((_n == _r)?((modelica_integer) 1):((modelica_integer) 0));
1568#line 1568 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
1569
1570#line 4370 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
1571 tmpMeta[1] = mmc_mk_box2(3, &DAE_Exp_ICONST__desc, mmc_mk_integermmc_mk_icon(_start));
1572#line 4370 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
1573 _v = omc_BackendVariable_setVarStartValue(threadData, _v, tmpMeta[1]);
1574#line 1574 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
1575
1576#line 4371 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
1577 _n1 = ((_n == _nCandidates)?((modelica_integer) 1):((modelica_integer) 1) + _n);
1578#line 1578 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
1579
1580#line 4372 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
1581 _r1 = ((_n == _nCandidates)?((modelica_integer) 1) + _r:_r);
1582#line 1582 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
1583#line 4373 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
1584 tmpMeta[1] = mmc_mk_cons(_v, _iAcc);
1585#line 4373 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
1586 /* Tail recursive call */
1587#line 4373 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
1588 _iVars = _rest;
1589#line 4373 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
1590 _n = _n1;
1591#line 4373 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
1592 _r = _r1;
1593#line 4373 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
1594 _iAcc = tmpMeta[1];
1595#line 4373 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
1596 goto _tailrecursive;
1597#line 4373 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
1598 /* TODO: Make sure any eventual dead code below is never generated */
1599#line 1599 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
1600 goto tmp2_done;
1601 }
1602 }
1603 goto tmp2_end;
1604 tmp2_end: ;
1605 }
1606 goto goto_1;
1607 goto_1:;
1608 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
1609 goto tmp2_done;
1610 tmp2_done:;
1611 }
1612 }
1613 _oAcc = tmpMeta[0];
1614 _return: OMC_LABEL_UNUSED__attribute__((unused))
1615 return _oAcc;
1616}
1617PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_IndexReduction_setSetAStart(threadData_t *threadData, modelica_metatype _iVars, modelica_metatype _n, modelica_metatype _r, modelica_metatype _nCandidates, modelica_metatype _iAcc)
1618{
1619 modelica_integer tmp1;
1620 modelica_integer tmp2;
1621 modelica_integer tmp3;
1622 modelica_metatype _oAcc = NULL((void*)0);
1623 tmp1 = mmc_unbox_integer(_n)(((mmc_sint_t) (_n)) >> 1);
1624 tmp2 = mmc_unbox_integer(_r)(((mmc_sint_t) (_r)) >> 1);
1625 tmp3 = mmc_unbox_integer(_nCandidates)(((mmc_sint_t) (_nCandidates)) >> 1);
1626 _oAcc = omc_IndexReduction_setSetAStart(threadData, _iVars, tmp1, tmp2, tmp3, _iAcc);
1627 /* skip box _oAcc; list<BackendDAE.Var> */
1628 return _oAcc;
1629}
1630
1631PROTECTED_FUNCTION_STATIC modelica_metatype omc_IndexReduction_getSetVars(threadData_t *threadData, modelica_integer _index, modelica_integer _setsize, modelica_integer _nCandidates, modelica_integer _nCEqns, modelica_integer _level, modelica_metatype *out_crset, modelica_metatype *out_oSetVars, modelica_metatype *out_ocrA, modelica_metatype *out_oAVars, modelica_metatype *out_realtp, modelica_metatype *out_ocrJ, modelica_metatype *out_oJVars)
1632{
1633 modelica_metatype _crstates = NULL((void*)0);
1634 modelica_metatype _crset = NULL((void*)0);
1635 modelica_metatype _oSetVars = NULL((void*)0);
1636 modelica_metatype _ocrA = NULL((void*)0);
1637 modelica_metatype _oAVars = NULL((void*)0);
1638 modelica_metatype _realtp = NULL((void*)0);
1639 modelica_metatype _ocrJ = NULL((void*)0);
1640 modelica_metatype _oJVars = NULL((void*)0);
1641 modelica_metatype _set = NULL((void*)0);
1642 modelica_metatype _tp = NULL((void*)0);
1643 modelica_boolean tmp1;
1644 modelica_boolean tmp2;
1645 modelica_boolean tmp3;
1646 modelica_boolean tmp4;
1647 modelica_metatype tmpMeta[8] __attribute__((unused)) = {0};
1648 MMC_SO()mmc_check_stackoverflow(threadData);
1649 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1650 // _crstates has no default value.
1651 // _crset has no default value.
1652 // _oSetVars has no default value.
1653 // _ocrA has no default value.
1654 // _oAVars has no default value.
1655 // _realtp has no default value.
1656 // _ocrJ has no default value.
1657 // _oJVars has no default value.
1658 // _set has no default value.
1659 // _tp has no default value.
1660#line 4330 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
1661 tmpMeta[0] = stringAppend(_OMC_LIT11((void*)((char*)(&(_OMC_LIT_STRUCT11).header) + 3)),intString(_index));
1662#line 4330 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
1663 tmpMeta[1] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
1664#line 4330 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
1665 _set = omc_ComponentReference_makeCrefIdent(threadData, tmpMeta[0], _OMC_LIT15((void*)((char*)(&(_OMC_LIT_STRUCT15).header) + 3)), tmpMeta[1]);
1666#line 1666 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
1667
1668#line 4331 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
1669 tmp1 = (modelica_boolean)(_setsize > ((modelica_integer) 1));
1670#line 4331 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
1671 if(tmp1)
1672#line 4331 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
1673 {
1674#line 4331 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
1675 tmpMeta[1] = mmc_mk_box2(3, &DAE_Dimension_DIM__INTEGER__desc, mmc_mk_integermmc_mk_icon(_setsize));
1676#line 4331 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
1677 tmpMeta[0] = mmc_mk_cons(tmpMeta[1], MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3)));
1678#line 4331 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
1679 tmpMeta[2] = mmc_mk_box3(9, &DAE_Type_T__ARRAY__desc, _OMC_LIT16((void*)((char*)(&(_OMC_LIT_STRUCT16).header) + 3)), tmpMeta[0]);
1680#line 4331 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
1681 tmpMeta[3] = tmpMeta[2];
1682#line 4331 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
1683 }
1684#line 4331 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
1685 else
1686#line 4331 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
1687 {
1688#line 4331 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
1689 tmpMeta[3] = _OMC_LIT16((void*)((char*)(&(_OMC_LIT_STRUCT16).header) + 3));
1690#line 4331 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
1691 }
1692#line 4331 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
1693 _tp = tmpMeta[3];
1694#line 1694 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
1695
1696#line 4332 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
1697 tmpMeta[0] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
1698#line 4332 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
1699 _crstates = omc_ComponentReference_joinCrefs(threadData, _set, omc_ComponentReference_makeCrefIdent(threadData, _OMC_LIT17((void*)((char*)(&(_OMC_LIT_STRUCT17).header) + 3)), _tp, tmpMeta[0]));
1700#line 1700 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
1701
1702#line 4333 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
1703 _oSetVars = omc_BackendVariable_generateArrayVar(threadData, _crstates, _OMC_LIT18((void*)((char*)(&(_OMC_LIT_STRUCT18).header) + 3)), _tp, mmc_mk_none()((void*)((char*)(&(mmc_none).header) + 3)));
1704#line 1704 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
1705
1706#line 4334 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
1707 _oSetVars = omc_List_map1(threadData, _oSetVars, boxvar_BackendVariable_setVarFixed((void*)((char*)(&(boxvar_lit_BackendVariable_setVarFixed
).header) + 3))
, mmc_mk_boolean(0)((0) != 0 ? (mmc_mk_icon(1)) : (mmc_mk_icon(0))));
1708#line 1708 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
1709
1710#line 4335 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
1711 _crset = omc_List_map(threadData, _oSetVars, boxvar_BackendVariable_varCref((void*)((char*)(&(boxvar_lit_BackendVariable_varCref).header
) + 3))
);
1712#line 1712 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
1713
1714#line 4336 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
1715 tmp2 = (modelica_boolean)(_setsize > ((modelica_integer) 1));
1716#line 4336 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
1717 if(tmp2)
1718#line 4336 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
1719 {
1720#line 4336 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
1721 tmpMeta[1] = mmc_mk_box2(3, &DAE_Dimension_DIM__INTEGER__desc, mmc_mk_integermmc_mk_icon(_setsize));
1722#line 4336 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
1723 tmpMeta[2] = mmc_mk_box2(3, &DAE_Dimension_DIM__INTEGER__desc, mmc_mk_integermmc_mk_icon(_nCandidates));
1724#line 4336 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
1725 tmpMeta[0] = mmc_mk_cons(tmpMeta[1], mmc_mk_cons(tmpMeta[2], MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3))));
1726#line 4336 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
1727 tmpMeta[3] = mmc_mk_box3(9, &DAE_Type_T__ARRAY__desc, _OMC_LIT19((void*)((char*)(&(_OMC_LIT_STRUCT19).header) + 3)), tmpMeta[0]);
1728#line 4336 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
1729 tmpMeta[7] = tmpMeta[3];
1730#line 4336 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
1731 }
1732#line 4336 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
1733 else
1734#line 4336 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
1735 {
1736#line 4336 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
1737 tmpMeta[5] = mmc_mk_box2(3, &DAE_Dimension_DIM__INTEGER__desc, mmc_mk_integermmc_mk_icon(_nCandidates));
1738#line 4336 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
1739 tmpMeta[4] = mmc_mk_cons(tmpMeta[5], MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3)));
1740#line 4336 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
1741 tmpMeta[6] = mmc_mk_box3(9, &DAE_Type_T__ARRAY__desc, _OMC_LIT19((void*)((char*)(&(_OMC_LIT_STRUCT19).header) + 3)), tmpMeta[4]);
1742#line 4336 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
1743 tmpMeta[7] = tmpMeta[6];
1744#line 4336 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
1745 }
1746#line 4336 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
1747 _tp = tmpMeta[7];
1748#line 1748 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
1749
1750#line 4338 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
1751 tmp3 = (modelica_boolean)(_setsize > ((modelica_integer) 1));
1752#line 4338 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
1753 if(tmp3)
1754#line 4338 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
1755 {
1756#line 4338 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
1757 tmpMeta[1] = mmc_mk_box2(3, &DAE_Dimension_DIM__INTEGER__desc, mmc_mk_integermmc_mk_icon(_setsize));
1758#line 4338 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
1759 tmpMeta[2] = mmc_mk_box2(3, &DAE_Dimension_DIM__INTEGER__desc, mmc_mk_integermmc_mk_icon(_nCandidates));
1760#line 4338 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
1761 tmpMeta[0] = mmc_mk_cons(tmpMeta[1], mmc_mk_cons(tmpMeta[2], MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3))));
1762#line 4338 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
1763 tmpMeta[3] = mmc_mk_box3(9, &DAE_Type_T__ARRAY__desc, _OMC_LIT16((void*)((char*)(&(_OMC_LIT_STRUCT16).header) + 3)), tmpMeta[0]);
1764#line 4338 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
1765 tmpMeta[7] = tmpMeta[3];
1766#line 4338 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
1767 }
1768#line 4338 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
1769 else
1770#line 4338 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
1771 {
1772#line 4338 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
1773 tmpMeta[5] = mmc_mk_box2(3, &DAE_Dimension_DIM__INTEGER__desc, mmc_mk_integermmc_mk_icon(_nCandidates));
1774#line 4338 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
1775 tmpMeta[4] = mmc_mk_cons(tmpMeta[5], MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3)));
1776#line 4338 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
1777 tmpMeta[6] = mmc_mk_box3(9, &DAE_Type_T__ARRAY__desc, _OMC_LIT16((void*)((char*)(&(_OMC_LIT_STRUCT16).header) + 3)), tmpMeta[4]);
1778#line 4338 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
1779 tmpMeta[7] = tmpMeta[6];
1780#line 4338 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
1781 }
1782#line 4338 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
1783 _realtp = tmpMeta[7];
1784#line 1784 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
1785
1786#line 4340 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
1787 tmpMeta[0] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
1788#line 4340 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
1789 _ocrA = omc_ComponentReference_joinCrefs(threadData, _set, omc_ComponentReference_makeCrefIdent(threadData, _OMC_LIT20((void*)((char*)(&(_OMC_LIT_STRUCT20).header) + 3)), _tp, tmpMeta[0]));
1790#line 1790 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
1791
1792#line 4341 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
1793 _oAVars = omc_BackendVariable_generateArrayVar(threadData, _ocrA, _OMC_LIT21((void*)((char*)(&(_OMC_LIT_STRUCT21).header) + 3)), _tp, mmc_mk_none()((void*)((char*)(&(mmc_none).header) + 3)));
1794#line 1794 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
1795
1796#line 4342 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
1797 _oAVars = omc_List_map1(threadData, _oAVars, boxvar_BackendVariable_setVarFixed((void*)((char*)(&(boxvar_lit_BackendVariable_setVarFixed
).header) + 3))
, mmc_mk_boolean(1)((1) != 0 ? (mmc_mk_icon(1)) : (mmc_mk_icon(0))));
1798#line 1798 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
1799
1800#line 4344 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
1801 _oAVars = omc_List_map1(threadData, _oAVars, boxvar_BackendVariable_setVarStartValue((void*)((char*)(&(boxvar_lit_BackendVariable_setVarStartValue
).header) + 3))
, _OMC_LIT22((void*)((char*)(&(_OMC_LIT_STRUCT22).header) + 3)));
1802#line 1802 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
1803
1804#line 4345 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
1805 tmpMeta[0] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
1806#line 4345 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
1807 _oAVars = omc_IndexReduction_setSetAStart(threadData, _oAVars, ((modelica_integer) 1), ((modelica_integer) 1), _nCandidates, tmpMeta[0]);
1808#line 1808 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
1809
1810#line 4346 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
1811 tmp4 = (modelica_boolean)(_nCEqns > ((modelica_integer) 1));
1812#line 4346 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
1813 if(tmp4)
1814#line 4346 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
1815 {
1816#line 4346 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
1817 tmpMeta[1] = mmc_mk_box2(3, &DAE_Dimension_DIM__INTEGER__desc, mmc_mk_integermmc_mk_icon(_nCEqns));
1818#line 4346 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
1819 tmpMeta[0] = mmc_mk_cons(tmpMeta[1], MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3)));
1820#line 4346 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
1821 tmpMeta[2] = mmc_mk_box3(9, &DAE_Type_T__ARRAY__desc, _OMC_LIT16((void*)((char*)(&(_OMC_LIT_STRUCT16).header) + 3)), tmpMeta[0]);
1822#line 4346 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
1823 tmpMeta[3] = tmpMeta[2];
1824#line 4346 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
1825 }
1826#line 4346 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
1827 else
1828#line 4346 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
1829 {
1830#line 4346 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
1831 tmpMeta[3] = _OMC_LIT16((void*)((char*)(&(_OMC_LIT_STRUCT16).header) + 3));
1832#line 4346 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
1833 }
1834#line 4346 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
1835 _tp = tmpMeta[3];
1836#line 1836 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
1837
1838#line 4347 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
1839 tmpMeta[0] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
1840#line 4347 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
1841 _ocrJ = omc_ComponentReference_joinCrefs(threadData, _set, omc_ComponentReference_makeCrefIdent(threadData, _OMC_LIT23((void*)((char*)(&(_OMC_LIT_STRUCT23).header) + 3)), _tp, tmpMeta[0]));
1842#line 1842 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
1843
1844#line 4348 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
1845 _oJVars = omc_BackendVariable_generateArrayVar(threadData, _ocrJ, _OMC_LIT21((void*)((char*)(&(_OMC_LIT_STRUCT21).header) + 3)), _tp, mmc_mk_none()((void*)((char*)(&(mmc_none).header) + 3)));
1846#line 1846 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
1847
1848#line 4349 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
1849 _oJVars = omc_List_map1(threadData, _oJVars, boxvar_BackendVariable_setVarFixed((void*)((char*)(&(boxvar_lit_BackendVariable_setVarFixed
).header) + 3))
, mmc_mk_boolean(0)((0) != 0 ? (mmc_mk_icon(1)) : (mmc_mk_icon(0))));
1850#line 1850 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
1851 _return: OMC_LABEL_UNUSED__attribute__((unused))
1852 if (out_crset) { *out_crset = _crset; }
1853 if (out_oSetVars) { *out_oSetVars = _oSetVars; }
1854 if (out_ocrA) { *out_ocrA = _ocrA; }
1855 if (out_oAVars) { *out_oAVars = _oAVars; }
1856 if (out_realtp) { *out_realtp = _realtp; }
1857 if (out_ocrJ) { *out_ocrJ = _ocrJ; }
1858 if (out_oJVars) { *out_oJVars = _oJVars; }
1859 return _crstates;
1860}
1861PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_IndexReduction_getSetVars(threadData_t *threadData, modelica_metatype _index, modelica_metatype _setsize, modelica_metatype _nCandidates, modelica_metatype _nCEqns, modelica_metatype _level, modelica_metatype *out_crset, modelica_metatype *out_oSetVars, modelica_metatype *out_ocrA, modelica_metatype *out_oAVars, modelica_metatype *out_realtp, modelica_metatype *out_ocrJ, modelica_metatype *out_oJVars)
1862{
1863 modelica_integer tmp1;
1864 modelica_integer tmp2;
1865 modelica_integer tmp3;
1866 modelica_integer tmp4;
1867 modelica_integer tmp5;
1868 modelica_metatype _crstates = NULL((void*)0);
1869 tmp1 = mmc_unbox_integer(_index)(((mmc_sint_t) (_index)) >> 1);
1870 tmp2 = mmc_unbox_integer(_setsize)(((mmc_sint_t) (_setsize)) >> 1);
1871 tmp3 = mmc_unbox_integer(_nCandidates)(((mmc_sint_t) (_nCandidates)) >> 1);
1872 tmp4 = mmc_unbox_integer(_nCEqns)(((mmc_sint_t) (_nCEqns)) >> 1);
1873 tmp5 = mmc_unbox_integer(_level)(((mmc_sint_t) (_level)) >> 1);
1874 _crstates = omc_IndexReduction_getSetVars(threadData, tmp1, tmp2, tmp3, tmp4, tmp5, out_crset, out_oSetVars, out_ocrA, out_oAVars, out_realtp, out_ocrJ, out_oJVars);
1875 /* skip box _crstates; DAE.ComponentRef */
1876 /* skip box _crset; list<DAE.ComponentRef> */
1877 /* skip box _oSetVars; list<BackendDAE.Var> */
1878 /* skip box _ocrA; DAE.ComponentRef */
1879 /* skip box _oAVars; list<BackendDAE.Var> */
1880 /* skip box _realtp; DAE.Type */
1881 /* skip box _ocrJ; DAE.ComponentRef */
1882 /* skip box _oJVars; list<BackendDAE.Var> */
1883 return _crstates;
1884}
1885
1886PROTECTED_FUNCTION_STATIC void omc_IndexReduction_debugdifferentiateEqns(threadData_t *threadData, modelica_metatype _inTpl)
1887{
1888 modelica_metatype _a = NULL((void*)0);
1889 modelica_metatype _b = NULL((void*)0);
1890 modelica_integer _idx;
1891 modelica_integer tmp1;
1892 modelica_metatype tmpMeta[8] __attribute__((unused)) = {0};
1893 MMC_SO()mmc_check_stackoverflow(threadData);
1894 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1895 // _a has no default value.
1896 // _b has no default value.
1897 // _idx has no default value.
1898#line 4304 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
1899 /* Pattern-matching assignment */
1900#line 4304 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
1901 tmpMeta[0] = _inTpl;
1902#line 4304 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
1903 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (1)))))
;
1904#line 4304 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
1905 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (2)))))
;
1906#line 4304 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
1907 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (3)))))
;
1908#line 4304 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
1909 tmp1 = mmc_unbox_integer(tmpMeta[3])(((mmc_sint_t) (tmpMeta[3])) >> 1);
1910#line 4304 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
1911 _a = tmpMeta[1];
1912#line 4304 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
1913 _b = tmpMeta[2];
1914#line 4304 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
1915 _idx = tmp1 /* pattern as ty=Integer */;
1916#line 1916 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
1917
1918#line 4305 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
1919 tmpMeta[0] = stringAppend(_OMC_LIT24((void*)((char*)(&(_OMC_LIT_STRUCT24).header) + 3)),intString(_idx));
1920#line 4305 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
1921 tmpMeta[1] = stringAppend(tmpMeta[0],_OMC_LIT25((void*)((char*)(&(_OMC_LIT_STRUCT25).header) + 3)));
1922#line 4305 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
1923 tmpMeta[2] = stringAppend(tmpMeta[1],_OMC_LIT26((void*)((char*)(&(_OMC_LIT_STRUCT26).header) + 3)));
1924#line 4305 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
1925 tmpMeta[3] = stringAppend(tmpMeta[2],omc_BackendDump_equationString(threadData, _a));
1926#line 4305 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
1927 tmpMeta[4] = stringAppend(tmpMeta[3],_OMC_LIT3((void*)((char*)(&(_OMC_LIT_STRUCT3).header) + 3)));
1928#line 4305 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
1929 tmpMeta[5] = stringAppend(tmpMeta[4],_OMC_LIT27((void*)((char*)(&(_OMC_LIT_STRUCT27).header) + 3)));
1930#line 4305 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
1931 tmpMeta[6] = stringAppend(tmpMeta[5],omc_BackendDump_equationString(threadData, _b));
1932#line 4305 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
1933 tmpMeta[7] = stringAppend(tmpMeta[6],_OMC_LIT28((void*)((char*)(&(_OMC_LIT_STRUCT28).header) + 3)));
1934#line 4305 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
1935 fputs(MMC_STRINGDATA(tmpMeta[7])(((struct mmc_string*)((void*)((char*)(tmpMeta[7]) - 3)))->
data)
,stdoutstdout);
1936#line 1936 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
1937 _return: OMC_LABEL_UNUSED__attribute__((unused))
1938 return;
1939}
1940
1941PROTECTED_FUNCTION_STATIC modelica_metatype omc_IndexReduction_increaseDifferentiation(threadData_t *threadData, modelica_metatype _inVarLst, modelica_metatype _iVarIndxs, modelica_integer _counter, modelica_metatype _inVars, modelica_metatype _iChangedVars, modelica_metatype *out_oChangedVars)
1942{
1943 modelica_metatype _oVars = NULL((void*)0);
1944 modelica_metatype _oChangedVars = NULL((void*)0);
1945 modelica_metatype tmpMeta[6] __attribute__((unused)) = {0};
1946 MMC_SO()mmc_check_stackoverflow(threadData);
1947 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1948 // _oVars has no default value.
1949 // _oChangedVars has no default value.
1950#line 4249 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
1951
1952#line 4249 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
1953
1954#line 1954 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
1955 { /* match expression */
1956 modelica_metatype tmp4_1;modelica_metatype tmp4_2;
1957 tmp4_1 = _inVarLst;
1958 tmp4_2 = _iVarIndxs;
1959 {
1960 modelica_metatype _dcr = NULL((void*)0);
1961 modelica_metatype _var = NULL((void*)0);
1962 modelica_metatype _vars = NULL((void*)0);
1963 modelica_integer _diffcounter;
1964 modelica_boolean _b;
1965 modelica_boolean _natural;
1966 modelica_integer _i;
1967 modelica_metatype _ilst = NULL((void*)0);
1968 modelica_metatype _changedVars = NULL((void*)0);
1969 modelica_metatype _vlst = NULL((void*)0);
1970 volatile mmc_switch_type tmp4;
1971 int tmp5;
1972 // _dcr has no default value.
1973 // _var has no default value.
1974 // _vars has no default value.
1975 // _diffcounter has no default value.
1976 // _b has no default value.
1977 // _natural has no default value.
1978 // _i has no default value.
1979 // _ilst has no default value.
1980 // _changedVars has no default value.
1981 // _vlst has no default value.
1982 tmp4 = 0;
1983 for (; tmp4 < 3; tmp4++) {
1984 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
1985 case 0: {
1986 if (!listEmpty(tmp4_1)((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp3_end;
1987
1988 /* Pattern matching succeeded */
1989#line 4273 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
1990 tmpMeta[0+0] = _inVars;
1991#line 4273 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
1992 tmpMeta[0+1] = _iChangedVars;
1993#line 1993 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
1994 goto tmp3_done;
1995 }
1996 case 1: {
1997 modelica_integer tmp6;
1998 modelica_integer tmp7;
1999 modelica_integer tmp8;
2000 modelica_integer tmp9;
2001 modelica_integer tmp10;
2002 if (listEmpty(tmp4_1)((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp3_end;
2003 tmpMeta[2] = MMC_CAR(tmp4_1)(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(1)))))
;
2004 tmpMeta[3] = MMC_CDR(tmp4_1)(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(2)))))
;
2005 if (listEmpty(tmp4_2)((*(mmc_uint_t*)((void*)((char*)(tmp4_2) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp3_end;
2006 tmpMeta[4] = MMC_CAR(tmp4_2)(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(1)))))
;
2007 tmpMeta[5] = MMC_CDR(tmp4_2)(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(2)))))
;
2008 tmp6 = mmc_unbox_integer(tmpMeta[4])(((mmc_sint_t) (tmpMeta[4])) >> 1);
2009 _var = tmpMeta[2];
2010 _vlst = tmpMeta[3];
2011 _i = tmp6 /* pattern as ty=Integer */;
2012 _ilst = tmpMeta[5];
2013 /* Pattern matching succeeded */
2014#line 4276 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
2015 if(omc_BackendVariable_isStateVar(threadData, _var))
2016#line 4276 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
2017 {
2018#line 4277 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
2019 /* Pattern-matching assignment */
2020#line 4277 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
2021 tmpMeta[2] = (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_var), 3))(*(void**)(((void*)((void**)(((void*)((char*)(_var) - 3))) + (
3)))))
);
2022#line 4277 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
2023 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[2],1,3)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[2]) - 3)))==(((3 +1)
<< 10) + (((1 +3) & 255) << 2)))
== 0) goto goto_2;
2024#line 4277 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
2025 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (2)))))
;
2026#line 4277 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
2027 tmp7 = mmc_unbox_integer(tmpMeta[3])(((mmc_sint_t) (tmpMeta[3])) >> 1);
2028#line 4277 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
2029 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (3)))))
;
2030#line 4277 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
2031 tmpMeta[5] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (4)))))
;
2032#line 4277 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
2033 tmp8 = mmc_unbox_integer(tmpMeta[5])(((mmc_sint_t) (tmpMeta[5])) >> 1);
2034#line 4277 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
2035 _diffcounter = tmp7 /* pattern as ty=Integer */;
2036#line 4277 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
2037 _dcr = tmpMeta[4];
2038#line 4277 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
2039 _natural = tmp8 /* pattern as ty=Boolean */;
2040#line 2040 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
2041 }
2042 else
2043 {
2044#line 4279 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
2045 /* Pattern-matching assignment */
2046#line 4279 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
2047 tmpMeta[2] = _OMC_LIT29((void*)((char*)(&(_OMC_LIT_STRUCT29).header) + 3));
2048#line 4279 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
2049 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (1)))))
;
2050#line 4279 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
2051 tmp9 = mmc_unbox_integer(tmpMeta[3])(((mmc_sint_t) (tmpMeta[3])) >> 1);
2052#line 4279 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
2053 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (2)))))
;
2054#line 4279 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
2055 tmpMeta[5] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (3)))))
;
2056#line 4279 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
2057 tmp10 = mmc_unbox_integer(tmpMeta[5])(((mmc_sint_t) (tmpMeta[5])) >> 1);
2058#line 4279 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
2059 _diffcounter = tmp9 /* pattern as ty=Integer */;
2060#line 4279 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
2061 _dcr = tmpMeta[4];
2062#line 4279 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
2063 _natural = tmp10 /* pattern as ty=Boolean */;
2064#line 2064 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
2065 }
2066
2067#line 4281 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
2068 _b = (_counter > _diffcounter);
2069#line 2069 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
2070
2071#line 4282 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
2072 _diffcounter = (_b?_counter:_diffcounter);
2073#line 2073 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
2074
2075#line 4283 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
2076 tmpMeta[2] = mmc_mk_box4(4, &BackendDAE_VarKind_STATE__desc, mmc_mk_integermmc_mk_icon(_diffcounter), _dcr, mmc_mk_boolean(_natural)((_natural) != 0 ? (mmc_mk_icon(1)) : (mmc_mk_icon(0))));
2077#line 4283 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
2078 _var = omc_BackendVariable_setVarKind(threadData, _var, tmpMeta[2]);
2079#line 2079 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
2080
2081#line 4284 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
2082 _vars = (_b?omc_BackendVariable_addVar(threadData, _var, _inVars):_inVars);
2083#line 2083 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
2084
2085#line 4285 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
2086 _changedVars = omc_List_consOnTrue(threadData, _b, mmc_mk_integermmc_mk_icon(_i), _iChangedVars);
2087#line 2087 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
2088#line 4286 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
2089 /* Tail recursive call */
2090#line 4286 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
2091 _inVarLst = _vlst;
2092#line 4286 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
2093 _iVarIndxs = _ilst;
2094#line 4286 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
2095 _inVars = _vars;
2096#line 4286 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
2097 _iChangedVars = _changedVars;
2098#line 4286 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
2099 goto _tailrecursive;
2100#line 4286 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
2101 /* TODO: Make sure any eventual dead code below is never generated */
2102#line 2102 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
2103 goto tmp3_done;
2104 }
2105 case 2: {
2106
2107 /* Pattern matching succeeded */
2108#line 4291 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
2109 fputs(MMC_STRINGDATA(_OMC_LIT30)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT30).header) + 3))) - 3)))->data)
,stdoutstdout);
2110#line 2110 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
2111
2112#line 4292 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
2113 omc_BackendDump_printVar(threadData, listHead(_inVarLst)boxptr_listHead(threadData,_inVarLst));
2114#line 2114 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
2115#line 4293 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
2116 goto goto_2;
2117#line 2117 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
2118 goto tmp3_done;
2119 }
2120 }
2121 goto tmp3_end;
2122 tmp3_end: ;
2123 }
2124 goto goto_2;
2125 goto_2:;
2126 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
2127 goto tmp3_done;
2128 tmp3_done:;
2129 }
2130 }
2131 _oVars = tmpMeta[0+0];
2132 _oChangedVars = tmpMeta[0+1];
2133 _return: OMC_LABEL_UNUSED__attribute__((unused))
2134 if (out_oChangedVars) { *out_oChangedVars = _oChangedVars; }
2135 return _oVars;
2136}
2137PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_IndexReduction_increaseDifferentiation(threadData_t *threadData, modelica_metatype _inVarLst, modelica_metatype _iVarIndxs, modelica_metatype _counter, modelica_metatype _inVars, modelica_metatype _iChangedVars, modelica_metatype *out_oChangedVars)
2138{
2139 modelica_integer tmp1;
2140 modelica_metatype _oVars = NULL((void*)0);
2141 tmp1 = mmc_unbox_integer(_counter)(((mmc_sint_t) (_counter)) >> 1);
2142 _oVars = omc_IndexReduction_increaseDifferentiation(threadData, _inVarLst, _iVarIndxs, tmp1, _inVars, _iChangedVars, out_oChangedVars);
2143 /* skip box _oVars; BackendDAE.Variables */
2144 /* skip box _oChangedVars; list<#Integer> */
2145 return _oVars;
2146}
2147
2148PROTECTED_FUNCTION_STATIC modelica_metatype omc_IndexReduction_algebraicState(threadData_t *threadData, modelica_metatype _inVarLst, modelica_metatype _inIndxLst, modelica_metatype _inVars, modelica_metatype _iChangedVars, modelica_metatype *out_oChangedVars)
2149{
2150 modelica_metatype _oVars = NULL((void*)0);
2151 modelica_metatype _oChangedVars = NULL((void*)0);
2152 modelica_metatype tmpMeta[7] __attribute__((unused)) = {0};
2153 MMC_SO()mmc_check_stackoverflow(threadData);
2154 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
2155 // _oVars has no default value.
2156 // _oChangedVars has no default value.
2157#line 4213 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
2158
2159#line 4213 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
2160
2161#line 2161 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
2162 { /* match expression */
2163 modelica_metatype tmp4_1;modelica_metatype tmp4_2;
2164 tmp4_1 = _inVarLst;
2165 tmp4_2 = _inIndxLst;
2166 {
2167 modelica_metatype _v = NULL((void*)0);
2168 modelica_integer _index;
2169 modelica_metatype _vlst = NULL((void*)0);
2170 modelica_metatype _ilst = NULL((void*)0);
2171 modelica_metatype _vars = NULL((void*)0);
2172 volatile mmc_switch_type tmp4;
2173 int tmp5;
2174 // _v has no default value.
2175 // _index has no default value.
2176 // _vlst has no default value.
2177 // _ilst has no default value.
2178 // _vars has no default value.
2179 tmp4 = 0;
2180 for (; tmp4 < 3; tmp4++) {
2181 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
2182 case 0: {
2183 if (!listEmpty(tmp4_1)((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp3_end;
2184 if (!listEmpty(tmp4_2)((*(mmc_uint_t*)((void*)((char*)(tmp4_2) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp3_end;
2185 /* Pattern matching succeeded */
2186#line 4220 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
2187 tmpMeta[0+0] = _inVars;
2188#line 4220 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
2189 tmpMeta[0+1] = _iChangedVars;
2190#line 2190 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
2191 goto tmp3_done;
2192 }
2193 case 1: {
2194 if (listEmpty(tmp4_2)((*(mmc_uint_t*)((void*)((char*)(tmp4_2) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp3_end;
2195 tmpMeta[2] = MMC_CAR(tmp4_2)(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(1)))))
;
2196 tmpMeta[3] = MMC_CDR(tmp4_2)(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(2)))))
;
2197 if (listEmpty(tmp4_1)((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp3_end;
2198 tmpMeta[4] = MMC_CAR(tmp4_1)(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(1)))))
;
2199 tmpMeta[5] = MMC_CDR(tmp4_1)(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(2)))))
;
2200 tmpMeta[6] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[4]), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[4]) - 3
))) + (3)))))
;
2201 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;
2202
2203 _ilst = tmpMeta[3];
2204 _vlst = tmpMeta[5];
2205 /* Pattern matching succeeded */
2206#line 4223 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
2207 /* Tail recursive call */
2208#line 4223 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
2209 _inVarLst = _vlst;
2210#line 4223 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
2211 _inIndxLst = _ilst;
2212#line 4223 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
2213 goto _tailrecursive;
2214#line 4223 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
2215 /* TODO: Make sure any eventual dead code below is never generated */
2216#line 2216 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
2217 goto tmp3_done;
2218 }
2219 case 2: {
2220 modelica_integer tmp6;
2221 if (listEmpty(tmp4_1)((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp3_end;
2222 tmpMeta[2] = MMC_CAR(tmp4_1)(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(1)))))
;
2223 tmpMeta[3] = MMC_CDR(tmp4_1)(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(2)))))
;
2224 if (listEmpty(tmp4_2)((*(mmc_uint_t*)((void*)((char*)(tmp4_2) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp3_end;
2225 tmpMeta[4] = MMC_CAR(tmp4_2)(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(1)))))
;
2226 tmpMeta[5] = MMC_CDR(tmp4_2)(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(2)))))
;
2227 tmp6 = mmc_unbox_integer(tmpMeta[4])(((mmc_sint_t) (tmpMeta[4])) >> 1);
2228 _v = tmpMeta[2];
2229 _vlst = tmpMeta[3];
2230 _index = tmp6 /* pattern as ty=Integer */;
2231 _ilst = tmpMeta[5];
2232 /* Pattern matching succeeded */
2233#line 4228 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
2234 _v = omc_BackendVariable_setVarKind(threadData, _v, _OMC_LIT18((void*)((char*)(&(_OMC_LIT_STRUCT18).header) + 3)));
2235#line 2235 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
2236
2237#line 4229 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
2238 if((!omc_BackendVariable_varHasStateSelect(threadData, _v)))
2239#line 4229 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
2240 {
2241#line 4230 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
2242 _v = omc_BackendVariable_setVarStateSelect(threadData, _v, _OMC_LIT31((void*)((char*)(&(_OMC_LIT_STRUCT31).header) + 3)));
2243#line 2243 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
2244 }
2245
2246#line 4232 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
2247 _vars = omc_BackendVariable_addVar(threadData, _v, _inVars);
2248#line 2248 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
2249#line 4233 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
2250 tmpMeta[2] = mmc_mk_cons(mmc_mk_integermmc_mk_icon(_index), _iChangedVars);
2251#line 4233 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
2252 /* Tail recursive call */
2253#line 4233 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
2254 _inVarLst = _vlst;
2255#line 4233 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
2256 _inIndxLst = _ilst;
2257#line 4233 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
2258 _inVars = _vars;
2259#line 4233 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
2260 _iChangedVars = tmpMeta[2];
2261#line 4233 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
2262 goto _tailrecursive;
2263#line 4233 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
2264 /* TODO: Make sure any eventual dead code below is never generated */
2265#line 2265 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
2266 goto tmp3_done;
2267 }
2268 }
2269 goto tmp3_end;
2270 tmp3_end: ;
2271 }
2272 goto goto_2;
2273 goto_2:;
2274 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
2275 goto tmp3_done;
2276 tmp3_done:;
2277 }
2278 }
2279 _oVars = tmpMeta[0+0];
2280 _oChangedVars = tmpMeta[0+1];
2281 _return: OMC_LABEL_UNUSED__attribute__((unused))
2282 if (out_oChangedVars) { *out_oChangedVars = _oChangedVars; }
2283 return _oVars;
2284}
2285
2286PROTECTED_FUNCTION_STATIC modelica_metatype omc_IndexReduction_changeDerVariablesToStatesFinder(threadData_t *threadData, modelica_metatype _inExp, modelica_metatype _inTpl, modelica_metatype *out_outTpl)
2287{
2288 modelica_metatype _outExp = NULL((void*)0);
2289 modelica_metatype _outTpl = NULL((void*)0);
2290 modelica_metatype tmpMeta[19] __attribute__((unused)) = {0};
2291 MMC_SO()mmc_check_stackoverflow(threadData);
2292 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
2293 // _outExp has no default value.
2294 // _outTpl has no default value.
2295#line 4165 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
2296
2297#line 4165 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
2298
2299#line 2299 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
2300 { /* match expression */
2301 modelica_metatype tmp4_1;modelica_metatype tmp4_2;
2302 tmp4_1 = _inExp;
2303 tmp4_2 = _inTpl;
2304 {
2305 modelica_metatype _e = NULL((void*)0);
2306 modelica_metatype _cr = NULL((void*)0);
2307 modelica_metatype _vars = NULL((void*)0);
2308 modelica_metatype _ilst = NULL((void*)0);
2309 modelica_metatype _changedVars = NULL((void*)0);
2310 modelica_metatype _varlst = NULL((void*)0);
2311 modelica_metatype _mapIncRowEqn = NULL((void*)0);
2312 modelica_metatype _mt = NULL((void*)0);
2313 modelica_metatype _eqns = NULL((void*)0);
2314 modelica_integer _index;
2315 modelica_integer _eindx;
2316 volatile mmc_switch_type tmp4;
2317 int tmp5;
2318 // _e has no default value.
2319 // _cr has no default value.
2320 // _vars has no default value.
2321 // _ilst has no default value.
2322 // _changedVars has no default value.
2323 // _varlst has no default value.
2324 // _mapIncRowEqn has no default value.
2325 // _mt has no default value.
2326 // _eqns has no default value.
2327 // _index has no default value.
2328 // _eindx has no default value.
2329 tmp4 = 0;
2330 for (; tmp4 < 4; tmp4++) {
2331 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
2332 case 0: {
2333 modelica_integer tmp6;
2334 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;
2335 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(2)))))
;
2336 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[2],1,1)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[2]) - 3)))==(((1 +1)
<< 10) + (((1 +3) & 255) << 2)))
== 0) goto tmp3_end;
2337 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (2)))))
;
2338 if (3 != MMC_STRLEN(tmpMeta[3])(((((*(mmc_uint_t*)((void*)((char*)(tmpMeta[3]) - 3)))) >>
(3)) - 8))
|| strcmp(MMC_STRINGDATA(_OMC_LIT32)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT32).header) + 3))) - 3)))->data)
, MMC_STRINGDATA(tmpMeta[3])(((struct mmc_string*)((void*)((char*)(tmpMeta[3]) - 3)))->
data)
) != 0) goto tmp3_end;
2339 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(3)))))
;
2340 if (listEmpty(tmpMeta[4])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[4]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp3_end;
2341 tmpMeta[5] = MMC_CAR(tmpMeta[4])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[4]) - 3
))) + (1)))))
;
2342 tmpMeta[6] = MMC_CDR(tmpMeta[4])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[4]) - 3
))) + (2)))))
;
2343 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[5],6,2)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[5]) - 3)))==(((2 +1)
<< 10) + (((6 +3) & 255) << 2)))
== 0) goto tmp3_end;
2344 tmpMeta[7] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[5]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[5]) - 3
))) + (2)))))
;
2345 if (!listEmpty(tmpMeta[6])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[6]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp3_end;
2346 tmpMeta[8] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(1)))))
;
2347 tmpMeta[9] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(2)))))
;
2348 tmpMeta[10] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(3)))))
;
2349 tmpMeta[11] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(4)))))
;
2350 tmp6 = mmc_unbox_integer(tmpMeta[11])(((mmc_sint_t) (tmpMeta[11])) >> 1);
2351 tmpMeta[12] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 5))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(5)))))
;
2352 tmpMeta[13] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 6))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(6)))))
;
2353 _e = tmp4_1;
2354 _cr = tmpMeta[7];
2355 _vars = tmpMeta[8];
2356 _eqns = tmpMeta[9];
2357 _ilst = tmpMeta[10];
2358 _eindx = tmp6 /* pattern as ty=Integer */;
2359 _mapIncRowEqn = tmpMeta[12];
2360 _mt = tmpMeta[13];
2361 /* Pattern matching succeeded */
2362#line 4179 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
2363 _varlst = omc_BackendVariable_getVar(threadData, _cr, _vars ,&_changedVars);
2364#line 2364 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
2365
2366#line 4180 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
2367 _vars = omc_IndexReduction_algebraicState(threadData, _varlst, _changedVars, _vars, _ilst ,&_ilst);
2368#line 2368 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
2369#line 4181 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
2370 tmpMeta[2] = mmc_mk_box6(0, _vars, _eqns, _ilst, mmc_mk_integermmc_mk_icon(_eindx), _mapIncRowEqn, _mt);
2371#line 4181 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
2372 tmpMeta[0+0] = _e;
2373#line 4181 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
2374 tmpMeta[0+1] = tmpMeta[2];
2375#line 2375 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
2376 goto tmp3_done;
2377 }
2378 case 1: {
2379 modelica_integer tmp7;
2380 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;
2381 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(2)))))
;
2382 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[2],1,1)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[2]) - 3)))==(((1 +1)
<< 10) + (((1 +3) & 255) << 2)))
== 0) goto tmp3_end;
2383 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (2)))))
;
2384 if (3 != MMC_STRLEN(tmpMeta[3])(((((*(mmc_uint_t*)((void*)((char*)(tmpMeta[3]) - 3)))) >>
(3)) - 8))
|| strcmp(MMC_STRINGDATA(_OMC_LIT32)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT32).header) + 3))) - 3)))->data)
, MMC_STRINGDATA(tmpMeta[3])(((struct mmc_string*)((void*)((char*)(tmpMeta[3]) - 3)))->
data)
) != 0) goto tmp3_end;
2385 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(3)))))
;
2386 if (listEmpty(tmpMeta[4])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[4]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp3_end;
2387 tmpMeta[5] = MMC_CAR(tmpMeta[4])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[4]) - 3
))) + (1)))))
;
2388 tmpMeta[6] = MMC_CDR(tmpMeta[4])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[4]) - 3
))) + (2)))))
;
2389 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[5],13,3)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[5]) - 3)))==(((3 +1)
<< 10) + (((13 +3) & 255) << 2)))
== 0) goto tmp3_end;
2390 tmpMeta[7] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[5]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[5]) - 3
))) + (2)))))
;
2391 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[7],1,1)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[7]) - 3)))==(((1 +1)
<< 10) + (((1 +3) & 255) << 2)))
== 0) goto tmp3_end;
2392 tmpMeta[8] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[7]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[7]) - 3
))) + (2)))))
;
2393 if (3 != MMC_STRLEN(tmpMeta[8])(((((*(mmc_uint_t*)((void*)((char*)(tmpMeta[8]) - 3)))) >>
(3)) - 8))
|| strcmp(MMC_STRINGDATA(_OMC_LIT32)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT32).header) + 3))) - 3)))->data)
, MMC_STRINGDATA(tmpMeta[8])(((struct mmc_string*)((void*)((char*)(tmpMeta[8]) - 3)))->
data)
) != 0) goto tmp3_end;
2394 tmpMeta[9] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[5]), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[5]) - 3
))) + (3)))))
;
2395 if (listEmpty(tmpMeta[9])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[9]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp3_end;
2396 tmpMeta[10] = MMC_CAR(tmpMeta[9])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[9]) - 3
))) + (1)))))
;
2397 tmpMeta[11] = MMC_CDR(tmpMeta[9])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[9]) - 3
))) + (2)))))
;
2398 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[10],6,2)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[10]) - 3)))==(((2 +1
) << 10) + (((6 +3) & 255) << 2)))
== 0) goto tmp3_end;
2399 tmpMeta[12] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[10]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[10]) - 3
))) + (2)))))
;
2400 if (!listEmpty(tmpMeta[11])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[11]) - 3))) == (((0)
<< 10) + (((0) & 255) << 2)))
) goto tmp3_end;
2401 if (!listEmpty(tmpMeta[6])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[6]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp3_end;
2402 tmpMeta[13] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(1)))))
;
2403 tmpMeta[14] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(2)))))
;
2404 tmpMeta[15] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(3)))))
;
2405 tmpMeta[16] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(4)))))
;
2406 tmp7 = mmc_unbox_integer(tmpMeta[16])(((mmc_sint_t) (tmpMeta[16])) >> 1);
2407 tmpMeta[17] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 5))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(5)))))
;
2408 tmpMeta[18] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 6))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(6)))))
;
2409 _e = tmpMeta[10];
2410 _cr = tmpMeta[12];
2411 _vars = tmpMeta[13];
2412 _eqns = tmpMeta[14];
2413 _ilst = tmpMeta[15];
2414 _eindx = tmp7 /* pattern as ty=Integer */;
2415 _mapIncRowEqn = tmpMeta[17];
2416 _mt = tmpMeta[18];
2417 /* Pattern matching succeeded */
2418#line 4186 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
2419 _varlst = omc_BackendVariable_getVar(threadData, _cr, _vars ,&_changedVars);
2420#line 2420 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
2421
2422#line 4187 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
2423 _vars = omc_IndexReduction_increaseDifferentiation(threadData, _varlst, _changedVars, ((modelica_integer) 2), _vars, _ilst ,&_ilst);
2424#line 2424 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
2425#line 4188 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
2426 tmpMeta[2] = mmc_mk_cons(_e, mmc_mk_cons(_OMC_LIT34((void*)((char*)(&(_OMC_LIT_STRUCT34).header) + 3)), MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3))));
2427#line 4188 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
2428 tmpMeta[3] = mmc_mk_box4(16, &DAE_Exp_CALL__desc, _OMC_LIT33((void*)((char*)(&(_OMC_LIT_STRUCT33).header) + 3)), tmpMeta[2], _OMC_LIT37((void*)((char*)(&(_OMC_LIT_STRUCT37).header) + 3)));
2429#line 4188 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
2430 tmpMeta[4] = mmc_mk_box6(0, _vars, _eqns, _ilst, mmc_mk_integermmc_mk_icon(_eindx), _mapIncRowEqn, _mt);
2431#line 4188 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
2432 tmpMeta[0+0] = tmpMeta[3];
2433#line 4188 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
2434 tmpMeta[0+1] = tmpMeta[4];
2435#line 2435 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
2436 goto tmp3_done;
2437 }
2438 case 2: {
2439 modelica_integer tmp8;
2440 modelica_integer tmp9;
2441 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;
2442 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(2)))))
;
2443 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[2],1,1)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[2]) - 3)))==(((1 +1)
<< 10) + (((1 +3) & 255) << 2)))
== 0) goto tmp3_end;
2444 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (2)))))
;
2445 if (3 != MMC_STRLEN(tmpMeta[3])(((((*(mmc_uint_t*)((void*)((char*)(tmpMeta[3]) - 3)))) >>
(3)) - 8))
|| strcmp(MMC_STRINGDATA(_OMC_LIT32)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT32).header) + 3))) - 3)))->data)
, MMC_STRINGDATA(tmpMeta[3])(((struct mmc_string*)((void*)((char*)(tmpMeta[3]) - 3)))->
data)
) != 0) goto tmp3_end;
2446 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(3)))))
;
2447 if (listEmpty(tmpMeta[4])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[4]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp3_end;
2448 tmpMeta[5] = MMC_CAR(tmpMeta[4])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[4]) - 3
))) + (1)))))
;
2449 tmpMeta[6] = MMC_CDR(tmpMeta[4])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[4]) - 3
))) + (2)))))
;
2450 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[5],6,2)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[5]) - 3)))==(((2 +1)
<< 10) + (((6 +3) & 255) << 2)))
== 0) goto tmp3_end;
2451 tmpMeta[7] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[5]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[5]) - 3
))) + (2)))))
;
2452 if (listEmpty(tmpMeta[6])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[6]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp3_end;
2453 tmpMeta[8] = MMC_CAR(tmpMeta[6])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[6]) - 3
))) + (1)))))
;
2454 tmpMeta[9] = MMC_CDR(tmpMeta[6])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[6]) - 3
))) + (2)))))
;
2455 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[8],0,1)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[8]) - 3)))==(((1 +1)
<< 10) + (((0 +3) & 255) << 2)))
== 0) goto tmp3_end;
2456 tmpMeta[10] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[8]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[8]) - 3
))) + (2)))))
;
2457 tmp8 = mmc_unbox_integer(tmpMeta[10])(((mmc_sint_t) (tmpMeta[10])) >> 1);
2458 if (!listEmpty(tmpMeta[9])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[9]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp3_end;
2459 tmpMeta[11] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(1)))))
;
2460 tmpMeta[12] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(2)))))
;
2461 tmpMeta[13] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(3)))))
;
2462 tmpMeta[14] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(4)))))
;
2463 tmp9 = mmc_unbox_integer(tmpMeta[14])(((mmc_sint_t) (tmpMeta[14])) >> 1);
2464 tmpMeta[15] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 5))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(5)))))
;
2465 tmpMeta[16] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 6))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(6)))))
;
2466 _e = tmp4_1;
2467 _cr = tmpMeta[7];
2468 _index = tmp8 /* pattern as ty=Integer */;
2469 _vars = tmpMeta[11];
2470 _eqns = tmpMeta[12];
2471 _ilst = tmpMeta[13];
2472 _eindx = tmp9 /* pattern as ty=Integer */;
2473 _mapIncRowEqn = tmpMeta[15];
2474 _mt = tmpMeta[16];
2475 /* Pattern matching succeeded */
2476#line 4193 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
2477 _varlst = omc_BackendVariable_getVar(threadData, _cr, _vars ,&_changedVars);
2478#line 2478 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
2479
2480#line 4194 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
2481 _vars = omc_IndexReduction_increaseDifferentiation(threadData, _varlst, _changedVars, _index, _vars, _ilst ,&_ilst);
2482#line 2482 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
2483#line 4195 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
2484 tmpMeta[2] = mmc_mk_box6(0, _vars, _eqns, _ilst, mmc_mk_integermmc_mk_icon(_eindx), _mapIncRowEqn, _mt);
2485#line 4195 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
2486 tmpMeta[0+0] = _e;
2487#line 4195 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
2488 tmpMeta[0+1] = tmpMeta[2];
2489#line 2489 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
2490 goto tmp3_done;
2491 }
2492 case 3: {
2493
2494 /* Pattern matching succeeded */
2495#line 4197 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
2496 tmpMeta[0+0] = _inExp;
2497#line 4197 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
2498 tmpMeta[0+1] = _inTpl;
2499#line 2499 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
2500 goto tmp3_done;
2501 }
2502 }
2503 goto tmp3_end;
2504 tmp3_end: ;
2505 }
2506 goto goto_2;
2507 goto_2:;
2508 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
2509 goto tmp3_done;
2510 tmp3_done:;
2511 }
2512 }
2513 _outExp = tmpMeta[0+0];
2514 _outTpl = tmpMeta[0+1];
2515 _return: OMC_LABEL_UNUSED__attribute__((unused))
2516 if (out_outTpl) { *out_outTpl = _outTpl; }
2517 return _outExp;
2518}
2519
2520DLLExport
2521modelica_metatype omc_IndexReduction_splitEqnsinConstraintAndOther(threadData_t *threadData, modelica_metatype _inVarLst, modelica_metatype _inEqnsLst, modelica_metatype _shared, modelica_metatype *out_outOEqnsLst)
2522{
2523 modelica_metatype _outCEqnsLst = NULL((void*)0);
2524 modelica_metatype _outOEqnsLst = NULL((void*)0);
2525 modelica_metatype _eqnslst = NULL((void*)0);
2526 modelica_metatype _vars = NULL((void*)0);
2527 modelica_metatype _eqns = NULL((void*)0);
2528 modelica_metatype _syst = NULL((void*)0);
2529 modelica_metatype _me = NULL((void*)0);
2530 modelica_metatype _mapEqnIncRow = NULL((void*)0);
2531 modelica_metatype _mapIncRowEqn = NULL((void*)0);
2532 modelica_metatype _m = NULL((void*)0);
2533 modelica_integer _ne;
2534 modelica_integer _nv;
2535 modelica_metatype _vec1 = NULL((void*)0);
2536 modelica_metatype _vec2 = NULL((void*)0);
2537 modelica_metatype _unassigned = NULL((void*)0);
2538 modelica_metatype _assigned = NULL((void*)0);
2539 modelica_metatype tmpMeta[1] __attribute__((unused)) = {0};
2540 MMC_SO()mmc_check_stackoverflow(threadData);
2541 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
2542 // _outCEqnsLst has no default value.
2543 // _outOEqnsLst has no default value.
2544 // _eqnslst has no default value.
2545 // _vars has no default value.
2546 // _eqns has no default value.
2547 // _syst has no default value.
2548 // _me has no default value.
2549 // _mapEqnIncRow has no default value.
2550 // _mapIncRowEqn has no default value.
2551 // _m has no default value.
2552 // _ne has no default value.
2553 // _nv has no default value.
2554 // _vec1 has no default value.
2555 // _vec2 has no default value.
2556 // _unassigned has no default value.
2557 // _assigned has no default value.
2558#line 4133 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
2559 _vars = omc_BackendVariable_listVar1(threadData, _inVarLst);
2560#line 2560 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
2561
2562#line 4134 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
2563 _eqnslst = omc_InlineArrayEquations_getScalarArrayEqns(threadData, _inEqnsLst, NULL((void*)0));
2564#line 2564 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
2565
2566#line 4135 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
2567 _eqns = omc_BackendEquation_listEquation(threadData, _eqnslst);
2568#line 2568 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
2569
2570#line 4136 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
2571 tmpMeta[0] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
2572#line 4136 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
2573 _syst = omc_BackendDAEUtil_createEqSystem(threadData, _vars, _eqns, tmpMeta[0], _OMC_LIT38((void*)((char*)(&(_OMC_LIT_STRUCT38).header) + 3)), omc_BackendEquation_emptyEqns(threadData));
2574#line 2574 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
2575
2576#line 4137 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
2577 _me = omc_BackendDAEUtil_getAdjacencyMatrixEnhancedScalar(threadData, _syst, _shared, 0 ,NULL((void*)0) ,&_mapEqnIncRow ,&_mapIncRowEqn);
2578#line 2578 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
2579
2580#line 4138 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
2581 _m = omc_IndexReduction_adjacencyMatrixfromEnhancedStrict(threadData, _me, _vars);
2582#line 2582 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
2583
2584#line 4140 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
2585 _nv = omc_BackendVariable_varsSize(threadData, _vars);
2586#line 2586 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
2587
2588#line 4141 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
2589 _ne = omc_BackendEquation_equationArraySize(threadData, _eqns);
2590#line 2590 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
2591
2592#line 4142 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
2593 _vec1 = arrayCreate(_nv, mmc_mk_integermmc_mk_icon(((modelica_integer) -1)));
2594#line 2594 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
2595
2596#line 4143 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
2597 _vec2 = arrayCreate(_ne, mmc_mk_integermmc_mk_icon(((modelica_integer) -1)));
2598#line 2598 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
2599
2600#line 4144 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
2601 omc_Matching_matchingExternalsetAdjacencyMatrix(threadData, _nv, _ne, _m);
2602#line 2602 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
2603
2604#line 4145 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
2605 omc_BackendDAEEXT_matching(threadData, _nv, _ne, ((modelica_integer) 5), ((modelica_integer) -1), 1.0, ((modelica_integer) 1));
2606#line 2606 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
2607
2608#line 4146 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
2609 omc_BackendDAEEXT_getAssignment(threadData, _vec2, _vec1);
2610#line 2610 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
2611
2612#line 4147 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
2613 tmpMeta[0] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
2614#line 4147 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
2615 _unassigned = omc_Matching_getUnassigned(threadData, _ne, _vec2, tmpMeta[0]);
2616#line 2616 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
2617
2618#line 4148 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
2619 tmpMeta[0] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
2620#line 4148 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
2621 _assigned = omc_Matching_getAssigned(threadData, _ne, _vec2, tmpMeta[0]);
2622#line 2622 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
2623
2624#line 4149 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
2625 _unassigned = omc_List_map1r(threadData, _unassigned, boxvar_arrayGet((void*)((char*)(&(boxvar_lit_arrayGet).header) + 3)), _mapIncRowEqn);
2626#line 2626 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
2627
2628#line 4150 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
2629 _unassigned = omc_List_uniqueIntN(threadData, _unassigned, _ne);
2630#line 2630 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
2631
2632#line 4151 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
2633 _outCEqnsLst = omc_BackendEquation_getList(threadData, _unassigned, _eqns);
2634#line 2634 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
2635
2636#line 4152 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
2637 _assigned = omc_List_map1r(threadData, _assigned, boxvar_arrayGet((void*)((char*)(&(boxvar_lit_arrayGet).header) + 3)), _mapIncRowEqn);
2638#line 2638 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
2639
2640#line 4153 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
2641 _assigned = omc_List_uniqueIntN(threadData, _assigned, _ne);
2642#line 2642 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
2643
2644#line 4154 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
2645 _outOEqnsLst = omc_BackendEquation_getList(threadData, _assigned, _eqns);
2646#line 2646 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
2647 _return: OMC_LABEL_UNUSED__attribute__((unused))
2648 if (out_outOEqnsLst) { *out_outOEqnsLst = _outOEqnsLst; }
2649 return _outCEqnsLst;
2650}
2651
2652PROTECTED_FUNCTION_STATIC modelica_metatype omc_IndexReduction_replaceDummyDerivativesVar(threadData_t *threadData, modelica_metatype _inVar, modelica_metatype _inHt, modelica_metatype *out_outHt)
2653{
2654 modelica_metatype _outVar = NULL((void*)0);
2655 modelica_metatype _outHt = NULL((void*)0);
2656 modelica_metatype tmpMeta[5] __attribute__((unused)) = {0};
2657 MMC_SO()mmc_check_stackoverflow(threadData);
2658 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
2659 // _outVar has no default value.
2660 // _outHt has no default value.
2661#line 4090 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
2662
2663#line 4090 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
2664
2665#line 2665 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
2666 { /* matchcontinue expression */
2667 volatile modelica_metatype tmp4_1;volatile modelica_metatype tmp4_2;
2668 tmp4_1 = _inVar;
2669 tmp4_2 = _inHt;
2670 {
2671 modelica_metatype _v = NULL((void*)0);
2672 modelica_metatype _v1 = NULL((void*)0);
2673 modelica_metatype _ht = NULL((void*)0);
2674 modelica_metatype _e = NULL((void*)0);
2675 modelica_metatype _e1 = NULL((void*)0);
2676 modelica_metatype _attr = NULL((void*)0);
2677 volatile mmc_switch_type tmp4;
2678 int tmp5;
2679 // _v has no default value.
2680 // _v1 has no default value.
2681 // _ht has no default value.
2682 // _e has no default value.
2683 // _e1 has no default value.
2684 // _attr has no default value.
2685 tmp4 = 0;
2686 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) {
2687 tmp3_top:
2688 threadData->mmc_jumper = &new_mmc_jumper;
2689 for (; tmp4 < 2; tmp4++) {
2690 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
2691 case 0: {
2692 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 7))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(7)))))
;
2693 if (optionNone(tmpMeta[2])(0==((((((*(mmc_uint_t*)((void*)((char*)(tmpMeta[2]) - 3)))) &
(7)) == 5)) ? ((((*(mmc_uint_t*)((void*)((char*)(tmpMeta[2])
- 3)))) >> (3+3))) : (((*(mmc_uint_t*)((void*)((char*)
(tmpMeta[2]) - 3)))) >> 10)) ? 1 : 0)
) goto tmp3_end;
2694 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (1)))))
;
2695 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 11))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(11)))))
;
2696
2697 _v = tmp4_1;
2698 _e = tmpMeta[3];
2699 _attr = tmpMeta[4];
2700 _ht = tmp4_2;
2701 /* Pattern matching succeeded */
2702#line 4099 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
2703 _e1 = omc_Expression_traverseExpBottomUp(threadData, _e, boxvar_IndexReduction_replaceDummyDerivativesExp((void*)((char*)(&(boxvar_lit_IndexReduction_replaceDummyDerivativesExp
).header) + 3))
, _ht, NULL((void*)0));
2704#line 2704 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
2705
2706#line 4100 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
2707 _v1 = omc_BackendVariable_setBindExp(threadData, _v, mmc_mk_some(_e1));
2708#line 2708 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
2709
2710#line 4101 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
2711 tmpMeta[2] = mmc_mk_box2(0, boxvar_IndexReduction_replaceDummyDerivativesExp((void*)((char*)(&(boxvar_lit_IndexReduction_replaceDummyDerivativesExp
).header) + 3))
, _ht);
2712#line 4101 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
2713 _attr = omc_BackendDAEUtil_traverseBackendDAEVarAttr(threadData, _attr, boxvar_Expression_traverseSubexpressionsHelper((void*)((char*)(&(boxvar_lit_Expression_traverseSubexpressionsHelper
).header) + 3))
, tmpMeta[2], NULL((void*)0));
2714#line 2714 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
2715
2716#line 4102 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
2717 _v1 = omc_BackendVariable_setVarAttributes(threadData, _v1, _attr);
2718#line 2718 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
2719#line 4103 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
2720 tmpMeta[0+0] = _v1;
2721#line 4103 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
2722 tmpMeta[0+1] = _ht;
2723#line 2723 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
2724 goto tmp3_done;
2725 }
2726 case 1: {
2727 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 11))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(11)))))
;
2728
2729 _v = tmp4_1;
2730 _attr = tmpMeta[2];
2731 _ht = tmp4_2;
2732 /* Pattern matching succeeded */
2733#line 4107 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
2734 tmpMeta[2] = mmc_mk_box2(0, boxvar_IndexReduction_replaceDummyDerivativesExp((void*)((char*)(&(boxvar_lit_IndexReduction_replaceDummyDerivativesExp
).header) + 3))
, _ht);
2735#line 4107 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
2736 _attr = omc_BackendDAEUtil_traverseBackendDAEVarAttr(threadData, _attr, boxvar_Expression_traverseSubexpressionsHelper((void*)((char*)(&(boxvar_lit_Expression_traverseSubexpressionsHelper
).header) + 3))
, tmpMeta[2], NULL((void*)0));
2737#line 2737 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
2738
2739#line 4108 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
2740 _v1 = omc_BackendVariable_setVarAttributes(threadData, _v, _attr);
2741#line 2741 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
2742#line 4109 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
2743 tmpMeta[0+0] = _v1;
2744#line 4109 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
2745 tmpMeta[0+1] = _ht;
2746#line 2746 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
2747 goto tmp3_done;
2748 }
2749 }
2750 goto tmp3_end;
2751 tmp3_end: ;
2752 }
2753 goto goto_2;
2754 tmp3_done:
2755 (void)tmp4;
2756 MMC_RESTORE_INTERNAL(mmc_jumper)threadData->mmc_jumper = old_jumper;;
2757 goto tmp3_done2;
2758 goto_2:;
2759 MMC_CATCH_INTERNAL(mmc_jumper)} threadData->mmc_jumper = old_jumper;mmc_catch_dummy_fn()
;}
;
2760 if (++tmp4 < 2) {
2761 goto tmp3_top;
2762 }
2763 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
2764 tmp3_done2:;
2765 }
2766 }
2767 _outVar = tmpMeta[0+0];
2768 _outHt = tmpMeta[0+1];
2769 _return: OMC_LABEL_UNUSED__attribute__((unused))
2770 if (out_outHt) { *out_outHt = _outHt; }
2771 return _outVar;
2772}
2773
2774PROTECTED_FUNCTION_STATIC modelica_metatype omc_IndexReduction_replaceDummyDerivatives(threadData_t *threadData, modelica_metatype _inSyst, modelica_metatype _ht, modelica_metatype _inShared, modelica_metatype *out_outShared)
2775{
2776 modelica_metatype _outSyst = NULL((void*)0);
2777 modelica_metatype _outShared = NULL((void*)0);
2778 modelica_metatype _eventInfo = NULL((void*)0);
2779 modelica_metatype tmpMeta[1] __attribute__((unused)) = {0};
2780 MMC_SO()mmc_check_stackoverflow(threadData);
2781 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
2782 _outSyst = _inSyst;
2783 _outShared = _inShared;
2784 // _eventInfo has no default value.
2785#line 4073 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
2786 omc_BackendVariable_traverseBackendDAEVarsWithUpdate(threadData, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_outShared), 5))(*(void**)(((void*)((void**)(((void*)((char*)(_outShared) - 3
))) + (5)))))
), boxvar_IndexReduction_replaceDummyDerivativesVar((void*)((char*)(&(boxvar_lit_IndexReduction_replaceDummyDerivativesVar
).header) + 3))
, _ht, NULL((void*)0));
2787#line 2787 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
2788
2789#line 4074 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
2790 omc_BackendVariable_traverseBackendDAEVarsWithUpdate(threadData, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_outShared), 2))(*(void**)(((void*)((void**)(((void*)((char*)(_outShared) - 3
))) + (2)))))
), boxvar_IndexReduction_replaceDummyDerivativesVar((void*)((char*)(&(boxvar_lit_IndexReduction_replaceDummyDerivativesVar
).header) + 3))
, _ht, NULL((void*)0));
2791#line 2791 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
2792
2793#line 4075 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
2794 tmpMeta[0] = mmc_mk_box2(0, boxvar_IndexReduction_replaceDummyDerivativesExp((void*)((char*)(&(boxvar_lit_IndexReduction_replaceDummyDerivativesExp
).header) + 3))
, _ht);
2795#line 4075 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
2796 omc_BackendDAEUtil_traverseBackendDAEExpsEqns(threadData, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_outShared), 6))(*(void**)(((void*)((void**)(((void*)((char*)(_outShared) - 3
))) + (6)))))
), boxvar_Expression_traverseSubexpressionsHelper((void*)((char*)(&(boxvar_lit_Expression_traverseSubexpressionsHelper
).header) + 3))
, tmpMeta[0]);
2797#line 2797 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
2798
2799#line 4077 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
2800 tmpMeta[0] = mmc_mk_box2(0, boxvar_IndexReduction_replaceDummyDerivativesExp((void*)((char*)(&(boxvar_lit_IndexReduction_replaceDummyDerivativesExp
).header) + 3))
, _ht);
2801#line 4077 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
2802 omc_BackendDAEUtil_traverseBackendDAEExpsEqns(threadData, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_outSyst), 10))(*(void**)(((void*)((void**)(((void*)((char*)(_outSyst) - 3))
) + (10)))))
), boxvar_Expression_traverseSubexpressionsHelper((void*)((char*)(&(boxvar_lit_Expression_traverseSubexpressionsHelper
).header) + 3))
, tmpMeta[0]);
2803#line 2803 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
2804
2805#line 4079 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
2806 tmpMeta[0] = mmc_mk_box2(0, boxvar_IndexReduction_replaceDummyDerivativesExp((void*)((char*)(&(boxvar_lit_IndexReduction_replaceDummyDerivativesExp
).header) + 3))
, _ht);
2807#line 4079 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
2808 omc_BackendDAEUtil_traverseBackendDAEExpsEqns(threadData, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_outShared), 7))(*(void**)(((void*)((void**)(((void*)((char*)(_outShared) - 3
))) + (7)))))
), boxvar_Expression_traverseSubexpressionsHelper((void*)((char*)(&(boxvar_lit_Expression_traverseSubexpressionsHelper
).header) + 3))
, tmpMeta[0]);
2809#line 2809 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
2810 _return: OMC_LABEL_UNUSED__attribute__((unused))
2811 if (out_outShared) { *out_outShared = _outShared; }
2812 return _outSyst;
2813}
2814
2815PROTECTED_FUNCTION_STATIC modelica_metatype omc_IndexReduction_replaceDummyDerivativesExp(threadData_t *threadData, modelica_metatype _inExp, modelica_metatype _iht, modelica_metatype *out_ht)
2816{
2817 modelica_metatype _outExp = NULL((void*)0);
2818 modelica_metatype _ht = NULL((void*)0);
2819 modelica_metatype tmpMeta[11] __attribute__((unused)) = {0};
2820 MMC_SO()mmc_check_stackoverflow(threadData);
2821 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
2822 // _outExp has no default value.
2823 // _ht has no default value.
2824#line 4040 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
2825
2826#line 4040 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
2827
2828#line 2828 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
2829 { /* matchcontinue expression */
2830 volatile modelica_metatype tmp4_1;volatile modelica_metatype tmp4_2;
2831 tmp4_1 = _inExp;
2832 tmp4_2 = _iht;
2833 {
2834 modelica_metatype _e = NULL((void*)0);
2835 modelica_metatype _cr = NULL((void*)0);
2836 modelica_integer _i;
2837 modelica_string _msg = NULL((void*)0);
2838 volatile mmc_switch_type tmp4;
2839 int tmp5;
2840 // _e has no default value.
2841 // _cr has no default value.
2842 // _i has no default value.
2843 // _msg has no default value.
2844 tmp4 = 0;
2845 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) {
2846 tmp3_top:
2847 threadData->mmc_jumper = &new_mmc_jumper;
2848 for (; tmp4 < 4; tmp4++) {
2849 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
2850 case 0: {
2851 modelica_integer tmp6;
2852 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;
2853 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(2)))))
;
2854 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[2],1,1)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[2]) - 3)))==(((1 +1)
<< 10) + (((1 +3) & 255) << 2)))
== 0) goto tmp3_end;
2855 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (2)))))
;
2856 if (3 != MMC_STRLEN(tmpMeta[3])(((((*(mmc_uint_t*)((void*)((char*)(tmpMeta[3]) - 3)))) >>
(3)) - 8))
|| strcmp(MMC_STRINGDATA(_OMC_LIT32)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT32).header) + 3))) - 3)))->data)
, MMC_STRINGDATA(tmpMeta[3])(((struct mmc_string*)((void*)((char*)(tmpMeta[3]) - 3)))->
data)
) != 0) goto tmp3_end;
2857 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(3)))))
;
2858 if (listEmpty(tmpMeta[4])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[4]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp3_end;
2859 tmpMeta[5] = MMC_CAR(tmpMeta[4])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[4]) - 3
))) + (1)))))
;
2860 tmpMeta[6] = MMC_CDR(tmpMeta[4])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[4]) - 3
))) + (2)))))
;
2861 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[5],6,2)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[5]) - 3)))==(((2 +1)
<< 10) + (((6 +3) & 255) << 2)))
== 0) goto tmp3_end;
2862 tmpMeta[7] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[5]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[5]) - 3
))) + (2)))))
;
2863 if (listEmpty(tmpMeta[6])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[6]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp3_end;
2864 tmpMeta[8] = MMC_CAR(tmpMeta[6])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[6]) - 3
))) + (1)))))
;
2865 tmpMeta[9] = MMC_CDR(tmpMeta[6])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[6]) - 3
))) + (2)))))
;
2866 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[8],0,1)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[8]) - 3)))==(((1 +1)
<< 10) + (((0 +3) & 255) << 2)))
== 0) goto tmp3_end;
2867 tmpMeta[10] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[8]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[8]) - 3
))) + (2)))))
;
2868 tmp6 = mmc_unbox_integer(tmpMeta[10])(((mmc_sint_t) (tmpMeta[10])) >> 1);
2869 if (!listEmpty(tmpMeta[9])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[9]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp3_end;
2870
2871 _cr = tmpMeta[7];
2872 _i = tmp6 /* pattern as ty=Integer */;
2873 _ht = tmp4_2;
2874 tmp4 += 1; /* Pattern matching succeeded; we may skip some cases if we fail */
2875#line 4048 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
2876 tmpMeta[2] = mmc_mk_box2(0, _cr, mmc_mk_integermmc_mk_icon(_i));
2877#line 4048 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
2878 _e = omc_BaseHashTable_get(threadData, tmpMeta[2], _ht);
2879#line 2879 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
2880#line 4049 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
2881 tmpMeta[0+0] = _e;
2882#line 4049 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
2883 tmpMeta[0+1] = _ht;
2884#line 2884 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
2885 goto tmp3_done;
2886 }
2887 case 1: {
2888 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;
2889 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(2)))))
;
2890 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[2],1,1)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[2]) - 3)))==(((1 +1)
<< 10) + (((1 +3) & 255) << 2)))
== 0) goto tmp3_end;
2891 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (2)))))
;
2892 if (3 != MMC_STRLEN(tmpMeta[3])(((((*(mmc_uint_t*)((void*)((char*)(tmpMeta[3]) - 3)))) >>
(3)) - 8))
|| strcmp(MMC_STRINGDATA(_OMC_LIT32)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT32).header) + 3))) - 3)))->data)
, MMC_STRINGDATA(tmpMeta[3])(((struct mmc_string*)((void*)((char*)(tmpMeta[3]) - 3)))->
data)
) != 0) goto tmp3_end;
2893 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(3)))))
;
2894 if (listEmpty(tmpMeta[4])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[4]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp3_end;
2895 tmpMeta[5] = MMC_CAR(tmpMeta[4])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[4]) - 3
))) + (1)))))
;
2896 tmpMeta[6] = MMC_CDR(tmpMeta[4])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[4]) - 3
))) + (2)))))
;
2897 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[5],6,2)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[5]) - 3)))==(((2 +1)
<< 10) + (((6 +3) & 255) << 2)))
== 0) goto tmp3_end;
2898 tmpMeta[7] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[5]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[5]) - 3
))) + (2)))))
;
2899 if (!listEmpty(tmpMeta[6])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[6]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp3_end;
2900
2901 _cr = tmpMeta[7];
2902 _ht = tmp4_2;
2903 tmp4 += 1; /* Pattern matching succeeded; we may skip some cases if we fail */
2904#line 4052 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
2905 tmpMeta[2] = mmc_mk_box2(0, _cr, mmc_mk_integermmc_mk_icon(((modelica_integer) 1)));
2906#line 4052 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
2907 _e = omc_BaseHashTable_get(threadData, tmpMeta[2], _ht);
2908#line 2908 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
2909#line 4053 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
2910 tmpMeta[0+0] = _e;
2911#line 4053 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
2912 tmpMeta[0+1] = _ht;
2913#line 2913 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
2914 goto tmp3_done;
2915 }
2916 case 2: {
2917 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;
2918 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(2)))))
;
2919 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[2],1,1)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[2]) - 3)))==(((1 +1)
<< 10) + (((1 +3) & 255) << 2)))
== 0) goto tmp3_end;
2920 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (2)))))
;
2921 if (3 != MMC_STRLEN(tmpMeta[3])(((((*(mmc_uint_t*)((void*)((char*)(tmpMeta[3]) - 3)))) >>
(3)) - 8))
|| strcmp(MMC_STRINGDATA(_OMC_LIT32)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT32).header) + 3))) - 3)))->data)
, MMC_STRINGDATA(tmpMeta[3])(((struct mmc_string*)((void*)((char*)(tmpMeta[3]) - 3)))->
data)
) != 0) goto tmp3_end;
2922 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(3)))))
;
2923 if (listEmpty(tmpMeta[4])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[4]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp3_end;
2924 tmpMeta[5] = MMC_CAR(tmpMeta[4])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[4]) - 3
))) + (1)))))
;
2925 tmpMeta[6] = MMC_CDR(tmpMeta[4])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[4]) - 3
))) + (2)))))
;
2926 if (listEmpty(tmpMeta[6])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[6]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp3_end;
2927 tmpMeta[7] = MMC_CAR(tmpMeta[6])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[6]) - 3
))) + (1)))))
;
2928 tmpMeta[8] = MMC_CDR(tmpMeta[6])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[6]) - 3
))) + (2)))))
;
2929
2930 _e = tmp4_1;
2931 _ht = tmp4_2;
2932 /* Pattern matching succeeded */
2933#line 4056 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
2934 tmpMeta[2] = stringAppend(_OMC_LIT39((void*)((char*)(&(_OMC_LIT_STRUCT39).header) + 3)),omc_ExpressionDump_printExpStr(threadData, _e));
2935#line 4056 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
2936 tmpMeta[3] = stringAppend(tmpMeta[2],_OMC_LIT40((void*)((char*)(&(_OMC_LIT_STRUCT40).header) + 3)));
2937#line 4056 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
2938 _msg = tmpMeta[3];
2939#line 2939 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
2940
2941#line 4057 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
2942 tmpMeta[2] = mmc_mk_cons(_msg, MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3)));
2943#line 4057 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
2944 omc_Error_addMessage(threadData, _OMC_LIT44((void*)((char*)(&(_OMC_LIT_STRUCT44).header) + 3)), tmpMeta[2]);
2945#line 2945 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
2946#line 4058 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
2947 tmpMeta[0+0] = _e;
2948#line 4058 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
2949 tmpMeta[0+1] = _ht;
2950#line 2950 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
2951 goto tmp3_done;
2952 }
2953 case 3: {
2954
2955 /* Pattern matching succeeded */
2956#line 4059 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
2957 tmpMeta[0+0] = _inExp;
2958#line 4059 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
2959 tmpMeta[0+1] = _iht;
2960#line 2960 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
2961 goto tmp3_done;
2962 }
2963 }
2964 goto tmp3_end;
2965 tmp3_end: ;
2966 }
2967 goto goto_2;
2968 tmp3_done:
2969 (void)tmp4;
2970 MMC_RESTORE_INTERNAL(mmc_jumper)threadData->mmc_jumper = old_jumper;;
2971 goto tmp3_done2;
2972 goto_2:;
2973 MMC_CATCH_INTERNAL(mmc_jumper)} threadData->mmc_jumper = old_jumper;mmc_catch_dummy_fn()
;}
;
2974 if (++tmp4 < 4) {
2975 goto tmp3_top;
2976 }
2977 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
2978 tmp3_done2:;
2979 }
2980 }
2981 _outExp = tmpMeta[0+0];
2982 _ht = tmpMeta[0+1];
2983 _return: OMC_LABEL_UNUSED__attribute__((unused))
2984 if (out_ht) { *out_ht = _ht; }
2985 return _outExp;
2986}
2987
2988PROTECTED_FUNCTION_STATIC modelica_metatype omc_IndexReduction_replaceFirstOrderDerivativesExp(threadData_t *threadData, modelica_metatype _inExp, modelica_metatype _iht, modelica_metatype *out_ht)
2989{
2990 modelica_metatype _outExp = NULL((void*)0);
2991 modelica_metatype _ht = NULL((void*)0);
2992 modelica_metatype tmpMeta[3] __attribute__((unused)) = {0};
2993 MMC_SO()mmc_check_stackoverflow(threadData);
2994 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
2995 // _outExp has no default value.
2996 // _ht has no default value.
2997#line 4022 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
2998
2999#line 4022 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
3000
3001#line 3001 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
3002 { /* matchcontinue expression */
3003 volatile modelica_metatype tmp4_1;volatile modelica_metatype tmp4_2;
3004 tmp4_1 = _inExp;
3005 tmp4_2 = _iht;
3006 {
3007 modelica_metatype _e = NULL((void*)0);
3008 modelica_metatype _cr = NULL((void*)0);
3009 volatile mmc_switch_type tmp4;
3010 int tmp5;
3011 // _e has no default value.
3012 // _cr has no default value.
3013 tmp4 = 0;
3014 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) {
3015 tmp3_top:
3016 threadData->mmc_jumper = &new_mmc_jumper;
3017 for (; tmp4 < 2; tmp4++) {
3018 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
3019 case 0: {
3020 if (mmc__uniontype__metarecord__typedef__equal(tmp4_1,6,2)((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))==(((2 +1) <<
10) + (((6 +3) & 255) << 2)))
== 0) goto tmp3_end;
3021 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(2)))))
;
3022
3023 _cr = tmpMeta[2];
3024 _ht = tmp4_2;
3025 /* Pattern matching succeeded */
3026#line 4028 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
3027 _e = omc_BaseHashTable_get(threadData, _cr, _ht);
3028#line 3028 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
3029#line 4029 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
3030 tmpMeta[0+0] = _e;
3031#line 4029 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
3032 tmpMeta[0+1] = _ht;
3033#line 3033 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
3034 goto tmp3_done;
3035 }
3036 case 1: {
3037
3038 /* Pattern matching succeeded */
3039#line 4030 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
3040 tmpMeta[0+0] = _inExp;
3041#line 4030 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
3042 tmpMeta[0+1] = _iht;
3043#line 3043 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
3044 goto tmp3_done;
3045 }
3046 }
3047 goto tmp3_end;
3048 tmp3_end: ;
3049 }
3050 goto goto_2;
3051 tmp3_done:
3052 (void)tmp4;
3053 MMC_RESTORE_INTERNAL(mmc_jumper)threadData->mmc_jumper = old_jumper;;
3054 goto tmp3_done2;
3055 goto_2:;
3056 MMC_CATCH_INTERNAL(mmc_jumper)} threadData->mmc_jumper = old_jumper;mmc_catch_dummy_fn()
;}
;
3057 if (++tmp4 < 2) {
3058 goto tmp3_top;
3059 }
3060 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
3061 tmp3_done2:;
3062 }
3063 }
3064 _outExp = tmpMeta[0+0];
3065 _ht = tmpMeta[0+1];
3066 _return: OMC_LABEL_UNUSED__attribute__((unused))
3067 if (out_ht) { *out_ht = _ht; }
3068 return _outExp;
3069}
3070
3071PROTECTED_FUNCTION_STATIC modelica_metatype omc_IndexReduction_crefPrefixDerN(threadData_t *threadData, modelica_integer _n, modelica_metatype _iName, modelica_metatype *out_oDerName)
3072{
3073 modelica_metatype _oName = NULL((void*)0);
3074 modelica_metatype _oDerName = NULL((void*)0);
3075 modelica_metatype tmpMeta[2] __attribute__((unused)) = {0};
3076 MMC_SO()mmc_check_stackoverflow(threadData);
3077 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
3078 // _oName has no default value.
3079 // _oDerName has no default value.
3080#line 3998 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
3081
3082#line 3998 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
3083
3084#line 3084 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
3085 { /* matchcontinue expression */
3086 volatile modelica_integer tmp4_1;
3087 tmp4_1 = _n;
3088 {
3089 modelica_metatype _dername = NULL((void*)0);
3090 volatile mmc_switch_type tmp4;
3091 int tmp5;
3092 // _dername has no default value.
3093 tmp4 = 0;
3094 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) {
3095 tmp3_top:
3096 threadData->mmc_jumper = &new_mmc_jumper;
3097 for (; tmp4 < 2; tmp4++) {
3098 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
3099 case 0: {
3100 modelica_boolean tmp6;
3101 if (0 != tmp4_1) goto tmp3_end;
3102 /* Pattern matching succeeded */
3103#line 4003 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
3104 /* Pattern-matching assignment */
3105#line 4003 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
3106 tmp6 = (_n > ((modelica_integer) 0));
3107#line 4003 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
3108 if (0 != tmp6) goto goto_2;
3109#line 3109 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
3110
3111#line 4004 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
3112 _dername = omc_ComponentReference_crefPrefixDer(threadData, _iName);
3113#line 3113 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
3114#line 4005 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
3115 tmpMeta[0+0] = _iName;
3116#line 4005 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
3117 tmpMeta[0+1] = _dername;
3118#line 3118 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
3119 goto tmp3_done;
3120 }
3121 case 1: {
3122
3123 /* Pattern matching succeeded */
3124#line 4009 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
3125 _dername = omc_ComponentReference_crefPrefixDer(threadData, _iName);
3126#line 3126 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
3127#line 4010 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
3128 tmpMeta[0+0] = omc_IndexReduction_crefPrefixDerN(threadData, ((modelica_integer) -1) + _n, _dername, &tmpMeta[0+1]);
3129#line 3129 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
3130 goto tmp3_done;
3131 }
3132 }
3133 goto tmp3_end;
3134 tmp3_end: ;
3135 }
3136 goto goto_2;
3137 tmp3_done:
3138 (void)tmp4;
3139 MMC_RESTORE_INTERNAL(mmc_jumper)threadData->mmc_jumper = old_jumper;;
3140 goto tmp3_done2;
3141 goto_2:;
3142 MMC_CATCH_INTERNAL(mmc_jumper)} threadData->mmc_jumper = old_jumper;mmc_catch_dummy_fn()
;}
;
3143 if (++tmp4 < 2) {
3144 goto tmp3_top;
3145 }
3146 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
3147 tmp3_done2:;
3148 }
3149 }
3150 _oName = tmpMeta[0+0];
3151 _oDerName = tmpMeta[0+1];
3152 _return: OMC_LABEL_UNUSED__attribute__((unused))
3153 if (out_oDerName) { *out_oDerName = _oDerName; }
3154 return _oName;
3155}
3156PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_IndexReduction_crefPrefixDerN(threadData_t *threadData, modelica_metatype _n, modelica_metatype _iName, modelica_metatype *out_oDerName)
3157{
3158 modelica_integer tmp1;
3159 modelica_metatype _oName = NULL((void*)0);
3160 tmp1 = mmc_unbox_integer(_n)(((mmc_sint_t) (_n)) >> 1);
3161 _oName = omc_IndexReduction_crefPrefixDerN(threadData, tmp1, _iName, out_oDerName);
3162 /* skip box _oName; DAE.ComponentRef */
3163 /* skip box _oDerName; DAE.ComponentRef */
3164 return _oName;
3165}
3166
3167PROTECTED_FUNCTION_STATIC modelica_metatype omc_IndexReduction_makeDummyVarandDummyDerivative(threadData_t *threadData, modelica_metatype _inVar, modelica_integer _level, modelica_metatype _inTpl)
3168{
3169 modelica_metatype _oTpl = NULL((void*)0);
3170 modelica_metatype tmpMeta[16] __attribute__((unused)) = {0};
3171 MMC_SO()mmc_check_stackoverflow(threadData);
3172 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
3173 // _oTpl has no default value.
3174#line 3174 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
3175 { /* matchcontinue expression */
3176 volatile modelica_metatype tmp3_1;volatile modelica_metatype tmp3_2;
3177 tmp3_1 = _inVar;
3178 tmp3_2 = _inTpl;
3179 {
3180 modelica_metatype _ht = NULL((void*)0);
3181 modelica_metatype _vars = NULL((void*)0);
3182 modelica_metatype _name = NULL((void*)0);
3183 modelica_metatype _dummyderName = NULL((void*)0);
3184 modelica_metatype _dir = NULL((void*)0);
3185 modelica_metatype _prl = NULL((void*)0);
3186 modelica_metatype _tp = NULL((void*)0);
3187 modelica_metatype _dim = NULL((void*)0);
3188 modelica_metatype _source = NULL((void*)0);
3189 modelica_metatype _odattr = NULL((void*)0);
3190 modelica_metatype _ts = NULL((void*)0);
3191 modelica_metatype _hideResult = NULL((void*)0);
3192 modelica_metatype _dattr = NULL((void*)0);
3193 modelica_metatype _comment = NULL((void*)0);
3194 modelica_metatype _ct = NULL((void*)0);
3195 modelica_metatype _dummy_state = NULL((void*)0);
3196 modelica_metatype _dummy_derstate = NULL((void*)0);
3197 modelica_integer _diffindex;
3198 modelica_integer _dn;
3199 modelica_metatype _kind = NULL((void*)0);
3200 modelica_string _msg = NULL((void*)0);
3201 modelica_metatype _io = NULL((void*)0);
3202 volatile mmc_switch_type tmp3;
3203 int tmp4;
3204 // _ht has no default value.
3205 // _vars has no default value.
3206 // _name has no default value.
3207 // _dummyderName has no default value.
3208 // _dir has no default value.
3209 // _prl has no default value.
3210 // _tp has no default value.
3211 // _dim has no default value.
3212 // _source has no default value.
3213 // _odattr has no default value.
3214 // _ts has no default value.
3215 // _hideResult has no default value.
3216 // _dattr has no default value.
3217 // _comment has no default value.
3218 // _ct has no default value.
3219 // _dummy_state has no default value.
3220 // _dummy_derstate has no default value.
3221 // _diffindex has no default value.
3222 // _dn has no default value.
3223 // _kind has no default value.
3224 // _msg has no default value.
3225 // _io has no default value.
3226 tmp3 = 0;
3227 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) {
3228 tmp2_top:
3229 threadData->mmc_jumper = &new_mmc_jumper;
3230 for (; tmp3 < 2; tmp3++) {
3231 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
3232 case 0: {
3233 modelica_integer tmp5;
3234 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
3235 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(3)))))
;
3236 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[2],1,3)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[2]) - 3)))==(((3 +1)
<< 10) + (((1 +3) & 255) << 2)))
== 0) goto tmp2_end;
3237 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (2)))))
;
3238 tmp5 = mmc_unbox_integer(tmpMeta[3])(((mmc_sint_t) (tmpMeta[3])) >> 1);
3239 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(4)))))
;
3240 tmpMeta[5] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 5))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(5)))))
;
3241 tmpMeta[6] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 6))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(6)))))
;
3242 tmpMeta[7] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 9))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(9)))))
;
3243 tmpMeta[8] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 10))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(10)))))
;
3244 tmpMeta[9] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 12))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(12)))))
;
3245 tmpMeta[10] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 13))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(13)))))
;
3246 tmpMeta[11] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 14))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(14)))))
;
3247 tmpMeta[12] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 15))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(15)))))
;
3248 tmpMeta[13] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 16))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(16)))))
;
3249 tmpMeta[14] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_2), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(1)))))
;
3250 tmpMeta[15] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_2), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(2)))))
;
3251 _name = tmpMeta[1];
3252 _diffindex = tmp5 /* pattern as ty=Integer */;
3253 _dir = tmpMeta[4];
3254 _prl = tmpMeta[5];
3255 _tp = tmpMeta[6];
3256 _dim = tmpMeta[7];
3257 _source = tmpMeta[8];
3258 _ts = tmpMeta[9];
3259 _hideResult = tmpMeta[10];
3260 _comment = tmpMeta[11];
3261 _ct = tmpMeta[12];
3262 _io = tmpMeta[13];
3263 _vars = tmpMeta[14];
3264 _ht = tmpMeta[15];
3265 /* Pattern matching succeeded */
3266#line 3963 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
3267 _dn = modelica_integer_max((modelica_integer)(_diffindex - _level),(modelica_integer)(((modelica_integer) 0)));
3268#line 3268 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
3269
3270#line 3965 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
3271 _name = omc_IndexReduction_crefPrefixDerN(threadData, _dn, _name ,&_dummyderName);
3272#line 3272 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
3273
3274#line 3966 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
3275 tmpMeta[1] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
3276#line 3966 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
3277 tmpMeta[2] = mmc_mk_box3(12, &DAE_SymbolicOperation_NEW__DUMMY__DER__desc, _dummyderName, tmpMeta[1]);
3278#line 3966 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
3279 omc_ElementSource_addSymbolicTransformation(threadData, _source, tmpMeta[2]);
3280#line 3280 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
3281
3282#line 3968 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
3283 _dattr = omc_BackendVariable_getVariableAttributefromType(threadData, _tp);
3284#line 3284 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
3285
3286#line 3969 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
3287 _odattr = omc_DAEUtil_setFixedAttr(threadData, mmc_mk_some(_dattr), _OMC_LIT46((void*)((char*)(&(_OMC_LIT_STRUCT46).header) + 3)));
3288#line 3288 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
3289
3290#line 3970 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
3291 tmpMeta[1] = mmc_mk_box17(3, &BackendDAE_Var_VAR__desc, _dummyderName, _OMC_LIT47((void*)((char*)(&(_OMC_LIT_STRUCT47).header) + 3)), _OMC_LIT48((void*)((char*)(&(_OMC_LIT_STRUCT48).header) + 3)), _prl, _tp, mmc_mk_none()((void*)((char*)(&(mmc_none).header) + 3)), mmc_mk_none()((void*)((char*)(&(mmc_none).header) + 3)), _dim, _source, _odattr, _ts, _hideResult, _comment, _ct, _io, mmc_mk_boolean(0)((0) != 0 ? (mmc_mk_icon(1)) : (mmc_mk_icon(0))));
3292#line 3970 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
3293 _dummy_derstate = tmpMeta[1];
3294#line 3294 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
3295
3296#line 3971 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
3297 _kind = ((_dn == ((modelica_integer) 0))?_OMC_LIT49((void*)((char*)(&(_OMC_LIT_STRUCT49).header) + 3)):_OMC_LIT47((void*)((char*)(&(_OMC_LIT_STRUCT47).header) + 3)));
3298#line 3298 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
3299
3300#line 3972 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
3301 tmpMeta[1] = mmc_mk_box17(3, &BackendDAE_Var_VAR__desc, _name, _kind, _dir, _prl, _tp, mmc_mk_none()((void*)((char*)(&(mmc_none).header) + 3)), mmc_mk_none()((void*)((char*)(&(mmc_none).header) + 3)), _dim, _source, _odattr, _ts, _hideResult, _comment, _ct, _io, mmc_mk_boolean(0)((0) != 0 ? (mmc_mk_icon(1)) : (mmc_mk_icon(0))));
3302#line 3972 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
3303 _dummy_state = tmpMeta[1];
3304#line 3304 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
3305
3306#line 3973 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
3307 _dummy_state = ((_dn == ((modelica_integer) 0))?_inVar:_dummy_state);
3308#line 3308 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
3309
3310#line 3974 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
3311 _dummy_state = omc_BackendVariable_setVarKind(threadData, _dummy_state, _kind);
3312#line 3312 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
3313
3314#line 3975 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
3315 _vars = omc_BackendVariable_addVar(threadData, _dummy_derstate, _vars);
3316#line 3316 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
3317
3318#line 3976 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
3319 _vars = omc_BackendVariable_addVar(threadData, _dummy_state, _vars);
3320#line 3320 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
3321
3322#line 3977 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
3323 _diffindex = ((modelica_integer) 1) + _dn;
3324#line 3324 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
3325
3326#line 3978 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
3327 tmpMeta[1] = mmc_mk_box2(0, _name, mmc_mk_integermmc_mk_icon(_diffindex));
3328#line 3978 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
3329 tmpMeta[2] = mmc_mk_box2(0, tmpMeta[1], omc_Expression_crefExp(threadData, _dummyderName));
3330#line 3978 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
3331 _ht = omc_BaseHashTable_add(threadData, tmpMeta[2], _ht);
3332#line 3332 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
3333#line 3979 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
3334 tmpMeta[1] = mmc_mk_box2(0, _vars, _ht);
3335#line 3979 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
3336 tmpMeta[0] = tmpMeta[1];
3337#line 3337 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
3338 goto tmp2_done;
3339 }
3340 case 1: {
3341
3342 /* Pattern matching succeeded */
3343#line 3983 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
3344 tmpMeta[1] = stringAppend(_OMC_LIT50((void*)((char*)(&(_OMC_LIT_STRUCT50).header) + 3)),omc_BackendDump_varString(threadData, _inVar));
3345#line 3983 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
3346 tmpMeta[2] = stringAppend(tmpMeta[1],_OMC_LIT40((void*)((char*)(&(_OMC_LIT_STRUCT40).header) + 3)));
3347#line 3983 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
3348 _msg = tmpMeta[2];
3349#line 3349 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
3350
3351#line 3984 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
3352 tmpMeta[1] = mmc_mk_cons(_msg, MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3)));
3353#line 3984 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
3354 omc_Error_addMessage(threadData, _OMC_LIT8((void*)((char*)(&(_OMC_LIT_STRUCT8).header) + 3)), tmpMeta[1]);
3355#line 3355 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
3356#line 3985 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
3357 goto goto_1;
3358#line 3358 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
3359 goto tmp2_done;
3360 }
3361 }
3362 goto tmp2_end;
3363 tmp2_end: ;
3364 }
3365 goto goto_1;
3366 tmp2_done:
3367 (void)tmp3;
3368 MMC_RESTORE_INTERNAL(mmc_jumper)threadData->mmc_jumper = old_jumper;;
3369 goto tmp2_done2;
3370 goto_1:;
3371 MMC_CATCH_INTERNAL(mmc_jumper)} threadData->mmc_jumper = old_jumper;mmc_catch_dummy_fn()
;}
;
3372 if (++tmp3 < 2) {
3373 goto tmp2_top;
3374 }
3375 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
3376 tmp2_done2:;
3377 }
3378 }
3379 _oTpl = tmpMeta[0];
3380 _return: OMC_LABEL_UNUSED__attribute__((unused))
3381 return _oTpl;
3382}
3383PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_IndexReduction_makeDummyVarandDummyDerivative(threadData_t *threadData, modelica_metatype _inVar, modelica_metatype _level, modelica_metatype _inTpl)
3384{
3385 modelica_integer tmp1;
3386 modelica_metatype _oTpl = NULL((void*)0);
3387 tmp1 = mmc_unbox_integer(_level)(((mmc_sint_t) (_level)) >> 1);
3388 _oTpl = omc_IndexReduction_makeDummyVarandDummyDerivative(threadData, _inVar, tmp1, _inTpl);
3389 /* skip box _oTpl; tuple<BackendDAE.Variables, tuple<array<list<tuple<tuple<DAE.ComponentRef, #Integer>, #Integer>>>, tuple<#Integer, #Integer, array<Option<tuple<tuple<DAE.ComponentRef, #Integer>, DAE.Exp>>>>, #Integer, tuple<.HashTableCrIntToExp.FuncHashCref<function>(tuple<DAE.ComponentRef, #Integer> cr, #Integer mod) => #Integer, .HashTableCrIntToExp.FuncCrefEqual<function>(tuple<DAE.ComponentRef, #Integer> cr1, tuple<DAE.ComponentRef, #Integer> cr2) => #Boolean, .HashTableCrIntToExp.FuncCrefStr<function>(tuple<DAE.ComponentRef, #Integer> cr) => String, .HashTableCrIntToExp.FuncExpStr<function>(DAE.Exp exp) => String>>> */
3390 return _oTpl;
3391}
3392
3393PROTECTED_FUNCTION_STATIC modelica_metatype omc_IndexReduction_addDummyStates(threadData_t *threadData, modelica_metatype _dummyStates, modelica_integer _level, modelica_metatype _repl, modelica_metatype _inSystem, modelica_metatype _iHt, modelica_metatype *out_oHt)
3394{
3395 modelica_metatype _osyst = NULL((void*)0);
3396 modelica_metatype _oHt = NULL((void*)0);
3397 modelica_metatype tmpMeta[6] __attribute__((unused)) = {0};
3398 MMC_SO()mmc_check_stackoverflow(threadData);
3399 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
3400 // _osyst has no default value.
3401 // _oHt has no default value.
3402#line 3910 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
3403
3404#line 3910 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
3405
3406#line 3406 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
3407 { /* match expression */
3408 modelica_metatype tmp4_1;modelica_metatype tmp4_2;
3409 tmp4_1 = _dummyStates;
3410 tmp4_2 = _inSystem;
3411 {
3412 modelica_metatype _ht = NULL((void*)0);
3413 modelica_metatype _vars = NULL((void*)0);
3414 modelica_metatype _syst = NULL((void*)0);
3415 volatile mmc_switch_type tmp4;
3416 int tmp5;
3417 // _ht has no default value.
3418 // _vars has no default value.
3419 // _syst has no default value.
3420 tmp4 = 0;
3421 for (; tmp4 < 2; tmp4++) {
3422 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
3423 case 0: {
3424 if (!listEmpty(tmp4_1)((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp3_end;
3425
3426 /* Pattern matching succeeded */
3427#line 3916 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
3428 tmpMeta[0+0] = _inSystem;
3429#line 3916 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
3430 tmpMeta[0+1] = _iHt;
3431#line 3431 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
3432 goto tmp3_done;
3433 }
3434 case 1: {
3435
3436 _syst = tmp4_2;
3437 /* Pattern matching succeeded */
3438#line 3920 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
3439 /* Pattern-matching assignment */
3440#line 3920 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
3441 tmpMeta[2] = mmc_mk_box2(0, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_syst), 2))(*(void**)(((void*)((void**)(((void*)((char*)(_syst) - 3))) +
(2)))))
), _iHt);
3442#line 3920 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
3443 tmpMeta[3] = omc_List_fold1(threadData, _dummyStates, boxvar_IndexReduction_makeDummyVarandDummyDerivative((void*)((char*)(&(boxvar_lit_IndexReduction_makeDummyVarandDummyDerivative
).header) + 3))
, mmc_mk_integermmc_mk_icon(_level), tmpMeta[2]);
3444#line 3920 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
3445 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[3]), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[3]) - 3
))) + (1)))))
;
3446#line 3920 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
3447 tmpMeta[5] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[3]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[3]) - 3
))) + (2)))))
;
3448#line 3920 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
3449 _vars = tmpMeta[4];
3450#line 3920 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
3451 _ht = tmpMeta[5];
3452#line 3452 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
3453
3454#line 3921 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
3455 tmpMeta[2] = MMC_TAGPTR(mmc_alloc_words(11))((void*)((char*)(mmc_alloc_words(11)) + 3));
3456#line 3921 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
3457 memcpy(MMC_UNTAGPTR(tmpMeta[2])((void*)((char*)(tmpMeta[2]) - 3)), MMC_UNTAGPTR(_syst)((void*)((char*)(_syst) - 3)), 11*sizeof(modelica_metatype));
3458#line 3921 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
3459 ((modelica_metatype*)MMC_UNTAGPTR(tmpMeta[2])((void*)((char*)(tmpMeta[2]) - 3)))[2] = omc_BackendVariable_traverseBackendDAEVarsWithUpdate(threadData, _vars, boxvar_IndexReduction_replaceDummyDerivativesVar((void*)((char*)(&(boxvar_lit_IndexReduction_replaceDummyDerivativesVar
).header) + 3))
, _ht, NULL((void*)0));
3460#line 3921 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
3461 _syst = tmpMeta[2];
3462#line 3462 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
3463
3464#line 3922 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
3465 tmpMeta[2] = mmc_mk_box2(0, boxvar_IndexReduction_replaceDummyDerivativesExp((void*)((char*)(&(boxvar_lit_IndexReduction_replaceDummyDerivativesExp
).header) + 3))
, _ht);
3466#line 3922 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
3467 omc_BackendDAEUtil_traverseBackendDAEExpsEqns(threadData, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_syst), 3))(*(void**)(((void*)((void**)(((void*)((char*)(_syst) - 3))) +
(3)))))
), boxvar_Expression_traverseSubexpressionsHelper((void*)((char*)(&(boxvar_lit_Expression_traverseSubexpressionsHelper
).header) + 3))
, tmpMeta[2]);
3468#line 3468 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
3469
3470#line 3924 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
3471 tmpMeta[2] = mmc_mk_box2(0, boxvar_IndexReduction_replaceFirstOrderDerivativesExp((void*)((char*)(&(boxvar_lit_IndexReduction_replaceFirstOrderDerivativesExp
).header) + 3))
, _repl);
3472#line 3924 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
3473 omc_BackendDAEUtil_traverseBackendDAEExpsEqns(threadData, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_syst), 3))(*(void**)(((void*)((void**)(((void*)((char*)(_syst) - 3))) +
(3)))))
), boxvar_Expression_traverseSubexpressionsHelper((void*)((char*)(&(boxvar_lit_Expression_traverseSubexpressionsHelper
).header) + 3))
, tmpMeta[2]);
3474#line 3474 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
3475#line 3926 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
3476 tmpMeta[0+0] = _syst;
3477#line 3926 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
3478 tmpMeta[0+1] = _ht;
3479#line 3479 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
3480 goto tmp3_done;
3481 }
3482 }
3483 goto tmp3_end;
3484 tmp3_end: ;
3485 }
3486 goto goto_2;
3487 goto_2:;
3488 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
3489 goto tmp3_done;
3490 tmp3_done:;
3491 }
3492 }
3493 _osyst = tmpMeta[0+0];
3494 _oHt = tmpMeta[0+1];
3495 _return: OMC_LABEL_UNUSED__attribute__((unused))
3496 if (out_oHt) { *out_oHt = _oHt; }
3497 return _osyst;
3498}
3499PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_IndexReduction_addDummyStates(threadData_t *threadData, modelica_metatype _dummyStates, modelica_metatype _level, modelica_metatype _repl, modelica_metatype _inSystem, modelica_metatype _iHt, modelica_metatype *out_oHt)
3500{
3501 modelica_integer tmp1;
3502 modelica_metatype _osyst = NULL((void*)0);
3503 tmp1 = mmc_unbox_integer(_level)(((mmc_sint_t) (_level)) >> 1);
3504 _osyst = omc_IndexReduction_addDummyStates(threadData, _dummyStates, tmp1, _repl, _inSystem, _iHt, out_oHt);
3505 /* skip box _osyst; BackendDAE.EqSystem */
3506 /* skip box _oHt; tuple<array<list<tuple<tuple<DAE.ComponentRef, #Integer>, #Integer>>>, tuple<#Integer, #Integer, array<Option<tuple<tuple<DAE.ComponentRef, #Integer>, DAE.Exp>>>>, #Integer, tuple<.HashTableCrIntToExp.FuncHashCref<function>(tuple<DAE.ComponentRef, #Integer> cr, #Integer mod) => #Integer, .HashTableCrIntToExp.FuncCrefEqual<function>(tuple<DAE.ComponentRef, #Integer> cr1, tuple<DAE.ComponentRef, #Integer> cr2) => #Boolean, .HashTableCrIntToExp.FuncCrefStr<function>(tuple<DAE.ComponentRef, #Integer> cr) => String, .HashTableCrIntToExp.FuncExpStr<function>(DAE.Exp exp) => String>> */
3507 return _osyst;
3508}
3509
3510PROTECTED_FUNCTION_STATIC modelica_metatype omc_IndexReduction_makeAllDummyVarandDummyDerivativeRepl1(threadData_t *threadData, modelica_integer _diffCount, modelica_integer _diffedCount, modelica_metatype _iOrigName, modelica_metatype _iName, modelica_metatype _inVar, modelica_metatype _vars, modelica_metatype _so, modelica_metatype _iVarLst, modelica_metatype _iHt, modelica_metatype *out_oHt)
3511{
3512 modelica_metatype _oVarLst = NULL((void*)0);
3513 modelica_metatype _oHt = NULL((void*)0);
3514 modelica_metatype tmpMeta[13] __attribute__((unused)) = {0};
3515 MMC_SO()mmc_check_stackoverflow(threadData);
3516 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
3517 // _oVarLst has no default value.
3518 // _oHt has no default value.
3519#line 3844 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
3520
3521#line 3844 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
3522
3523#line 3523 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
3524 { /* matchcontinue expression */
3525 volatile modelica_integer tmp4_1;volatile modelica_metatype tmp4_2;
3526 tmp4_1 = _diffCount;
3527 tmp4_2 = _inVar;
3528 {
3529 modelica_metatype _ht = NULL((void*)0);
3530 modelica_metatype _name = NULL((void*)0);
3531 modelica_metatype _dir = NULL((void*)0);
3532 modelica_metatype _prl = NULL((void*)0);
3533 modelica_metatype _tp = NULL((void*)0);
3534 modelica_metatype _dim = NULL((void*)0);
3535 modelica_metatype _source = NULL((void*)0);
3536 modelica_metatype _odattr = NULL((void*)0);
3537 modelica_metatype _ts = NULL((void*)0);
3538 modelica_metatype _hideResult = NULL((void*)0);
3539 modelica_metatype _dattr = NULL((void*)0);
3540 modelica_metatype _comment = NULL((void*)0);
3541 modelica_metatype _ct = NULL((void*)0);
3542 modelica_metatype _var = NULL((void*)0);
3543 modelica_metatype _e = NULL((void*)0);
3544 modelica_metatype _io = NULL((void*)0);
3545 volatile mmc_switch_type tmp4;
3546 int tmp5;
3547 // _ht has no default value.
3548 // _name has no default value.
3549 // _dir has no default value.
3550 // _prl has no default value.
3551 // _tp has no default value.
3552 // _dim has no default value.
3553 // _source has no default value.
3554 // _odattr has no default value.
3555 // _ts has no default value.
3556 // _hideResult has no default value.
3557 // _dattr has no default value.
3558 // _comment has no default value.
3559 // _ct has no default value.
3560 // _var has no default value.
3561 // _e has no default value.
3562 // _io has no default value.
3563 tmp4 = 0;
3564 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) {
3565 tmp3_top:
3566 threadData->mmc_jumper = &new_mmc_jumper;
3567 for (; tmp4 < 3; tmp4++) {
3568 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
3569 case 0: {
3570 if (0 != tmp4_1) goto tmp3_end;
3571
3572 /* Pattern matching succeeded */
3573#line 3864 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
3574 tmpMeta[0+0] = _iVarLst;
3575#line 3864 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
3576 tmpMeta[0+1] = _iHt;
3577#line 3577 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
3578 goto tmp3_done;
3579 }
3580 case 1: {
3581 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(2)))))
;
3582 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(4)))))
;
3583 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 5))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(5)))))
;
3584 tmpMeta[5] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 6))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(6)))))
;
3585 tmpMeta[6] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 9))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(9)))))
;
3586 tmpMeta[7] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 10))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(10)))))
;
3587 tmpMeta[8] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 12))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(12)))))
;
3588 tmpMeta[9] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 13))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(13)))))
;
3589 tmpMeta[10] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 14))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(14)))))
;
3590 tmpMeta[11] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 15))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(15)))))
;
3591 tmpMeta[12] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 16))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(16)))))
;
3592
3593 _name = tmpMeta[2];
3594 _dir = tmpMeta[3];
3595 _prl = tmpMeta[4];
3596 _tp = tmpMeta[5];
3597 _dim = tmpMeta[6];
3598 _source = tmpMeta[7];
3599 _ts = tmpMeta[8];
3600 _hideResult = tmpMeta[9];
3601 _comment = tmpMeta[10];
3602 _ct = tmpMeta[11];
3603 _io = tmpMeta[12];
3604 /* Pattern matching succeeded */
3605#line 3880 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
3606 _name = omc_ComponentReference_crefPrefixDer(threadData, _iName);
3607#line 3607 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
3608
3609#line 3882 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
3610 _e = omc_Expression_crefExp(threadData, _name);
3611#line 3611 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
3612
3613#line 3883 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
3614 tmpMeta[2] = mmc_mk_box2(0, _iOrigName, mmc_mk_integermmc_mk_icon(_diffedCount));
3615#line 3883 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
3616 tmpMeta[3] = mmc_mk_box2(0, tmpMeta[2], _e);
3617#line 3883 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
3618 _ht = omc_BaseHashTable_add(threadData, tmpMeta[3], _iHt);
3619#line 3619 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
3620
3621#line 3886 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
3622 _dattr = omc_BackendVariable_getVariableAttributefromType(threadData, _tp);
3623#line 3623 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
3624
3625#line 3887 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
3626 _odattr = omc_DAEUtil_setFixedAttr(threadData, mmc_mk_some(_dattr), _OMC_LIT46((void*)((char*)(&(_OMC_LIT_STRUCT46).header) + 3)));
3627#line 3627 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
3628
3629#line 3888 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
3630 tmpMeta[2] = mmc_mk_box17(3, &BackendDAE_Var_VAR__desc, _name, _OMC_LIT47((void*)((char*)(&(_OMC_LIT_STRUCT47).header) + 3)), _dir, _prl, _tp, mmc_mk_none()((void*)((char*)(&(mmc_none).header) + 3)), mmc_mk_none()((void*)((char*)(&(mmc_none).header) + 3)), _dim, _source, _odattr, _ts, _hideResult, _comment, _ct, _io, mmc_mk_boolean(0)((0) != 0 ? (mmc_mk_icon(1)) : (mmc_mk_icon(0))));
3631#line 3888 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
3632 _var = tmpMeta[2];
3633#line 3633 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
3634#line 3889 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
3635 tmpMeta[2] = mmc_mk_cons(_var, _iVarLst);
3636#line 3889 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
3637 tmpMeta[0+0] = omc_IndexReduction_makeAllDummyVarandDummyDerivativeRepl1(threadData, ((modelica_integer) -1) + _diffCount, ((modelica_integer) 1) + _diffedCount, _iOrigName, _name, _inVar, _vars, _so, tmpMeta[2], _ht, &tmpMeta[0+1]);
3638#line 3638 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
3639 goto tmp3_done;
3640 }
3641 case 2: {
3642
3643 /* Pattern matching succeeded */
3644#line 3893 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
3645 omc_Error_addMessage(threadData, _OMC_LIT8((void*)((char*)(&(_OMC_LIT_STRUCT8).header) + 3)), _OMC_LIT52((void*)((char*)(&(_OMC_LIT_STRUCT52).header) + 3)));
3646#line 3646 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
3647#line 3894 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
3648 goto goto_2;
3649#line 3649 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
3650 goto tmp3_done;
3651 }
3652 }
3653 goto tmp3_end;
3654 tmp3_end: ;
3655 }
3656 goto goto_2;
3657 tmp3_done:
3658 (void)tmp4;
3659 MMC_RESTORE_INTERNAL(mmc_jumper)threadData->mmc_jumper = old_jumper;;
3660 goto tmp3_done2;
3661 goto_2:;
3662 MMC_CATCH_INTERNAL(mmc_jumper)} threadData->mmc_jumper = old_jumper;mmc_catch_dummy_fn()
;}
;
3663 if (++tmp4 < 3) {
3664 goto tmp3_top;
3665 }
3666 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
3667 tmp3_done2:;
3668 }
3669 }
3670 _oVarLst = tmpMeta[0+0];
3671 _oHt = tmpMeta[0+1];
3672 _return: OMC_LABEL_UNUSED__attribute__((unused))
3673 if (out_oHt) { *out_oHt = _oHt; }
3674 return _oVarLst;
3675}
3676PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_IndexReduction_makeAllDummyVarandDummyDerivativeRepl1(threadData_t *threadData, modelica_metatype _diffCount, modelica_metatype _diffedCount, modelica_metatype _iOrigName, modelica_metatype _iName, modelica_metatype _inVar, modelica_metatype _vars, modelica_metatype _so, modelica_metatype _iVarLst, modelica_metatype _iHt, modelica_metatype *out_oHt)
3677{
3678 modelica_integer tmp1;
3679 modelica_integer tmp2;
3680 modelica_metatype _oVarLst = NULL((void*)0);
3681 tmp1 = mmc_unbox_integer(_diffCount)(((mmc_sint_t) (_diffCount)) >> 1);
3682 tmp2 = mmc_unbox_integer(_diffedCount)(((mmc_sint_t) (_diffedCount)) >> 1);
3683 _oVarLst = omc_IndexReduction_makeAllDummyVarandDummyDerivativeRepl1(threadData, tmp1, tmp2, _iOrigName, _iName, _inVar, _vars, _so, _iVarLst, _iHt, out_oHt);
3684 /* skip box _oVarLst; list<BackendDAE.Var> */
3685 /* skip box _oHt; tuple<array<list<tuple<tuple<DAE.ComponentRef, #Integer>, #Integer>>>, tuple<#Integer, #Integer, array<Option<tuple<tuple<DAE.ComponentRef, #Integer>, DAE.Exp>>>>, #Integer, tuple<.HashTableCrIntToExp.FuncHashCref<function>(tuple<DAE.ComponentRef, #Integer> cr, #Integer mod) => #Integer, .HashTableCrIntToExp.FuncCrefEqual<function>(tuple<DAE.ComponentRef, #Integer> cr1, tuple<DAE.ComponentRef, #Integer> cr2) => #Boolean, .HashTableCrIntToExp.FuncCrefStr<function>(tuple<DAE.ComponentRef, #Integer> cr) => String, .HashTableCrIntToExp.FuncExpStr<function>(DAE.Exp exp) => String>> */
3686 return _oVarLst;
3687}
3688
3689PROTECTED_FUNCTION_STATIC modelica_metatype omc_IndexReduction_makeAllDummyVarandDummyDerivativeRepl(threadData_t *threadData, modelica_metatype _inVar, modelica_metatype _inTpl, modelica_metatype *out_oTpl)
3690{
3691 modelica_metatype _outVar = NULL((void*)0);
3692 modelica_metatype _oTpl = NULL((void*)0);
3693 modelica_metatype tmpMeta[23] __attribute__((unused)) = {0};
3694 MMC_SO()mmc_check_stackoverflow(threadData);
3695 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
3696 // _outVar has no default value.
3697 // _oTpl has no default value.
3698#line 3755 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
3699
3700#line 3755 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
3701
3702#line 3702 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
3703 { /* matchcontinue expression */
3704 volatile modelica_metatype tmp4_1;volatile modelica_metatype tmp4_2;
3705 tmp4_1 = _inVar;
3706 tmp4_2 = _inTpl;
3707 {
3708 modelica_metatype _vars = NULL((void*)0);
3709 modelica_metatype _so = NULL((void*)0);
3710 modelica_metatype _ht = NULL((void*)0);
3711 modelica_metatype _name = NULL((void*)0);
3712 modelica_metatype _cr = NULL((void*)0);
3713 modelica_boolean _natural;
3714 modelica_metatype _dir = NULL((void*)0);
3715 modelica_metatype _prl = NULL((void*)0);
3716 modelica_metatype _tp = NULL((void*)0);
3717 modelica_metatype _bind = NULL((void*)0);
3718 modelica_metatype _tplExp = NULL((void*)0);
3719 modelica_metatype _dim = NULL((void*)0);
3720 modelica_metatype _source = NULL((void*)0);
3721 modelica_metatype _attr = NULL((void*)0);
3722 modelica_metatype _ts = NULL((void*)0);
3723 modelica_metatype _hideResult = NULL((void*)0);
3724 modelica_metatype _comment = NULL((void*)0);
3725 modelica_metatype _ct = NULL((void*)0);
3726 modelica_metatype _var = NULL((void*)0);
3727 modelica_integer _diffcount;
3728 modelica_metatype _varlst = NULL((void*)0);
3729 modelica_metatype _io = NULL((void*)0);
3730 volatile mmc_switch_type tmp4;
3731 int tmp5;
3732 // _vars has no default value.
3733 // _so has no default value.
3734 // _ht has no default value.
3735 // _name has no default value.
3736 // _cr has no default value.
3737 // _natural has no default value.
3738 // _dir has no default value.
3739 // _prl has no default value.
3740 // _tp has no default value.
3741 // _bind has no default value.
3742 // _tplExp has no default value.
3743 // _dim has no default value.
3744 // _source has no default value.
3745 // _attr has no default value.
3746 // _ts has no default value.
3747 // _hideResult has no default value.
3748 // _comment has no default value.
3749 // _ct has no default value.
3750 // _var has no default value.
3751 // _diffcount has no default value.
3752 // _varlst has no default value.
3753 // _io has no default value.
3754 tmp4 = 0;
3755 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) {
3756 tmp3_top:
3757 threadData->mmc_jumper = &new_mmc_jumper;
3758 for (; tmp4 < 7; tmp4++) {
3759 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
3760 case 0: {
3761 modelica_integer tmp6;
3762 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(3)))))
;
3763 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[2],1,3)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[2]) - 3)))==(((3 +1)
<< 10) + (((1 +3) & 255) << 2)))
== 0) goto tmp3_end;
3764 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (2)))))
;
3765 tmp6 = mmc_unbox_integer(tmpMeta[3])(((mmc_sint_t) (tmpMeta[3])) >> 1);
3766 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 11))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(11)))))
;
3767 if (optionNone(tmpMeta[4])(0==((((((*(mmc_uint_t*)((void*)((char*)(tmpMeta[4]) - 3)))) &
(7)) == 5)) ? ((((*(mmc_uint_t*)((void*)((char*)(tmpMeta[4])
- 3)))) >> (3+3))) : (((*(mmc_uint_t*)((void*)((char*)
(tmpMeta[4]) - 3)))) >> 10)) ? 1 : 0)
) goto tmp3_end;
3768 tmpMeta[5] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[4]), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[4]) - 3
))) + (1)))))
;
3769 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[5],0,15)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[5]) - 3)))==(((15 +1
) << 10) + (((0 +3) & 255) << 2)))
== 0) goto tmp3_end;
3770 tmpMeta[6] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[5]), 10))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[5]) - 3
))) + (10)))))
;
3771 if (optionNone(tmpMeta[6])(0==((((((*(mmc_uint_t*)((void*)((char*)(tmpMeta[6]) - 3)))) &
(7)) == 5)) ? ((((*(mmc_uint_t*)((void*)((char*)(tmpMeta[6])
- 3)))) >> (3+3))) : (((*(mmc_uint_t*)((void*)((char*)
(tmpMeta[6]) - 3)))) >> 10)) ? 1 : 0)
) goto tmp3_end;
3772 tmpMeta[7] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[6]), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[6]) - 3
))) + (1)))))
;
3773 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[7],4,0)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[7]) - 3)))==(((0 +1)
<< 10) + (((4 +3) & 255) << 2)))
== 0) goto tmp3_end;
3774
3775 _var = tmp4_1;
3776 _diffcount = tmp6 /* pattern as ty=Integer */;
3777 /* Pattern matching succeeded */
3778 /* Check guard condition after assignments */
3779 if (!(_diffcount == ((modelica_integer) 1))) goto tmp3_end;
3780#line 3781 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
3781 tmpMeta[0+0] = _var;
3782#line 3781 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
3783 tmpMeta[0+1] = _inTpl;
3784#line 3784 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
3785 goto tmp3_done;
3786 }
3787 case 1: {
3788 modelica_integer tmp7;
3789 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(3)))))
;
3790 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[2],1,3)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[2]) - 3)))==(((3 +1)
<< 10) + (((1 +3) & 255) << 2)))
== 0) goto tmp3_end;
3791 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (3)))))
;
3792 if (optionNone(tmpMeta[3])(0==((((((*(mmc_uint_t*)((void*)((char*)(tmpMeta[3]) - 3)))) &
(7)) == 5)) ? ((((*(mmc_uint_t*)((void*)((char*)(tmpMeta[3])
- 3)))) >> (3+3))) : (((*(mmc_uint_t*)((void*)((char*)
(tmpMeta[3]) - 3)))) >> 10)) ? 1 : 0)
) goto tmp3_end;
3793 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[3]), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[3]) - 3
))) + (1)))))
;
3794 tmpMeta[5] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (4)))))
;
3795 tmp7 = mmc_unbox_integer(tmpMeta[5])(((mmc_sint_t) (tmpMeta[5])) >> 1);
3796 tmpMeta[6] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 11))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(11)))))
;
3797 if (optionNone(tmpMeta[6])(0==((((((*(mmc_uint_t*)((void*)((char*)(tmpMeta[6]) - 3)))) &
(7)) == 5)) ? ((((*(mmc_uint_t*)((void*)((char*)(tmpMeta[6])
- 3)))) >> (3+3))) : (((*(mmc_uint_t*)((void*)((char*)
(tmpMeta[6]) - 3)))) >> 10)) ? 1 : 0)
) goto tmp3_end;
3798 tmpMeta[7] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[6]), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[6]) - 3
))) + (1)))))
;
3799 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[7],0,15)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[7]) - 3)))==(((15 +1
) << 10) + (((0 +3) & 255) << 2)))
== 0) goto tmp3_end;
3800 tmpMeta[8] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[7]), 10))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[7]) - 3
))) + (10)))))
;
3801 if (optionNone(tmpMeta[8])(0==((((((*(mmc_uint_t*)((void*)((char*)(tmpMeta[8]) - 3)))) &
(7)) == 5)) ? ((((*(mmc_uint_t*)((void*)((char*)(tmpMeta[8])
- 3)))) >> (3+3))) : (((*(mmc_uint_t*)((void*)((char*)
(tmpMeta[8]) - 3)))) >> 10)) ? 1 : 0)
) goto tmp3_end;
3802 tmpMeta[9] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[8]), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[8]) - 3
))) + (1)))))
;
3803 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[9],4,0)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[9]) - 3)))==(((0 +1)
<< 10) + (((4 +3) & 255) << 2)))
== 0) goto tmp3_end;
3804
3805 _var = tmp4_1;
3806 _cr = tmpMeta[4];
3807 _natural = tmp7 /* pattern as ty=Boolean */;
3808 tmp4 += 1; /* Pattern matching succeeded; we may skip some cases if we fail */
3809#line 3785 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
3810 tmpMeta[2] = mmc_mk_box4(4, &BackendDAE_VarKind_STATE__desc, mmc_mk_integermmc_mk_icon(((modelica_integer) 1)), mmc_mk_some(_cr), mmc_mk_boolean(_natural)((_natural) != 0 ? (mmc_mk_icon(1)) : (mmc_mk_icon(0))));
3811#line 3785 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
3812 _var = omc_BackendVariable_setVarKind(threadData, _var, tmpMeta[2]);
3813#line 3813 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
3814#line 3786 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
3815 tmpMeta[0+0] = _var;
3816#line 3786 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
3817 tmpMeta[0+1] = _inTpl;
3818#line 3818 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
3819 goto tmp3_done;
3820 }
3821 case 2: {
3822 modelica_integer tmp8;
3823 modelica_integer tmp9;
3824 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(2)))))
;
3825 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(3)))))
;
3826 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[3],1,3)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[3]) - 3)))==(((3 +1)
<< 10) + (((1 +3) & 255) << 2)))
== 0) goto tmp3_end;
3827 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[3]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[3]) - 3
))) + (2)))))
;
3828 tmp8 = mmc_unbox_integer(tmpMeta[4])(((mmc_sint_t) (tmpMeta[4])) >> 1);
3829 tmpMeta[5] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[3]), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[3]) - 3
))) + (3)))))
;
3830 if (!optionNone(tmpMeta[5])(0==((((((*(mmc_uint_t*)((void*)((char*)(tmpMeta[5]) - 3)))) &
(7)) == 5)) ? ((((*(mmc_uint_t*)((void*)((char*)(tmpMeta[5])
- 3)))) >> (3+3))) : (((*(mmc_uint_t*)((void*)((char*)
(tmpMeta[5]) - 3)))) >> 10)) ? 1 : 0)
) goto tmp3_end;
3831 tmpMeta[6] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[3]), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[3]) - 3
))) + (4)))))
;
3832 tmp9 = mmc_unbox_integer(tmpMeta[6])(((mmc_sint_t) (tmpMeta[6])) >> 1);
3833 tmpMeta[7] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 11))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(11)))))
;
3834 if (optionNone(tmpMeta[7])(0==((((((*(mmc_uint_t*)((void*)((char*)(tmpMeta[7]) - 3)))) &
(7)) == 5)) ? ((((*(mmc_uint_t*)((void*)((char*)(tmpMeta[7])
- 3)))) >> (3+3))) : (((*(mmc_uint_t*)((void*)((char*)
(tmpMeta[7]) - 3)))) >> 10)) ? 1 : 0)
) goto tmp3_end;
3835 tmpMeta[8] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[7]), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[7]) - 3
))) + (1)))))
;
3836 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[8],0,15)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[8]) - 3)))==(((15 +1
) << 10) + (((0 +3) & 255) << 2)))
== 0) goto tmp3_end;
3837 tmpMeta[9] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[8]), 10))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[8]) - 3
))) + (10)))))
;
3838 if (optionNone(tmpMeta[9])(0==((((((*(mmc_uint_t*)((void*)((char*)(tmpMeta[9]) - 3)))) &
(7)) == 5)) ? ((((*(mmc_uint_t*)((void*)((char*)(tmpMeta[9])
- 3)))) >> (3+3))) : (((*(mmc_uint_t*)((void*)((char*)
(tmpMeta[9]) - 3)))) >> 10)) ? 1 : 0)
) goto tmp3_end;
3839 tmpMeta[10] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[9]), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[9]) - 3
))) + (1)))))
;
3840 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[10],4,0)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[10]) - 3)))==(((0 +1
) << 10) + (((4 +3) & 255) << 2)))
== 0) goto tmp3_end;
3841 tmpMeta[11] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(1)))))
;
3842 tmpMeta[12] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(2)))))
;
3843 tmpMeta[13] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(3)))))
;
3844 tmpMeta[14] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(4)))))
;
3845 _var = tmp4_1;
3846 _name = tmpMeta[2];
3847 _diffcount = tmp8 /* pattern as ty=Integer */;
3848 _natural = tmp9 /* pattern as ty=Boolean */;
3849 _vars = tmpMeta[11];
3850 _so = tmpMeta[12];
3851 _varlst = tmpMeta[13];
3852 _ht = tmpMeta[14];
3853 tmp4 += 1; /* Pattern matching succeeded; we may skip some cases if we fail */
3854#line 3791 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
3855 _cr = omc_ComponentReference_crefPrefixDer(threadData, _name);
3856#line 3856 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
3857
3858#line 3793 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
3859 _varlst = omc_IndexReduction_makeAllDummyVarandDummyDerivativeRepl1(threadData, ((modelica_integer) -1) + _diffcount, ((modelica_integer) 2), _name, _cr, _var, _vars, _so, _varlst, _ht ,&_ht);
3860#line 3860 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
3861
3862#line 3794 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
3863 tmpMeta[2] = mmc_mk_box4(4, &BackendDAE_VarKind_STATE__desc, mmc_mk_integermmc_mk_icon(((modelica_integer) 1)), mmc_mk_none()((void*)((char*)(&(mmc_none).header) + 3)), mmc_mk_boolean(_natural)((_natural) != 0 ? (mmc_mk_icon(1)) : (mmc_mk_icon(0))));
3864#line 3794 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
3865 _var = omc_BackendVariable_setVarKind(threadData, _var, tmpMeta[2]);
3866#line 3866 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
3867#line 3795 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
3868 tmpMeta[2] = mmc_mk_box4(0, _vars, _so, _varlst, _ht);
3869#line 3795 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
3870 tmpMeta[0+0] = _var;
3871#line 3795 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
3872 tmpMeta[0+1] = tmpMeta[2];
3873#line 3873 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
3874 goto tmp3_done;
3875 }
3876 case 3: {
3877 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(2)))))
;
3878 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(3)))))
;
3879 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[3],1,3)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[3]) - 3)))==(((3 +1)
<< 10) + (((1 +3) & 255) << 2)))
== 0) goto tmp3_end;
3880 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[3]), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[3]) - 3
))) + (3)))))
;
3881 if (optionNone(tmpMeta[4])(0==((((((*(mmc_uint_t*)((void*)((char*)(tmpMeta[4]) - 3)))) &
(7)) == 5)) ? ((((*(mmc_uint_t*)((void*)((char*)(tmpMeta[4])
- 3)))) >> (3+3))) : (((*(mmc_uint_t*)((void*)((char*)
(tmpMeta[4]) - 3)))) >> 10)) ? 1 : 0)
) goto tmp3_end;
3882 tmpMeta[5] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[4]), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[4]) - 3
))) + (1)))))
;
3883 tmpMeta[6] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(4)))))
;
3884 tmpMeta[7] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 5))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(5)))))
;
3885 tmpMeta[8] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 6))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(6)))))
;
3886 tmpMeta[9] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 7))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(7)))))
;
3887 tmpMeta[10] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 8))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(8)))))
;
3888 tmpMeta[11] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 9))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(9)))))
;
3889 tmpMeta[12] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 10))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(10)))))
;
3890 tmpMeta[13] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 11))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(11)))))
;
3891 tmpMeta[14] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 12))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(12)))))
;
3892 tmpMeta[15] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 13))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(13)))))
;
3893 tmpMeta[16] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 14))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(14)))))
;
3894 tmpMeta[17] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 15))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(15)))))
;
3895 tmpMeta[18] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 16))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(16)))))
;
3896 tmpMeta[19] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(1)))))
;
3897 tmpMeta[20] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(2)))))
;
3898 tmpMeta[21] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(3)))))
;
3899 tmpMeta[22] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(4)))))
;
3900 _var = tmp4_1;
3901 _name = tmpMeta[2];
3902 _dir = tmpMeta[6];
3903 _prl = tmpMeta[7];
3904 _tp = tmpMeta[8];
3905 _bind = tmpMeta[9];
3906 _tplExp = tmpMeta[10];
3907 _dim = tmpMeta[11];
3908 _source = tmpMeta[12];
3909 _attr = tmpMeta[13];
3910 _ts = tmpMeta[14];
3911 _hideResult = tmpMeta[15];
3912 _comment = tmpMeta[16];
3913 _ct = tmpMeta[17];
3914 _io = tmpMeta[18];
3915 _vars = tmpMeta[19];
3916 _so = tmpMeta[20];
3917 _varlst = tmpMeta[21];
3918 _ht = tmpMeta[22];
3919 tmp4 += 2; /* Pattern matching succeeded; we may skip some cases if we fail */
3920#line 3800 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
3921 _varlst = omc_IndexReduction_makeAllDummyVarandDummyDerivativeRepl1(threadData, ((modelica_integer) 1), ((modelica_integer) 1), _name, _name, _var, _vars, _so, _varlst, _ht ,&_ht);
3922#line 3922 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
3923
3924#line 3801 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
3925 _cr = omc_ComponentReference_crefPrefixDer(threadData, _name);
3926#line 3926 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
3927
3928#line 3802 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
3929 tmpMeta[2] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
3930#line 3802 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
3931 tmpMeta[3] = mmc_mk_box3(12, &DAE_SymbolicOperation_NEW__DUMMY__DER__desc, _cr, tmpMeta[2]);
3932#line 3802 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
3933 _source = omc_ElementSource_addSymbolicTransformation(threadData, _source, tmpMeta[3]);
3934#line 3934 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
3935#line 3803 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
3936 tmpMeta[2] = mmc_mk_box17(3, &BackendDAE_Var_VAR__desc, _name, _OMC_LIT49((void*)((char*)(&(_OMC_LIT_STRUCT49).header) + 3)), _dir, _prl, _tp, _bind, _tplExp, _dim, _source, _attr, _ts, _hideResult, _comment, _ct, _io, mmc_mk_boolean(0)((0) != 0 ? (mmc_mk_icon(1)) : (mmc_mk_icon(0))));
3937#line 3803 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
3938 tmpMeta[3] = mmc_mk_box4(0, _vars, _so, _varlst, _ht);
3939#line 3803 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
3940 tmpMeta[0+0] = tmpMeta[2];
3941#line 3803 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
3942 tmpMeta[0+1] = tmpMeta[3];
3943#line 3943 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
3944 goto tmp3_done;
3945 }
3946 case 4: {
3947 modelica_integer tmp10;
3948 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(2)))))
;
3949 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(3)))))
;
3950 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[3],1,3)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[3]) - 3)))==(((3 +1)
<< 10) + (((1 +3) & 255) << 2)))
== 0) goto tmp3_end;
3951 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[3]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[3]) - 3
))) + (2)))))
;
3952 tmp10 = mmc_unbox_integer(tmpMeta[4])(((mmc_sint_t) (tmpMeta[4])) >> 1);
3953 tmpMeta[5] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[3]), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[3]) - 3
))) + (3)))))
;
3954 if (!optionNone(tmpMeta[5])(0==((((((*(mmc_uint_t*)((void*)((char*)(tmpMeta[5]) - 3)))) &
(7)) == 5)) ? ((((*(mmc_uint_t*)((void*)((char*)(tmpMeta[5])
- 3)))) >> (3+3))) : (((*(mmc_uint_t*)((void*)((char*)
(tmpMeta[5]) - 3)))) >> 10)) ? 1 : 0)
) goto tmp3_end;
3955 tmpMeta[6] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(4)))))
;
3956 tmpMeta[7] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 5))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(5)))))
;
3957 tmpMeta[8] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 6))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(6)))))
;
3958 tmpMeta[9] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 7))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(7)))))
;
3959 tmpMeta[10] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 8))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(8)))))
;
3960 tmpMeta[11] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 9))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(9)))))
;
3961 tmpMeta[12] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 10))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(10)))))
;
3962 tmpMeta[13] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 11))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(11)))))
;
3963 tmpMeta[14] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 12))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(12)))))
;
3964 tmpMeta[15] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 13))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(13)))))
;
3965 tmpMeta[16] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 14))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(14)))))
;
3966 tmpMeta[17] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 15))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(15)))))
;
3967 tmpMeta[18] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 16))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(16)))))
;
3968 tmpMeta[19] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(1)))))
;
3969 tmpMeta[20] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(2)))))
;
3970 tmpMeta[21] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(3)))))
;
3971 tmpMeta[22] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(4)))))
;
3972 _var = tmp4_1;
3973 _name = tmpMeta[2];
3974 _diffcount = tmp10 /* pattern as ty=Integer */;
3975 _dir = tmpMeta[6];
3976 _prl = tmpMeta[7];
3977 _tp = tmpMeta[8];
3978 _bind = tmpMeta[9];
3979 _tplExp = tmpMeta[10];
3980 _dim = tmpMeta[11];
3981 _source = tmpMeta[12];
3982 _attr = tmpMeta[13];
3983 _ts = tmpMeta[14];
3984 _hideResult = tmpMeta[15];
3985 _comment = tmpMeta[16];
3986 _ct = tmpMeta[17];
3987 _io = tmpMeta[18];
3988 _vars = tmpMeta[19];
3989 _so = tmpMeta[20];
3990 _varlst = tmpMeta[21];
3991 _ht = tmpMeta[22];
3992 tmp4 += 1; /* Pattern matching succeeded; we may skip some cases if we fail */
3993#line 3808 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
3994 _varlst = omc_IndexReduction_makeAllDummyVarandDummyDerivativeRepl1(threadData, _diffcount, ((modelica_integer) 1), _name, _name, _var, _vars, _so, _varlst, _ht ,&_ht);
3995#line 3995 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
3996
3997#line 3810 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
3998 _cr = omc_ComponentReference_crefPrefixDer(threadData, _name);
3999#line 3999 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
4000
4001#line 3811 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
4002 tmpMeta[2] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
4003#line 3811 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
4004 tmpMeta[3] = mmc_mk_box3(12, &DAE_SymbolicOperation_NEW__DUMMY__DER__desc, _cr, tmpMeta[2]);
4005#line 3811 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
4006 _source = omc_ElementSource_addSymbolicTransformation(threadData, _source, tmpMeta[3]);
4007#line 4007 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
4008#line 3812 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
4009 tmpMeta[2] = mmc_mk_box17(3, &BackendDAE_Var_VAR__desc, _name, _OMC_LIT49((void*)((char*)(&(_OMC_LIT_STRUCT49).header) + 3)), _dir, _prl, _tp, _bind, _tplExp, _dim, _source, _attr, _ts, _hideResult, _comment, _ct, _io, mmc_mk_boolean(0)((0) != 0 ? (mmc_mk_icon(1)) : (mmc_mk_icon(0))));
4010#line 3812 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
4011 tmpMeta[3] = mmc_mk_box4(0, _vars, _so, _varlst, _ht);
4012#line 3812 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
4013 tmpMeta[0+0] = tmpMeta[2];
4014#line 3812 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
4015 tmpMeta[0+1] = tmpMeta[3];
4016#line 4016 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
4017 goto tmp3_done;
4018 }
4019 case 5: {
4020 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(2)))))
;
4021 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(3)))))
;
4022 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[3],0,0)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[3]) - 3)))==(((0 +1)
<< 10) + (((0 +3) & 255) << 2)))
== 0) goto tmp3_end;
4023 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(4)))))
;
4024 tmpMeta[5] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 5))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(5)))))
;
4025 tmpMeta[6] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 6))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(6)))))
;
4026 tmpMeta[7] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 7))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(7)))))
;
4027 tmpMeta[8] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 8))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(8)))))
;
4028 tmpMeta[9] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 9))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(9)))))
;
4029 tmpMeta[10] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 10))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(10)))))
;
4030 tmpMeta[11] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 11))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(11)))))
;
4031 tmpMeta[12] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 12))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(12)))))
;
4032 tmpMeta[13] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 13))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(13)))))
;
4033 tmpMeta[14] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 14))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(14)))))
;
4034 tmpMeta[15] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 15))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(15)))))
;
4035 tmpMeta[16] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 16))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(16)))))
;
4036 tmpMeta[17] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(1)))))
;
4037 tmpMeta[18] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(2)))))
;
4038 tmpMeta[19] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(3)))))
;
4039 tmpMeta[20] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(4)))))
;
4040 _var = tmp4_1;
4041 _name = tmpMeta[2];
4042 _dir = tmpMeta[4];
4043 _prl = tmpMeta[5];
4044 _tp = tmpMeta[6];
4045 _bind = tmpMeta[7];
4046 _tplExp = tmpMeta[8];
4047 _dim = tmpMeta[9];
4048 _source = tmpMeta[10];
4049 _attr = tmpMeta[11];
4050 _ts = tmpMeta[12];
4051 _hideResult = tmpMeta[13];
4052 _comment = tmpMeta[14];
4053 _ct = tmpMeta[15];
4054 _io = tmpMeta[16];
4055 _vars = tmpMeta[17];
4056 _so = tmpMeta[18];
4057 _varlst = tmpMeta[19];
4058 _ht = tmpMeta[20];
4059 /* Pattern matching succeeded */
4060 /* Check guard condition after assignments */
4061 if (!omc_BackendVariable_varStateSelectNever(threadData, _var)) goto tmp3_end;
4062#line 3818 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
4063 _varlst = omc_IndexReduction_makeAllDummyVarandDummyDerivativeRepl1(threadData, ((modelica_integer) 1), ((modelica_integer) 1), _name, _name, _var, _vars, _so, _varlst, _ht ,&_ht);
4064#line 4064 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
4065
4066#line 3820 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
4067 _cr = omc_ComponentReference_crefPrefixDer(threadData, _name);
4068#line 4068 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
4069
4070#line 3821 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
4071 tmpMeta[2] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
4072#line 3821 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
4073 tmpMeta[3] = mmc_mk_box3(12, &DAE_SymbolicOperation_NEW__DUMMY__DER__desc, _cr, tmpMeta[2]);
4074#line 3821 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
4075 _source = omc_ElementSource_addSymbolicTransformation(threadData, _source, tmpMeta[3]);
4076#line 4076 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
4077#line 3822 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
4078 tmpMeta[2] = mmc_mk_box17(3, &BackendDAE_Var_VAR__desc, _name, _OMC_LIT49((void*)((char*)(&(_OMC_LIT_STRUCT49).header) + 3)), _dir, _prl, _tp, _bind, _tplExp, _dim, _source, _attr, _ts, _hideResult, _comment, _ct, _io, mmc_mk_boolean(0)((0) != 0 ? (mmc_mk_icon(1)) : (mmc_mk_icon(0))));
4079#line 3822 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
4080 tmpMeta[3] = mmc_mk_box4(0, _vars, _so, _varlst, _ht);
4081#line 3822 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
4082 tmpMeta[0+0] = tmpMeta[2];
4083#line 3822 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
4084 tmpMeta[0+1] = tmpMeta[3];
4085#line 4085 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
4086 goto tmp3_done;
4087 }
4088 case 6: {
4089
4090 /* Pattern matching succeeded */
4091#line 3823 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
4092 tmpMeta[0+0] = _inVar;
4093#line 3823 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
4094 tmpMeta[0+1] = _inTpl;
4095#line 4095 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
4096 goto tmp3_done;
4097 }
4098 }
4099 goto tmp3_end;
4100 tmp3_end: ;
4101 }
4102 goto goto_2;
4103 tmp3_done:
4104 (void)tmp4;
4105 MMC_RESTORE_INTERNAL(mmc_jumper)threadData->mmc_jumper = old_jumper;;
4106 goto tmp3_done2;
4107 goto_2:;
4108 MMC_CATCH_INTERNAL(mmc_jumper)} threadData->mmc_jumper = old_jumper;mmc_catch_dummy_fn()
;}
;
4109 if (++tmp4 < 7) {
4110 goto tmp3_top;
4111 }
4112 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
4113 tmp3_done2:;
4114 }
4115 }
4116 _outVar = tmpMeta[0+0];
4117 _oTpl = tmpMeta[0+1];
4118 _return: OMC_LABEL_UNUSED__attribute__((unused))
4119 if (out_oTpl) { *out_oTpl = _oTpl; }
4120 return _outVar;
4121}
4122
4123PROTECTED_FUNCTION_STATIC modelica_metatype omc_IndexReduction_addAllDummyStates(threadData_t *threadData, modelica_metatype _inSystem, modelica_metatype _so, modelica_metatype _iHt, modelica_metatype *out_oHt)
4124{
4125 modelica_metatype _osyst = NULL((void*)0);
4126 modelica_metatype _oHt = NULL((void*)0);
4127 modelica_metatype _vars = NULL((void*)0);
4128 modelica_metatype _dummvars = NULL((void*)0);
4129 modelica_metatype tmpMeta[6] __attribute__((unused)) = {0};
4130 MMC_SO()mmc_check_stackoverflow(threadData);
4131 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
4132 _osyst = _inSystem;
4133 // _oHt has no default value.
4134 // _vars has no default value.
4135 // _dummvars has no default value.
4136#line 3733 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
4137 /* Pattern-matching tuple assignment */
4138#line 3733 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
4139 tmpMeta[3] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
4140#line 3733 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
4141 tmpMeta[4] = mmc_mk_box4(0, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_osyst), 2))(*(void**)(((void*)((void**)(((void*)((char*)(_osyst) - 3))) +
(2)))))
), _so, tmpMeta[3], _iHt);
4142#line 3733 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
4143 tmpMeta[5] = omc_BackendVariable_traverseBackendDAEVarsWithUpdate(threadData, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_osyst), 2))(*(void**)(((void*)((void**)(((void*)((char*)(_osyst) - 3))) +
(2)))))
), boxvar_IndexReduction_makeAllDummyVarandDummyDerivativeRepl((void*)((char*)(&(boxvar_lit_IndexReduction_makeAllDummyVarandDummyDerivativeRepl
).header) + 3))
, tmpMeta[4], &tmpMeta[0]);
4144#line 3733 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
4145 _vars = tmpMeta[5];
4146#line 3733 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
4147 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (3)))))
;
4148#line 3733 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
4149 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (4)))))
;
4150#line 3733 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
4151 _dummvars = tmpMeta[1];
4152#line 3733 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
4153 _oHt = tmpMeta[2];
4154#line 4154 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
4155
4156#line 3738 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
4157 _vars = omc_BackendVariable_addVars(threadData, _dummvars, _vars);
4158#line 4158 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
4159
4160#line 3740 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
4161 tmpMeta[0] = MMC_TAGPTR(mmc_alloc_words(11))((void*)((char*)(mmc_alloc_words(11)) + 3));
4162#line 3740 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
4163 memcpy(MMC_UNTAGPTR(tmpMeta[0])((void*)((char*)(tmpMeta[0]) - 3)), MMC_UNTAGPTR(_osyst)((void*)((char*)(_osyst) - 3)), 11*sizeof(modelica_metatype));
4164#line 3740 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
4165 ((modelica_metatype*)MMC_UNTAGPTR(tmpMeta[0])((void*)((char*)(tmpMeta[0]) - 3)))[2] = omc_BackendVariable_traverseBackendDAEVarsWithUpdate(threadData, _vars, boxvar_IndexReduction_replaceDummyDerivativesVar((void*)((char*)(&(boxvar_lit_IndexReduction_replaceDummyDerivativesVar
).header) + 3))
, _oHt, NULL((void*)0));
4166#line 3740 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
4167 _osyst = tmpMeta[0];
4168#line 4168 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
4169
4170#line 3741 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
4171 tmpMeta[0] = mmc_mk_box2(0, boxvar_IndexReduction_replaceDummyDerivativesExp((void*)((char*)(&(boxvar_lit_IndexReduction_replaceDummyDerivativesExp
).header) + 3))
, _oHt);
4172#line 3741 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
4173 omc_BackendDAEUtil_traverseBackendDAEExpsEqns(threadData, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_osyst), 3))(*(void**)(((void*)((void**)(((void*)((char*)(_osyst) - 3))) +
(3)))))
), boxvar_Expression_traverseSubexpressionsHelper((void*)((char*)(&(boxvar_lit_Expression_traverseSubexpressionsHelper
).header) + 3))
, tmpMeta[0]);
4174#line 4174 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
4175 _return: OMC_LABEL_UNUSED__attribute__((unused))
4176 if (out_oHt) { *out_oHt = _oHt; }
4177 return _osyst;
4178}
4179
4180PROTECTED_FUNCTION_STATIC modelica_metatype omc_IndexReduction_makeHigherStatesRepl1(threadData_t *threadData, modelica_integer _diffCount, modelica_integer _diffedCount, modelica_metatype _iOrigName, modelica_metatype _iName, modelica_metatype _inVar, modelica_metatype _vars, modelica_metatype _iVarLst, modelica_metatype _iHt, modelica_integer _iN, modelica_metatype *out_oHt, modelica_integer *out_oN)
4181{
4182 modelica_metatype _oVarLst = NULL((void*)0);
4183 modelica_metatype _oHt = NULL((void*)0);
4184 modelica_integer _oN;
4185 modelica_integer tmp1_c2 __attribute__((unused)) = 0;
4186 modelica_metatype tmpMeta[14] __attribute__((unused)) = {0};
4187 MMC_SO()mmc_check_stackoverflow(threadData);
4188 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
4189 // _oVarLst has no default value.
4190 // _oHt has no default value.
4191 // _oN has no default value.
4192#line 3677 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
4193
4194#line 3677 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
4195
4196#line 3677 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
4197
4198#line 4198 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
4199 { /* matchcontinue expression */
4200 volatile modelica_metatype tmp4_1;
4201 tmp4_1 = _inVar;
4202 {
4203 modelica_metatype _ht = NULL((void*)0);
4204 modelica_metatype _name = NULL((void*)0);
4205 modelica_metatype _dir = NULL((void*)0);
4206 modelica_metatype _prl = NULL((void*)0);
4207 modelica_metatype _tp = NULL((void*)0);
4208 modelica_metatype _dim = NULL((void*)0);
4209 modelica_metatype _source = NULL((void*)0);
4210 modelica_metatype _kind = NULL((void*)0);
4211 modelica_metatype _odattr = NULL((void*)0);
4212 modelica_metatype _ts = NULL((void*)0);
4213 modelica_metatype _hideResult = NULL((void*)0);
4214 modelica_metatype _dattr = NULL((void*)0);
4215 modelica_metatype _comment = NULL((void*)0);
4216 modelica_metatype _ct = NULL((void*)0);
4217 modelica_metatype _var = NULL((void*)0);
4218 modelica_metatype _e = NULL((void*)0);
4219 modelica_metatype _io = NULL((void*)0);
4220 volatile mmc_switch_type tmp4;
4221 int tmp5;
4222 // _ht has no default value.
4223 // _name has no default value.
4224 // _dir has no default value.
4225 // _prl has no default value.
4226 // _tp has no default value.
4227 // _dim has no default value.
4228 // _source has no default value.
4229 // _kind has no default value.
4230 // _odattr has no default value.
4231 // _ts has no default value.
4232 // _hideResult has no default value.
4233 // _dattr has no default value.
4234 // _comment has no default value.
4235 // _ct has no default value.
4236 // _var has no default value.
4237 // _e has no default value.
4238 // _io has no default value.
4239 tmp4 = 0;
4240 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) {
4241 tmp3_top:
4242 threadData->mmc_jumper = &new_mmc_jumper;
4243 for (; tmp4 < 2; tmp4++) {
4244 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
4245 case 0: {
4246 modelica_boolean tmp6;
4247 modelica_boolean tmp7;
4248 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(2)))))
;
4249 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(4)))))
;
4250 tmpMeta[5] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 5))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(5)))))
;
4251 tmpMeta[6] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 6))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(6)))))
;
4252 tmpMeta[7] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 9))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(9)))))
;
4253 tmpMeta[8] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 10))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(10)))))
;
4254 tmpMeta[9] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 12))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(12)))))
;
4255 tmpMeta[10] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 13))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(13)))))
;
4256 tmpMeta[11] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 14))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(14)))))
;
4257 tmpMeta[12] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 15))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(15)))))
;
4258 tmpMeta[13] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 16))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(16)))))
;
4259
4260 _name = tmpMeta[3];
4261 _dir = tmpMeta[4];
4262 _prl = tmpMeta[5];
4263 _tp = tmpMeta[6];
4264 _dim = tmpMeta[7];
4265 _source = tmpMeta[8];
4266 _ts = tmpMeta[9];
4267 _hideResult = tmpMeta[10];
4268 _comment = tmpMeta[11];
4269 _ct = tmpMeta[12];
4270 _io = tmpMeta[13];
4271 /* Pattern matching succeeded */
4272#line 3701 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
4273 /* Pattern-matching assignment */
4274#line 3701 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
4275 tmp6 = (_diffCount > ((modelica_integer) -1));
4276#line 3701 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
4277 if (1 != tmp6) goto goto_2;
4278#line 4278 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
4279
4280#line 3702 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
4281 _name = omc_ComponentReference_crefPrefixDer(threadData, _iName);
4282#line 4282 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
4283
4284#line 3704 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
4285 _e = omc_Expression_crefExp(threadData, _name);
4286#line 4286 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
4287
4288#line 3705 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
4289 tmpMeta[3] = mmc_mk_box2(0, _iOrigName, mmc_mk_integermmc_mk_icon(_diffedCount));
4290#line 3705 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
4291 tmpMeta[4] = mmc_mk_box2(0, tmpMeta[3], _e);
4292#line 3705 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
4293 _ht = omc_BaseHashTable_add(threadData, tmpMeta[4], _iHt);
4294#line 4294 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
4295
4296#line 3708 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
4297 _dattr = omc_BackendVariable_getVariableAttributefromType(threadData, _tp);
4298#line 4298 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
4299
4300#line 3709 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
4301 _odattr = omc_DAEUtil_setFixedAttr(threadData, mmc_mk_some(_dattr), _OMC_LIT46((void*)((char*)(&(_OMC_LIT_STRUCT46).header) + 3)));
4302#line 4302 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
4303
4304#line 3710 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
4305 tmp7 = (modelica_boolean)(_diffCount > ((modelica_integer) 0));
4306#line 3710 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
4307 if(tmp7)
4308#line 3710 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
4309 {
4310#line 3710 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
4311 tmpMeta[3] = mmc_mk_box4(4, &BackendDAE_VarKind_STATE__desc, mmc_mk_integermmc_mk_icon(_diffCount), mmc_mk_none()((void*)((char*)(&(mmc_none).header) + 3)), mmc_mk_boolean(1)((1) != 0 ? (mmc_mk_icon(1)) : (mmc_mk_icon(0))));
4312#line 3710 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
4313 tmpMeta[4] = tmpMeta[3];
4314#line 3710 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
4315 }
4316#line 3710 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
4317 else
4318#line 3710 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
4319 {
4320#line 3710 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
4321 tmpMeta[4] = _OMC_LIT47((void*)((char*)(&(_OMC_LIT_STRUCT47).header) + 3));
4322#line 3710 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
4323 }
4324#line 3710 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
4325 _kind = tmpMeta[4];
4326#line 4326 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
4327
4328#line 3711 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
4329 tmpMeta[3] = mmc_mk_box17(3, &BackendDAE_Var_VAR__desc, _name, _kind, _dir, _prl, _tp, mmc_mk_none()((void*)((char*)(&(mmc_none).header) + 3)), mmc_mk_none()((void*)((char*)(&(mmc_none).header) + 3)), _dim, _source, _odattr, _ts, _hideResult, _comment, _ct, _io, mmc_mk_boolean(0)((0) != 0 ? (mmc_mk_icon(1)) : (mmc_mk_icon(0))));
4330#line 3711 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
4331 _var = tmpMeta[3];
4332#line 4332 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
4333#line 3712 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
4334 tmpMeta[3] = mmc_mk_cons(_var, _iVarLst);
4335#line 3712 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
4336 tmpMeta[0+0] = omc_IndexReduction_makeHigherStatesRepl1(threadData, ((modelica_integer) -1) + _diffCount, ((modelica_integer) 1) + _diffedCount, _iOrigName, _name, _inVar, _vars, tmpMeta[3], _ht, ((modelica_integer) 1) + _iN, &tmpMeta[0+1], &tmp1_c2);
4337#line 4337 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
4338 goto tmp3_done;
4339 }
4340 case 1: {
4341
4342 /* Pattern matching succeeded */
4343#line 3715 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
4344 tmpMeta[0+0] = _iVarLst;
4345#line 3715 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
4346 tmpMeta[0+1] = _iHt;
4347#line 3715 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
4348 tmp1_c2 = _iN;
4349#line 4349 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
4350 goto tmp3_done;
4351 }
4352 }
4353 goto tmp3_end;
4354 tmp3_end: ;
4355 }
4356 goto goto_2;
4357 tmp3_done:
4358 (void)tmp4;
4359 MMC_RESTORE_INTERNAL(mmc_jumper)threadData->mmc_jumper = old_jumper;;
4360 goto tmp3_done2;
4361 goto_2:;
4362 MMC_CATCH_INTERNAL(mmc_jumper)} threadData->mmc_jumper = old_jumper;mmc_catch_dummy_fn()
;}
;
4363 if (++tmp4 < 2) {
4364 goto tmp3_top;
4365 }
4366 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
4367 tmp3_done2:;
4368 }
4369 }
4370 _oVarLst = tmpMeta[0+0];
4371 _oHt = tmpMeta[0+1];
4372 _oN = tmp1_c2;
4373 _return: OMC_LABEL_UNUSED__attribute__((unused))
4374 if (out_oHt) { *out_oHt = _oHt; }
4375 if (out_oN) { *out_oN = _oN; }
4376 return _oVarLst;
4377}
4378PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_IndexReduction_makeHigherStatesRepl1(threadData_t *threadData, modelica_metatype _diffCount, modelica_metatype _diffedCount, modelica_metatype _iOrigName, modelica_metatype _iName, modelica_metatype _inVar, modelica_metatype _vars, modelica_metatype _iVarLst, modelica_metatype _iHt, modelica_metatype _iN, modelica_metatype *out_oHt, modelica_metatype *out_oN)
4379{
4380 modelica_integer tmp1;
4381 modelica_integer tmp2;
4382 modelica_integer tmp3;
4383 modelica_integer _oN;
4384 modelica_metatype _oVarLst = NULL((void*)0);
4385 tmp1 = mmc_unbox_integer(_diffCount)(((mmc_sint_t) (_diffCount)) >> 1);
4386 tmp2 = mmc_unbox_integer(_diffedCount)(((mmc_sint_t) (_diffedCount)) >> 1);
4387 tmp3 = mmc_unbox_integer(_iN)(((mmc_sint_t) (_iN)) >> 1);
4388 _oVarLst = omc_IndexReduction_makeHigherStatesRepl1(threadData, tmp1, tmp2, _iOrigName, _iName, _inVar, _vars, _iVarLst, _iHt, tmp3, out_oHt, &_oN);
4389 /* skip box _oVarLst; list<BackendDAE.Var> */
4390 /* skip box _oHt; tuple<array<list<tuple<tuple<DAE.ComponentRef, #Integer>, #Integer>>>, tuple<#Integer, #Integer, array<Option<tuple<tuple<DAE.ComponentRef, #Integer>, DAE.Exp>>>>, #Integer, tuple<.HashTableCrIntToExp.FuncHashCref<function>(tuple<DAE.ComponentRef, #Integer> cr, #Integer mod) => #Integer, .HashTableCrIntToExp.FuncCrefEqual<function>(tuple<DAE.ComponentRef, #Integer> cr1, tuple<DAE.ComponentRef, #Integer> cr2) => #Boolean, .HashTableCrIntToExp.FuncCrefStr<function>(tuple<DAE.ComponentRef, #Integer> cr) => String, .HashTableCrIntToExp.FuncExpStr<function>(DAE.Exp exp) => String>> */
4391 if (out_oN) { *out_oN = mmc_mk_icon(_oN); }
4392 return _oVarLst;
4393}
4394
4395PROTECTED_FUNCTION_STATIC modelica_metatype omc_IndexReduction_makeHigherStatesRepl(threadData_t *threadData, modelica_metatype _inVar, modelica_metatype _inTpl, modelica_metatype *out_oTpl)
4396{
4397 modelica_metatype _outVar = NULL((void*)0);
4398 modelica_metatype _oTpl = NULL((void*)0);
4399 modelica_metatype tmpMeta[12] __attribute__((unused)) = {0};
4400 MMC_SO()mmc_check_stackoverflow(threadData);
4401 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
4402 // _outVar has no default value.
4403 // _oTpl has no default value.
4404#line 3637 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
4405
4406#line 3637 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
4407
4408#line 4408 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
4409 { /* matchcontinue expression */
4410 volatile modelica_metatype tmp4_1;volatile modelica_metatype tmp4_2;
4411 tmp4_1 = _inVar;
4412 tmp4_2 = _inTpl;
4413 {
4414 modelica_metatype _vars = NULL((void*)0);
4415 modelica_metatype _ht = NULL((void*)0);
4416 modelica_metatype _name = NULL((void*)0);
4417 modelica_metatype _cr = NULL((void*)0);
4418 modelica_metatype _var = NULL((void*)0);
4419 modelica_integer _diffcount;
4420 modelica_integer _i;
4421 modelica_integer _j;
4422 modelica_metatype _varlst = NULL((void*)0);
4423 modelica_metatype _addassign = NULL((void*)0);
4424 volatile mmc_switch_type tmp4;
4425 int tmp5;
4426 // _vars has no default value.
4427 // _ht has no default value.
4428 // _name has no default value.
4429 // _cr has no default value.
4430 // _var has no default value.
4431 // _diffcount has no default value.
4432 // _i has no default value.
4433 // _j has no default value.
4434 // _varlst has no default value.
4435 // _addassign has no default value.
4436 tmp4 = 0;
4437 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) {
4438 tmp3_top:
4439 threadData->mmc_jumper = &new_mmc_jumper;
4440 for (; tmp4 < 2; tmp4++) {
4441 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
4442 case 0: {
4443 modelica_integer tmp6;
4444 modelica_integer tmp7;
4445 modelica_integer tmp8;
4446 modelica_boolean tmp9;
4447 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(2)))))
;
4448 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(3)))))
;
4449 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[3],1,3)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[3]) - 3)))==(((3 +1)
<< 10) + (((1 +3) & 255) << 2)))
== 0) goto tmp3_end;
4450 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[3]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[3]) - 3
))) + (2)))))
;
4451 tmp6 = mmc_unbox_integer(tmpMeta[4])(((mmc_sint_t) (tmpMeta[4])) >> 1);
4452 tmpMeta[5] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[3]), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[3]) - 3
))) + (3)))))
;
4453 if (!optionNone(tmpMeta[5])(0==((((((*(mmc_uint_t*)((void*)((char*)(tmpMeta[5]) - 3)))) &
(7)) == 5)) ? ((((*(mmc_uint_t*)((void*)((char*)(tmpMeta[5])
- 3)))) >> (3+3))) : (((*(mmc_uint_t*)((void*)((char*)
(tmpMeta[5]) - 3)))) >> 10)) ? 1 : 0)
) goto tmp3_end;
4454 tmpMeta[6] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(1)))))
;
4455 tmpMeta[7] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(2)))))
;
4456 tmp7 = mmc_unbox_integer(tmpMeta[7])(((mmc_sint_t) (tmpMeta[7])) >> 1);
4457 tmpMeta[8] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(3)))))
;
4458 tmp8 = mmc_unbox_integer(tmpMeta[8])(((mmc_sint_t) (tmpMeta[8])) >> 1);
4459 tmpMeta[9] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(4)))))
;
4460 tmpMeta[10] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 5))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(5)))))
;
4461 tmpMeta[11] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 6))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(6)))))
;
4462 _var = tmp4_1;
4463 _name = tmpMeta[2];
4464 _diffcount = tmp6 /* pattern as ty=Integer */;
4465 _vars = tmpMeta[6];
4466 _i = tmp7 /* pattern as ty=Integer */;
4467 _j = tmp8 /* pattern as ty=Integer */;
4468 _addassign = tmpMeta[9];
4469 _varlst = tmpMeta[10];
4470 _ht = tmpMeta[11];
4471 /* Pattern matching succeeded */
4472#line 3649 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
4473 /* Pattern-matching assignment */
4474#line 3649 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
4475 tmp9 = (_diffcount > ((modelica_integer) 1));
4476#line 3649 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
4477 if (1 != tmp9) goto goto_2;
4478#line 4478 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
4479
4480#line 3651 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
4481 _cr = omc_ComponentReference_crefPrefixDer(threadData, _name);
4482#line 4482 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
4483
4484#line 3653 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
4485 _varlst = omc_IndexReduction_makeHigherStatesRepl1(threadData, ((modelica_integer) -2) + _diffcount, ((modelica_integer) 2), _name, _cr, _var, _vars, _varlst, _ht, _j ,&_ht ,&_j);
4486#line 4486 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
4487#line 3654 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
4488 tmpMeta[3] = mmc_mk_box2(0, mmc_mk_integermmc_mk_icon(_i), mmc_mk_integermmc_mk_icon(_j));
4489#line 3654 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
4490 tmpMeta[2] = mmc_mk_cons(tmpMeta[3], _addassign);
4491#line 3654 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
4492 tmpMeta[4] = mmc_mk_box6(0, _vars, mmc_mk_integermmc_mk_icon(((modelica_integer) 1) + _i), mmc_mk_integermmc_mk_icon(_j), tmpMeta[2], _varlst, _ht);
4493#line 3654 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
4494 tmpMeta[0+0] = _var;
4495#line 3654 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
4496 tmpMeta[0+1] = tmpMeta[4];
4497#line 4497 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
4498 goto tmp3_done;
4499 }
4500 case 1: {
4501 modelica_integer tmp10;
4502 modelica_integer tmp11;
4503 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(1)))))
;
4504 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(2)))))
;
4505 tmp10 = mmc_unbox_integer(tmpMeta[3])(((mmc_sint_t) (tmpMeta[3])) >> 1);
4506 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(3)))))
;
4507 tmp11 = mmc_unbox_integer(tmpMeta[4])(((mmc_sint_t) (tmpMeta[4])) >> 1);
4508 tmpMeta[5] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(4)))))
;
4509 tmpMeta[6] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 5))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(5)))))
;
4510 tmpMeta[7] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 6))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(6)))))
;
4511 _var = tmp4_1;
4512 _vars = tmpMeta[2];
4513 _i = tmp10 /* pattern as ty=Integer */;
4514 _j = tmp11 /* pattern as ty=Integer */;
4515 _addassign = tmpMeta[5];
4516 _varlst = tmpMeta[6];
4517 _ht = tmpMeta[7];
4518 /* Pattern matching succeeded */
4519#line 3655 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
4520 tmpMeta[2] = mmc_mk_box6(0, _vars, mmc_mk_integermmc_mk_icon(((modelica_integer) 1) + _i), mmc_mk_integermmc_mk_icon(_j), _addassign, _varlst, _ht);
4521#line 3655 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
4522 tmpMeta[0+0] = _var;
4523#line 3655 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
4524 tmpMeta[0+1] = tmpMeta[2];
4525#line 4525 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/IndexReduction.c"
4526 goto tmp3_done;
4527 }
4528 }
4529 goto tmp3_end;
4530 tmp3_end: ;
4531 }
4532 goto goto_2;
4533 tmp3_done:
4534 (void)tmp4;
4535 MMC_RESTORE_INTERNAL(mmc_jumper)threadData->mmc_jumper = old_jumper;;
4536 goto tmp3_done2;
4537 goto_2:;
4538 MMC_CATCH_INTERNAL(mmc_jumper)} threadData->mmc_jumper = old_jumper;mmc_catch_dummy_fn()
;}
;
4539 if (++tmp4 < 2) {
4540 goto tmp3_top;
4541 }
4542 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
4543 tmp3_done2:;
4544 }
4545 }
4546 _outVar = tmpMeta[0+0];
4547 _oTpl = tmpMeta[0+1];
4548 _return: OMC_LABEL_UNUSED__attribute__((unused))
4549 if (out_oTpl) { *out_oTpl = _oTpl; }
4550 return _outVar;
4551}
4552
4553PROTECTED_FUNCTION_STATIC void omc_IndexReduction_setHigerDerivativeAssignment(threadData_t *threadData, modelica_metatype _inTpl, modelica_metatype _ass1, modelica_metatype _ass2)
4554{
4555 modelica_integer _i;
4556 modelica_integer _j;
4557 modelica_integer _e;
4558 modelica_integer tmp1;
4559 modelica_integer tmp2;
4560 modelica_metatype tmpMeta[3] __attribute__((unused)) = {0};
4561 MMC_SO()mmc_check_stackoverflow(threadData);
4562 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
4563 // _i has no default value.
4564 // _j has no default value.
4565 // _e has no default value.
4566#line 3620 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
4567 /* Pattern-matching assignment */
4568#line 3620 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
4569 tmpMeta[0] = _inTpl;
4570#line 3620 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
4571 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (1)))))
;
4572#line 3620 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
4573 tmp1 = mmc_unbox_integer(tmpMeta[1])(((mmc_sint_t) (tmpMeta[1])) >> 1);
4574#line 3620 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"
4575 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (2)))))
;
4576#line 3620 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/IndexReduction.mo"