Running command: "" <> buildModelFMU(ModelicaTest.Blocks.IntegerTable,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Blocks_IntegerTable",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.93/1.93, allocations: 209.4 MB / 216.5 MB, free: 6.668 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.74e-05/2.75e-05, allocations: 0 / 267.6 MB, free: 4.949 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.141/0.1411, allocations: 48.7 MB / 316.3 MB, free: 4.148 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4481/0.5892, allocations: 73.44 MB / 389.8 MB, free: 3 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002244/0.5895, allocations: 58.03 kB / 389.8 MB, free: 2.973 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04461/0.6341, allocations: 4.426 MB / 394.2 MB, free: 15.12 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.924e-06/0.6342, allocations: 0 / 394.2 MB, free: 15.12 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.988e-06/0.6342, allocations: 3.25 kB / 394.2 MB, free: 15.12 MB / 330.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.001243/0.6355, allocations: 0.5456 MB / 394.8 MB, free: 14.52 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.646e-05/0.6356, allocations: 8.031 kB / 394.8 MB, free: 14.51 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.505e-05/0.6357, allocations: 11.91 kB / 394.8 MB, free: 14.5 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002085/0.6359, allocations: 190.8 kB / 395 MB, free: 14.27 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.114e-05/0.636, allocations: 7 kB / 395 MB, free: 14.27 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.031e-05/0.636, allocations: 4 kB / 395 MB, free: 14.27 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002345/0.6363, allocations: 56.34 kB / 395.1 MB, free: 14.22 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004492/0.6368, allocations: 163.6 kB / 395.2 MB, free: 14.06 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.6368, allocations: 0 / 395.2 MB, free: 14.06 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.154e-05/0.6368, allocations: 3.25 kB / 395.2 MB, free: 14.06 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.023e-06/0.6368, allocations: 0 / 395.2 MB, free: 14.06 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004414/0.6373, allocations: 237.1 kB / 395.5 MB, free: 13.81 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004312/0.6378, allocations: 161.3 kB / 395.6 MB, free: 13.63 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002253/0.638, allocations: 76.08 kB / 395.7 MB, free: 13.56 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.366e-05/0.638, allocations: 11.98 kB / 395.7 MB, free: 13.55 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005361/0.6386, allocations: 188.2 kB / 395.9 MB, free: 13.36 MB / 330.7 MB Notification: Performance of pre-optimization done (n=16): time 2.955e-06/0.6386, allocations: 0 / 395.9 MB, free: 13.36 MB / 330.7 MB Notification: Performance of matching and sorting (n=16): time 0.0009996/0.6396, allocations: 288.3 kB / 396.2 MB, free: 13.11 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001137/0.6398, allocations: 147.7 kB / 396.3 MB, free: 12.94 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002673/0.64, allocations: 160.3 kB / 396.5 MB, free: 12.79 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.711e-05/0.6401, allocations: 37.06 kB / 396.5 MB, free: 12.75 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001053/0.6402, allocations: 99.14 kB / 396.6 MB, free: 12.67 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.604e-05/0.6403, allocations: 38.42 kB / 396.6 MB, free: 12.64 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.04e-05/0.6404, allocations: 0 / 396.6 MB, free: 12.64 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001904/0.6406, allocations: 329.1 kB / 397 MB, free: 12.31 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002484/0.6408, allocations: 69.03 kB / 397 MB, free: 12.26 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002813/0.6411, allocations: 102.5 kB / 397.1 MB, free: 12.17 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004247/0.6416, allocations: 72.77 kB / 397.2 MB, free: 12.11 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/0.6416, allocations: 0 / 397.2 MB, free: 12.11 MB / 330.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.00954/0.6512, allocations: 286.4 kB / 397.5 MB, free: 11.87 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001477/0.6514, allocations: 131.9 kB / 397.6 MB, free: 11.72 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.768e-06/0.6514, allocations: 0 / 397.6 MB, free: 11.72 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.439e-05/0.6514, allocations: 3.938 kB / 397.6 MB, free: 11.72 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.555e-05/0.6515, allocations: 11.94 kB / 397.6 MB, free: 11.71 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.053e-05/0.6515, allocations: 7.938 kB / 397.6 MB, free: 11.7 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002098/0.6517, allocations: 15.89 kB / 397.6 MB, free: 11.68 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.597e-05/0.6518, allocations: 14.5 kB / 397.7 MB, free: 11.67 MB / 330.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.0001846/0.652, allocations: 119.4 kB / 397.8 MB, free: 11.55 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008904/0.6529, allocations: 291.5 kB / 398.1 MB, free: 11.3 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.988e-05/0.653, allocations: 12.19 kB / 398.1 MB, free: 11.29 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.496e-05/0.6531, allocations: 24.27 kB / 398.1 MB, free: 11.27 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.057e-06/0.6531, allocations: 4 kB / 398.1 MB, free: 11.27 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.114e-05/0.6532, allocations: 3.984 kB / 398.1 MB, free: 11.26 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.023e-06/0.6532, allocations: 0 / 398.1 MB, free: 11.26 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003066/0.6535, allocations: 193.2 kB / 398.3 MB, free: 11.05 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.059e-05/0.6535, allocations: 7.953 kB / 398.3 MB, free: 11.04 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.367e-05/0.6536, allocations: 3.938 kB / 398.3 MB, free: 11.04 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.238e-05/0.6536, allocations: 7.984 kB / 398.3 MB, free: 11.03 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.361e-05/0.6536, allocations: 7.812 kB / 398.3 MB, free: 11.03 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.203e-06/0.6537, allocations: 3.938 kB / 398.3 MB, free: 11.02 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.177e-06/0.6537, allocations: 0 / 398.3 MB, free: 11.02 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004665/0.6583, allocations: 364 kB / 398.7 MB, free: 10.67 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.704e-05/0.6585, allocations: 89.02 kB / 398.8 MB, free: 10.56 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.228e-05/0.6586, allocations: 15.86 kB / 398.8 MB, free: 10.55 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002414/0.6588, allocations: 11.98 kB / 398.8 MB, free: 10.54 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.215e-05/0.6589, allocations: 15.75 kB / 398.8 MB, free: 10.53 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001094/0.659, allocations: 31.89 kB / 398.8 MB, free: 10.5 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001933/0.6592, allocations: 131.7 kB / 399 MB, free: 10.38 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.71e-07/0.6593, allocations: 0 / 399 MB, free: 10.38 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0009253/0.6602, allocations: 95.62 kB / 399.1 MB, free: 10.29 MB / 330.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.00646/0.6667, allocations: 1.186 MB / 400.2 MB, free: 9.102 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0008323/0.6676, allocations: 395 kB / 400.6 MB, free: 8.715 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.528e-06/0.6676, allocations: 0 / 400.6 MB, free: 8.715 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002842/0.6679, allocations: 89.64 kB / 400.7 MB, free: 8.641 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002622/0.6682, allocations: 7.312 kB / 400.7 MB, free: 8.637 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001474/0.6697, allocations: 325.5 kB / 401 MB, free: 8.309 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000522/0.6702, allocations: 0.7272 MB / 401.8 MB, free: 7.559 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 5.494e-05/0.6703, allocations: 8.828 kB / 401.8 MB, free: 7.547 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.39e-05/0.6704, allocations: 33.3 kB / 401.8 MB, free: 7.531 MB / 330.7 MB Notification: Performance of SimCode: time 1.052e-06/0.6704, allocations: 0 / 401.8 MB, free: 7.531 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0413/0.7117, allocations: 3.685 MB / 405.5 MB, free: 3.863 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002907/0.7121, allocations: 124.9 kB / 405.6 MB, free: 3.668 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.451/3.163, allocations: 0 / 405.6 MB, free: 3.668 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Blocks.IntegerTable_res.mat does not exist to compare? outputFormat=mat