1 | /* Simulation code for Test.Test1 generated by the OpenModelica Compiler 1.8.0 (r10946). */
|
---|
2 | #define time data->localData[0]->timeValue
|
---|
3 |
|
---|
4 | /* States */
|
---|
5 | #define _$P$dummy(i) data->localData[i]->realVars[0]
|
---|
6 | #define $P$dummy _$P$dummy(0)
|
---|
7 | #define $P$PRE$P$dummy data->simulationInfo.realVarsPre[0]
|
---|
8 | #define $P$START$P$dummy data->modelData.realVarsData[0].attribute.start
|
---|
9 | #define $P$dummy__varInfo data->modelData.realVarsData[0].info
|
---|
10 | /* StatesDerivatives */
|
---|
11 | #define _$P$DER$P$dummy(i) data->localData[i]->realVars[1]
|
---|
12 | #define $P$DER$P$dummy _$P$DER$P$dummy(0)
|
---|
13 | #define $P$PRE$P$DER$P$dummy data->simulationInfo.realVarsPre[1]
|
---|
14 | #define $P$START$P$DER$P$dummy data->modelData.realVarsData[1].attribute.start
|
---|
15 | #define $P$DER$P$dummy__varInfo data->modelData.realVarsData[1].info
|
---|
16 | /* Algebraic Vars */
|
---|
17 | #define _$Pm$Ps(i) data->localData[i]->realVars[2]
|
---|
18 | #define $Pm$Ps _$Pm$Ps(0)
|
---|
19 | #define $P$PRE$Pm$Ps data->simulationInfo.realVarsPre[2]
|
---|
20 | #define $P$START$Pm$Ps data->modelData.realVarsData[2].attribute.start
|
---|
21 | #define $Pm$Ps__varInfo data->modelData.realVarsData[2].info
|
---|
22 | #define _$Prp$Py(i) data->localData[i]->realVars[3]
|
---|
23 | #define $Prp$Py _$Prp$Py(0)
|
---|
24 | #define $P$PRE$Prp$Py data->simulationInfo.realVarsPre[3]
|
---|
25 | #define $P$START$Prp$Py data->modelData.realVarsData[3].attribute.start
|
---|
26 | #define $Prp$Py__varInfo data->modelData.realVarsData[3].info
|
---|
27 | /* Algebraic Parameter */
|
---|
28 | #define $Prp$Pheight data->simulationInfo.realParameter[0]
|
---|
29 | #define $P$START$Prp$Pheight data->modelData.realParameterData[0].attribute.start
|
---|
30 | #define $Prp$Pheight__varInfo data->modelData.realParameterData[0].info
|
---|
31 | #define $Prp$Pduration data->simulationInfo.realParameter[1]
|
---|
32 | #define $P$START$Prp$Pduration data->modelData.realParameterData[1].attribute.start
|
---|
33 | #define $Prp$Pduration__varInfo data->modelData.realParameterData[1].info
|
---|
34 | #define $Prp$Poffset data->simulationInfo.realParameter[2]
|
---|
35 | #define $P$START$Prp$Poffset data->modelData.realParameterData[2].attribute.start
|
---|
36 | #define $Prp$Poffset__varInfo data->modelData.realParameterData[2].info
|
---|
37 | #define $Prp$PstartTime data->simulationInfo.realParameter[3]
|
---|
38 | #define $P$START$Prp$PstartTime data->modelData.realParameterData[3].attribute.start
|
---|
39 | #define $Prp$PstartTime__varInfo data->modelData.realParameterData[3].info
|
---|
40 | #define $Pm$Pt2 data->simulationInfo.realParameter[4]
|
---|
41 | #define $P$START$Pm$Pt2$lB1$rB data->modelData.realParameterData[4].attribute.start
|
---|
42 | #define $Pm$Pt2$lB1$rB data->simulationInfo.realParameter[4]
|
---|
43 | #define $Pm$Pt2$lB1$rB__varInfo data->modelData.realParameterData[4].info
|
---|
44 | #define $Pm$Pt2$lB2$rB data->simulationInfo.realParameter[5]
|
---|
45 | #define $P$START$Pm$Pt2$lB2$rB data->modelData.realParameterData[5].attribute.start
|
---|
46 | #define $Pm$Pt2$lB2$rB__varInfo data->modelData.realParameterData[5].info
|
---|
47 | #define $Pm$Pt2$lB3$rB data->simulationInfo.realParameter[6]
|
---|
48 | #define $P$START$Pm$Pt2$lB3$rB data->modelData.realParameterData[6].attribute.start
|
---|
49 | #define $Pm$Pt2$lB3$rB__varInfo data->modelData.realParameterData[6].info
|
---|
50 | #define $Pm$Pt2$lB4$rB data->simulationInfo.realParameter[7]
|
---|
51 | #define $P$START$Pm$Pt2$lB4$rB data->modelData.realParameterData[7].attribute.start
|
---|
52 | #define $Pm$Pt2$lB4$rB__varInfo data->modelData.realParameterData[7].info
|
---|
53 | #define $Pm$Pt2$lB5$rB data->simulationInfo.realParameter[8]
|
---|
54 | #define $P$START$Pm$Pt2$lB5$rB data->modelData.realParameterData[8].attribute.start
|
---|
55 | #define $Pm$Pt2$lB5$rB__varInfo data->modelData.realParameterData[8].info
|
---|
56 | #define $Pm$Pt2$lB6$rB data->simulationInfo.realParameter[9]
|
---|
57 | #define $P$START$Pm$Pt2$lB6$rB data->modelData.realParameterData[9].attribute.start
|
---|
58 | #define $Pm$Pt2$lB6$rB__varInfo data->modelData.realParameterData[9].info
|
---|
59 | #define $Pm$Pt2$lB7$rB data->simulationInfo.realParameter[10]
|
---|
60 | #define $P$START$Pm$Pt2$lB7$rB data->modelData.realParameterData[10].attribute.start
|
---|
61 | #define $Pm$Pt2$lB7$rB__varInfo data->modelData.realParameterData[10].info
|
---|
62 | /* External Objects */
|
---|
63 | /* Algebraic Integer Vars */
|
---|
64 | #define _$Pm$Pn(i) data->localData[i]->integerVars[0]
|
---|
65 | #define $Pm$Pn _$Pm$Pn(0)
|
---|
66 | #define $P$PRE$Pm$Pn data->simulationInfo.integerVarsPre[0]
|
---|
67 | #define $P$START$Pm$Pn data->modelData.integerVarsData[0].attribute.start
|
---|
68 | #define $Pm$Pn__varInfo data->modelData.integerVarsData[0].info
|
---|
69 | /* Algebraic Integer Parameter */
|
---|
70 | #define $Pm$Pt1 data->simulationInfo.integerParameter[0]
|
---|
71 | #define $P$START$Pm$Pt1$lB1$rB data->modelData.integerParameterData[0].attribute.start
|
---|
72 | #define $Pm$Pt1$lB1$rB data->simulationInfo.integerParameter[0]
|
---|
73 | #define $Pm$Pt1$lB1$rB__varInfo data->modelData.integerParameterData[0].info
|
---|
74 | #define $Pm$Pt1$lB2$rB data->simulationInfo.integerParameter[1]
|
---|
75 | #define $P$START$Pm$Pt1$lB2$rB data->modelData.integerParameterData[1].attribute.start
|
---|
76 | #define $Pm$Pt1$lB2$rB__varInfo data->modelData.integerParameterData[1].info
|
---|
77 | #define $Pm$Pt1$lB3$rB data->simulationInfo.integerParameter[2]
|
---|
78 | #define $P$START$Pm$Pt1$lB3$rB data->modelData.integerParameterData[2].attribute.start
|
---|
79 | #define $Pm$Pt1$lB3$rB__varInfo data->modelData.integerParameterData[2].info
|
---|
80 | #define $Pm$Pt1$lB4$rB data->simulationInfo.integerParameter[3]
|
---|
81 | #define $P$START$Pm$Pt1$lB4$rB data->modelData.integerParameterData[3].attribute.start
|
---|
82 | #define $Pm$Pt1$lB4$rB__varInfo data->modelData.integerParameterData[3].info
|
---|
83 | #define $Pm$Pt1$lB5$rB data->simulationInfo.integerParameter[4]
|
---|
84 | #define $P$START$Pm$Pt1$lB5$rB data->modelData.integerParameterData[4].attribute.start
|
---|
85 | #define $Pm$Pt1$lB5$rB__varInfo data->modelData.integerParameterData[4].info
|
---|
86 | #define $Pm$Pt1$lB6$rB data->simulationInfo.integerParameter[5]
|
---|
87 | #define $P$START$Pm$Pt1$lB6$rB data->modelData.integerParameterData[5].attribute.start
|
---|
88 | #define $Pm$Pt1$lB6$rB__varInfo data->modelData.integerParameterData[5].info
|
---|
89 | #define $Pm$Pt1$lB7$rB data->simulationInfo.integerParameter[6]
|
---|
90 | #define $P$START$Pm$Pt1$lB7$rB data->modelData.integerParameterData[6].attribute.start
|
---|
91 | #define $Pm$Pt1$lB7$rB__varInfo data->modelData.integerParameterData[6].info
|
---|
92 | /* Algebraic Boolean Vars */
|
---|
93 | /* Algebraic Boolean Parameters */
|
---|
94 | /* Algebraic String Variables */
|
---|
95 | /* Algebraic String Parameter */
|
---|
96 | /* Jacobian Variables */
|
---|
97 | #define Test_F1_index 0
|
---|
98 |
|
---|