Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test59,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.Test59") Notification: Performance of loadModel(ModelicaTest): time 1.955/1.955, allocations: 209.3 MB / 224.4 MB, free: 0.5195 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.364e-05/3.351e-05, allocations: 4 kB / 276.2 MB, free: 15.86 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3593/0.3594, allocations: 48.7 MB / 324.9 MB, free: 2.898 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test59): time 0.002524/0.362, allocations: 1.312 MB / 326.2 MB, free: 2.344 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00197/0.364, allocations: 0.9676 MB / 327.1 MB, free: 1.859 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001007/0.3641, allocations: 0 / 327.1 MB, free: 1.859 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002927/0.3645, allocations: 19.83 kB / 327.2 MB, free: 1.855 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001946/0.3647, allocations: 28.25 kB / 327.2 MB, free: 1.844 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002414/0.3649, allocations: 46.36 kB / 327.2 MB, free: 1.828 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001424/0.3651, allocations: 42.48 kB / 327.3 MB, free: 1.809 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.069e-05/0.3652, allocations: 4.875 kB / 327.3 MB, free: 1.809 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.033e-05/0.3653, allocations: 26.47 kB / 327.3 MB, free: 1.797 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00016/0.3654, allocations: 22.59 kB / 327.3 MB, free: 1.789 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001906/0.3657, allocations: 48.75 kB / 327.4 MB, free: 1.777 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.036e-05/0.3657, allocations: 4.188 kB / 327.4 MB, free: 1.777 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.334e-05/0.3657, allocations: 14.08 kB / 327.4 MB, free: 1.77 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.815e-05/0.3658, allocations: 4.125 kB / 327.4 MB, free: 1.77 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002754/0.3661, allocations: 90.28 kB / 327.5 MB, free: 1.754 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.3661, allocations: 0 / 327.5 MB, free: 1.754 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.645e-06/0.3661, allocations: 0 / 327.5 MB, free: 1.754 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.204e-05/0.3661, allocations: 0 / 327.5 MB, free: 1.754 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.0004921/0.3666, allocations: 398.9 kB / 327.9 MB, free: 1.34 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.362e-05/0.3667, allocations: 8.938 kB / 327.9 MB, free: 1.34 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.999e-05/0.3667, allocations: 10.12 kB / 327.9 MB, free: 1.336 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002187/0.367, allocations: 191 kB / 328.1 MB, free: 1.129 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.982e-05/0.367, allocations: 5.109 kB / 328.1 MB, free: 1.125 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.886e-05/0.367, allocations: 3.172 kB / 328.1 MB, free: 1.125 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001469/0.3672, allocations: 60.05 kB / 328.1 MB, free: 1.07 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.366e-05/0.3672, allocations: 0 / 328.1 MB, free: 1.07 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.326e-05/0.3673, allocations: 9.25 kB / 328.1 MB, free: 1.062 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.98e-06/0.3673, allocations: 1.156 kB / 328.1 MB, free: 1.062 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.255e-05/0.3673, allocations: 13.09 kB / 328.2 MB, free: 1.059 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003571/0.3677, allocations: 274.7 kB / 328.4 MB, free: 0.7773 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002427/0.368, allocations: 47.38 kB / 328.5 MB, free: 0.7422 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.486e-05/0.368, allocations: 4.547 kB / 328.5 MB, free: 0.7383 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001414/0.3682, allocations: 64.19 kB / 328.5 MB, free: 0.6836 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 2.234e-06/0.3682, allocations: 0 / 328.5 MB, free: 0.6836 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004711/0.3687, allocations: 111.2 kB / 328.6 MB, free: 0.6211 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.871e-05/0.3687, allocations: 79.67 kB / 328.7 MB, free: 0.5273 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001503/0.3689, allocations: 125.4 kB / 328.9 MB, free: 432 kB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.752e-05/0.3689, allocations: 27.62 kB / 328.9 MB, free: 400 kB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.684e-05/0.369, allocations: 157.5 kB / 329 MB, free: 244 kB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.71e-05/0.369, allocations: 20.55 kB / 329.1 MB, free: 228 kB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.965e-06/0.369, allocations: 1.219 kB / 329.1 MB, free: 228 kB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001059/0.3691, allocations: 321.2 kB / 329.4 MB, free: 15.9 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.121e-05/0.3692, allocations: 15.52 kB / 329.4 MB, free: 15.9 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.7e-05/0.3693, allocations: 34.06 kB / 329.4 MB, free: 15.88 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.935e-05/0.3694, allocations: 56.05 kB / 329.5 MB, free: 15.83 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.3694, allocations: 3.938 kB / 329.5 MB, free: 15.82 MB / 282.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002498/0.3697, allocations: 110.8 kB / 329.6 MB, free: 15.75 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.494e-05/0.3697, allocations: 38.08 kB / 329.6 MB, free: 15.71 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.3698, allocations: 0 / 329.6 MB, free: 15.71 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.583e-05/0.3698, allocations: 1.891 kB / 329.6 MB, free: 15.71 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.99e-05/0.3699, allocations: 7.984 kB / 329.6 MB, free: 15.71 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.024e-05/0.3699, allocations: 1.25 kB / 329.6 MB, free: 15.71 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.161e-05/0.37, allocations: 14.78 kB / 329.6 MB, free: 15.7 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.574e-05/0.37, allocations: 3.984 kB / 329.6 MB, free: 15.7 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.0001214/0.3701, allocations: 121.2 kB / 329.8 MB, free: 15.58 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.567e-05/0.3702, allocations: 7.5 kB / 329.8 MB, free: 15.57 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.931e-05/0.3702, allocations: 11.31 kB / 329.8 MB, free: 15.57 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.3703, allocations: 5.797 kB / 329.8 MB, free: 15.57 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.3703, allocations: 0 / 329.8 MB, free: 15.57 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/0.3703, allocations: 1.688 kB / 329.8 MB, free: 15.57 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004535/0.3707, allocations: 335.7 kB / 330.1 MB, free: 15.24 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/0.3708, allocations: 0.8281 kB / 330.1 MB, free: 15.24 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.711e-05/0.3708, allocations: 17.34 kB / 330.1 MB, free: 15.23 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.569e-06/0.3708, allocations: 1.062 kB / 330.1 MB, free: 15.23 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.179e-05/0.3709, allocations: 2 kB / 330.1 MB, free: 15.23 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.3709, allocations: 5 kB / 330.1 MB, free: 15.23 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.3709, allocations: 0 / 330.1 MB, free: 15.23 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002095/0.3711, allocations: 168 kB / 330.3 MB, free: 15.08 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.417e-05/0.3712, allocations: 84.7 kB / 330.4 MB, free: 14.98 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.444e-05/0.3712, allocations: 5.922 kB / 330.4 MB, free: 14.98 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.261e-05/0.3713, allocations: 2.219 kB / 330.4 MB, free: 14.98 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.523e-05/0.3714, allocations: 5.016 kB / 330.4 MB, free: 14.98 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.706e-05/0.3714, allocations: 1.828 kB / 330.4 MB, free: 14.98 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001132/0.3715, allocations: 108.5 kB / 330.5 MB, free: 14.89 MB / 282.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.3715, allocations: 0 / 330.5 MB, free: 14.89 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004083/0.3719, allocations: 38.52 kB / 330.6 MB, free: 14.88 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.001154/0.3731, allocations: 418.2 kB / 331 MB, free: 14.63 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002779/0.3734, allocations: 103.4 kB / 331.1 MB, free: 14.55 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.3734, allocations: 0 / 331.1 MB, free: 14.55 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.077e-05/0.3735, allocations: 16.45 kB / 331.1 MB, free: 14.55 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003203/0.3738, allocations: 25.53 kB / 331.1 MB, free: 14.54 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004933/0.3744, allocations: 186.6 kB / 331.3 MB, free: 14.36 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002872/0.3747, allocations: 0.6924 MB / 332 MB, free: 13.66 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.758e-05/0.3747, allocations: 16.41 kB / 332 MB, free: 13.65 MB / 282.7 MB Notification: Performance of SimCode: time 9.02e-07/0.3748, allocations: 7.938 kB / 332 MB, free: 13.64 MB / 282.7 MB Notification: Performance of Templates: time 0.006033/0.3808, allocations: 1.926 MB / 333.9 MB, free: 13.41 MB / 282.7 MB