Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test48,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.Test48") Notification: Performance of loadModel(ModelicaTest): time 2.083/2.083, allocations: 209.3 MB / 224.4 MB, free: 0.5234 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.221e-05/3.208e-05, allocations: 4 kB / 276.2 MB, free: 15.87 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3507/0.3508, allocations: 48.7 MB / 324.8 MB, free: 2.887 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test48): time 0.002586/0.3535, allocations: 1.311 MB / 326.2 MB, free: 2.332 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009962/0.3545, allocations: 402.7 kB / 326.6 MB, free: 2.125 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.322e-05/0.3546, allocations: 7.875 kB / 326.6 MB, free: 2.117 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002441/0.3549, allocations: 13.28 kB / 326.6 MB, free: 2.117 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002033/0.3551, allocations: 37.3 kB / 326.6 MB, free: 2.105 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002562/0.3554, allocations: 50.62 kB / 326.7 MB, free: 2.086 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001386/0.3555, allocations: 45.92 kB / 326.7 MB, free: 2.066 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.71e-05/0.3556, allocations: 4.891 kB / 326.7 MB, free: 2.066 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.167e-05/0.3557, allocations: 25.12 kB / 326.7 MB, free: 2.059 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.278e-05/0.3558, allocations: 22.42 kB / 326.8 MB, free: 2.051 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001633/0.356, allocations: 30.17 kB / 326.8 MB, free: 2.047 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.319e-05/0.356, allocations: 3.844 kB / 326.8 MB, free: 2.047 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.807e-05/0.3561, allocations: 24.72 kB / 326.8 MB, free: 2.039 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.897e-05/0.3561, allocations: 8.531 kB / 326.8 MB, free: 2.035 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002414/0.3564, allocations: 88.97 kB / 326.9 MB, free: 2.023 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.3564, allocations: 0 / 326.9 MB, free: 2.023 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.785e-06/0.3564, allocations: 0 / 326.9 MB, free: 2.023 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.254e-05/0.3564, allocations: 1.469 kB / 326.9 MB, free: 2.023 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.0005486/0.357, allocations: 413.4 kB / 327.3 MB, free: 1.602 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.861e-05/0.3571, allocations: 8.938 kB / 327.3 MB, free: 1.602 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.494e-05/0.3571, allocations: 17.5 kB / 327.3 MB, free: 1.594 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002431/0.3574, allocations: 199.9 kB / 327.5 MB, free: 1.383 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.943e-05/0.3574, allocations: 6.172 kB / 327.5 MB, free: 1.379 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.255e-05/0.3575, allocations: 2.844 kB / 327.5 MB, free: 1.379 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000141/0.3576, allocations: 46.25 kB / 327.6 MB, free: 1.34 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.373e-05/0.3576, allocations: 1.188 kB / 327.6 MB, free: 1.34 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.366e-05/0.3577, allocations: 0.7969 kB / 327.6 MB, free: 1.34 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.3577, allocations: 5.125 kB / 327.6 MB, free: 1.336 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.087e-05/0.3578, allocations: 14.5 kB / 327.6 MB, free: 1.332 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004166/0.3582, allocations: 294.1 kB / 327.9 MB, free: 1.039 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002342/0.3584, allocations: 47.23 kB / 327.9 MB, free: 1.004 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.437e-05/0.3585, allocations: 1.953 kB / 327.9 MB, free: 1.004 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000156/0.3586, allocations: 56.55 kB / 328 MB, free: 0.9531 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 3.597e-06/0.3587, allocations: 0 / 328 MB, free: 0.9531 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.000526/0.3592, allocations: 121.9 kB / 328.1 MB, free: 0.8828 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.986e-05/0.3593, allocations: 57.91 kB / 328.2 MB, free: 0.8164 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000318/0.3596, allocations: 221.6 kB / 328.4 MB, free: 0.6875 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.019e-05/0.3596, allocations: 30.8 kB / 328.4 MB, free: 0.6523 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.702e-05/0.3597, allocations: 165.7 kB / 328.6 MB, free: 0.4922 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.028e-05/0.3597, allocations: 19.67 kB / 328.6 MB, free: 488 kB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.055e-06/0.3598, allocations: 1.188 kB / 328.6 MB, free: 488 kB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.175e-05/0.3598, allocations: 317.9 kB / 328.9 MB, free: 164 kB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.476e-05/0.3599, allocations: 18.28 kB / 328.9 MB, free: 156 kB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.88e-05/0.36, allocations: 25.7 kB / 329 MB, free: 144 kB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.699e-05/0.3601, allocations: 50.66 kB / 329 MB, free: 100 kB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.3601, allocations: 0 / 329 MB, free: 100 kB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002473/0.3603, allocations: 111.8 kB / 329.1 MB, free: 16 kB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.779e-05/0.3604, allocations: 37.52 kB / 329.2 MB, free: 15.98 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.3605, allocations: 0.6562 kB / 329.2 MB, free: 15.98 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.969e-05/0.3605, allocations: 3.656 kB / 329.2 MB, free: 15.98 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.413e-05/0.3606, allocations: 9.422 kB / 329.2 MB, free: 15.98 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.818e-06/0.3606, allocations: 1.719 kB / 329.2 MB, free: 15.98 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.664e-05/0.3607, allocations: 6.922 kB / 329.2 MB, free: 15.98 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.796e-05/0.3607, allocations: 6.562 kB / 329.2 MB, free: 15.98 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.0001695/0.3609, allocations: 136.9 kB / 329.3 MB, free: 15.85 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.199e-05/0.361, allocations: 13.05 kB / 329.3 MB, free: 15.84 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.173e-05/0.361, allocations: 17.55 kB / 329.3 MB, free: 15.83 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.3611, allocations: 2.062 kB / 329.3 MB, free: 15.83 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.3611, allocations: 0 / 329.3 MB, free: 15.83 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.3611, allocations: 1.406 kB / 329.3 MB, free: 15.83 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005341/0.3616, allocations: 347.9 kB / 329.7 MB, free: 15.51 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.397e-06/0.3617, allocations: 5.688 kB / 329.7 MB, free: 15.5 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.119e-05/0.3617, allocations: 16.95 kB / 329.7 MB, free: 15.49 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.217e-06/0.3617, allocations: 5.375 kB / 329.7 MB, free: 15.49 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.417e-05/0.3618, allocations: 1.969 kB / 329.7 MB, free: 15.49 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.435e-06/0.3618, allocations: 0 / 329.7 MB, free: 15.49 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.3618, allocations: 0 / 329.7 MB, free: 15.49 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002402/0.362, allocations: 173.9 kB / 329.9 MB, free: 15.34 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.842e-05/0.3621, allocations: 85.72 kB / 330 MB, free: 15.24 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.198e-05/0.3622, allocations: 5.297 kB / 330 MB, free: 15.23 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.787e-05/0.3623, allocations: 2.562 kB / 330 MB, free: 15.23 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.912e-05/0.3623, allocations: 12.52 kB / 330 MB, free: 15.23 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.013e-05/0.3624, allocations: 3.328 kB / 330 MB, free: 15.23 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002529/0.3626, allocations: 185 kB / 330.2 MB, free: 15.12 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.3626, allocations: 0 / 330.2 MB, free: 15.12 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003793/0.363, allocations: 29.3 kB / 330.2 MB, free: 15.12 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.001019/0.3641, allocations: 335.2 kB / 330.5 MB, free: 14.92 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002754/0.3644, allocations: 102.5 kB / 330.6 MB, free: 14.84 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.3644, allocations: 0 / 330.6 MB, free: 14.84 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.765e-05/0.3645, allocations: 16.66 kB / 330.6 MB, free: 14.84 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003372/0.3648, allocations: 26.25 kB / 330.7 MB, free: 14.83 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007308/0.3656, allocations: 292 kB / 331 MB, free: 14.62 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003821/0.366, allocations: 0.7139 MB / 331.7 MB, free: 13.92 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.769e-05/0.366, allocations: 22.28 kB / 331.7 MB, free: 13.9 MB / 282.7 MB Notification: Performance of SimCode: time 1.343e-06/0.3661, allocations: 0 / 331.7 MB, free: 13.9 MB / 282.7 MB Notification: Performance of Templates: time 0.005902/0.372, allocations: 1.801 MB / 333.5 MB, free: 13.7 MB / 282.7 MB