Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test62,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.Test62") Notification: Performance of loadModel(ModelicaTest): time 2.141/2.141, allocations: 209.3 MB / 224.4 MB, free: 0.5078 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.845e-05/3.837e-05, allocations: 8 kB / 276.2 MB, free: 15.86 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3624/0.3625, allocations: 48.69 MB / 324.8 MB, free: 2.891 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test62): time 0.002502/0.3651, allocations: 1.278 MB / 326.1 MB, free: 2.355 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009978/0.3662, allocations: 377.8 kB / 326.5 MB, free: 2.164 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.701e-05/0.3663, allocations: 5.031 kB / 326.5 MB, free: 2.16 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000258/0.3666, allocations: 18.52 kB / 326.5 MB, free: 2.156 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001993/0.3668, allocations: 36.86 kB / 326.6 MB, free: 2.145 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002473/0.367, allocations: 42.09 kB / 326.6 MB, free: 2.129 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001429/0.3672, allocations: 39.28 kB / 326.6 MB, free: 2.113 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.618e-05/0.3673, allocations: 2.016 kB / 326.6 MB, free: 2.113 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.439e-05/0.3673, allocations: 21 kB / 326.7 MB, free: 2.109 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.629e-05/0.3675, allocations: 23.92 kB / 326.7 MB, free: 2.102 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001397/0.3676, allocations: 20.94 kB / 326.7 MB, free: 2.098 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.427e-05/0.3676, allocations: 6.5 kB / 326.7 MB, free: 2.094 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.263e-05/0.3677, allocations: 21 kB / 326.7 MB, free: 2.09 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.226e-05/0.3678, allocations: 3.781 kB / 326.7 MB, free: 2.09 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002295/0.368, allocations: 83.03 kB / 326.8 MB, free: 2.07 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.368, allocations: 0 / 326.8 MB, free: 2.07 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.836e-06/0.368, allocations: 1.281 kB / 326.8 MB, free: 2.07 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.513e-05/0.3681, allocations: 0 / 326.8 MB, free: 2.07 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.0005345/0.3686, allocations: 409.1 kB / 327.2 MB, free: 1.652 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.68e-05/0.3687, allocations: 11.05 kB / 327.2 MB, free: 1.652 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.278e-05/0.3687, allocations: 12.28 kB / 327.2 MB, free: 1.645 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002469/0.369, allocations: 200.5 kB / 327.4 MB, free: 1.434 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.139e-05/0.369, allocations: 3.953 kB / 327.4 MB, free: 1.43 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.156e-05/0.369, allocations: 6.406 kB / 327.4 MB, free: 1.426 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001421/0.3692, allocations: 36.78 kB / 327.5 MB, free: 1.395 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.3692, allocations: 0 / 327.5 MB, free: 1.395 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.115e-05/0.3692, allocations: 0 / 327.5 MB, free: 1.395 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.74e-06/0.3693, allocations: 0 / 327.5 MB, free: 1.395 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.789e-05/0.3693, allocations: 11.73 kB / 327.5 MB, free: 1.391 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000219/0.3696, allocations: 187.1 kB / 327.7 MB, free: 1.188 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.414e-05/0.3696, allocations: 35.36 kB / 327.7 MB, free: 1.152 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.796e-05/0.3697, allocations: 1.094 kB / 327.7 MB, free: 1.152 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001505/0.3698, allocations: 55.28 kB / 327.8 MB, free: 1.102 MB / 266.7 MB Notification: Performance of pre-optimization done (n=3): time 1.994e-06/0.3699, allocations: 0 / 327.8 MB, free: 1.102 MB / 266.7 MB Notification: Performance of matching and sorting (n=3): time 0.000269/0.3701, allocations: 73.73 kB / 327.8 MB, free: 1.055 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.151e-05/0.3702, allocations: 56.56 kB / 327.9 MB, free: 0.9883 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003258/0.3705, allocations: 230.5 kB / 328.1 MB, free: 0.8516 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.258e-05/0.3706, allocations: 28.2 kB / 328.1 MB, free: 0.8203 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.366e-05/0.3706, allocations: 171.7 kB / 328.3 MB, free: 0.6523 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.951e-05/0.3707, allocations: 8.062 kB / 328.3 MB, free: 0.6484 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.103e-06/0.3707, allocations: 1.844 kB / 328.3 MB, free: 0.6484 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.852e-05/0.3708, allocations: 311.7 kB / 328.6 MB, free: 344 kB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.425e-05/0.3708, allocations: 16.38 kB / 328.6 MB, free: 336 kB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.85e-05/0.3709, allocations: 13.98 kB / 328.7 MB, free: 332 kB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.381e-05/0.371, allocations: 43.44 kB / 328.7 MB, free: 292 kB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.371, allocations: 1.125 kB / 328.7 MB, free: 292 kB / 266.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002179/0.3712, allocations: 108.4 kB / 328.8 MB, free: 204 kB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.187e-05/0.3713, allocations: 32.8 kB / 328.8 MB, free: 172 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/0.3713, allocations: 0.6094 kB / 328.8 MB, free: 172 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.142e-05/0.3713, allocations: 1.094 kB / 328.8 MB, free: 172 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.164e-05/0.3714, allocations: 6.406 kB / 328.8 MB, free: 172 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/0.3714, allocations: 4.062 kB / 328.8 MB, free: 168 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001022/0.3716, allocations: 8.828 kB / 328.9 MB, free: 164 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.476e-05/0.3716, allocations: 2.812 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.0001412/0.3717, allocations: 135.9 kB / 329 MB, free: 36 kB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.007e-05/0.3718, allocations: 17.33 kB / 329 MB, free: 24 kB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.915e-05/0.3718, allocations: 12.62 kB / 329 MB, free: 12 kB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.3719, allocations: 1.031 kB / 329 MB, free: 12 kB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/0.3719, allocations: 0 / 329 MB, free: 12 kB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.3719, allocations: 1.781 kB / 329 MB, free: 12 kB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002411/0.3721, allocations: 183.1 kB / 329.2 MB, free: 15.81 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.98e-06/0.3722, allocations: 4.125 kB / 329.2 MB, free: 15.81 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.694e-05/0.3722, allocations: 3.609 kB / 329.2 MB, free: 15.81 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.969e-06/0.3722, allocations: 4 kB / 329.2 MB, free: 15.8 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.424e-05/0.3722, allocations: 6.547 kB / 329.2 MB, free: 15.8 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.3723, allocations: 0 / 329.2 MB, free: 15.8 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.3723, allocations: 0 / 329.2 MB, free: 15.8 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000205/0.3725, allocations: 86.89 kB / 329.3 MB, free: 15.72 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.024e-05/0.3726, allocations: 93.5 kB / 329.4 MB, free: 15.62 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.951e-05/0.3726, allocations: 2.141 kB / 329.4 MB, free: 15.62 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.698e-05/0.3727, allocations: 5.922 kB / 329.4 MB, free: 15.61 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.371e-05/0.3727, allocations: 7.078 kB / 329.4 MB, free: 15.61 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.781e-05/0.3728, allocations: 1.891 kB / 329.4 MB, free: 15.61 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002701/0.373, allocations: 189.3 kB / 329.6 MB, free: 15.5 MB / 282.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.3731, allocations: 3.938 kB / 329.6 MB, free: 15.5 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003398/0.3734, allocations: 17.14 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.0009384/0.3744, allocations: 309.1 kB / 329.9 MB, free: 15.32 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002838/0.3747, allocations: 94.16 kB / 330 MB, free: 15.24 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.3747, allocations: 4 kB / 330 MB, free: 15.24 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 5.286e-05/0.3748, allocations: 12.72 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.0003162/0.3751, allocations: 22.83 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.000696/0.3758, allocations: 271 kB / 330.3 MB, free: 15.03 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003689/0.3762, allocations: 0.7068 MB / 331 MB, free: 14.34 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.632e-05/0.3763, allocations: 17.19 kB / 331 MB, free: 14.32 MB / 282.7 MB Notification: Performance of SimCode: time 1.333e-06/0.3763, allocations: 0 / 331 MB, free: 14.32 MB / 282.7 MB Notification: Performance of Templates: time 0.00575/0.382, allocations: 1.599 MB / 332.6 MB, free: 14.15 MB / 282.7 MB