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.626/2.626, allocations: 235.2 MB / 242.3 MB, free: 9.578 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.281e-05/2.29e-05, allocations: 0 / 299.6 MB, free: 220 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3851/0.3852, allocations: 54.85 MB / 354.4 MB, free: 15.28 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1659/0.5511, allocations: 79.59 MB / 434 MB, free: 15.57 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002424/0.5514, allocations: 59.97 kB / 434.1 MB, free: 15.51 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02608/0.5775, allocations: 4.434 MB / 438.5 MB, free: 11.07 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.5775, allocations: 0 / 438.5 MB, free: 11.07 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.197e-06/0.5776, allocations: 0 / 438.5 MB, free: 11.07 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.001127/0.5787, allocations: 0.5438 MB / 439.1 MB, free: 10.46 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.204e-05/0.5788, allocations: 11.97 kB / 439.1 MB, free: 10.45 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.695e-05/0.5789, allocations: 15.86 kB / 439.1 MB, free: 10.43 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001717/0.579, allocations: 182.8 kB / 439.3 MB, free: 10.21 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.748e-05/0.5791, allocations: 8 kB / 439.3 MB, free: 10.2 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.4e-05/0.5792, allocations: 4 kB / 439.3 MB, free: 10.2 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001972/0.5794, allocations: 59.97 kB / 439.3 MB, free: 10.14 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003696/0.5797, allocations: 153 kB / 439.5 MB, free: 9.973 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.329e-05/0.5798, allocations: 0 / 439.5 MB, free: 9.973 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.811e-05/0.5798, allocations: 11.94 kB / 439.5 MB, free: 9.961 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.099e-05/0.5798, allocations: 7.938 kB / 439.5 MB, free: 9.953 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003673/0.5802, allocations: 240.8 kB / 439.7 MB, free: 9.672 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003431/0.5806, allocations: 158.5 kB / 439.9 MB, free: 9.48 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001877/0.5808, allocations: 79.52 kB / 440 MB, free: 9.391 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.05e-05/0.5808, allocations: 3.984 kB / 440 MB, free: 9.387 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000479/0.5813, allocations: 192.7 kB / 440.2 MB, free: 9.176 MB / 378.7 MB Notification: Performance of pre-optimization done (n=16): time 2.775e-06/0.5813, allocations: 0 / 440.2 MB, free: 9.176 MB / 378.7 MB Notification: Performance of matching and sorting (n=16): time 0.0008323/0.5822, allocations: 277.3 kB / 440.4 MB, free: 8.898 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001069/0.5823, allocations: 148.4 kB / 440.6 MB, free: 8.723 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002114/0.5825, allocations: 153.3 kB / 440.7 MB, free: 8.566 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.892e-05/0.5826, allocations: 33.69 kB / 440.8 MB, free: 8.527 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.731e-05/0.5827, allocations: 104.1 kB / 440.9 MB, free: 8.422 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.369e-05/0.5828, allocations: 43.48 kB / 440.9 MB, free: 8.379 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.648e-05/0.5828, allocations: 4 kB / 440.9 MB, free: 8.375 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001614/0.583, allocations: 334.8 kB / 441.2 MB, free: 8.039 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001947/0.5832, allocations: 64.22 kB / 441.3 MB, free: 7.973 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002275/0.5834, allocations: 99.86 kB / 441.4 MB, free: 7.863 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003456/0.5838, allocations: 75.94 kB / 441.5 MB, free: 7.789 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.5838, allocations: 0 / 441.5 MB, free: 7.789 MB / 378.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0008827/0.5847, allocations: 289.3 kB / 441.8 MB, free: 7.5 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001159/0.5848, allocations: 126.8 kB / 441.9 MB, free: 7.352 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.02e-05/0.5849, allocations: 4 kB / 441.9 MB, free: 7.348 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.889e-05/0.5849, allocations: 0 / 441.9 MB, free: 7.348 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.311e-05/0.585, allocations: 8.188 kB / 441.9 MB, free: 7.34 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/0.585, allocations: 0 / 441.9 MB, free: 7.34 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001823/0.5852, allocations: 23.89 kB / 441.9 MB, free: 7.316 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.501e-05/0.5852, allocations: 12 kB / 441.9 MB, free: 7.305 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.0001552/0.5854, allocations: 132 kB / 442.1 MB, free: 7.168 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007264/0.5861, allocations: 281.5 kB / 442.3 MB, free: 6.887 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.444e-05/0.5862, allocations: 19.78 kB / 442.3 MB, free: 6.867 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.469e-05/0.5863, allocations: 20.33 kB / 442.4 MB, free: 6.848 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.219e-06/0.5863, allocations: 0 / 442.4 MB, free: 6.848 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.5863, allocations: 4 kB / 442.4 MB, free: 6.844 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.045e-06/0.5863, allocations: 3.953 kB / 442.4 MB, free: 6.84 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002524/0.5866, allocations: 194 kB / 442.6 MB, free: 6.613 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.951e-06/0.5866, allocations: 4 kB / 442.6 MB, free: 6.609 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.239e-05/0.5866, allocations: 0 / 442.6 MB, free: 6.609 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.125e-05/0.5867, allocations: 7.984 kB / 442.6 MB, free: 6.602 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.1e-05/0.5867, allocations: 12 kB / 442.6 MB, free: 6.59 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.5867, allocations: 0 / 442.6 MB, free: 6.59 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.33e-05/0.5867, allocations: 7.922 kB / 442.6 MB, free: 6.582 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007498/0.5875, allocations: 356.5 kB / 442.9 MB, free: 6.188 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.063e-05/0.5876, allocations: 85.02 kB / 443 MB, free: 6.086 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.79e-05/0.5877, allocations: 19.94 kB / 443 MB, free: 6.066 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001928/0.5879, allocations: 11.98 kB / 443.1 MB, free: 6.055 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.934e-05/0.588, allocations: 11.98 kB / 443.1 MB, free: 6.043 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.537e-05/0.5881, allocations: 31.89 kB / 443.1 MB, free: 6.012 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001579/0.5882, allocations: 135.2 kB / 443.2 MB, free: 5.879 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.21e-07/0.5882, allocations: 3.938 kB / 443.2 MB, free: 5.875 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006812/0.5889, allocations: 83.94 kB / 443.3 MB, free: 5.793 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.001639/0.5906, allocations: 1.196 MB / 444.5 MB, free: 4.547 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006443/0.5913, allocations: 397.5 kB / 444.9 MB, free: 4.109 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.5913, allocations: 0 / 444.9 MB, free: 4.109 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002445/0.5915, allocations: 83.91 kB / 445 MB, free: 4.027 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000205/0.5917, allocations: 8.625 kB / 445 MB, free: 4.02 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001108/0.5929, allocations: 336.6 kB / 445.3 MB, free: 3.652 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004804/0.5934, allocations: 0.7158 MB / 446 MB, free: 2.91 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.516e-05/0.5934, allocations: 4.891 kB / 446 MB, free: 2.898 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000102/0.5935, allocations: 39.42 kB / 446.1 MB, free: 2.859 MB / 378.7 MB Notification: Performance of SimCode: time 1.052e-06/0.5936, allocations: 7.875 kB / 446.1 MB, free: 2.852 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04916/0.6427, allocations: 3.678 MB / 449.8 MB, free: 15.19 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003642/0.6432, allocations: 136.6 kB / 449.9 MB, free: 14.99 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 2.74/3.383, allocations: 0 / 449.9 MB, free: 14.99 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Blocks.IntegerTable_res.mat does not exist to compare? outputFormat=mat