Running command: "" <> buildModelFMU(ModelicaTest.Blocks.IntegerTable,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Blocks_IntegerTable",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.485/2.485, allocations: 235 MB / 247.6 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.886e-05/3.908e-05, allocations: 4 kB / 305 MB, free: 5.582 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4005/0.4005, allocations: 54.86 MB / 359.9 MB, free: 2.309 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1508/0.5514, allocations: 80.26 MB / 440.1 MB, free: 0.6406 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002462/0.5517, allocations: 59.97 kB / 440.2 MB, free: 0.582 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02325/0.575, allocations: 4.439 MB / 444.6 MB, free: 12.16 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.893e-06/0.575, allocations: 8 kB / 444.6 MB, free: 12.16 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.905e-06/0.575, allocations: 0 / 444.6 MB, free: 12.16 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.001055/0.5761, allocations: 0.536 MB / 445.2 MB, free: 11.55 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.454e-05/0.5762, allocations: 16.62 kB / 445.2 MB, free: 11.54 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.832e-05/0.5762, allocations: 34.55 kB / 445.2 MB, free: 11.49 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.864e-05/0.5763, allocations: 15.86 kB / 445.2 MB, free: 11.48 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001788/0.5765, allocations: 185.3 kB / 445.4 MB, free: 11.26 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.755e-05/0.5766, allocations: 11.98 kB / 445.4 MB, free: 11.25 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.532e-05/0.5766, allocations: 12 kB / 445.4 MB, free: 11.23 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004104/0.577, allocations: 162 kB / 445.6 MB, free: 11.06 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.5771, allocations: 1.031 kB / 445.6 MB, free: 11.06 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.383e-05/0.5771, allocations: 3.984 kB / 445.6 MB, free: 11.05 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.036e-05/0.5771, allocations: 7.953 kB / 445.6 MB, free: 11.05 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001764/0.5773, allocations: 51.98 kB / 445.6 MB, free: 11 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003756/0.5777, allocations: 264.1 kB / 445.9 MB, free: 10.68 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003494/0.5781, allocations: 166.5 kB / 446.1 MB, free: 10.48 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001913/0.5783, allocations: 83.52 kB / 446.1 MB, free: 10.39 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.504e-06/0.5783, allocations: 0 / 446.1 MB, free: 10.39 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000437/0.5787, allocations: 195.2 kB / 446.3 MB, free: 10.17 MB / 378.7 MB Notification: Performance of pre-optimization done (n=16): time 2.645e-06/0.5788, allocations: 4 kB / 446.3 MB, free: 10.17 MB / 378.7 MB Notification: Performance of matching and sorting (n=16): time 0.0008391/0.5796, allocations: 297.3 kB / 446.6 MB, free: 9.871 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001197/0.5798, allocations: 145.8 kB / 446.8 MB, free: 9.699 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002526/0.58, allocations: 165.3 kB / 446.9 MB, free: 9.531 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.736e-05/0.5801, allocations: 37.7 kB / 447 MB, free: 9.488 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001077/0.5802, allocations: 162.6 kB / 447.1 MB, free: 9.328 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.254e-05/0.5803, allocations: 35.55 kB / 447.2 MB, free: 9.293 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.03e-05/0.5803, allocations: 8 kB / 447.2 MB, free: 9.285 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001497/0.5805, allocations: 322.8 kB / 447.5 MB, free: 8.961 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002055/0.5807, allocations: 68.22 kB / 447.6 MB, free: 8.891 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002325/0.581, allocations: 107.8 kB / 447.7 MB, free: 8.773 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003012/0.5813, allocations: 190.8 kB / 447.8 MB, free: 8.562 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.5813, allocations: 0 / 447.8 MB, free: 8.562 MB / 378.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0008368/0.5821, allocations: 406.8 kB / 448.2 MB, free: 8.137 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001048/0.5823, allocations: 122.8 kB / 448.4 MB, free: 7.992 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.079e-05/0.5823, allocations: 4 kB / 448.4 MB, free: 7.988 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.744e-05/0.5823, allocations: 0 / 448.4 MB, free: 7.988 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.84e-05/0.5824, allocations: 9.766 kB / 448.4 MB, free: 7.98 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.203e-05/0.5824, allocations: 7.891 kB / 448.4 MB, free: 7.973 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001657/0.5826, allocations: 19.84 kB / 448.4 MB, free: 7.953 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.332e-05/0.5826, allocations: 16 kB / 448.4 MB, free: 7.938 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.0001473/0.5828, allocations: 120.1 kB / 448.5 MB, free: 7.812 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.908e-05/0.5829, allocations: 23.81 kB / 448.6 MB, free: 7.789 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.905e-05/0.5829, allocations: 16.03 kB / 448.6 MB, free: 7.77 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.2e-06/0.583, allocations: 0 / 448.6 MB, free: 7.77 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.219e-05/0.583, allocations: 8.859 kB / 448.6 MB, free: 7.762 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.213e-06/0.583, allocations: 3.953 kB / 448.6 MB, free: 7.758 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002769/0.5833, allocations: 213.6 kB / 448.8 MB, free: 7.5 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.5833, allocations: 0 / 448.8 MB, free: 7.5 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.884e-05/0.5833, allocations: 7.938 kB / 448.8 MB, free: 7.492 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.803e-06/0.5833, allocations: 3.984 kB / 448.8 MB, free: 7.488 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.747e-05/0.5834, allocations: 9.375 kB / 448.8 MB, free: 7.48 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.661e-06/0.5834, allocations: 8 kB / 448.8 MB, free: 7.473 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.653e-06/0.5834, allocations: 3.984 kB / 448.8 MB, free: 7.469 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008189/0.5842, allocations: 370.2 kB / 449.2 MB, free: 7.062 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.151e-05/0.5843, allocations: 96.91 kB / 449.3 MB, free: 6.949 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.812e-05/0.5844, allocations: 13.36 kB / 449.3 MB, free: 6.938 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001896/0.5846, allocations: 11.98 kB / 449.3 MB, free: 6.926 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.653e-05/0.5847, allocations: 12.06 kB / 449.3 MB, free: 6.914 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.31e-05/0.5848, allocations: 35.94 kB / 449.4 MB, free: 6.879 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001798/0.585, allocations: 132.1 kB / 449.5 MB, free: 6.75 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.585, allocations: 0 / 449.5 MB, free: 6.75 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006866/0.5857, allocations: 99.92 kB / 449.6 MB, free: 6.652 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.001709/0.5874, allocations: 1.197 MB / 450.8 MB, free: 5.41 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007416/0.5882, allocations: 412.4 kB / 451.2 MB, free: 4.961 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.5882, allocations: 0 / 451.2 MB, free: 4.961 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002423/0.5885, allocations: 83.91 kB / 451.3 MB, free: 4.879 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001848/0.5887, allocations: 11.91 kB / 451.3 MB, free: 4.867 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001134/0.5898, allocations: 383.7 kB / 451.7 MB, free: 4.445 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003851/0.5902, allocations: 0.7238 MB / 452.4 MB, free: 3.695 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.074e-05/0.5903, allocations: 35.42 kB / 452.4 MB, free: 3.66 MB / 378.7 MB Notification: Performance of SimCode: time 9.72e-07/0.5903, allocations: 0 / 452.4 MB, free: 3.66 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.66/3.25, allocations: 3.277 MB / 455.7 MB, free: 412 kB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Blocks.IntegerTable_res.mat does not exist to compare? outputFormat=mat