Running command: translateModel(ModelicaTest.Blocks.IntegerTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|integerTable.index|integerTable.nextTime|integerTable.y|integerTable2.index|integerTable2.nextTime|integerTable2.y|integerTable3.index|integerTable3.nextTime|integerTable3.y|integerTable4.index|integerTable4.nextTime|integerTable4.y",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Blocks.IntegerTable") Notification: Performance of loadModel(ModelicaTest): time 2.199/2.199, allocations: 235 MB / 247.6 MB, free: 14.37 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.71e-05/3.718e-05, allocations: 7.984 kB / 304.9 MB, free: 5.668 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3282/0.3283, allocations: 54.85 MB / 359.8 MB, free: 2.656 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1234/0.4517, allocations: 80.27 MB / 440 MB, free: 0.75 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001754/0.4519, allocations: 59.97 kB / 440.1 MB, free: 0.6914 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02036/0.4723, allocations: 4.437 MB / 444.5 MB, free: 12.27 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.028e-06/0.4723, allocations: 0 / 444.5 MB, free: 12.27 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.465e-06/0.4724, allocations: 0 / 444.5 MB, free: 12.27 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.0008876/0.4733, allocations: 0.5366 MB / 445.1 MB, free: 11.66 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/0.4733, allocations: 8.031 kB / 445.1 MB, free: 11.66 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.466e-05/0.4734, allocations: 15.86 kB / 445.1 MB, free: 11.64 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001787/0.4736, allocations: 194.8 kB / 445.3 MB, free: 11.41 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.496e-05/0.4736, allocations: 8 kB / 445.3 MB, free: 11.4 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.603e-05/0.4737, allocations: 5.562 kB / 445.3 MB, free: 11.4 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003401/0.474, allocations: 165 kB / 445.4 MB, free: 11.22 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.244e-05/0.4741, allocations: 3.938 kB / 445.4 MB, free: 11.21 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.4e-05/0.4741, allocations: 4 kB / 445.4 MB, free: 11.21 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.149e-06/0.4741, allocations: 0 / 445.4 MB, free: 11.21 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000146/0.4743, allocations: 63.92 kB / 445.5 MB, free: 11.15 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003399/0.4746, allocations: 260.2 kB / 445.8 MB, free: 10.84 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002964/0.4749, allocations: 158.5 kB / 445.9 MB, free: 10.64 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001619/0.4751, allocations: 87.44 kB / 446 MB, free: 10.55 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.874e-05/0.4752, allocations: 8 kB / 446 MB, free: 10.54 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003745/0.4755, allocations: 194.4 kB / 446.2 MB, free: 10.33 MB / 378.7 MB Notification: Performance of pre-optimization done (n=16): time 2.644e-06/0.4756, allocations: 0 / 446.2 MB, free: 10.33 MB / 378.7 MB Notification: Performance of matching and sorting (n=16): time 0.0006749/0.4762, allocations: 297.3 kB / 446.5 MB, free: 10.03 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001051/0.4764, allocations: 140.5 kB / 446.6 MB, free: 9.863 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002202/0.4766, allocations: 169.2 kB / 446.8 MB, free: 9.691 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.613e-05/0.4767, allocations: 37.7 kB / 446.8 MB, free: 9.648 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001082/0.4768, allocations: 162.6 kB / 447 MB, free: 9.488 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.964e-05/0.4768, allocations: 39.55 kB / 447 MB, free: 9.449 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.695e-05/0.4769, allocations: 4 kB / 447 MB, free: 9.445 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001688/0.4771, allocations: 322.8 kB / 447.3 MB, free: 9.121 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001676/0.4772, allocations: 72.77 kB / 447.4 MB, free: 9.047 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001902/0.4774, allocations: 99.88 kB / 447.5 MB, free: 8.938 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002718/0.4777, allocations: 195.5 kB / 447.7 MB, free: 8.723 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.96e-06/0.4777, allocations: 0 / 447.7 MB, free: 8.723 MB / 378.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0007237/0.4785, allocations: 408.2 kB / 448.1 MB, free: 8.297 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.00011/0.4786, allocations: 126.8 kB / 448.2 MB, free: 8.148 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.51e-06/0.4786, allocations: 1.594 kB / 448.2 MB, free: 8.148 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.864e-05/0.4787, allocations: 8 kB / 448.2 MB, free: 8.141 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.202e-05/0.4787, allocations: 0 / 448.2 MB, free: 8.141 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.047e-05/0.4787, allocations: 4 kB / 448.2 MB, free: 8.137 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001353/0.4789, allocations: 19.8 kB / 448.3 MB, free: 8.117 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.168e-05/0.4789, allocations: 19.98 kB / 448.3 MB, free: 8.098 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.0001314/0.4791, allocations: 124 kB / 448.4 MB, free: 7.969 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.125e-05/0.4791, allocations: 15.81 kB / 448.4 MB, free: 7.953 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.003e-05/0.4792, allocations: 20.02 kB / 448.4 MB, free: 7.93 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.709e-06/0.4792, allocations: 8 kB / 448.4 MB, free: 7.922 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.431e-06/0.4792, allocations: 0 / 448.4 MB, free: 7.922 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.973e-06/0.4792, allocations: 0 / 448.4 MB, free: 7.922 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002677/0.4795, allocations: 222.9 kB / 448.7 MB, free: 7.656 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.8e-06/0.4795, allocations: 4 kB / 448.7 MB, free: 7.652 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.026e-05/0.4796, allocations: 0 / 448.7 MB, free: 7.652 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.685e-06/0.4796, allocations: 4 kB / 448.7 MB, free: 7.648 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.632e-05/0.4796, allocations: 11.92 kB / 448.7 MB, free: 7.637 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.638e-06/0.4796, allocations: 4.938 kB / 448.7 MB, free: 7.633 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.451e-06/0.4796, allocations: 0 / 448.7 MB, free: 7.633 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006493/0.4803, allocations: 377.8 kB / 449.1 MB, free: 7.219 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.024e-05/0.4804, allocations: 92.91 kB / 449.1 MB, free: 7.109 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.404e-05/0.4805, allocations: 11.95 kB / 449.2 MB, free: 7.098 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001445/0.4806, allocations: 21.12 kB / 449.2 MB, free: 7.078 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.806e-05/0.4807, allocations: 15.92 kB / 449.2 MB, free: 7.062 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.625e-05/0.4808, allocations: 23.97 kB / 449.2 MB, free: 7.039 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001489/0.4809, allocations: 132.1 kB / 449.3 MB, free: 6.91 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.57e-07/0.4809, allocations: 0 / 449.3 MB, free: 6.91 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005423/0.4815, allocations: 96.48 kB / 449.4 MB, free: 6.816 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.0004622/0.482, allocations: 203.1 kB / 449.6 MB, free: 6.609 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006032/0.4826, allocations: 413 kB / 450 MB, free: 6.16 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.199e-06/0.4826, allocations: 0 / 450 MB, free: 6.16 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001964/0.4828, allocations: 91.91 kB / 450.1 MB, free: 6.07 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001709/0.483, allocations: 10.23 kB / 450.1 MB, free: 6.062 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006217/0.4836, allocations: 284.2 kB / 450.4 MB, free: 5.75 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004183/0.4841, allocations: 0.7199 MB / 451.1 MB, free: 5.004 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.544e-05/0.4841, allocations: 15.44 kB / 451.2 MB, free: 4.988 MB / 378.7 MB Notification: Performance of SimCode: time 1.54e-06/0.4841, allocations: 0 / 451.2 MB, free: 4.988 MB / 378.7 MB Notification: Performance of Templates: time 0.005975/0.4901, allocations: 2.646 MB / 453.8 MB, free: 2.363 MB / 378.7 MB