1 /* Simulation code for FMUCallBeforeInitializationTestModel generated by the OpenModelica Compiler 1.8.1+ (r11690). */
\r
2 #define time data->localData[0]->timeValue
\r
5 #define _$PstockBoolean(i) data->localData[i]->realVars[0]
\r
6 #define $PstockBoolean _$PstockBoolean(0)
\r
7 #define $P$PRE$PstockBoolean data->simulationInfo.realVarsPre[0]
\r
8 #define $P$START$PstockBoolean data->modelData.realVarsData[0].attribute.start
\r
9 #define $PstockBoolean__varInfo data->modelData.realVarsData[0].info
\r
10 #define _$PstockInteger(i) data->localData[i]->realVars[1]
\r
11 #define $PstockInteger _$PstockInteger(0)
\r
12 #define $P$PRE$PstockInteger data->simulationInfo.realVarsPre[1]
\r
13 #define $P$START$PstockInteger data->modelData.realVarsData[1].attribute.start
\r
14 #define $PstockInteger__varInfo data->modelData.realVarsData[1].info
\r
15 #define _$PstockReal(i) data->localData[i]->realVars[2]
\r
16 #define $PstockReal _$PstockReal(0)
\r
17 #define $P$PRE$PstockReal data->simulationInfo.realVarsPre[2]
\r
18 #define $P$START$PstockReal data->modelData.realVarsData[2].attribute.start
\r
19 #define $PstockReal__varInfo data->modelData.realVarsData[2].info
\r
20 /* StatesDerivatives */
\r
21 #define _$P$DER$PstockBoolean(i) data->localData[i]->realVars[3]
\r
22 #define $P$DER$PstockBoolean _$P$DER$PstockBoolean(0)
\r
23 #define $P$PRE$P$DER$PstockBoolean data->simulationInfo.realVarsPre[3]
\r
24 #define $P$START$P$DER$PstockBoolean data->modelData.realVarsData[3].attribute.start
\r
25 #define $P$DER$PstockBoolean__varInfo data->modelData.realVarsData[3].info
\r
26 #define _$P$DER$PstockInteger(i) data->localData[i]->realVars[4]
\r
27 #define $P$DER$PstockInteger _$P$DER$PstockInteger(0)
\r
28 #define $P$PRE$P$DER$PstockInteger data->simulationInfo.realVarsPre[4]
\r
29 #define $P$START$P$DER$PstockInteger data->modelData.realVarsData[4].attribute.start
\r
30 #define $P$DER$PstockInteger__varInfo data->modelData.realVarsData[4].info
\r
31 #define _$P$DER$PstockReal(i) data->localData[i]->realVars[5]
\r
32 #define $P$DER$PstockReal _$P$DER$PstockReal(0)
\r
33 #define $P$PRE$P$DER$PstockReal data->simulationInfo.realVarsPre[5]
\r
34 #define $P$START$P$DER$PstockReal data->modelData.realVarsData[5].attribute.start
\r
35 #define $P$DER$PstockReal__varInfo data->modelData.realVarsData[5].info
\r
36 /* Algebraic Vars */
\r
37 #define _$PvalveBoolean(i) data->localData[i]->realVars[6]
\r
38 #define $PvalveBoolean _$PvalveBoolean(0)
\r
39 #define $P$PRE$PvalveBoolean data->simulationInfo.realVarsPre[6]
\r
40 #define $P$START$PvalveBoolean data->modelData.realVarsData[6].attribute.start
\r
41 #define $PvalveBoolean__varInfo data->modelData.realVarsData[6].info
\r
42 #define _$PvalveInteger(i) data->localData[i]->realVars[7]
\r
43 #define $PvalveInteger _$PvalveInteger(0)
\r
44 #define $P$PRE$PvalveInteger data->simulationInfo.realVarsPre[7]
\r
45 #define $P$START$PvalveInteger data->modelData.realVarsData[7].attribute.start
\r
46 #define $PvalveInteger__varInfo data->modelData.realVarsData[7].info
\r
47 #define _$PvalveReal(i) data->localData[i]->realVars[8]
\r
48 #define $PvalveReal _$PvalveReal(0)
\r
49 #define $P$PRE$PvalveReal data->simulationInfo.realVarsPre[8]
\r
50 #define $P$START$PvalveReal data->modelData.realVarsData[8].attribute.start
\r
51 #define $PvalveReal__varInfo data->modelData.realVarsData[8].info
\r
52 /* Algebraic Parameter */
\r
53 #define $Pr data->simulationInfo.realParameter[0]
\r
54 #define $P$START$Pr data->modelData.realParameterData[0].attribute.start
\r
55 #define $Pr__varInfo data->modelData.realParameterData[0].info
\r
56 #define time data->simulationInfo.realParameter[1]
\r
57 #define $P$STARTtime data->modelData.realParameterData[1].attribute.start
\r
58 #define time__varInfo data->modelData.realParameterData[1].info
\r
59 /* External Objects */
\r
60 /* Algebraic Integer Vars */
\r
61 /* Algebraic Integer Parameter */
\r
62 #define $Pi data->simulationInfo.integerParameter[0]
\r
63 #define $P$START$Pi data->modelData.integerParameterData[0].attribute.start
\r
64 #define $Pi__varInfo data->modelData.integerParameterData[0].info
\r
65 /* Algebraic Boolean Vars */
\r
66 /* Algebraic Boolean Parameters */
\r
67 #define $Pb data->simulationInfo.booleanParameter[0]
\r
68 #define $P$START$Pb data->modelData.booleanParameterData[0].attribute.start
\r
69 #define $Pb__varInfo data->modelData.booleanParameterData[0].info
\r
70 /* Algebraic String Variables */
\r
71 /* Algebraic String Parameter */
\r
72 /* Jacobian Variables */
\r