Running command: "" <> buildModelFMU(ModelicaTest.Blocks.IntegerTable,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Blocks_IntegerTable",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.539/2.539, allocations: 235.1 MB / 242.2 MB, free: 15.8 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.257e-05/3.276e-05, allocations: 7.938 kB / 299.5 MB, free: 6.473 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3995/0.3996, allocations: 54.85 MB / 354.3 MB, free: 14.06 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.148/0.5477, allocations: 79.59 MB / 433.9 MB, free: 2.625 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000219/0.5479, allocations: 59.97 kB / 434 MB, free: 2.566 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02237/0.5703, allocations: 4.435 MB / 438.4 MB, free: 14.13 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.5704, allocations: 4 kB / 438.4 MB, free: 14.12 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.265e-06/0.5704, allocations: 0 / 438.4 MB, free: 14.12 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.0009982/0.5714, allocations: 0.5399 MB / 439 MB, free: 13.52 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.965e-05/0.5715, allocations: 12.03 kB / 439 MB, free: 13.5 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.412e-05/0.5716, allocations: 15.86 kB / 439 MB, free: 13.49 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001619/0.5717, allocations: 186.8 kB / 439.2 MB, free: 13.27 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.501e-05/0.5718, allocations: 4 kB / 439.2 MB, free: 13.26 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.957e-05/0.5719, allocations: 11.98 kB / 439.2 MB, free: 13.25 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001716/0.572, allocations: 55.92 kB / 439.2 MB, free: 13.2 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003255/0.5724, allocations: 153 kB / 439.4 MB, free: 13.03 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.5724, allocations: 0 / 439.4 MB, free: 13.03 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.392e-05/0.5724, allocations: 3.984 kB / 439.4 MB, free: 13.02 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.095e-06/0.5725, allocations: 7.953 kB / 439.4 MB, free: 13.02 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003097/0.5728, allocations: 236.8 kB / 439.6 MB, free: 12.74 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003009/0.5731, allocations: 158.4 kB / 439.8 MB, free: 12.55 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001644/0.5733, allocations: 87.53 kB / 439.9 MB, free: 12.45 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.143e-05/0.5733, allocations: 0 / 439.9 MB, free: 12.45 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004128/0.5737, allocations: 190.7 kB / 440.1 MB, free: 12.24 MB / 378.7 MB Notification: Performance of pre-optimization done (n=16): time 4.589e-06/0.5737, allocations: 4 kB / 440.1 MB, free: 12.23 MB / 378.7 MB Notification: Performance of matching and sorting (n=16): time 0.0007278/0.5745, allocations: 285.2 kB / 440.3 MB, free: 11.95 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.004e-05/0.5746, allocations: 132.5 kB / 440.5 MB, free: 11.79 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001891/0.5748, allocations: 161.3 kB / 440.6 MB, free: 11.62 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.321e-05/0.5748, allocations: 33.7 kB / 440.7 MB, free: 11.59 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.53e-05/0.5749, allocations: 104.1 kB / 440.8 MB, free: 11.48 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.904e-05/0.575, allocations: 39.55 kB / 440.8 MB, free: 11.44 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.647e-05/0.575, allocations: 4 kB / 440.8 MB, free: 11.44 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001395/0.5752, allocations: 330.8 kB / 441.1 MB, free: 11.11 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001717/0.5754, allocations: 68.2 kB / 441.2 MB, free: 11.04 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001948/0.5756, allocations: 95.88 kB / 441.3 MB, free: 10.93 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003038/0.5759, allocations: 79.89 kB / 441.4 MB, free: 10.85 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.257e-06/0.5759, allocations: 0 / 441.4 MB, free: 10.85 MB / 378.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0007584/0.5767, allocations: 293.3 kB / 441.7 MB, free: 10.56 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001035/0.5768, allocations: 122.8 kB / 441.8 MB, free: 10.41 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.5768, allocations: 3.938 kB / 441.8 MB, free: 10.41 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.036e-05/0.5769, allocations: 4.25 kB / 441.8 MB, free: 10.41 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.234e-05/0.5769, allocations: 4 kB / 441.8 MB, free: 10.4 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.019e-05/0.5769, allocations: 7.984 kB / 441.8 MB, free: 10.39 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001444/0.5771, allocations: 15.84 kB / 441.8 MB, free: 10.38 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.817e-05/0.5772, allocations: 12 kB / 441.8 MB, free: 10.37 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.000147/0.5773, allocations: 136.2 kB / 442 MB, free: 10.23 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007032/0.578, allocations: 281.3 kB / 442.2 MB, free: 9.945 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.169e-05/0.5781, allocations: 15.89 kB / 442.2 MB, free: 9.93 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.202e-05/0.5781, allocations: 12.34 kB / 442.3 MB, free: 9.918 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.234e-06/0.5782, allocations: 4 kB / 442.3 MB, free: 9.914 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.66e-06/0.5782, allocations: 0 / 442.3 MB, free: 9.914 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.186e-05/0.5782, allocations: 11.94 kB / 442.3 MB, free: 9.902 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002514/0.5785, allocations: 194 kB / 442.5 MB, free: 9.676 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.786e-06/0.5785, allocations: 0 / 442.5 MB, free: 9.676 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.493e-05/0.5785, allocations: 7.938 kB / 442.5 MB, free: 9.668 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.999e-06/0.5785, allocations: 4 kB / 442.5 MB, free: 9.664 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.051e-05/0.5786, allocations: 7.984 kB / 442.5 MB, free: 9.656 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.139e-06/0.5786, allocations: 7.938 kB / 442.5 MB, free: 9.648 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.5786, allocations: 0 / 442.5 MB, free: 9.648 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000697/0.5793, allocations: 361.3 kB / 442.8 MB, free: 9.25 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.359e-05/0.5794, allocations: 89 kB / 442.9 MB, free: 9.145 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.011e-05/0.5794, allocations: 15.89 kB / 442.9 MB, free: 9.129 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001734/0.5796, allocations: 11.98 kB / 443 MB, free: 9.117 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.14e-05/0.5797, allocations: 11.98 kB / 443 MB, free: 9.105 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.538e-05/0.5798, allocations: 36.12 kB / 443 MB, free: 9.07 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001514/0.58, allocations: 131.2 kB / 443.1 MB, free: 8.941 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.11e-07/0.58, allocations: 0 / 443.1 MB, free: 8.941 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006202/0.5806, allocations: 91.86 kB / 443.2 MB, free: 8.852 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.001574/0.5822, allocations: 1.191 MB / 444.4 MB, free: 7.609 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005982/0.5828, allocations: 397.5 kB / 444.8 MB, free: 7.172 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.5828, allocations: 0 / 444.8 MB, free: 7.172 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002065/0.583, allocations: 79.92 kB / 444.9 MB, free: 7.094 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002007/0.5833, allocations: 7.984 kB / 444.9 MB, free: 7.086 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009958/0.5843, allocations: 339 kB / 445.2 MB, free: 6.715 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003465/0.5846, allocations: 0.7197 MB / 445.9 MB, free: 5.969 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.284e-05/0.5847, allocations: 12.88 kB / 445.9 MB, free: 5.949 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.095e-05/0.5848, allocations: 27.44 kB / 446 MB, free: 5.922 MB / 378.7 MB Notification: Performance of SimCode: time 1.192e-06/0.5848, allocations: 3.938 kB / 446 MB, free: 5.918 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09387/0.6787, allocations: 3.69 MB / 449.7 MB, free: 2.246 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002815/0.679, allocations: 125.9 kB / 449.8 MB, free: 2.051 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.538/3.217, allocations: 0 / 449.8 MB, free: 2.051 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Blocks.IntegerTable_res.mat does not exist to compare? outputFormat=mat