Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test49,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test49") Notification: Performance of loadModel(ModelicaTest): time 1.972/1.972, allocations: 209.2 MB / 224.4 MB, free: 0.8633 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.957e-05/3.973e-05, allocations: 11.53 kB / 276.2 MB, free: 15.89 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3587/0.3588, allocations: 48.68 MB / 324.8 MB, free: 2.879 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test49): time 0.00235/0.3612, allocations: 1.315 MB / 326.2 MB, free: 2.336 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009595/0.3622, allocations: 404.3 kB / 326.5 MB, free: 2.129 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.552e-05/0.3623, allocations: 7.875 kB / 326.6 MB, free: 2.121 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002385/0.3625, allocations: 12.98 kB / 326.6 MB, free: 2.121 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001735/0.3627, allocations: 42.31 kB / 326.6 MB, free: 2.105 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002203/0.363, allocations: 49.73 kB / 326.7 MB, free: 2.086 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000133/0.3631, allocations: 43.73 kB / 326.7 MB, free: 2.066 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.548e-05/0.3632, allocations: 4.125 kB / 326.7 MB, free: 2.066 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.902e-05/0.3633, allocations: 26.56 kB / 326.7 MB, free: 2.059 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.602e-05/0.3634, allocations: 22.67 kB / 326.8 MB, free: 2.051 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001506/0.3636, allocations: 29.55 kB / 326.8 MB, free: 2.047 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.664e-05/0.3636, allocations: 3.438 kB / 326.8 MB, free: 2.047 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.706e-05/0.3637, allocations: 29.67 kB / 326.8 MB, free: 2.035 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.158e-05/0.3637, allocations: 4.438 kB / 326.8 MB, free: 2.035 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002387/0.364, allocations: 88.33 kB / 326.9 MB, free: 2.023 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.364, allocations: 0.9688 kB / 326.9 MB, free: 2.023 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.455e-06/0.364, allocations: 0 / 326.9 MB, free: 2.023 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.704e-05/0.364, allocations: 0 / 326.9 MB, free: 2.023 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004814/0.3645, allocations: 414.5 kB / 327.3 MB, free: 1.602 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.428e-05/0.3646, allocations: 9.219 kB / 327.3 MB, free: 1.602 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.696e-05/0.3646, allocations: 13.78 kB / 327.3 MB, free: 1.594 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002242/0.3648, allocations: 203.1 kB / 327.5 MB, free: 1.379 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.892e-05/0.3649, allocations: 7.406 kB / 327.5 MB, free: 1.375 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.459e-05/0.3649, allocations: 1.25 kB / 327.5 MB, free: 1.375 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000135/0.3651, allocations: 48.72 kB / 327.6 MB, free: 1.336 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.358e-05/0.3651, allocations: 0 / 327.6 MB, free: 1.336 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.308e-05/0.3651, allocations: 6.031 kB / 327.6 MB, free: 1.332 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.628e-06/0.3651, allocations: 0 / 327.6 MB, free: 1.332 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.018e-05/0.3652, allocations: 13.06 kB / 327.6 MB, free: 1.328 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003813/0.3656, allocations: 294.8 kB / 327.9 MB, free: 1.035 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002265/0.3658, allocations: 46.73 kB / 327.9 MB, free: 1 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.349e-05/0.3659, allocations: 5.344 kB / 327.9 MB, free: 1 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000142/0.366, allocations: 55.62 kB / 328 MB, free: 0.9492 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 2.174e-06/0.366, allocations: 0 / 328 MB, free: 0.9492 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004643/0.3665, allocations: 122.2 kB / 328.1 MB, free: 0.8789 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.885e-05/0.3666, allocations: 58.14 kB / 328.2 MB, free: 0.8125 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003046/0.3669, allocations: 221.9 kB / 328.4 MB, free: 0.6836 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.753e-05/0.3669, allocations: 30.89 kB / 328.4 MB, free: 0.6484 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.393e-05/0.367, allocations: 166 kB / 328.6 MB, free: 500 kB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.91e-05/0.367, allocations: 20.69 kB / 328.6 MB, free: 484 kB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.584e-06/0.367, allocations: 1.156 kB / 328.6 MB, free: 484 kB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.16e-05/0.3671, allocations: 317.5 kB / 328.9 MB, free: 160 kB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.311e-05/0.3672, allocations: 19.58 kB / 328.9 MB, free: 152 kB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.841e-05/0.3673, allocations: 24.28 kB / 329 MB, free: 140 kB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.182e-05/0.3674, allocations: 49.48 kB / 329 MB, free: 96 kB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.3674, allocations: 1.406 kB / 329 MB, free: 96 kB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000234/0.3676, allocations: 113.2 kB / 329.1 MB, free: 12 kB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.254e-05/0.3677, allocations: 32.22 kB / 329.2 MB, free: 15.98 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.3677, allocations: 1.891 kB / 329.2 MB, free: 15.98 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.944e-05/0.3678, allocations: 0 / 329.2 MB, free: 15.98 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.437e-05/0.3679, allocations: 9.047 kB / 329.2 MB, free: 15.98 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.997e-06/0.3679, allocations: 2.906 kB / 329.2 MB, free: 15.98 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.081e-05/0.368, allocations: 7.016 kB / 329.2 MB, free: 15.98 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.844e-05/0.368, allocations: 2.375 kB / 329.2 MB, free: 15.98 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 1 * 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.0001578/0.3682, allocations: 140.4 kB / 329.3 MB, free: 15.85 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.2e-05/0.3682, allocations: 14.03 kB / 329.3 MB, free: 15.84 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.953e-05/0.3683, allocations: 18.02 kB / 329.3 MB, free: 15.83 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.3683, allocations: 1.438 kB / 329.3 MB, free: 15.83 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.3683, allocations: 0 / 329.3 MB, free: 15.83 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.3683, allocations: 0.6094 kB / 329.3 MB, free: 15.83 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005306/0.3689, allocations: 352.6 kB / 329.7 MB, free: 15.5 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.76e-06/0.3689, allocations: 1.562 kB / 329.7 MB, free: 15.5 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.062e-05/0.369, allocations: 17.25 kB / 329.7 MB, free: 15.48 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.301e-06/0.369, allocations: 1.562 kB / 329.7 MB, free: 15.48 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.315e-05/0.369, allocations: 2.188 kB / 329.7 MB, free: 15.48 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.095e-06/0.369, allocations: 0 / 329.7 MB, free: 15.48 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.369, allocations: 0 / 329.7 MB, free: 15.48 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002401/0.3693, allocations: 173.1 kB / 329.9 MB, free: 15.33 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.974e-05/0.3694, allocations: 86.69 kB / 330 MB, free: 15.23 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.304e-05/0.3694, allocations: 2.016 kB / 330 MB, free: 15.23 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001089/0.3695, allocations: 5.312 kB / 330 MB, free: 15.23 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.987e-05/0.3696, allocations: 12.12 kB / 330 MB, free: 15.22 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.292e-05/0.3696, allocations: 3.266 kB / 330 MB, free: 15.22 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002773/0.3699, allocations: 185.5 kB / 330.2 MB, free: 15.12 MB / 282.7 MB Notification: Performance of sort global known variables: time 5.11e-07/0.3699, allocations: 0 / 330.2 MB, free: 15.12 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003696/0.3703, allocations: 29.7 kB / 330.2 MB, free: 15.11 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,t_new.nextTimeEvent) * Number of discrete states: 1 (t_new.nextTimeEvent) * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0009981/0.3713, allocations: 343 kB / 330.5 MB, free: 14.91 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002727/0.3716, allocations: 102.9 kB / 330.6 MB, free: 14.84 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.3716, allocations: 0 / 330.6 MB, free: 14.84 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.351e-05/0.3717, allocations: 16.56 kB / 330.6 MB, free: 14.83 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003539/0.3721, allocations: 21.84 kB / 330.7 MB, free: 14.82 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006936/0.3728, allocations: 297.2 kB / 331 MB, free: 14.61 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003391/0.3732, allocations: 0.7091 MB / 331.7 MB, free: 13.91 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.184e-05/0.3732, allocations: 18.08 kB / 331.7 MB, free: 13.9 MB / 282.7 MB Notification: Performance of SimCode: time 1.143e-06/0.3732, allocations: 0 / 331.7 MB, free: 13.9 MB / 282.7 MB Notification: Performance of Templates: time 0.005937/0.3792, allocations: 1.806 MB / 333.5 MB, free: 13.7 MB / 282.7 MB