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 2.005/2.005, allocations: 209.4 MB / 216.9 MB, free: 6.664 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.525e-05/2.526e-05, allocations: 0 / 267.6 MB, free: 5.328 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1051/0.1052, allocations: 48.7 MB / 316.3 MB, free: 4.531 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4045/0.5098, allocations: 73.47 MB / 389.8 MB, free: 2.855 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000202/0.51, allocations: 60.44 kB / 389.8 MB, free: 2.828 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02274/0.5328, allocations: 4.425 MB / 394.2 MB, free: 14.98 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.562e-06/0.5329, allocations: 3.938 kB / 394.3 MB, free: 14.97 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.099e-05/0.5329, allocations: 0 / 394.3 MB, free: 14.97 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.0009676/0.5339, allocations: 0.546 MB / 394.8 MB, free: 14.37 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.83e-05/0.5339, allocations: 8.031 kB / 394.8 MB, free: 14.36 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.453e-05/0.534, allocations: 11.91 kB / 394.8 MB, free: 14.35 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001533/0.5342, allocations: 186.8 kB / 395 MB, free: 14.12 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.26e-05/0.5342, allocations: 7.625 kB / 395 MB, free: 14.12 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.835e-05/0.5343, allocations: 4 kB / 395 MB, free: 14.12 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000172/0.5344, allocations: 56.59 kB / 395.1 MB, free: 14.07 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003145/0.5348, allocations: 161.6 kB / 395.2 MB, free: 13.92 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.5348, allocations: 4 kB / 395.2 MB, free: 13.91 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.038e-05/0.5348, allocations: 0 / 395.2 MB, free: 13.91 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.257e-06/0.5349, allocations: 0 / 395.2 MB, free: 13.91 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003122/0.5352, allocations: 238.9 kB / 395.5 MB, free: 13.66 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002929/0.5355, allocations: 163.7 kB / 395.6 MB, free: 13.48 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001574/0.5356, allocations: 76.64 kB / 395.7 MB, free: 13.41 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.739e-05/0.5357, allocations: 11.92 kB / 395.7 MB, free: 13.39 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003861/0.5361, allocations: 183.9 kB / 395.9 MB, free: 13.21 MB / 330.7 MB Notification: Performance of pre-optimization done (n=16): time 5.931e-06/0.5361, allocations: 0 / 395.9 MB, free: 13.21 MB / 330.7 MB Notification: Performance of matching and sorting (n=16): time 0.0007337/0.5368, allocations: 288.4 kB / 396.2 MB, free: 12.96 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.282e-05/0.5369, allocations: 143.7 kB / 396.3 MB, free: 12.8 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001979/0.5372, allocations: 166.5 kB / 396.5 MB, free: 12.64 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.567e-05/0.5372, allocations: 33.69 kB / 396.5 MB, free: 12.61 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.776e-05/0.5373, allocations: 162.2 kB / 396.7 MB, free: 12.46 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.599e-05/0.5374, allocations: 35.06 kB / 396.7 MB, free: 12.43 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.404e-05/0.5374, allocations: 0 / 396.7 MB, free: 12.43 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001359/0.5375, allocations: 322.8 kB / 397 MB, free: 12.11 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000164/0.5377, allocations: 67.02 kB / 397.1 MB, free: 12.06 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000188/0.5379, allocations: 101.2 kB / 397.2 MB, free: 11.97 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003043/0.5382, allocations: 76.38 kB / 397.3 MB, free: 11.91 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.041e-05/0.5383, allocations: 7.984 kB / 397.3 MB, free: 11.9 MB / 330.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0007773/0.539, allocations: 279.8 kB / 397.5 MB, free: 11.67 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001041/0.5392, allocations: 128.6 kB / 397.7 MB, free: 11.52 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.313e-06/0.5392, allocations: 0 / 397.7 MB, free: 11.52 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.058e-05/0.5392, allocations: 4 kB / 397.7 MB, free: 11.52 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.503e-05/0.5393, allocations: 3.984 kB / 397.7 MB, free: 11.52 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.172e-06/0.5393, allocations: 7.938 kB / 397.7 MB, free: 11.51 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001644/0.5395, allocations: 15.91 kB / 397.7 MB, free: 11.49 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.426e-05/0.5395, allocations: 19.23 kB / 397.7 MB, free: 11.48 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.0001441/0.5397, allocations: 119.4 kB / 397.8 MB, free: 11.36 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006348/0.5403, allocations: 286.2 kB / 398.1 MB, free: 11.11 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.903e-05/0.5404, allocations: 16.19 kB / 398.1 MB, free: 11.09 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.221e-05/0.5405, allocations: 21.7 kB / 398.1 MB, free: 11.08 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.244e-06/0.5405, allocations: 4 kB / 398.1 MB, free: 11.07 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/0.5405, allocations: 4 kB / 398.1 MB, free: 11.07 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.666e-06/0.5405, allocations: 11.98 kB / 398.2 MB, free: 11.06 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002263/0.5408, allocations: 189.8 kB / 398.3 MB, free: 10.85 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.174e-06/0.5408, allocations: 3.953 kB / 398.3 MB, free: 10.85 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.949e-05/0.5408, allocations: 11.88 kB / 398.4 MB, free: 10.84 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.961e-06/0.5408, allocations: 0 / 398.4 MB, free: 10.84 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.828e-05/0.5409, allocations: 11.42 kB / 398.4 MB, free: 10.83 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.929e-06/0.5409, allocations: 4 kB / 398.4 MB, free: 10.82 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/0.5409, allocations: 0 / 398.4 MB, free: 10.82 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006579/0.5415, allocations: 365.7 kB / 398.7 MB, free: 10.47 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.796e-05/0.5416, allocations: 85.02 kB / 398.8 MB, free: 10.37 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.648e-05/0.5417, allocations: 4 kB / 398.8 MB, free: 10.36 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001828/0.5419, allocations: 15.36 kB / 398.8 MB, free: 10.35 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.879e-05/0.542, allocations: 27.86 kB / 398.9 MB, free: 10.32 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.813e-05/0.5421, allocations: 23.22 kB / 398.9 MB, free: 10.3 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001371/0.5422, allocations: 133.1 kB / 399 MB, free: 10.19 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.5422, allocations: 0 / 399 MB, free: 10.19 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006295/0.5429, allocations: 95.86 kB / 399.1 MB, free: 10.09 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.001535/0.5444, allocations: 1.18 MB / 400.3 MB, free: 8.914 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005966/0.545, allocations: 402.1 kB / 400.7 MB, free: 8.52 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.5451, allocations: 4 kB / 400.7 MB, free: 8.516 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000199/0.5453, allocations: 79.55 kB / 400.8 MB, free: 8.453 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001959/0.5455, allocations: 7.984 kB / 400.8 MB, free: 8.445 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001043/0.5465, allocations: 363.3 kB / 401.1 MB, free: 8.078 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003461/0.5469, allocations: 0.7228 MB / 401.8 MB, free: 7.332 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.564e-05/0.547, allocations: 33.56 kB / 401.9 MB, free: 7.316 MB / 330.7 MB Notification: Performance of SimCode: time 1.092e-06/0.547, allocations: 0 / 401.9 MB, free: 7.316 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.721/3.269, allocations: 3.3 MB / 405.2 MB, free: 4.035 MB / 330.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