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.1_cpp_ModelicaTest.Blocks.IntegerTable") Notification: Performance of loadModel(ModelicaTest): time 1.883/1.883, allocations: 209.3 MB / 221.9 MB, free: 7.73 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.394e-05/3.397e-05, allocations: 8 kB / 273.1 MB, free: 3.672 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08748/0.08753, allocations: 48.69 MB / 321.7 MB, free: 2.883 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3335/0.4211, allocations: 73.88 MB / 395.6 MB, free: 6.676 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001864/0.4213, allocations: 58.28 kB / 395.7 MB, free: 6.676 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01904/0.4404, allocations: 4.447 MB / 400.1 MB, free: 5.883 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.416e-06/0.4404, allocations: 4 kB / 400.1 MB, free: 5.879 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.234e-06/0.4405, allocations: 0 / 400.1 MB, free: 5.879 MB / 314.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.0006714/0.4411, allocations: 0.5334 MB / 400.7 MB, free: 5.348 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.744e-05/0.4412, allocations: 11.44 kB / 400.7 MB, free: 5.348 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.172e-05/0.4413, allocations: 15.27 kB / 400.7 MB, free: 5.34 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.377e-05/0.4414, allocations: 181.5 kB / 400.9 MB, free: 5.133 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.143e-05/0.4414, allocations: 7.797 kB / 400.9 MB, free: 5.129 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.573e-05/0.4415, allocations: 11.78 kB / 400.9 MB, free: 5.125 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002661/0.4417, allocations: 168.9 kB / 401.1 MB, free: 5.023 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.209e-06/0.4418, allocations: 0 / 401.1 MB, free: 5.023 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.956e-05/0.4418, allocations: 3.781 kB / 401.1 MB, free: 5.023 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5e-06/0.4418, allocations: 0 / 401.1 MB, free: 5.023 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001167/0.4419, allocations: 61.66 kB / 401.1 MB, free: 5.012 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002241/0.4422, allocations: 265.6 kB / 401.4 MB, free: 4.75 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002257/0.4424, allocations: 167 kB / 401.5 MB, free: 4.641 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001344/0.4426, allocations: 85.09 kB / 401.6 MB, free: 4.598 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.128e-05/0.4426, allocations: 3.844 kB / 401.6 MB, free: 4.598 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002913/0.4429, allocations: 190.4 kB / 401.8 MB, free: 4.484 MB / 314.7 MB Notification: Performance of pre-optimization done (n=16): time 2.933e-06/0.4429, allocations: 4 kB / 401.8 MB, free: 4.48 MB / 314.7 MB Notification: Performance of matching and sorting (n=16): time 0.0006108/0.4435, allocations: 288.8 kB / 402.1 MB, free: 4.402 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.787e-05/0.4436, allocations: 145.6 kB / 402.2 MB, free: 4.238 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001617/0.4438, allocations: 168.4 kB / 402.4 MB, free: 4.129 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.221e-05/0.4438, allocations: 33.55 kB / 402.4 MB, free: 4.098 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.504e-05/0.4439, allocations: 170.2 kB / 402.6 MB, free: 3.945 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.584e-05/0.4439, allocations: 32.66 kB / 402.6 MB, free: 3.926 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.565e-05/0.444, allocations: 6.281 kB / 402.6 MB, free: 3.926 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.362e-05/0.444, allocations: 324 kB / 403 MB, free: 3.605 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001441/0.4442, allocations: 70.42 kB / 403 MB, free: 3.594 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001504/0.4443, allocations: 104.3 kB / 403.1 MB, free: 3.555 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003151/0.4447, allocations: 198.2 kB / 403.3 MB, free: 19.41 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.322e-06/0.4447, allocations: 0 / 403.3 MB, free: 19.41 MB / 330.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006379/0.4453, allocations: 401.8 kB / 403.7 MB, free: 19.21 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001045/0.4455, allocations: 129.9 kB / 403.8 MB, free: 19.08 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.288e-06/0.4455, allocations: 4 kB / 403.8 MB, free: 19.07 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.648e-05/0.4455, allocations: 3.844 kB / 403.8 MB, free: 19.07 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.456e-05/0.4456, allocations: 3.938 kB / 403.9 MB, free: 19.07 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.97e-06/0.4456, allocations: 7.812 kB / 403.9 MB, free: 19.07 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001258/0.4457, allocations: 19.64 kB / 403.9 MB, free: 19.05 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.998e-05/0.4458, allocations: 15.47 kB / 403.9 MB, free: 19.05 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.0001339/0.4459, allocations: 127.5 kB / 404 MB, free: 18.94 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.685e-05/0.446, allocations: 23.45 kB / 404 MB, free: 18.93 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.022e-05/0.446, allocations: 15.64 kB / 404.1 MB, free: 18.92 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.942e-06/0.446, allocations: 3.875 kB / 404.1 MB, free: 18.92 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.589e-06/0.446, allocations: 0 / 404.1 MB, free: 18.92 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.887e-06/0.4461, allocations: 3.844 kB / 404.1 MB, free: 18.92 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002125/0.4463, allocations: 219 kB / 404.3 MB, free: 18.7 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.269e-06/0.4463, allocations: 0 / 404.3 MB, free: 18.7 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.094e-05/0.4463, allocations: 3.844 kB / 404.3 MB, free: 18.7 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.426e-06/0.4463, allocations: 3.953 kB / 404.3 MB, free: 18.7 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.196e-05/0.4464, allocations: 7.859 kB / 404.3 MB, free: 18.7 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.358e-06/0.4464, allocations: 7.969 kB / 404.3 MB, free: 18.69 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.84e-06/0.4464, allocations: 0 / 404.3 MB, free: 18.69 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004834/0.4469, allocations: 375.6 kB / 404.7 MB, free: 18.5 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.416e-05/0.447, allocations: 92.77 kB / 404.8 MB, free: 18.39 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.726e-05/0.447, allocations: 11.67 kB / 404.8 MB, free: 18.39 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001296/0.4472, allocations: 15.77 kB / 404.8 MB, free: 18.39 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.125e-05/0.4472, allocations: 7.828 kB / 404.8 MB, free: 18.38 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.855e-05/0.4473, allocations: 27.25 kB / 404.8 MB, free: 18.38 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001384/0.4475, allocations: 137.5 kB / 405 MB, free: 18.29 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.93e-07/0.4475, allocations: 3.844 kB / 405 MB, free: 18.29 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000543/0.448, allocations: 97.2 kB / 405.1 MB, free: 18.27 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.00043/0.4485, allocations: 213.5 kB / 405.3 MB, free: 18.13 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005374/0.449, allocations: 415.2 kB / 405.7 MB, free: 17.86 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.924e-06/0.449, allocations: 0 / 405.7 MB, free: 17.86 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001606/0.4492, allocations: 84.52 kB / 405.7 MB, free: 17.85 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001554/0.4494, allocations: 11.8 kB / 405.8 MB, free: 17.85 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005452/0.4499, allocations: 281.5 kB / 406 MB, free: 17.68 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003914/0.4504, allocations: 0.7186 MB / 406.8 MB, free: 16.96 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.063e-05/0.4504, allocations: 18.38 kB / 406.8 MB, free: 16.96 MB / 330.7 MB Notification: Performance of SimCode: time 2.005e-06/0.4504, allocations: 0 / 406.8 MB, free: 16.96 MB / 330.7 MB Notification: Performance of Templates: time 0.005038/0.4555, allocations: 2.651 MB / 409.4 MB, free: 15.6 MB / 330.7 MB