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.274/2.274, allocations: 235 MB / 247.2 MB, free: 14.34 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.796e-05/3.817e-05, allocations: 4.938 kB / 305 MB, free: 5.078 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3866/0.3867, allocations: 54.85 MB / 359.9 MB, free: 3.152 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1524/0.5391, allocations: 80.26 MB / 440.1 MB, free: 0.6758 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002786/0.5395, allocations: 59.97 kB / 440.2 MB, free: 0.6172 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02417/0.5637, allocations: 4.443 MB / 444.6 MB, free: 12.2 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.5637, allocations: 0 / 444.6 MB, free: 12.2 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.967e-06/0.5637, allocations: 0 / 444.6 MB, free: 12.2 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.0009816/0.5647, allocations: 0.5438 MB / 445.2 MB, free: 11.58 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.646e-05/0.5648, allocations: 8.031 kB / 445.2 MB, free: 11.57 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.734e-05/0.5649, allocations: 38.55 kB / 445.2 MB, free: 11.53 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.239e-05/0.5649, allocations: 23.86 kB / 445.3 MB, free: 11.5 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001528/0.5651, allocations: 179.8 kB / 445.4 MB, free: 11.29 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.153e-05/0.5652, allocations: 4 kB / 445.4 MB, free: 11.29 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.008e-05/0.5652, allocations: 7.984 kB / 445.4 MB, free: 11.28 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003867/0.5656, allocations: 161 kB / 445.6 MB, free: 11.1 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.5656, allocations: 0 / 445.6 MB, free: 11.1 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.432e-05/0.5657, allocations: 4 kB / 445.6 MB, free: 11.1 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.496e-06/0.5657, allocations: 7.953 kB / 445.6 MB, free: 11.09 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001764/0.5659, allocations: 67.91 kB / 445.7 MB, free: 11.02 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003958/0.5663, allocations: 260.2 kB / 445.9 MB, free: 10.71 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003716/0.5667, allocations: 162.4 kB / 446.1 MB, free: 10.52 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001991/0.5669, allocations: 84.52 kB / 446.2 MB, free: 10.42 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.439e-05/0.5669, allocations: 4 kB / 446.2 MB, free: 10.42 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004644/0.5674, allocations: 197.1 kB / 446.4 MB, free: 10.2 MB / 378.7 MB Notification: Performance of pre-optimization done (n=16): time 2.675e-06/0.5674, allocations: 0 / 446.4 MB, free: 10.2 MB / 378.7 MB Notification: Performance of matching and sorting (n=16): time 0.0008251/0.5682, allocations: 289.3 kB / 446.7 MB, free: 9.914 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001178/0.5684, allocations: 148.4 kB / 446.8 MB, free: 9.738 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002372/0.5686, allocations: 169.3 kB / 447 MB, free: 9.566 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.102e-05/0.5687, allocations: 33.7 kB / 447 MB, free: 9.527 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.994e-05/0.5688, allocations: 104.1 kB / 447.1 MB, free: 9.422 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.664e-05/0.5689, allocations: 43.53 kB / 447.1 MB, free: 9.379 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.873e-05/0.5689, allocations: 4.562 kB / 447.1 MB, free: 9.375 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001657/0.5691, allocations: 330.8 kB / 447.5 MB, free: 9.043 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001986/0.5693, allocations: 68.22 kB / 447.5 MB, free: 8.973 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000223/0.5696, allocations: 103.9 kB / 447.6 MB, free: 8.859 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002992/0.5699, allocations: 194.1 kB / 447.8 MB, free: 8.648 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/0.5699, allocations: 0 / 447.8 MB, free: 8.648 MB / 378.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001337/0.5713, allocations: 414.4 kB / 448.2 MB, free: 8.215 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001508/0.5715, allocations: 118.8 kB / 448.3 MB, free: 8.074 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.506e-05/0.5715, allocations: 4 kB / 448.3 MB, free: 8.07 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.329e-05/0.5715, allocations: 0 / 448.3 MB, free: 8.07 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.472e-05/0.5716, allocations: 11.92 kB / 448.4 MB, free: 8.059 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.551e-05/0.5717, allocations: 3.953 kB / 448.4 MB, free: 8.055 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002635/0.5719, allocations: 19.84 kB / 448.4 MB, free: 8.035 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.249e-05/0.572, allocations: 16 kB / 448.4 MB, free: 8.02 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.0002045/0.5723, allocations: 130.1 kB / 448.5 MB, free: 7.887 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.655e-05/0.5723, allocations: 19.81 kB / 448.5 MB, free: 7.867 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.93e-05/0.5724, allocations: 16.03 kB / 448.6 MB, free: 7.848 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/0.5724, allocations: 0 / 448.6 MB, free: 7.848 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.102e-05/0.5725, allocations: 7.984 kB / 448.6 MB, free: 7.84 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.057e-06/0.5725, allocations: 3.953 kB / 448.6 MB, free: 7.836 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002776/0.5728, allocations: 217.2 kB / 448.8 MB, free: 7.578 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.5728, allocations: 192 / 448.8 MB, free: 7.578 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.01e-05/0.5728, allocations: 11.98 kB / 448.8 MB, free: 7.566 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.963e-06/0.5729, allocations: 0.9375 kB / 448.8 MB, free: 7.566 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.258e-05/0.5729, allocations: 11.98 kB / 448.8 MB, free: 7.555 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.304e-06/0.5729, allocations: 3.984 kB / 448.8 MB, free: 7.551 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/0.5729, allocations: 6.031 kB / 448.8 MB, free: 7.547 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007886/0.5737, allocations: 374.2 kB / 449.2 MB, free: 7.137 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.81e-05/0.5738, allocations: 92.91 kB / 449.3 MB, free: 7.027 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.561e-05/0.5739, allocations: 11.95 kB / 449.3 MB, free: 7.016 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002208/0.5741, allocations: 15.98 kB / 449.3 MB, free: 7 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.205e-05/0.5742, allocations: 7.984 kB / 449.3 MB, free: 6.992 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.489e-05/0.5743, allocations: 35.95 kB / 449.3 MB, free: 6.957 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001781/0.5745, allocations: 132.7 kB / 449.5 MB, free: 6.828 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.2e-07/0.5745, allocations: 0 / 449.5 MB, free: 6.828 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006518/0.5752, allocations: 95.92 kB / 449.6 MB, free: 6.734 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.001716/0.5769, allocations: 1.201 MB / 450.8 MB, free: 5.488 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007262/0.5777, allocations: 409.5 kB / 451.2 MB, free: 5.039 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.047e-06/0.5777, allocations: 0 / 451.2 MB, free: 5.039 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002545/0.578, allocations: 89.3 kB / 451.3 MB, free: 4.953 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001952/0.5782, allocations: 13.83 kB / 451.3 MB, free: 4.941 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001145/0.5793, allocations: 344 kB / 451.6 MB, free: 4.562 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004734/0.5798, allocations: 0.7199 MB / 452.3 MB, free: 3.816 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.049e-05/0.5799, allocations: 4.891 kB / 452.3 MB, free: 3.805 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001385/0.5801, allocations: 35.42 kB / 452.4 MB, free: 3.77 MB / 378.7 MB Notification: Performance of SimCode: time 1.442e-06/0.5801, allocations: 0 / 452.4 MB, free: 3.77 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02536/0.6055, allocations: 3.991 MB / 456.4 MB, free: 15.85 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003184/0.6058, allocations: 140.9 kB / 456.5 MB, free: 15.62 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.471/3.077, allocations: 4 kB / 456.5 MB, free: 15.62 MB / 394.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