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.902/1.902, allocations: 209.3 MB / 223.8 MB, free: 452 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.083e-05/3.085e-05, allocations: 8 kB / 276.2 MB, free: 15.21 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3702/0.3703, allocations: 48.7 MB / 324.9 MB, free: 3.367 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegerTable): time 0.002441/0.3728, allocations: 1.116 MB / 326 MB, free: 2.832 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001425/0.3743, allocations: 474.6 kB / 326.5 MB, free: 2.605 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.36e-05/0.3744, allocations: 0 / 326.5 MB, free: 2.605 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000197/0.3746, allocations: 55.39 kB / 326.5 MB, free: 2.598 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001507/0.3747, allocations: 50.98 kB / 326.6 MB, free: 2.598 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001916/0.3767, allocations: 348.9 kB / 326.9 MB, free: 2.52 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001719/0.3769, allocations: 50.33 kB / 326.9 MB, free: 2.496 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.567e-05/0.3769, allocations: 1.656 kB / 326.9 MB, free: 2.496 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000108/0.377, allocations: 48.11 kB / 327 MB, free: 2.484 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002564/0.3773, allocations: 81.14 kB / 327.1 MB, free: 2.469 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006426/0.378, allocations: 202.1 kB / 327.3 MB, free: 2.418 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001273/0.3781, allocations: 17.38 kB / 327.3 MB, free: 2.418 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.888e-05/0.3782, allocations: 31.41 kB / 327.3 MB, free: 2.41 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.552e-05/0.3783, allocations: 5.875 kB / 327.3 MB, free: 2.41 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005552/0.3789, allocations: 188.6 kB / 327.5 MB, free: 2.387 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.3789, allocations: 0 / 327.5 MB, free: 2.387 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.665e-06/0.3789, allocations: 1.188 kB / 327.5 MB, free: 2.387 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.281e-05/0.3789, allocations: 0 / 327.5 MB, free: 2.387 MB / 266.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.001086/0.38, allocations: 0.5298 MB / 328 MB, free: 1.859 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.601e-05/0.3801, allocations: 10.28 kB / 328.1 MB, free: 1.859 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.031e-05/0.3802, allocations: 16.23 kB / 328.1 MB, free: 1.852 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001516/0.3804, allocations: 181.9 kB / 328.2 MB, free: 1.645 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.611e-05/0.3804, allocations: 9.203 kB / 328.3 MB, free: 1.641 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.567e-05/0.3805, allocations: 7.578 kB / 328.3 MB, free: 1.641 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006575/0.3812, allocations: 175.4 kB / 328.4 MB, free: 1.547 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/0.3812, allocations: 1.062 kB / 328.4 MB, free: 1.547 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.32e-05/0.3813, allocations: 2.562 kB / 328.4 MB, free: 1.547 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.817e-06/0.3813, allocations: 2.312 kB / 328.4 MB, free: 1.547 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003671/0.3817, allocations: 73.12 kB / 328.5 MB, free: 1.531 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003987/0.3821, allocations: 254.6 kB / 328.8 MB, free: 1.285 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006789/0.3828, allocations: 186.1 kB / 328.9 MB, free: 1.164 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.124e-05/0.3828, allocations: 1.844 kB / 328.9 MB, free: 1.164 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007209/0.3835, allocations: 207.2 kB / 329.1 MB, free: 1.051 MB / 266.7 MB Notification: Performance of pre-optimization done (n=16): time 3.808e-06/0.3836, allocations: 0 / 329.1 MB, free: 1.051 MB / 266.7 MB Notification: Performance of matching and sorting (n=16): time 0.00178/0.3854, allocations: 395.1 kB / 329.5 MB, free: 0.9492 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.438e-05/0.3855, allocations: 145.1 kB / 329.7 MB, free: 0.7852 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002702/0.3858, allocations: 159.5 kB / 329.8 MB, free: 0.6797 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.651e-05/0.3858, allocations: 38.56 kB / 329.9 MB, free: 0.6406 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.16e-05/0.3859, allocations: 105.5 kB / 330 MB, free: 0.543 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.519e-05/0.386, allocations: 39.41 kB / 330 MB, free: 0.5156 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.554e-05/0.386, allocations: 1.375 kB / 330 MB, free: 0.5156 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001021/0.3862, allocations: 330.3 kB / 330.3 MB, free: 200 kB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002065/0.3864, allocations: 61.72 kB / 330.4 MB, free: 184 kB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002322/0.3866, allocations: 98.8 kB / 330.5 MB, free: 128 kB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003476/0.387, allocations: 179.5 kB / 330.7 MB, free: 15.98 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.197e-06/0.387, allocations: 0 / 330.7 MB, free: 15.98 MB / 282.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0009113/0.3879, allocations: 376.5 kB / 331 MB, free: 15.75 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001329/0.3881, allocations: 123 kB / 331.1 MB, free: 15.62 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.036e-06/0.3881, allocations: 0 / 331.1 MB, free: 15.62 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.388e-05/0.3881, allocations: 6.859 kB / 331.2 MB, free: 15.62 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.149e-05/0.3882, allocations: 6.688 kB / 331.2 MB, free: 15.62 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.215e-05/0.3883, allocations: 7.547 kB / 331.2 MB, free: 15.62 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002136/0.3885, allocations: 21.66 kB / 331.2 MB, free: 15.61 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.668e-05/0.3885, allocations: 8.859 kB / 331.2 MB, free: 15.61 MB / 282.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.0002907/0.3888, allocations: 152.1 kB / 331.3 MB, free: 15.47 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.999e-05/0.3889, allocations: 19.95 kB / 331.4 MB, free: 15.46 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.323e-05/0.389, allocations: 16.45 kB / 331.4 MB, free: 15.45 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.955e-06/0.389, allocations: 2.719 kB / 331.4 MB, free: 15.45 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.709e-06/0.389, allocations: 5.188 kB / 331.4 MB, free: 15.45 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.009e-05/0.3891, allocations: 5.688 kB / 331.4 MB, free: 15.45 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003657/0.3894, allocations: 220 kB / 331.6 MB, free: 15.24 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.212e-06/0.3895, allocations: 2.047 kB / 331.6 MB, free: 15.24 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.294e-05/0.3895, allocations: 7.719 kB / 331.6 MB, free: 15.23 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.128e-06/0.3895, allocations: 9.297 kB / 331.6 MB, free: 15.23 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.781e-05/0.3896, allocations: 6.719 kB / 331.6 MB, free: 15.23 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.839e-06/0.3896, allocations: 1.188 kB / 331.6 MB, free: 15.23 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.608e-06/0.3896, allocations: 1.828 kB / 331.6 MB, free: 15.23 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00128/0.3909, allocations: 388.5 kB / 332 MB, free: 15.02 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.976e-05/0.391, allocations: 89.73 kB / 332.1 MB, free: 14.92 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.345e-05/0.3911, allocations: 11.7 kB / 332.1 MB, free: 14.92 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002411/0.3914, allocations: 17.16 kB / 332.1 MB, free: 14.91 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.967e-05/0.3915, allocations: 13.81 kB / 332.1 MB, free: 14.91 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001106/0.3916, allocations: 26.14 kB / 332.2 MB, free: 14.91 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.000237/0.3918, allocations: 144.6 kB / 332.3 MB, free: 14.81 MB / 282.7 MB Notification: Performance of sort global known variables: time 5.21e-07/0.3919, allocations: 1.375 kB / 332.3 MB, free: 14.81 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0009467/0.3928, allocations: 83.39 kB / 332.4 MB, free: 14.8 MB / 282.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.0007195/0.3936, allocations: 199.8 kB / 332.6 MB, free: 14.69 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001042/0.3946, allocations: 426.9 kB / 333 MB, free: 14.39 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.3946, allocations: 0 / 333 MB, free: 14.39 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004748/0.3951, allocations: 102 kB / 333.1 MB, free: 14.36 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000262/0.3954, allocations: 17.48 kB / 333.1 MB, free: 14.36 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001215/0.3967, allocations: 350.6 kB / 333.5 MB, free: 14.13 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004477/0.3971, allocations: 0.7209 MB / 334.2 MB, free: 13.43 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.505e-05/0.3972, allocations: 11.94 kB / 334.2 MB, free: 13.43 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.993e-05/0.3973, allocations: 16.97 kB / 334.2 MB, free: 13.41 MB / 282.7 MB Notification: Performance of SimCode: time 9.22e-07/0.3973, allocations: 0 / 334.2 MB, free: 13.41 MB / 282.7 MB Notification: Performance of Templates: time 0.009812/0.4071, allocations: 2.529 MB / 336.7 MB, free: 13.12 MB / 282.7 MB