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.232/2.232, allocations: 235 MB / 247.1 MB, free: 14.39 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.426e-05/3.427e-05, allocations: 4 kB / 305 MB, free: 5.078 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3848/0.3848, allocations: 54.85 MB / 359.9 MB, free: 3.156 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1455/0.5304, allocations: 80.25 MB / 440.1 MB, free: 0.6484 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002241/0.5307, allocations: 63.97 kB / 440.2 MB, free: 0.5859 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02241/0.5531, allocations: 4.437 MB / 444.6 MB, free: 12.17 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.502e-06/0.5531, allocations: 0 / 444.6 MB, free: 12.17 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.138e-05/0.5532, allocations: 4.75 kB / 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.0009297/0.5541, allocations: 0.536 MB / 445.1 MB, free: 11.56 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.16e-05/0.5542, allocations: 8.031 kB / 445.2 MB, free: 11.55 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.311e-05/0.5542, allocations: 42.55 kB / 445.2 MB, free: 11.5 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.091e-05/0.5543, allocations: 19.86 kB / 445.2 MB, free: 11.48 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001503/0.5545, allocations: 186.8 kB / 445.4 MB, free: 11.26 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.134e-05/0.5545, allocations: 7.984 kB / 445.4 MB, free: 11.25 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.488e-05/0.5546, allocations: 11.98 kB / 445.4 MB, free: 11.24 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003764/0.555, allocations: 158.1 kB / 445.6 MB, free: 11.07 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.555, allocations: 5.938 kB / 445.6 MB, free: 11.06 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.261e-05/0.555, allocations: 3.984 kB / 445.6 MB, free: 11.06 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.999e-06/0.5551, allocations: 11.95 kB / 445.6 MB, free: 11.05 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001637/0.5552, allocations: 59.92 kB / 445.7 MB, free: 10.99 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003313/0.5556, allocations: 256.2 kB / 445.9 MB, free: 10.68 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003291/0.5559, allocations: 170.5 kB / 446.1 MB, free: 10.48 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001745/0.5561, allocations: 79.52 kB / 446.1 MB, free: 10.39 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.57e-05/0.5561, allocations: 4 kB / 446.2 MB, free: 10.38 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004068/0.5565, allocations: 195.9 kB / 446.3 MB, free: 10.17 MB / 378.7 MB Notification: Performance of pre-optimization done (n=16): time 2.335e-06/0.5566, allocations: 0 / 446.3 MB, free: 10.17 MB / 378.7 MB Notification: Performance of matching and sorting (n=16): time 0.0007776/0.5574, allocations: 294.1 kB / 446.6 MB, free: 9.875 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.944e-05/0.5575, allocations: 148.4 kB / 446.8 MB, free: 9.699 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002154/0.5577, allocations: 161.3 kB / 446.9 MB, free: 9.535 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.198e-05/0.5577, allocations: 33.7 kB / 447 MB, free: 9.496 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.548e-05/0.5578, allocations: 112.1 kB / 447.1 MB, free: 9.383 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.9e-05/0.5579, allocations: 43.53 kB / 447.1 MB, free: 9.34 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.49e-05/0.5579, allocations: 0 / 447.1 MB, free: 9.34 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001353/0.5581, allocations: 326.8 kB / 447.4 MB, free: 9.012 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002037/0.5583, allocations: 72.2 kB / 447.5 MB, free: 8.938 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002181/0.5585, allocations: 106.8 kB / 447.6 MB, free: 8.824 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002739/0.5588, allocations: 196.5 kB / 447.8 MB, free: 8.609 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.911e-06/0.5588, allocations: 4 kB / 447.8 MB, free: 8.605 MB / 378.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0008259/0.5597, allocations: 407.6 kB / 448.2 MB, free: 8.18 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.883e-05/0.5598, allocations: 122.8 kB / 448.3 MB, free: 8.035 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.428e-06/0.5598, allocations: 3.984 kB / 448.3 MB, free: 8.031 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.31e-05/0.5598, allocations: 4 kB / 448.3 MB, free: 8.027 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.542e-05/0.5599, allocations: 4 kB / 448.3 MB, free: 8.023 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.483e-05/0.5599, allocations: 11.89 kB / 448.3 MB, free: 8.012 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001557/0.5601, allocations: 17.25 kB / 448.4 MB, free: 7.996 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.266e-05/0.5602, allocations: 23.98 kB / 448.4 MB, free: 7.973 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.0001417/0.5603, allocations: 124.3 kB / 448.5 MB, free: 7.844 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.474e-05/0.5604, allocations: 15.62 kB / 448.5 MB, free: 7.832 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.641e-05/0.5604, allocations: 20.02 kB / 448.5 MB, free: 7.809 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.825e-06/0.5604, allocations: 4 kB / 448.5 MB, free: 7.805 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.083e-06/0.5605, allocations: 0 / 448.5 MB, free: 7.805 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.635e-06/0.5605, allocations: 3.953 kB / 448.6 MB, free: 7.801 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002569/0.5607, allocations: 221.6 kB / 448.8 MB, free: 7.535 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.961e-06/0.5608, allocations: 5.031 kB / 448.8 MB, free: 7.531 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.25e-05/0.5608, allocations: 7.938 kB / 448.8 MB, free: 7.523 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.583e-06/0.5608, allocations: 4 kB / 448.8 MB, free: 7.52 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.955e-05/0.5608, allocations: 7.984 kB / 448.8 MB, free: 7.512 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.5609, allocations: 4 kB / 448.8 MB, free: 7.508 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.028e-06/0.5609, allocations: 0 / 448.8 MB, free: 7.508 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007158/0.5616, allocations: 374.1 kB / 449.2 MB, free: 7.098 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.14e-05/0.5617, allocations: 92.88 kB / 449.3 MB, free: 6.988 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.424e-05/0.5617, allocations: 11.94 kB / 449.3 MB, free: 6.977 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001793/0.5619, allocations: 15.98 kB / 449.3 MB, free: 6.961 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.22e-05/0.562, allocations: 11.98 kB / 449.3 MB, free: 6.949 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.763e-05/0.5621, allocations: 33.36 kB / 449.3 MB, free: 6.918 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000148/0.5623, allocations: 132.1 kB / 449.5 MB, free: 6.789 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.5623, allocations: 0 / 449.5 MB, free: 6.789 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005693/0.5629, allocations: 95.92 kB / 449.5 MB, free: 6.695 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.001537/0.5644, allocations: 1.201 MB / 450.7 MB, free: 5.445 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000634/0.5651, allocations: 413.5 kB / 451.2 MB, free: 4.992 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.5651, allocations: 0 / 451.2 MB, free: 4.992 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002245/0.5653, allocations: 87.89 kB / 451.2 MB, free: 4.906 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001641/0.5655, allocations: 12 kB / 451.2 MB, free: 4.895 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009581/0.5665, allocations: 350 kB / 451.6 MB, free: 4.512 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003353/0.5668, allocations: 0.7199 MB / 452.3 MB, free: 3.766 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 3.978e-05/0.5669, allocations: 12.81 kB / 452.3 MB, free: 3.746 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.786e-05/0.567, allocations: 35.42 kB / 452.4 MB, free: 3.711 MB / 378.7 MB Notification: Performance of SimCode: time 1.222e-06/0.567, allocations: 4 kB / 452.4 MB, free: 3.707 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02758/0.5946, allocations: 3.982 MB / 456.3 MB, free: 15.8 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002386/0.5949, allocations: 146 kB / 456.5 MB, free: 15.57 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.345/2.94, allocations: 0 / 456.5 MB, free: 15.57 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