Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test24,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.Test24") Notification: Performance of loadModel(ModelicaTest): time 1.96/1.96, allocations: 209.3 MB / 224.4 MB, free: 444 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.237e-05/4.261e-05, allocations: 7.984 kB / 276.2 MB, free: 15.85 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.361/0.361, allocations: 48.69 MB / 324.9 MB, free: 2.902 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test24): time 0.002973/0.3641, allocations: 1.306 MB / 326.2 MB, free: 2.352 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001221/0.3653, allocations: 404.5 kB / 326.6 MB, free: 2.145 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.249e-05/0.3654, allocations: 0 / 326.6 MB, free: 2.145 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002607/0.3657, allocations: 22.83 kB / 326.6 MB, free: 2.137 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001784/0.3659, allocations: 20.69 kB / 326.6 MB, free: 2.133 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002416/0.3662, allocations: 53.66 kB / 326.6 MB, free: 2.109 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001638/0.3664, allocations: 43.75 kB / 326.7 MB, free: 2.09 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.294e-05/0.3665, allocations: 4.281 kB / 326.7 MB, free: 2.09 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.81e-05/0.3666, allocations: 26.94 kB / 326.7 MB, free: 2.078 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.88e-05/0.3667, allocations: 18.38 kB / 326.7 MB, free: 2.074 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001632/0.3669, allocations: 28.45 kB / 326.8 MB, free: 2.07 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.725e-05/0.3669, allocations: 4.094 kB / 326.8 MB, free: 2.07 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.703e-05/0.367, allocations: 20.17 kB / 326.8 MB, free: 2.062 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.151e-05/0.367, allocations: 2.938 kB / 326.8 MB, free: 2.062 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000275/0.3673, allocations: 79.92 kB / 326.9 MB, free: 2.047 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.3673, allocations: 0 / 326.9 MB, free: 2.047 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.695e-06/0.3673, allocations: 4 kB / 326.9 MB, free: 2.043 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.01e-05/0.3674, allocations: 1.219 kB / 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.0005231/0.3679, allocations: 404.3 kB / 327.3 MB, free: 1.625 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.896e-05/0.368, allocations: 8.375 kB / 327.3 MB, free: 1.625 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.122e-05/0.368, allocations: 8.438 kB / 327.3 MB, free: 1.621 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002578/0.3683, allocations: 197.5 kB / 327.5 MB, free: 1.414 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.898e-05/0.3683, allocations: 5.078 kB / 327.5 MB, free: 1.41 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.352e-05/0.3684, allocations: 3.594 kB / 327.5 MB, free: 1.41 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000167/0.3686, allocations: 51.36 kB / 327.5 MB, free: 1.367 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.511e-05/0.3686, allocations: 0.8906 kB / 327.5 MB, free: 1.367 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.313e-05/0.3686, allocations: 0 / 327.5 MB, free: 1.367 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.383e-06/0.3686, allocations: 1.219 kB / 327.5 MB, free: 1.367 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.204e-05/0.3687, allocations: 17.27 kB / 327.6 MB, free: 1.359 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004461/0.3692, allocations: 280.4 kB / 327.8 MB, free: 1.074 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002662/0.3695, allocations: 43.88 kB / 327.9 MB, free: 1.043 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.669e-05/0.3695, allocations: 4 kB / 327.9 MB, free: 1.039 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001671/0.3697, allocations: 57.02 kB / 327.9 MB, free: 0.9883 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 2.364e-06/0.3697, allocations: 0 / 327.9 MB, free: 0.9883 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005806/0.3703, allocations: 120.1 kB / 328.1 MB, free: 0.9219 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.673e-05/0.3704, allocations: 56.38 kB / 328.1 MB, free: 0.8555 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002786/0.3707, allocations: 169.2 kB / 328.3 MB, free: 0.7461 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.416e-05/0.3707, allocations: 31.98 kB / 328.3 MB, free: 0.7109 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.534e-05/0.3708, allocations: 173.6 kB / 328.5 MB, free: 0.543 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.038e-05/0.3708, allocations: 7.453 kB / 328.5 MB, free: 0.5391 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.878e-06/0.3709, allocations: 1.281 kB / 328.5 MB, free: 0.5391 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.401e-05/0.371, allocations: 321.2 kB / 328.8 MB, free: 224 kB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.683e-05/0.3711, allocations: 15.7 kB / 328.8 MB, free: 220 kB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.136e-05/0.3711, allocations: 19.48 kB / 328.8 MB, free: 212 kB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001093/0.3713, allocations: 52.52 kB / 328.9 MB, free: 168 kB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.3713, allocations: 0 / 328.9 MB, free: 168 kB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003166/0.3716, allocations: 112 kB / 329 MB, free: 84 kB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.829e-05/0.3717, allocations: 41.72 kB / 329 MB, free: 44 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.3717, allocations: 0.8438 kB / 329 MB, free: 44 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.636e-05/0.3717, allocations: 1.156 kB / 329 MB, free: 44 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001024/0.3719, allocations: 8.766 kB / 329 MB, free: 44 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.003e-05/0.3719, allocations: 5.281 kB / 329 MB, free: 40 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.697e-05/0.372, allocations: 3.234 kB / 329.1 MB, free: 40 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.048e-05/0.372, allocations: 6.016 kB / 329.1 MB, free: 40 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.0001919/0.3722, allocations: 125.2 kB / 329.2 MB, free: 15.92 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.732e-05/0.3723, allocations: 8.516 kB / 329.2 MB, free: 15.91 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.465e-05/0.3724, allocations: 19.09 kB / 329.2 MB, free: 15.9 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.711e-06/0.3724, allocations: 1.312 kB / 329.2 MB, free: 15.9 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.042e-06/0.3724, allocations: 1.281 kB / 329.2 MB, free: 15.9 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.3724, allocations: 0 / 329.2 MB, free: 15.9 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008612/0.3811, allocations: 338.2 kB / 329.5 MB, free: 15.58 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.236e-06/0.3811, allocations: 0.75 kB / 329.5 MB, free: 15.58 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.902e-05/0.3812, allocations: 14.03 kB / 329.6 MB, free: 15.57 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.065e-05/0.3812, allocations: 1.797 kB / 329.6 MB, free: 15.57 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.603e-05/0.3812, allocations: 6.031 kB / 329.6 MB, free: 15.57 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.931e-06/0.3813, allocations: 4.609 kB / 329.6 MB, free: 15.56 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.3813, allocations: 0 / 329.6 MB, free: 15.56 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002887/0.3816, allocations: 169.5 kB / 329.7 MB, free: 15.41 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.292e-05/0.3817, allocations: 84.7 kB / 329.8 MB, free: 15.32 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.31e-05/0.3817, allocations: 4.812 kB / 329.8 MB, free: 15.31 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001538/0.3819, allocations: 7.375 kB / 329.8 MB, free: 15.31 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.384e-05/0.3819, allocations: 4.219 kB / 329.8 MB, free: 15.31 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.441e-05/0.382, allocations: 3.344 kB / 329.8 MB, free: 15.31 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002296/0.3822, allocations: 142 kB / 330 MB, free: 15.21 MB / 282.7 MB Notification: Performance of sort global known variables: time 4.7e-07/0.3822, allocations: 0 / 330 MB, free: 15.21 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0006084/0.3829, allocations: 27.52 kB / 330 MB, free: 15.21 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.001295/0.3842, allocations: 341.2 kB / 330.3 MB, free: 15.01 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.004575/0.3888, allocations: 105.8 kB / 330.4 MB, free: 14.93 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.3888, allocations: 0 / 330.4 MB, free: 14.93 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 9.164e-05/0.3889, allocations: 17.56 kB / 330.5 MB, free: 14.93 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004568/0.3894, allocations: 25.73 kB / 330.5 MB, free: 14.91 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007237/0.3901, allocations: 229.3 kB / 330.7 MB, free: 14.72 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000416/0.3906, allocations: 0.7012 MB / 331.4 MB, free: 14.03 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.805e-05/0.3906, allocations: 17.55 kB / 331.4 MB, free: 14.02 MB / 282.7 MB Notification: Performance of SimCode: time 8.81e-07/0.3907, allocations: 0 / 331.4 MB, free: 14.02 MB / 282.7 MB Notification: Performance of Templates: time 0.01462/0.4053, allocations: 1.688 MB / 333.1 MB, free: 13.82 MB / 282.7 MB