Running command: "" <> buildModelFMU(ModelicaTest.Blocks.IntegerTable,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Blocks_IntegerTable",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.793/1.793, allocations: 209.3 MB / 221.9 MB, free: 1.93 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.495e-05/3.508e-05, allocations: 4 kB / 273.1 MB, free: 0.6445 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1159/0.116, allocations: 48.69 MB / 321.8 MB, free: 15.85 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4313/0.5474, allocations: 73.87 MB / 395.7 MB, free: 64 kB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002624/0.5477, allocations: 71.25 kB / 395.8 MB, free: 15.99 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02233/0.57, allocations: 4.438 MB / 400.2 MB, free: 11.56 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.5701, allocations: 0 / 400.2 MB, free: 11.56 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.351e-05/0.5701, allocations: 4 kB / 400.2 MB, free: 11.56 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.000946/0.5711, allocations: 0.5399 MB / 400.7 MB, free: 10.95 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.644e-05/0.5711, allocations: 8.031 kB / 400.7 MB, free: 10.94 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.441e-05/0.5712, allocations: 46.48 kB / 400.8 MB, free: 10.89 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.485e-05/0.5713, allocations: 11.91 kB / 400.8 MB, free: 10.88 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001572/0.5715, allocations: 186.8 kB / 401 MB, free: 10.65 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.313e-05/0.5715, allocations: 11.98 kB / 401 MB, free: 10.64 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.925e-05/0.5716, allocations: 8 kB / 401 MB, free: 10.63 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003748/0.5719, allocations: 165 kB / 401.2 MB, free: 10.45 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.572, allocations: 0 / 401.2 MB, free: 10.45 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.296e-05/0.572, allocations: 3.984 kB / 401.2 MB, free: 10.45 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.572, allocations: 0 / 401.2 MB, free: 10.45 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001655/0.5722, allocations: 59.92 kB / 401.2 MB, free: 10.39 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003453/0.5726, allocations: 260.2 kB / 401.5 MB, free: 10.08 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003387/0.5729, allocations: 170.5 kB / 401.6 MB, free: 9.875 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000182/0.5731, allocations: 87.44 kB / 401.7 MB, free: 9.777 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.271e-05/0.5731, allocations: 4 kB / 401.7 MB, free: 9.773 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004397/0.5736, allocations: 198.6 kB / 401.9 MB, free: 9.555 MB / 330.7 MB Notification: Performance of pre-optimization done (n=16): time 2.274e-06/0.5736, allocations: 0 / 401.9 MB, free: 9.555 MB / 330.7 MB Notification: Performance of matching and sorting (n=16): time 0.0008023/0.5744, allocations: 293.3 kB / 402.2 MB, free: 9.262 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.416e-05/0.5745, allocations: 140.5 kB / 402.4 MB, free: 9.094 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002227/0.5748, allocations: 169.3 kB / 402.5 MB, free: 8.922 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.759e-05/0.5748, allocations: 33.7 kB / 402.6 MB, free: 8.883 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001021/0.5749, allocations: 162.6 kB / 402.7 MB, free: 8.723 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.14e-05/0.575, allocations: 43.53 kB / 402.8 MB, free: 8.68 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.869e-05/0.575, allocations: 4 kB / 402.8 MB, free: 8.676 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001384/0.5752, allocations: 322.8 kB / 403.1 MB, free: 8.352 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001935/0.5754, allocations: 72.14 kB / 403.1 MB, free: 8.277 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002237/0.5756, allocations: 111.8 kB / 403.3 MB, free: 8.156 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000279/0.5759, allocations: 190.8 kB / 403.4 MB, free: 7.945 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.5759, allocations: 0 / 403.4 MB, free: 7.945 MB / 330.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0008166/0.5768, allocations: 404.2 kB / 403.8 MB, free: 7.52 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001014/0.5769, allocations: 118.8 kB / 404 MB, free: 7.379 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.5769, allocations: 0 / 404 MB, free: 7.379 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/0.5769, allocations: 7.984 kB / 404 MB, free: 7.371 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.133e-05/0.577, allocations: 7.938 kB / 404 MB, free: 7.363 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.398e-06/0.577, allocations: 3.938 kB / 404 MB, free: 7.359 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001618/0.5772, allocations: 23.91 kB / 404 MB, free: 7.336 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.828e-05/0.5773, allocations: 11.98 kB / 404 MB, free: 7.324 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.0001493/0.5774, allocations: 132 kB / 404.1 MB, free: 7.188 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.595e-05/0.5775, allocations: 15.81 kB / 404.2 MB, free: 7.172 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.657e-05/0.5775, allocations: 16.02 kB / 404.2 MB, free: 7.156 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.645e-06/0.5776, allocations: 4 kB / 404.2 MB, free: 7.152 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.723e-06/0.5776, allocations: 256 / 404.2 MB, free: 7.152 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.099e-06/0.5776, allocations: 8 kB / 404.2 MB, free: 7.145 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002709/0.5779, allocations: 233.5 kB / 404.4 MB, free: 6.867 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.5779, allocations: 0 / 404.4 MB, free: 6.867 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.463e-05/0.5779, allocations: 4 kB / 404.4 MB, free: 6.863 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.379e-06/0.5779, allocations: 3.938 kB / 404.4 MB, free: 6.859 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.73e-05/0.578, allocations: 7.984 kB / 404.4 MB, free: 6.852 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.367e-06/0.578, allocations: 0 / 404.4 MB, free: 6.852 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-06/0.578, allocations: 4 kB / 404.4 MB, free: 6.848 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007349/0.5787, allocations: 377 kB / 404.8 MB, free: 6.434 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.099e-05/0.5788, allocations: 88.92 kB / 404.9 MB, free: 6.328 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.05e-05/0.5789, allocations: 12 kB / 404.9 MB, free: 6.316 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001688/0.5791, allocations: 15.98 kB / 404.9 MB, free: 6.301 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.653e-05/0.5791, allocations: 15.94 kB / 404.9 MB, free: 6.285 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.317e-05/0.5792, allocations: 27.95 kB / 405 MB, free: 6.258 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001571/0.5794, allocations: 136.1 kB / 405.1 MB, free: 6.125 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.5794, allocations: 0 / 405.1 MB, free: 6.125 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005807/0.58, allocations: 103.9 kB / 405.2 MB, free: 6.023 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.001543/0.5816, allocations: 1.201 MB / 406.4 MB, free: 4.773 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0006328/0.5822, allocations: 405.5 kB / 406.8 MB, free: 4.328 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.5822, allocations: 4 kB / 406.8 MB, free: 4.324 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000236/0.5825, allocations: 95.89 kB / 406.9 MB, free: 4.23 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001591/0.5826, allocations: 8 kB / 406.9 MB, free: 4.223 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001044/0.5837, allocations: 376.6 kB / 407.3 MB, free: 3.805 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003602/0.5841, allocations: 0.72 MB / 408 MB, free: 3.059 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.571e-05/0.5842, allocations: 35.42 kB / 408 MB, free: 3.023 MB / 330.7 MB Notification: Performance of SimCode: time 8.61e-07/0.5842, allocations: 0 / 408 MB, free: 3.023 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.622/3.206, allocations: 3.274 MB / 411.3 MB, free: 15.75 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Blocks.IntegerTable_res.mat does not exist to compare? outputFormat=mat