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_ModelicaTest.Blocks.IntegerTable") Notification: Performance of loadModel(ModelicaTest): time 1.883/1.883, allocations: 209.3 MB / 221.5 MB, free: 7.734 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.951e-05/2.969e-05, allocations: 6.812 kB / 273.1 MB, free: 3.188 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08704/0.08709, allocations: 48.71 MB / 321.8 MB, free: 2.383 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4495/0.5367, allocations: 73.87 MB / 395.6 MB, free: 7.66 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001774/0.5369, allocations: 61.08 kB / 395.7 MB, free: 7.66 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01949/0.5564, allocations: 4.444 MB / 400.2 MB, free: 6.738 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.25e-06/0.5564, allocations: 0 / 400.2 MB, free: 6.738 MB / 314.7 MB Notification: Performance of Transformations before backend: time 9.942e-06/0.5565, allocations: 3.75 kB / 400.2 MB, free: 6.738 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.0009662/0.5574, allocations: 0.5366 MB / 400.7 MB, free: 6.199 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.074e-05/0.5575, allocations: 11.31 kB / 400.7 MB, free: 6.199 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.494e-05/0.5576, allocations: 11.59 kB / 400.7 MB, free: 6.195 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001338/0.5578, allocations: 186.1 kB / 400.9 MB, free: 5.984 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.317e-05/0.5578, allocations: 7.797 kB / 400.9 MB, free: 5.98 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.431e-05/0.5579, allocations: 11.59 kB / 400.9 MB, free: 5.98 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004082/0.5583, allocations: 169 kB / 401.1 MB, free: 5.879 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.5584, allocations: 0 / 401.1 MB, free: 5.879 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.926e-05/0.5584, allocations: 0 / 401.1 MB, free: 5.879 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.833e-06/0.5584, allocations: 3.969 kB / 401.1 MB, free: 5.879 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002186/0.5587, allocations: 61.91 kB / 401.1 MB, free: 5.863 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003906/0.5591, allocations: 262 kB / 401.4 MB, free: 5.609 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004051/0.5595, allocations: 167.3 kB / 401.6 MB, free: 5.496 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002242/0.5598, allocations: 77.69 kB / 401.6 MB, free: 5.457 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.512e-05/0.5598, allocations: 7.75 kB / 401.6 MB, free: 5.457 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005213/0.5603, allocations: 194.6 kB / 401.8 MB, free: 5.34 MB / 314.7 MB Notification: Performance of pre-optimization done (n=16): time 4.908e-06/0.5604, allocations: 0 / 401.8 MB, free: 5.34 MB / 314.7 MB Notification: Performance of matching and sorting (n=16): time 0.0009583/0.5613, allocations: 289.8 kB / 402.1 MB, free: 5.258 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.538e-05/0.5614, allocations: 153.1 kB / 402.3 MB, free: 5.09 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002437/0.5617, allocations: 164.2 kB / 402.4 MB, free: 4.984 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.863e-05/0.5618, allocations: 34.73 kB / 402.5 MB, free: 4.953 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.412e-05/0.5618, allocations: 106 kB / 402.6 MB, free: 4.867 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.579e-05/0.5619, allocations: 37.7 kB / 402.6 MB, free: 4.844 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.276e-05/0.562, allocations: 9.094 kB / 402.6 MB, free: 4.84 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.112e-05/0.5621, allocations: 323.9 kB / 402.9 MB, free: 4.523 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002277/0.5623, allocations: 74.73 kB / 403 MB, free: 4.512 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002428/0.5626, allocations: 105.9 kB / 403.1 MB, free: 4.469 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00029/0.5629, allocations: 193.5 kB / 403.3 MB, free: 4.328 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.206e-06/0.5629, allocations: 0 / 403.3 MB, free: 4.328 MB / 314.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0009304/0.5638, allocations: 418.1 kB / 403.7 MB, free: 4.121 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.338e-05/0.564, allocations: 117.7 kB / 403.8 MB, free: 3.992 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.072e-05/0.564, allocations: 3.875 kB / 403.8 MB, free: 3.992 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.26e-05/0.564, allocations: 0 / 403.8 MB, free: 3.992 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.516e-05/0.5641, allocations: 7.844 kB / 403.8 MB, free: 3.988 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.166e-05/0.5641, allocations: 7.938 kB / 403.8 MB, free: 3.98 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002301/0.5644, allocations: 27.02 kB / 403.9 MB, free: 3.969 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.772e-05/0.5645, allocations: 11.56 kB / 403.9 MB, free: 3.969 MB / 314.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.0001456/0.5646, allocations: 118.7 kB / 404 MB, free: 3.859 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.982e-05/0.5647, allocations: 23.44 kB / 404 MB, free: 3.844 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.525e-05/0.5648, allocations: 18.38 kB / 404 MB, free: 3.84 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.384e-06/0.5648, allocations: 3.906 kB / 404 MB, free: 3.84 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.076e-06/0.5649, allocations: 7.938 kB / 404 MB, free: 3.832 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.473e-06/0.5649, allocations: 0 / 404 MB, free: 3.832 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002688/0.5652, allocations: 221 kB / 404.3 MB, free: 3.617 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.874e-06/0.5652, allocations: 0 / 404.3 MB, free: 3.617 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.358e-05/0.5652, allocations: 0 / 404.3 MB, free: 3.617 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.856e-06/0.5652, allocations: 7.859 kB / 404.3 MB, free: 3.613 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.553e-05/0.5653, allocations: 10.92 kB / 404.3 MB, free: 3.609 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.857e-06/0.5653, allocations: 0 / 404.3 MB, free: 3.609 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.188e-06/0.5653, allocations: 3.906 kB / 404.3 MB, free: 3.609 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008294/0.5662, allocations: 375.6 kB / 404.6 MB, free: 3.414 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.742e-05/0.5662, allocations: 88.8 kB / 404.7 MB, free: 3.312 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.356e-05/0.5663, allocations: 10.52 kB / 404.7 MB, free: 3.309 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000232/0.5666, allocations: 21.98 kB / 404.8 MB, free: 3.301 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.132e-05/0.5667, allocations: 7.797 kB / 404.8 MB, free: 3.297 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.433e-05/0.5668, allocations: 34.61 kB / 404.8 MB, free: 3.281 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001697/0.567, allocations: 142 kB / 404.9 MB, free: 3.191 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.08e-06/0.567, allocations: 0 / 404.9 MB, free: 3.191 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0008812/0.5679, allocations: 89.78 kB / 405 MB, free: 3.18 MB / 314.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.0006082/0.5686, allocations: 203.5 kB / 405.2 MB, free: 3.051 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0008767/0.5695, allocations: 420.1 kB / 405.6 MB, free: 18.77 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.922e-06/0.5695, allocations: 0 / 405.6 MB, free: 18.77 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000269/0.5698, allocations: 87.86 kB / 405.7 MB, free: 18.77 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002591/0.5701, allocations: 13.12 kB / 405.7 MB, free: 18.76 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007998/0.5709, allocations: 246.2 kB / 406 MB, free: 18.63 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005835/0.5715, allocations: 0.7259 MB / 406.7 MB, free: 17.91 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 4.555e-05/0.5716, allocations: 8.578 kB / 406.7 MB, free: 17.91 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.211e-05/0.5716, allocations: 15.17 kB / 406.7 MB, free: 17.89 MB / 330.7 MB Notification: Performance of SimCode: time 2.111e-06/0.5716, allocations: 3.938 kB / 406.7 MB, free: 17.89 MB / 330.7 MB Notification: Performance of Templates: time 0.006688/0.5783, allocations: 2.522 MB / 409.3 MB, free: 16.64 MB / 330.7 MB