Running command: "" <> buildModelFMU(ModelicaTest.Blocks.IntegerTable,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Blocks_IntegerTable",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.825/2.825, allocations: 235.2 MB / 242.3 MB, free: 9.559 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.231e-05/2.235e-05, allocations: 0 / 299.5 MB, free: 212 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4204/0.4204, allocations: 54.86 MB / 354.4 MB, free: 15.18 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2107/0.6312, allocations: 79.59 MB / 434 MB, free: 15.47 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002569/0.6315, allocations: 63.97 kB / 434.1 MB, free: 15.41 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0258/0.6573, allocations: 4.422 MB / 438.5 MB, free: 10.98 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.6574, allocations: 0 / 438.5 MB, free: 10.98 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.199e-05/0.6574, allocations: 8 kB / 438.5 MB, free: 10.97 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.001033/0.6585, allocations: 0.5437 MB / 439 MB, free: 10.36 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.979e-05/0.6585, allocations: 8.031 kB / 439 MB, free: 10.35 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.514e-05/0.6586, allocations: 38.55 kB / 439.1 MB, free: 10.3 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.114e-05/0.6587, allocations: 15.86 kB / 439.1 MB, free: 10.29 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001571/0.6589, allocations: 186.8 kB / 439.3 MB, free: 10.07 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.486e-05/0.6589, allocations: 8 kB / 439.3 MB, free: 10.06 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.588e-05/0.659, allocations: 15.98 kB / 439.3 MB, free: 10.04 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001893/0.6592, allocations: 47.98 kB / 439.4 MB, free: 9.996 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003776/0.6596, allocations: 161 kB / 439.5 MB, free: 9.82 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.6596, allocations: 0 / 439.5 MB, free: 9.82 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.468e-05/0.6596, allocations: 0 / 439.5 MB, free: 9.82 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.442e-05/0.6597, allocations: 11.94 kB / 439.5 MB, free: 9.809 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003381/0.66, allocations: 232.8 kB / 439.7 MB, free: 9.535 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003363/0.6604, allocations: 154.4 kB / 439.9 MB, free: 9.348 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001907/0.6606, allocations: 87.58 kB / 440 MB, free: 9.25 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.722e-05/0.6606, allocations: 11.88 kB / 440 MB, free: 9.238 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004484/0.6611, allocations: 188.7 kB / 440.2 MB, free: 9.031 MB / 378.7 MB Notification: Performance of pre-optimization done (n=16): time 2.605e-06/0.6611, allocations: 4 kB / 440.2 MB, free: 9.027 MB / 378.7 MB Notification: Performance of matching and sorting (n=16): time 0.0008377/0.6619, allocations: 289.2 kB / 440.5 MB, free: 8.738 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.185e-05/0.662, allocations: 132.5 kB / 440.6 MB, free: 8.578 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002041/0.6622, allocations: 161.3 kB / 440.8 MB, free: 8.414 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.782e-05/0.6623, allocations: 33.7 kB / 440.8 MB, free: 8.375 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.536e-05/0.6624, allocations: 108.1 kB / 440.9 MB, free: 8.266 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.401e-05/0.6625, allocations: 39.53 kB / 440.9 MB, free: 8.227 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.676e-05/0.6625, allocations: 0 / 440.9 MB, free: 8.227 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001452/0.6627, allocations: 334.8 kB / 441.3 MB, free: 7.891 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001977/0.6629, allocations: 68.2 kB / 441.3 MB, free: 7.82 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002225/0.6631, allocations: 95.88 kB / 441.4 MB, free: 7.715 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003264/0.6635, allocations: 71.95 kB / 441.5 MB, free: 7.645 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.6635, allocations: 4 kB / 441.5 MB, free: 7.641 MB / 378.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0008647/0.6644, allocations: 285.3 kB / 441.8 MB, free: 7.355 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001053/0.6645, allocations: 122.8 kB / 441.9 MB, free: 7.211 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.445e-06/0.6645, allocations: 7.938 kB / 441.9 MB, free: 7.203 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.204e-05/0.6645, allocations: 11.88 kB / 441.9 MB, free: 7.191 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.096e-05/0.6646, allocations: 0 / 441.9 MB, free: 7.191 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.415e-05/0.6646, allocations: 11.97 kB / 441.9 MB, free: 7.18 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001539/0.6648, allocations: 11.91 kB / 441.9 MB, free: 7.168 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.682e-05/0.6649, allocations: 16 kB / 441.9 MB, free: 7.152 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 28 ($whenCondition4,$PRE.integerTable4.y,integerTable4.y,$PRE.integerTable4.nextTime,integerTable4.nextTime,$PRE.integerTable4.index,integerTable4.index,$whenCondition3,$PRE.integerTable3.y,integerTable3.y,$PRE.integerTable3.nextTime,integerTable3.nextTime,$PRE.integerTable3.index,integerTable3.index,$whenCondition2,$PRE.integerTable2.y,integerTable2.y,$PRE.integerTable2.nextTime,integerTable2.nextTime,$PRE.integerTable2.index,integerTable2.index,$whenCondition1,$PRE.integerTable.y,integerTable.y,$PRE.integerTable.nextTime,integerTable.nextTime,$PRE.integerTable.index,integerTable.index) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001354/0.665, allocations: 124 kB / 442.1 MB, free: 7.023 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.783e-05/0.6651, allocations: 19.81 kB / 442.1 MB, free: 7.004 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.864e-05/0.6651, allocations: 16.34 kB / 442.1 MB, free: 6.988 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.6651, allocations: 0 / 442.1 MB, free: 6.988 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.636e-06/0.6652, allocations: 4 kB / 442.1 MB, free: 6.984 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.576e-06/0.6652, allocations: 3.984 kB / 442.1 MB, free: 6.98 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002501/0.6654, allocations: 194.1 kB / 442.3 MB, free: 6.754 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.54e-06/0.6655, allocations: 7.938 kB / 442.3 MB, free: 6.746 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.489e-05/0.6655, allocations: 4.188 kB / 442.3 MB, free: 6.742 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.708e-06/0.6655, allocations: 0 / 442.3 MB, free: 6.742 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.286e-05/0.6655, allocations: 7.984 kB / 442.3 MB, free: 6.734 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.681e-06/0.6656, allocations: 4 kB / 442.3 MB, free: 6.73 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.66e-06/0.6656, allocations: 7.984 kB / 442.3 MB, free: 6.723 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007859/0.6664, allocations: 360.9 kB / 442.7 MB, free: 6.324 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.363e-05/0.6665, allocations: 96.92 kB / 442.8 MB, free: 6.211 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.871e-05/0.6665, allocations: 4 kB / 442.8 MB, free: 6.207 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002001/0.6667, allocations: 15.98 kB / 442.8 MB, free: 6.191 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.011e-05/0.6668, allocations: 15.94 kB / 442.8 MB, free: 6.176 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.704e-05/0.6669, allocations: 27.95 kB / 442.8 MB, free: 6.148 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001508/0.6671, allocations: 135.2 kB / 443 MB, free: 6.016 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.31e-07/0.6671, allocations: 0 / 443 MB, free: 6.016 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006259/0.6677, allocations: 95.86 kB / 443.1 MB, free: 5.922 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition4,integerTable4.y,integerTable4.nextTime,integerTable4.index,$whenCondition3,integerTable3.y,integerTable3.nextTime,integerTable3.index,$whenCondition2,integerTable2.y,integerTable2.nextTime,integerTable2.index,$whenCondition1,integerTable.y,integerTable.nextTime,integerTable.index) * Number of discrete states: 8 (integerTable.index,integerTable.nextTime,integerTable2.index,integerTable2.nextTime,integerTable3.index,integerTable3.nextTime,integerTable4.index,integerTable4.nextTime) * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 12 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001612/0.6694, allocations: 1.18 MB / 444.2 MB, free: 4.691 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006386/0.67, allocations: 397.9 kB / 444.6 MB, free: 4.254 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.67, allocations: 0 / 444.6 MB, free: 4.254 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002375/0.6703, allocations: 83.92 kB / 444.7 MB, free: 4.172 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001958/0.6705, allocations: 12.36 kB / 444.7 MB, free: 4.16 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001036/0.6716, allocations: 332.1 kB / 445.1 MB, free: 3.797 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003634/0.6719, allocations: 0.7236 MB / 445.8 MB, free: 3.047 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.28e-05/0.672, allocations: 8.875 kB / 445.8 MB, free: 3.031 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.397e-05/0.6721, allocations: 31.44 kB / 445.8 MB, free: 3 MB / 378.7 MB Notification: Performance of SimCode: time 8.41e-07/0.6721, allocations: 4 kB / 445.8 MB, free: 2.996 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05686/0.729, allocations: 3.795 MB / 449.6 MB, free: 15.22 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0004026/0.7294, allocations: 136.6 kB / 449.7 MB, free: 15.02 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.327/4.057, allocations: 0 / 449.7 MB, free: 15.02 MB / 394.7 MB "" Variables in the reference:time,integerTable.index,integerTable.nextTime,integerTable.y,integerTable2.index,integerTable2.nextTime,integerTable2.y,integerTable3.index,integerTable3.nextTime,integerTable3.y,integerTable4.index,integerTable4.nextTime,integerTable4.y Variables in the result:_D_whenCondition1,_D_whenCondition2,_D_whenCondition3,_D_whenCondition4,integerTable.index,integerTable.n,integerTable.nextTime,integerTable.table[1,1],integerTable.table[1,2],integerTable.table[2,1],integerTable.table[2,2],integerTable.table[3,1],integerTable.table[3,2],integerTable.table[4,1],integerTable.table[4,2],integerTable.y,integerTable2.index,integerTable2.n,integerTable2.nextTime,integerTable2.table[1,1],integerTable2.table[1,2],integerTable2.y,integerTable3.index,integerTable3.n,integerTable3.nextTime,integerTable3.table[1,1],integerTable3.table[1,2],integerTable3.y,integerTable4.index,integerTable4.n,integerTable4.nextTime,integerTable4.table[1,1],integerTable4.table[1,2],integerTable4.table[2,1],integerTable4.table[2,2],integerTable4.table[3,1],integerTable4.table[3,2],integerTable4.table[4,1],integerTable4.table[4,2],integerTable4.table[5,1],integerTable4.table[5,2],integerTable4.y,time