Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test51,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.Test51") Notification: Performance of loadModel(ModelicaTest): time 1.999/1.999, allocations: 209.2 MB / 224.4 MB, free: 0.8633 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.199e-05/3.188e-05, allocations: 8 kB / 276.1 MB, free: 15.91 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.363/0.3631, allocations: 48.7 MB / 324.8 MB, free: 2.895 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test51): time 0.002533/0.3657, allocations: 1.309 MB / 326.2 MB, free: 2.348 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009983/0.3667, allocations: 399 kB / 326.5 MB, free: 2.145 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.383e-05/0.3668, allocations: 5.219 kB / 326.6 MB, free: 2.141 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002382/0.3671, allocations: 16.89 kB / 326.6 MB, free: 2.137 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001654/0.3673, allocations: 30.59 kB / 326.6 MB, free: 2.129 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002136/0.3675, allocations: 49.8 kB / 326.6 MB, free: 2.109 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001337/0.3677, allocations: 43.27 kB / 326.7 MB, free: 2.09 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.71e-05/0.3678, allocations: 4.359 kB / 326.7 MB, free: 2.09 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.199e-05/0.3678, allocations: 30.17 kB / 326.7 MB, free: 2.078 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.772e-05/0.3679, allocations: 24.02 kB / 326.7 MB, free: 2.07 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001455/0.3681, allocations: 29.09 kB / 326.8 MB, free: 2.066 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.549e-05/0.3681, allocations: 7.406 kB / 326.8 MB, free: 2.062 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.194e-05/0.3682, allocations: 20.31 kB / 326.8 MB, free: 2.055 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.825e-05/0.3682, allocations: 4.969 kB / 326.8 MB, free: 2.055 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002229/0.3685, allocations: 78.67 kB / 326.9 MB, free: 2.043 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.3685, allocations: 0 / 326.9 MB, free: 2.043 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.414e-06/0.3685, allocations: 1.312 kB / 326.9 MB, free: 2.043 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.095e-05/0.3685, allocations: 0 / 326.9 MB, free: 2.043 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.0004755/0.369, allocations: 410.6 kB / 327.3 MB, free: 1.621 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.235e-05/0.3691, allocations: 9.156 kB / 327.3 MB, free: 1.621 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.671e-05/0.3691, allocations: 9.469 kB / 327.3 MB, free: 1.617 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002223/0.3694, allocations: 196.1 kB / 327.5 MB, free: 1.41 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.804e-05/0.3694, allocations: 5.016 kB / 327.5 MB, free: 1.406 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.585e-05/0.3694, allocations: 2.594 kB / 327.5 MB, free: 1.406 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001344/0.3696, allocations: 46.86 kB / 327.6 MB, free: 1.367 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.29e-05/0.3696, allocations: 3.938 kB / 327.6 MB, free: 1.363 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.516e-05/0.3696, allocations: 1.734 kB / 327.6 MB, free: 1.363 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.3697, allocations: 3.938 kB / 327.6 MB, free: 1.359 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.033e-05/0.3697, allocations: 14.33 kB / 327.6 MB, free: 1.355 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003716/0.3701, allocations: 285.2 kB / 327.9 MB, free: 1.07 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002236/0.3704, allocations: 37.64 kB / 327.9 MB, free: 1.043 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.807e-05/0.3704, allocations: 6.5 kB / 327.9 MB, free: 1.039 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001457/0.3706, allocations: 66.59 kB / 328 MB, free: 0.9766 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 1.933e-06/0.3706, allocations: 3.938 kB / 328 MB, free: 0.9727 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004717/0.3711, allocations: 116.9 kB / 328.1 MB, free: 0.9062 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.674e-05/0.3711, allocations: 52.78 kB / 328.1 MB, free: 0.8438 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002425/0.3713, allocations: 189.1 kB / 328.3 MB, free: 0.7266 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.606e-05/0.3714, allocations: 29.7 kB / 328.3 MB, free: 0.6914 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.025e-05/0.3714, allocations: 166.8 kB / 328.5 MB, free: 0.5312 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.329e-05/0.3715, allocations: 12.56 kB / 328.5 MB, free: 0.5234 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.782e-06/0.3715, allocations: 0 / 328.5 MB, free: 0.5234 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.968e-05/0.3716, allocations: 322 kB / 328.8 MB, free: 208 kB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.134e-05/0.3716, allocations: 18.92 kB / 328.9 MB, free: 200 kB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.834e-05/0.3717, allocations: 18.33 kB / 328.9 MB, free: 196 kB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.851e-05/0.3718, allocations: 49.62 kB / 328.9 MB, free: 152 kB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.3718, allocations: 0 / 328.9 MB, free: 152 kB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002297/0.3721, allocations: 118.5 kB / 329 MB, free: 64 kB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.737e-05/0.3721, allocations: 33.09 kB / 329.1 MB, free: 32 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.3721, allocations: 0 / 329.1 MB, free: 32 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/0.3721, allocations: 1.75 kB / 329.1 MB, free: 32 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.094e-05/0.3722, allocations: 9.234 kB / 329.1 MB, free: 32 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.3723, allocations: 4 kB / 329.1 MB, free: 28 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.153e-05/0.3723, allocations: 7.203 kB / 329.1 MB, free: 24 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.479e-05/0.3724, allocations: 3.766 kB / 329.1 MB, free: 24 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 (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.0001732/0.3725, allocations: 132.7 kB / 329.2 MB, free: 15.9 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.598e-05/0.3726, allocations: 8.469 kB / 329.2 MB, free: 15.89 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.383e-05/0.3727, allocations: 16.22 kB / 329.2 MB, free: 15.88 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.3727, allocations: 1.344 kB / 329.2 MB, free: 15.88 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.3727, allocations: 1.078 kB / 329.2 MB, free: 15.88 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.3727, allocations: 5.969 kB / 329.3 MB, free: 15.88 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005327/0.3732, allocations: 344.1 kB / 329.6 MB, free: 15.55 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.3733, allocations: 4.562 kB / 329.6 MB, free: 15.55 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.645e-05/0.3733, allocations: 5.484 kB / 329.6 MB, free: 15.55 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.3733, allocations: 1.094 kB / 329.6 MB, free: 15.55 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.244e-05/0.3734, allocations: 1.891 kB / 329.6 MB, free: 15.55 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.172e-06/0.3734, allocations: 1.109 kB / 329.6 MB, free: 15.55 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.097e-06/0.3734, allocations: 9.156 kB / 329.6 MB, free: 15.54 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002429/0.3736, allocations: 176.5 kB / 329.8 MB, free: 15.38 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.618e-05/0.3737, allocations: 85.08 kB / 329.9 MB, free: 15.29 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.934e-05/0.3738, allocations: 1.094 kB / 329.9 MB, free: 15.29 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.911e-05/0.3739, allocations: 6.719 kB / 329.9 MB, free: 15.28 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.271e-05/0.3739, allocations: 3.891 kB / 329.9 MB, free: 15.28 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.942e-05/0.3739, allocations: 2.766 kB / 329.9 MB, free: 15.28 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002121/0.3742, allocations: 160.7 kB / 330 MB, free: 15.18 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.6e-07/0.3742, allocations: 1.312 kB / 330 MB, free: 15.18 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003533/0.3745, allocations: 35.77 kB / 330.1 MB, free: 15.17 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.0009794/0.3755, allocations: 343.6 kB / 330.4 MB, free: 14.98 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002653/0.3758, allocations: 106.2 kB / 330.5 MB, free: 14.89 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.3758, allocations: 0 / 330.5 MB, free: 14.89 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.432e-05/0.3759, allocations: 15.81 kB / 330.5 MB, free: 14.89 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003247/0.3763, allocations: 22.28 kB / 330.6 MB, free: 14.88 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006322/0.3769, allocations: 259.8 kB / 330.8 MB, free: 14.68 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004035/0.3773, allocations: 0.7121 MB / 331.5 MB, free: 13.98 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.567e-05/0.3774, allocations: 14.2 kB / 331.5 MB, free: 13.97 MB / 282.7 MB Notification: Performance of SimCode: time 1.172e-06/0.3774, allocations: 0 / 331.5 MB, free: 13.97 MB / 282.7 MB Notification: Performance of Templates: time 0.005545/0.383, allocations: 1.727 MB / 333.3 MB, free: 13.78 MB / 282.7 MB