Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test41,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.Test41") Notification: Performance of loadModel(ModelicaTest): time 1.961/1.961, allocations: 209.3 MB / 224.4 MB, free: 0.5117 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.206e-05/3.199e-05, allocations: 4 kB / 276.2 MB, free: 15.86 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3454/0.3455, allocations: 48.69 MB / 324.8 MB, free: 2.898 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test41): time 0.002451/0.348, allocations: 1.307 MB / 326.2 MB, free: 2.352 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009915/0.349, allocations: 408 kB / 326.6 MB, free: 2.141 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7e-05/0.3491, allocations: 1.031 kB / 326.6 MB, free: 2.141 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003771/0.3495, allocations: 65.77 kB / 326.6 MB, free: 2.133 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001975/0.3497, allocations: 49.31 kB / 326.7 MB, free: 2.121 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002467/0.35, allocations: 54.3 kB / 326.7 MB, free: 2.098 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001458/0.3502, allocations: 39.89 kB / 326.8 MB, free: 2.082 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.912e-05/0.3503, allocations: 5.203 kB / 326.8 MB, free: 2.082 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.281e-05/0.3504, allocations: 26.89 kB / 326.8 MB, free: 2.074 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001178/0.3505, allocations: 36.69 kB / 326.8 MB, free: 2.066 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000146/0.3506, allocations: 30 kB / 326.9 MB, free: 2.062 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.366e-05/0.3507, allocations: 3.938 kB / 326.9 MB, free: 2.062 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.808e-05/0.3507, allocations: 20.86 kB / 326.9 MB, free: 2.055 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.965e-05/0.3508, allocations: 3.5 kB / 326.9 MB, free: 2.055 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000228/0.351, allocations: 86.53 kB / 327 MB, free: 2.039 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.351, allocations: 0 / 327 MB, free: 2.039 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.544e-06/0.3511, allocations: 0 / 327 MB, free: 2.039 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.191e-05/0.3511, allocations: 0 / 327 MB, free: 2.039 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.0004814/0.3516, allocations: 407.2 kB / 327.4 MB, free: 1.621 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.374e-05/0.3516, allocations: 10.77 kB / 327.4 MB, free: 1.621 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.262e-05/0.3517, allocations: 7.812 kB / 327.4 MB, free: 1.617 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002168/0.3519, allocations: 202.2 kB / 327.6 MB, free: 1.402 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.934e-05/0.3519, allocations: 5.141 kB / 327.6 MB, free: 1.398 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.658e-05/0.352, allocations: 7.844 kB / 327.6 MB, free: 1.395 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001287/0.3521, allocations: 41.69 kB / 327.6 MB, free: 1.359 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.382e-05/0.3521, allocations: 0.8438 kB / 327.6 MB, free: 1.359 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.163e-05/0.3522, allocations: 0.9375 kB / 327.6 MB, free: 1.359 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.3522, allocations: 1.188 kB / 327.6 MB, free: 1.359 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.487e-05/0.3523, allocations: 17.66 kB / 327.7 MB, free: 1.352 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003698/0.3526, allocations: 280.9 kB / 327.9 MB, free: 1.066 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000227/0.3529, allocations: 46.97 kB / 328 MB, free: 1.031 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.679e-05/0.3529, allocations: 1.375 kB / 328 MB, free: 1.031 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001462/0.3531, allocations: 54.64 kB / 328 MB, free: 0.9805 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 3.337e-06/0.3531, allocations: 1.078 kB / 328 MB, free: 0.9805 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005199/0.3536, allocations: 120.8 kB / 328.1 MB, free: 0.9102 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.891e-05/0.3537, allocations: 52.53 kB / 328.2 MB, free: 0.8477 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002459/0.3539, allocations: 184.2 kB / 328.4 MB, free: 0.7305 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.753e-05/0.354, allocations: 26.73 kB / 328.4 MB, free: 0.6992 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.26e-05/0.354, allocations: 164.4 kB / 328.6 MB, free: 0.5391 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.774e-05/0.3541, allocations: 13.61 kB / 328.6 MB, free: 0.5312 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.783e-06/0.3541, allocations: 0 / 328.6 MB, free: 0.5312 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.122e-05/0.3542, allocations: 323.2 kB / 328.9 MB, free: 216 kB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.135e-05/0.3542, allocations: 14.3 kB / 328.9 MB, free: 212 kB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.696e-05/0.3543, allocations: 28.3 kB / 328.9 MB, free: 196 kB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.338e-05/0.3544, allocations: 46.14 kB / 329 MB, free: 156 kB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.3544, allocations: 4.844 kB / 329 MB, free: 152 kB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002313/0.3546, allocations: 113.4 kB / 329.1 MB, free: 68 kB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.076e-05/0.3547, allocations: 41.44 kB / 329.1 MB, free: 32 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.3547, allocations: 0 / 329.1 MB, free: 32 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.812e-05/0.3547, allocations: 1.281 kB / 329.1 MB, free: 32 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.19e-05/0.3548, allocations: 9.016 kB / 329.1 MB, free: 32 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.3549, allocations: 1.219 kB / 329.1 MB, free: 32 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.696e-05/0.3549, allocations: 2.562 kB / 329.2 MB, free: 32 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.419e-05/0.355, allocations: 3.469 kB / 329.2 MB, free: 32 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.000166/0.3551, allocations: 137.4 kB / 329.3 MB, free: 15.9 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.086e-05/0.3552, allocations: 13.58 kB / 329.3 MB, free: 15.89 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.134e-05/0.3553, allocations: 10.72 kB / 329.3 MB, free: 15.89 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.062e-06/0.3553, allocations: 2.156 kB / 329.3 MB, free: 15.89 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.3553, allocations: 0 / 329.3 MB, free: 15.89 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.3553, allocations: 0.6094 kB / 329.3 MB, free: 15.89 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005087/0.3558, allocations: 345.4 kB / 329.7 MB, free: 15.56 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.751e-06/0.3558, allocations: 4 kB / 329.7 MB, free: 15.56 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.98e-05/0.3559, allocations: 6.125 kB / 329.7 MB, free: 15.56 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.624e-06/0.3559, allocations: 4 kB / 329.7 MB, free: 15.55 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.274e-05/0.3559, allocations: 6.625 kB / 329.7 MB, free: 15.55 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.406e-06/0.356, allocations: 0.7031 kB / 329.7 MB, free: 15.55 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.356, allocations: 0 / 329.7 MB, free: 15.55 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002311/0.3562, allocations: 168.7 kB / 329.8 MB, free: 15.4 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.109e-05/0.3563, allocations: 93.11 kB / 329.9 MB, free: 15.3 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.158e-05/0.3563, allocations: 2.156 kB / 329.9 MB, free: 15.3 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001043/0.3564, allocations: 2.562 kB / 329.9 MB, free: 15.3 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.808e-05/0.3565, allocations: 8.062 kB / 329.9 MB, free: 15.29 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.234e-05/0.3565, allocations: 6.234 kB / 329.9 MB, free: 15.29 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002072/0.3568, allocations: 149.4 kB / 330.1 MB, free: 15.2 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.3568, allocations: 0 / 330.1 MB, free: 15.2 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003672/0.3572, allocations: 28.59 kB / 330.1 MB, free: 15.19 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.001066/0.3582, allocations: 337.4 kB / 330.5 MB, free: 15 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000303/0.3586, allocations: 101.1 kB / 330.5 MB, free: 14.92 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.3586, allocations: 0 / 330.5 MB, free: 14.92 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.86e-05/0.3587, allocations: 21.97 kB / 330.6 MB, free: 14.91 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003396/0.359, allocations: 20.67 kB / 330.6 MB, free: 14.9 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006476/0.3597, allocations: 247.7 kB / 330.8 MB, free: 14.7 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003606/0.3601, allocations: 0.7031 MB / 331.5 MB, free: 14.01 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.206e-05/0.3601, allocations: 21.81 kB / 331.6 MB, free: 13.99 MB / 282.7 MB Notification: Performance of SimCode: time 1.292e-06/0.3602, allocations: 0.8125 kB / 331.6 MB, free: 13.99 MB / 282.7 MB Notification: Performance of Templates: time 0.005496/0.3657, allocations: 1.703 MB / 333.3 MB, free: 13.8 MB / 282.7 MB