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.84/1.84, allocations: 209.3 MB / 224.4 MB, free: 0.5156 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.877e-05/2.87e-05, allocations: 3.938 kB / 276.1 MB, free: 15.87 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3725/0.3726, allocations: 48.7 MB / 324.8 MB, free: 2.887 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegerTable): time 0.001943/0.3746, allocations: 1.122 MB / 326 MB, free: 2.422 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001195/0.3758, allocations: 470.1 kB / 326.4 MB, free: 2.195 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.707e-05/0.3759, allocations: 1.156 kB / 326.4 MB, free: 2.195 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001723/0.3761, allocations: 53.5 kB / 326.5 MB, free: 2.191 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001252/0.3762, allocations: 53.72 kB / 326.5 MB, free: 2.188 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001469/0.3777, allocations: 344.6 kB / 326.9 MB, free: 2.113 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001622/0.3779, allocations: 45.83 kB / 326.9 MB, free: 2.094 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.194e-05/0.378, allocations: 2.766 kB / 326.9 MB, free: 2.094 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.001e-05/0.378, allocations: 46.73 kB / 327 MB, free: 2.082 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002034/0.3783, allocations: 81.67 kB / 327 MB, free: 2.066 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005698/0.3788, allocations: 201.5 kB / 327.2 MB, free: 2.016 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001161/0.379, allocations: 22.25 kB / 327.3 MB, free: 2.012 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.857e-05/0.3791, allocations: 27.53 kB / 327.3 MB, free: 2.008 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.23e-05/0.3791, allocations: 9.969 kB / 327.3 MB, free: 2.004 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005084/0.3796, allocations: 186.8 kB / 327.5 MB, free: 1.984 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.3797, allocations: 0 / 327.5 MB, free: 1.984 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.545e-06/0.3797, allocations: 1.219 kB / 327.5 MB, free: 1.984 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.276e-05/0.3797, allocations: 0 / 327.5 MB, free: 1.984 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.0008805/0.3806, allocations: 0.5223 MB / 328 MB, free: 1.465 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.476e-05/0.3807, allocations: 13.47 kB / 328 MB, free: 1.461 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.427e-05/0.3807, allocations: 20.8 kB / 328 MB, free: 1.449 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001142/0.3809, allocations: 182.7 kB / 328.2 MB, free: 1.242 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.168e-05/0.3809, allocations: 10.5 kB / 328.2 MB, free: 1.238 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.03e-05/0.381, allocations: 6 kB / 328.2 MB, free: 1.238 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004804/0.3815, allocations: 172.4 kB / 328.4 MB, free: 1.148 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/0.3815, allocations: 4.828 kB / 328.4 MB, free: 1.145 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.577e-05/0.3815, allocations: 6.875 kB / 328.4 MB, free: 1.141 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.146e-06/0.3815, allocations: 2.188 kB / 328.4 MB, free: 1.141 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002613/0.3818, allocations: 73.89 kB / 328.5 MB, free: 1.125 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002942/0.3821, allocations: 246 kB / 328.7 MB, free: 0.8867 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004855/0.3826, allocations: 194.8 kB / 328.9 MB, free: 0.7617 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.363e-05/0.3826, allocations: 1.75 kB / 328.9 MB, free: 0.7617 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005087/0.3832, allocations: 206.8 kB / 329.1 MB, free: 0.6484 MB / 266.7 MB Notification: Performance of pre-optimization done (n=16): time 3.026e-06/0.3832, allocations: 0 / 329.1 MB, free: 0.6484 MB / 266.7 MB Notification: Performance of matching and sorting (n=16): time 0.001416/0.3846, allocations: 390.1 kB / 329.5 MB, free: 0.5469 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.333e-05/0.3847, allocations: 142.3 kB / 329.6 MB, free: 396 kB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000289/0.385, allocations: 163.5 kB / 329.8 MB, free: 284 kB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.547e-05/0.3851, allocations: 35.48 kB / 329.8 MB, free: 248 kB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.339e-05/0.3852, allocations: 169.4 kB / 330 MB, free: 80 kB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.575e-05/0.3853, allocations: 37.86 kB / 330 MB, free: 52 kB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.687e-05/0.3853, allocations: 2.25 kB / 330 MB, free: 52 kB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001878/0.3855, allocations: 320.5 kB / 330.3 MB, free: 15.73 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002253/0.3858, allocations: 65.52 kB / 330.4 MB, free: 15.71 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002538/0.386, allocations: 90.05 kB / 330.5 MB, free: 15.67 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003733/0.3864, allocations: 183.5 kB / 330.7 MB, free: 15.52 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.22e-06/0.3864, allocations: 4 kB / 330.7 MB, free: 15.51 MB / 282.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0009027/0.3874, allocations: 366.1 kB / 331 MB, free: 15.3 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001549/0.3875, allocations: 121.6 kB / 331.2 MB, free: 15.17 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.216e-05/0.3876, allocations: 2.125 kB / 331.2 MB, free: 15.17 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.341e-05/0.3876, allocations: 2.75 kB / 331.2 MB, free: 15.17 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.705e-05/0.3877, allocations: 7.859 kB / 331.2 MB, free: 15.16 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.141e-05/0.3877, allocations: 1.375 kB / 331.2 MB, free: 15.16 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002313/0.388, allocations: 25.62 kB / 331.2 MB, free: 15.15 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.673e-05/0.388, allocations: 8.25 kB / 331.2 MB, free: 15.15 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.0003046/0.3883, allocations: 161.6 kB / 331.4 MB, free: 15.02 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.157e-05/0.3884, allocations: 19.81 kB / 331.4 MB, free: 15 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.648e-05/0.3885, allocations: 15.91 kB / 331.4 MB, free: 14.99 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.103e-06/0.3885, allocations: 2.75 kB / 331.4 MB, free: 14.99 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.311e-05/0.3886, allocations: 1.891 kB / 331.4 MB, free: 14.99 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.056e-06/0.3886, allocations: 5.828 kB / 331.4 MB, free: 14.99 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000375/0.389, allocations: 224.8 kB / 331.6 MB, free: 14.78 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.438e-06/0.389, allocations: 0 / 331.6 MB, free: 14.78 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.85e-05/0.389, allocations: 3.359 kB / 331.6 MB, free: 14.78 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.055e-05/0.3891, allocations: 9.328 kB / 331.6 MB, free: 14.77 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.885e-05/0.3891, allocations: 7.734 kB / 331.6 MB, free: 14.77 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.102e-06/0.3891, allocations: 1.375 kB / 331.7 MB, free: 14.77 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/0.3891, allocations: 2.031 kB / 331.7 MB, free: 14.77 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001324/0.3905, allocations: 389 kB / 332 MB, free: 14.57 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.29e-05/0.3906, allocations: 89.78 kB / 332.1 MB, free: 14.46 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.893e-05/0.3907, allocations: 11.05 kB / 332.1 MB, free: 14.46 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000242/0.391, allocations: 14.19 kB / 332.1 MB, free: 14.46 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.409e-05/0.3911, allocations: 17 kB / 332.2 MB, free: 14.45 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000105/0.3912, allocations: 26.33 kB / 332.2 MB, free: 14.45 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002382/0.3915, allocations: 149.1 kB / 332.3 MB, free: 14.35 MB / 282.7 MB Notification: Performance of sort global known variables: time 7.11e-07/0.3915, allocations: 1.375 kB / 332.3 MB, free: 14.35 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0008554/0.3923, allocations: 86.84 kB / 332.4 MB, free: 14.34 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.0005334/0.3929, allocations: 198.3 kB / 332.6 MB, free: 14.23 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0008213/0.3937, allocations: 420.8 kB / 333 MB, free: 13.93 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.596e-06/0.3938, allocations: 3.938 kB / 333 MB, free: 13.93 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003529/0.3941, allocations: 99.19 kB / 333.1 MB, free: 13.91 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001842/0.3943, allocations: 17.05 kB / 333.1 MB, free: 13.9 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009996/0.3953, allocations: 387.3 kB / 333.5 MB, free: 13.64 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003982/0.3958, allocations: 0.7202 MB / 334.2 MB, free: 12.94 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.653e-05/0.3958, allocations: 12.41 kB / 334.3 MB, free: 12.93 MB / 282.7 MB Notification: Performance of SimCode: time 1.112e-06/0.3958, allocations: 0 / 334.3 MB, free: 12.93 MB / 282.7 MB Notification: Performance of Templates: time 0.008143/0.404, allocations: 2.658 MB / 336.9 MB, free: 12.66 MB / 282.7 MB