Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test61,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test61") Notification: Performance of loadModel(ModelicaTest): time 1.923/1.923, allocations: 209.3 MB / 224.4 MB, free: 0.5195 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.443e-05/3.465e-05, allocations: 7.984 kB / 276.2 MB, free: 15.86 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3658/0.3659, allocations: 48.7 MB / 324.9 MB, free: 2.887 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test61): time 0.002282/0.3682, allocations: 1.275 MB / 326.1 MB, free: 2.352 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009183/0.3692, allocations: 382.1 kB / 326.5 MB, free: 2.16 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.639e-05/0.3693, allocations: 2.812 kB / 326.5 MB, free: 2.16 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000229/0.3695, allocations: 20.91 kB / 326.5 MB, free: 2.152 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000165/0.3697, allocations: 30.81 kB / 326.6 MB, free: 2.145 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001904/0.3699, allocations: 50.05 kB / 326.6 MB, free: 2.125 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001238/0.3701, allocations: 31.45 kB / 326.6 MB, free: 2.113 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.815e-05/0.3701, allocations: 1.719 kB / 326.6 MB, free: 2.113 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.597e-05/0.3702, allocations: 28.44 kB / 326.7 MB, free: 2.102 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.597e-05/0.3703, allocations: 24.52 kB / 326.7 MB, free: 2.094 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001233/0.3704, allocations: 16.09 kB / 326.7 MB, free: 2.094 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.335e-05/0.3705, allocations: 3.781 kB / 326.7 MB, free: 2.094 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.587e-05/0.3705, allocations: 27.69 kB / 326.7 MB, free: 2.086 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.888e-05/0.3706, allocations: 3.594 kB / 326.7 MB, free: 2.086 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002263/0.3708, allocations: 77.33 kB / 326.8 MB, free: 2.074 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.3708, allocations: 0 / 326.8 MB, free: 2.074 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.555e-06/0.3708, allocations: 1.219 kB / 326.8 MB, free: 2.074 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.11e-05/0.3709, allocations: 0 / 326.8 MB, free: 2.074 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004741/0.3713, allocations: 411.3 kB / 327.2 MB, free: 1.652 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.364e-05/0.3714, allocations: 8.812 kB / 327.2 MB, free: 1.652 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.904e-05/0.3715, allocations: 10.59 kB / 327.2 MB, free: 1.648 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002329/0.3717, allocations: 199.6 kB / 327.4 MB, free: 1.438 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.717e-05/0.3717, allocations: 5.047 kB / 327.4 MB, free: 1.434 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.015e-05/0.3718, allocations: 5.766 kB / 327.4 MB, free: 1.43 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001176/0.3719, allocations: 38.97 kB / 327.5 MB, free: 1.395 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/0.3719, allocations: 0 / 327.5 MB, free: 1.395 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.284e-05/0.3719, allocations: 6.078 kB / 327.5 MB, free: 1.391 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.372, allocations: 0 / 327.5 MB, free: 1.391 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.538e-05/0.372, allocations: 13.14 kB / 327.5 MB, free: 1.387 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000195/0.3722, allocations: 183.4 kB / 327.7 MB, free: 1.188 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.947e-05/0.3723, allocations: 30.28 kB / 327.7 MB, free: 1.156 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.478e-05/0.3723, allocations: 5.594 kB / 327.7 MB, free: 1.152 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000142/0.3725, allocations: 59.14 kB / 327.8 MB, free: 1.098 MB / 266.7 MB Notification: Performance of pre-optimization done (n=3): time 2.625e-06/0.3725, allocations: 0 / 327.8 MB, free: 1.098 MB / 266.7 MB Notification: Performance of matching and sorting (n=3): time 0.000239/0.3728, allocations: 66.67 kB / 327.8 MB, free: 1.055 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.73e-05/0.3728, allocations: 55.41 kB / 327.9 MB, free: 0.9883 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000295/0.3731, allocations: 227.1 kB / 328.1 MB, free: 0.8555 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.656e-05/0.3731, allocations: 27.52 kB / 328.1 MB, free: 0.8242 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.854e-05/0.3732, allocations: 172.8 kB / 328.3 MB, free: 0.6562 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.663e-05/0.3733, allocations: 11.97 kB / 328.3 MB, free: 0.6484 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.691e-06/0.3733, allocations: 0 / 328.3 MB, free: 0.6484 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.553e-05/0.3733, allocations: 317.8 kB / 328.6 MB, free: 340 kB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.111e-05/0.3734, allocations: 13.42 kB / 328.6 MB, free: 336 kB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.593e-05/0.3735, allocations: 17.75 kB / 328.7 MB, free: 328 kB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.707e-05/0.3735, allocations: 39.84 kB / 328.7 MB, free: 292 kB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.3735, allocations: 0 / 328.7 MB, free: 292 kB / 266.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001927/0.3737, allocations: 106.8 kB / 328.8 MB, free: 208 kB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.868e-05/0.3738, allocations: 33.44 kB / 328.8 MB, free: 176 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.3738, allocations: 0 / 328.8 MB, free: 176 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-05/0.3738, allocations: 1.25 kB / 328.8 MB, free: 176 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.36e-05/0.3739, allocations: 5.797 kB / 328.8 MB, free: 176 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.374, allocations: 4.984 kB / 328.8 MB, free: 172 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.467e-05/0.374, allocations: 10.5 kB / 328.9 MB, free: 164 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.252e-05/0.3741, allocations: 3.672 kB / 328.9 MB, free: 164 kB / 266.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 (5): * Single equations (assignments): 4 * 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.0001079/0.3742, allocations: 127.6 kB / 329 MB, free: 44 kB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.512e-05/0.3742, allocations: 18 kB / 329 MB, free: 32 kB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.225e-05/0.3743, allocations: 16.55 kB / 329 MB, free: 16 kB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-06/0.3743, allocations: 0 / 329 MB, free: 16 kB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.3743, allocations: 1.156 kB / 329 MB, free: 16 kB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.3743, allocations: 4.75 kB / 329 MB, free: 12 kB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002146/0.3745, allocations: 183.7 kB / 329.2 MB, free: 15.81 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.3746, allocations: 0 / 329.2 MB, free: 15.81 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.537e-05/0.3746, allocations: 3.719 kB / 329.2 MB, free: 15.81 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.3746, allocations: 0.5 kB / 329.2 MB, free: 15.81 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.78e-05/0.3747, allocations: 5.078 kB / 329.2 MB, free: 15.81 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.3747, allocations: 1.219 kB / 329.2 MB, free: 15.81 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.3747, allocations: 0.7344 kB / 329.2 MB, free: 15.81 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000173/0.3749, allocations: 86.38 kB / 329.3 MB, free: 15.73 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.604e-05/0.3749, allocations: 97.61 kB / 329.4 MB, free: 15.62 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.29e-05/0.375, allocations: 5.156 kB / 329.4 MB, free: 15.62 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.736e-05/0.3751, allocations: 10.22 kB / 329.4 MB, free: 15.61 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.714e-05/0.3751, allocations: 3.109 kB / 329.4 MB, free: 15.61 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.555e-05/0.3751, allocations: 2.016 kB / 329.4 MB, free: 15.61 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002397/0.3754, allocations: 185.5 kB / 329.6 MB, free: 15.51 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.3754, allocations: 0 / 329.6 MB, free: 15.51 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002859/0.3757, allocations: 20.91 kB / 329.6 MB, free: 15.5 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 (3): * Single equations (assignments): 2 * 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.0008956/0.3766, allocations: 315.3 kB / 329.9 MB, free: 15.32 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002285/0.3768, allocations: 90.64 kB / 330 MB, free: 15.24 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.3769, allocations: 0 / 330 MB, free: 15.24 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 5.267e-05/0.3769, allocations: 15.59 kB / 330 MB, free: 15.23 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002802/0.3772, allocations: 22.88 kB / 330.1 MB, free: 15.22 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006435/0.3779, allocations: 270.9 kB / 330.3 MB, free: 15.03 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003363/0.3782, allocations: 0.7071 MB / 331 MB, free: 14.34 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.685e-05/0.3783, allocations: 12.61 kB / 331 MB, free: 14.33 MB / 282.7 MB Notification: Performance of SimCode: time 1.333e-06/0.3783, allocations: 0 / 331 MB, free: 14.33 MB / 282.7 MB Notification: Performance of Templates: time 0.005129/0.3834, allocations: 1.594 MB / 332.6 MB, free: 14.16 MB / 282.7 MB