Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test42,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.Test42") Notification: Performance of loadModel(ModelicaTest): time 2.007/2.007, allocations: 209.3 MB / 224.4 MB, free: 0.5195 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.442e-05/3.456e-05, allocations: 8 kB / 276.2 MB, free: 15.85 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3601/0.3602, allocations: 48.69 MB / 324.9 MB, free: 2.895 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test42): time 0.002422/0.3627, allocations: 1.303 MB / 326.2 MB, free: 2.336 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009758/0.3637, allocations: 407.2 kB / 326.6 MB, free: 2.129 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.747e-05/0.3638, allocations: 1 kB / 326.6 MB, free: 2.129 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002409/0.3641, allocations: 18.8 kB / 326.6 MB, free: 2.121 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00016/0.3642, allocations: 31.95 kB / 326.6 MB, free: 2.109 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002214/0.3645, allocations: 50.36 kB / 326.7 MB, free: 2.09 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001267/0.3646, allocations: 39.66 kB / 326.7 MB, free: 2.074 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.459e-05/0.3647, allocations: 6.906 kB / 326.7 MB, free: 2.07 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.626e-05/0.3648, allocations: 23.83 kB / 326.7 MB, free: 2.062 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.067e-05/0.3649, allocations: 16.47 kB / 326.7 MB, free: 2.059 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001348/0.365, allocations: 31.7 kB / 326.8 MB, free: 2.055 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.161e-05/0.3651, allocations: 2.688 kB / 326.8 MB, free: 2.055 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.749e-05/0.3651, allocations: 19.06 kB / 326.8 MB, free: 2.047 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.755e-05/0.3652, allocations: 3.5 kB / 326.8 MB, free: 2.047 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002222/0.3654, allocations: 80.75 kB / 326.9 MB, free: 2.035 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.3654, allocations: 4 kB / 326.9 MB, free: 2.031 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.3654, allocations: 0 / 326.9 MB, free: 2.031 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.005e-05/0.3655, allocations: 1.25 kB / 326.9 MB, free: 2.031 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.0004828/0.366, allocations: 404 kB / 327.3 MB, free: 1.613 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.088e-05/0.366, allocations: 9.75 kB / 327.3 MB, free: 1.613 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.993e-05/0.3661, allocations: 7.969 kB / 327.3 MB, free: 1.609 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002263/0.3663, allocations: 196.8 kB / 327.5 MB, free: 1.402 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.557e-05/0.3663, allocations: 11.58 kB / 327.5 MB, free: 1.395 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.017e-05/0.3664, allocations: 3.344 kB / 327.5 MB, free: 1.395 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001343/0.3665, allocations: 47.72 kB / 327.5 MB, free: 1.355 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.446e-05/0.3666, allocations: 4 kB / 327.5 MB, free: 1.352 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.181e-05/0.3666, allocations: 0 / 327.5 MB, free: 1.352 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.3666, allocations: 1.219 kB / 327.5 MB, free: 1.352 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.519e-05/0.3667, allocations: 13.45 kB / 327.6 MB, free: 1.348 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003693/0.367, allocations: 281.4 kB / 327.8 MB, free: 1.062 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002312/0.3673, allocations: 45.53 kB / 327.9 MB, free: 1.027 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.638e-05/0.3673, allocations: 2.031 kB / 327.9 MB, free: 1.027 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001455/0.3675, allocations: 56.61 kB / 327.9 MB, free: 0.9766 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 1.794e-06/0.3675, allocations: 0 / 327.9 MB, free: 0.9766 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004787/0.368, allocations: 119.2 kB / 328.1 MB, free: 0.9102 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.813e-05/0.368, allocations: 56.62 kB / 328.1 MB, free: 0.8438 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002186/0.3683, allocations: 173.4 kB / 328.3 MB, free: 0.7305 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.734e-05/0.3683, allocations: 27.88 kB / 328.3 MB, free: 0.6992 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.019e-05/0.3684, allocations: 174.4 kB / 328.5 MB, free: 0.5312 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.536e-05/0.3684, allocations: 8.828 kB / 328.5 MB, free: 0.5273 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.195e-06/0.3684, allocations: 4 kB / 328.5 MB, free: 0.5234 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.119e-05/0.3685, allocations: 317.5 kB / 328.8 MB, free: 212 kB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.258e-05/0.3686, allocations: 20.33 kB / 328.8 MB, free: 204 kB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.666e-05/0.3686, allocations: 18.95 kB / 328.8 MB, free: 196 kB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.218e-05/0.3687, allocations: 47.23 kB / 328.9 MB, free: 156 kB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.3687, allocations: 0 / 328.9 MB, free: 156 kB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002377/0.369, allocations: 121.5 kB / 329 MB, free: 64 kB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.307e-05/0.369, allocations: 37.19 kB / 329 MB, free: 32 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.3691, allocations: 0 / 329 MB, free: 32 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.589e-05/0.3691, allocations: 1.5 kB / 329 MB, free: 32 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.84e-05/0.3692, allocations: 13.12 kB / 329.1 MB, free: 28 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.3692, allocations: 0 / 329.1 MB, free: 28 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.015e-05/0.3693, allocations: 3.625 kB / 329.1 MB, free: 28 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.474e-05/0.3693, allocations: 3.25 kB / 329.1 MB, free: 28 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.0001608/0.3695, allocations: 129.6 kB / 329.2 MB, free: 15.9 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.727e-05/0.3695, allocations: 7.828 kB / 329.2 MB, free: 15.9 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.111e-05/0.3696, allocations: 15.38 kB / 329.2 MB, free: 15.89 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.3696, allocations: 0.6562 kB / 329.2 MB, free: 15.89 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/0.3696, allocations: 1.125 kB / 329.2 MB, free: 15.89 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.3696, allocations: 0 / 329.2 MB, free: 15.89 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005195/0.3702, allocations: 343.2 kB / 329.5 MB, free: 15.56 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.3702, allocations: 1.828 kB / 329.5 MB, free: 15.56 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.765e-05/0.3702, allocations: 9.484 kB / 329.6 MB, free: 15.56 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.347e-06/0.3703, allocations: 5.531 kB / 329.6 MB, free: 15.55 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.251e-05/0.3703, allocations: 4.641 kB / 329.6 MB, free: 15.55 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.3703, allocations: 5.5 kB / 329.6 MB, free: 15.55 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.3703, allocations: 0.7031 kB / 329.6 MB, free: 15.55 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002228/0.3705, allocations: 167.6 kB / 329.7 MB, free: 15.4 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.904e-05/0.3706, allocations: 85.83 kB / 329.8 MB, free: 15.3 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.201e-05/0.3707, allocations: 4.562 kB / 329.8 MB, free: 15.3 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.484e-05/0.3708, allocations: 3.812 kB / 329.8 MB, free: 15.3 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.906e-05/0.3708, allocations: 6.891 kB / 329.8 MB, free: 15.29 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.181e-05/0.3709, allocations: 7.484 kB / 329.8 MB, free: 15.29 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001839/0.371, allocations: 137.2 kB / 330 MB, free: 15.2 MB / 282.7 MB Notification: Performance of sort global known variables: time 5.31e-07/0.3711, allocations: 0 / 330 MB, free: 15.2 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003645/0.3714, allocations: 32.22 kB / 330 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.0009621/0.3724, allocations: 333.8 kB / 330.3 MB, free: 15 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002683/0.3727, allocations: 106.6 kB / 330.4 MB, free: 14.91 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.095e-06/0.3727, allocations: 0 / 330.4 MB, free: 14.91 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.721e-05/0.3728, allocations: 20.23 kB / 330.5 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.0003146/0.3731, allocations: 18.86 kB / 330.5 MB, free: 14.9 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000574/0.3737, allocations: 229.6 kB / 330.7 MB, free: 14.71 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00038/0.3741, allocations: 0.7003 MB / 331.4 MB, free: 14.02 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.813e-05/0.3742, allocations: 22.97 kB / 331.4 MB, free: 14 MB / 282.7 MB Notification: Performance of SimCode: time 9.82e-07/0.3742, allocations: 0 / 331.4 MB, free: 14 MB / 282.7 MB Notification: Performance of Templates: time 0.005476/0.3797, allocations: 1.686 MB / 333.1 MB, free: 13.81 MB / 282.7 MB