Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test44,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.Test44") Notification: Performance of loadModel(ModelicaTest): time 1.957/1.957, allocations: 209.3 MB / 224.4 MB, free: 0.5156 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.835e-05/4.827e-05, allocations: 4 kB / 276.1 MB, free: 15.86 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3501/0.3502, allocations: 48.71 MB / 324.9 MB, free: 2.898 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test44): time 0.003122/0.3533, allocations: 1.302 MB / 326.2 MB, free: 2.344 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001307/0.3547, allocations: 407.6 kB / 326.6 MB, free: 2.133 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.127e-05/0.3548, allocations: 1.125 kB / 326.6 MB, free: 2.133 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000271/0.3551, allocations: 16.83 kB / 326.6 MB, free: 2.129 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001907/0.3553, allocations: 32.47 kB / 326.6 MB, free: 2.117 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002497/0.3556, allocations: 47.95 kB / 326.7 MB, free: 2.098 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001724/0.3558, allocations: 43.75 kB / 326.7 MB, free: 2.078 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.439e-05/0.3559, allocations: 5.938 kB / 326.7 MB, free: 2.078 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.46e-05/0.356, allocations: 21.36 kB / 326.7 MB, free: 2.074 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.723e-05/0.3561, allocations: 20.75 kB / 326.7 MB, free: 2.066 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001737/0.3563, allocations: 24.69 kB / 326.8 MB, free: 2.066 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.31e-05/0.3564, allocations: 4.359 kB / 326.8 MB, free: 2.066 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.951e-05/0.3564, allocations: 18.41 kB / 326.8 MB, free: 2.059 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.414e-05/0.3565, allocations: 7.656 kB / 326.8 MB, free: 2.055 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002981/0.3568, allocations: 81.28 kB / 326.9 MB, free: 2.043 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.3568, allocations: 4 kB / 326.9 MB, free: 2.039 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.695e-06/0.3568, allocations: 0 / 326.9 MB, free: 2.039 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.101e-05/0.3569, allocations: 1.156 kB / 326.9 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.0005787/0.3575, allocations: 399.4 kB / 327.3 MB, free: 1.625 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.44e-05/0.3575, allocations: 10.42 kB / 327.3 MB, free: 1.625 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.012e-05/0.3576, allocations: 7.188 kB / 327.3 MB, free: 1.621 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002719/0.3579, allocations: 200.5 kB / 327.5 MB, free: 1.41 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.627e-05/0.3579, allocations: 9.047 kB / 327.5 MB, free: 1.402 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.66e-05/0.358, allocations: 8.953 kB / 327.5 MB, free: 1.398 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001603/0.3582, allocations: 41.98 kB / 327.5 MB, free: 1.363 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.575e-05/0.3582, allocations: 1.312 kB / 327.5 MB, free: 1.363 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.544e-05/0.3582, allocations: 1.125 kB / 327.5 MB, free: 1.363 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.126e-06/0.3582, allocations: 0 / 327.5 MB, free: 1.363 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.572e-05/0.3583, allocations: 13.66 kB / 327.6 MB, free: 1.359 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004727/0.3588, allocations: 284.6 kB / 327.8 MB, free: 1.07 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002821/0.3591, allocations: 42.42 kB / 327.9 MB, free: 1.039 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.862e-05/0.3592, allocations: 1.219 kB / 327.9 MB, free: 1.039 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001696/0.3594, allocations: 61.48 kB / 327.9 MB, free: 0.9844 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 2.645e-06/0.3594, allocations: 0 / 327.9 MB, free: 0.9844 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.000586/0.36, allocations: 114.2 kB / 328.1 MB, free: 0.9219 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.352e-05/0.36, allocations: 52.62 kB / 328.1 MB, free: 0.8594 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002841/0.3603, allocations: 177.9 kB / 328.3 MB, free: 0.7422 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.11e-05/0.3604, allocations: 26.8 kB / 328.3 MB, free: 0.7109 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.156e-05/0.3605, allocations: 174.6 kB / 328.5 MB, free: 0.543 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.087e-05/0.3605, allocations: 7.703 kB / 328.5 MB, free: 0.5391 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.13e-05/0.3605, allocations: 5.125 kB / 328.5 MB, free: 0.5352 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.313e-05/0.3606, allocations: 317.5 kB / 328.8 MB, free: 224 kB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.719e-05/0.3607, allocations: 23.67 kB / 328.8 MB, free: 212 kB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.273e-05/0.3608, allocations: 16.44 kB / 328.8 MB, free: 208 kB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001067/0.3609, allocations: 50.97 kB / 328.9 MB, free: 164 kB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.361, allocations: 0 / 328.9 MB, free: 164 kB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003196/0.3613, allocations: 121.2 kB / 329 MB, free: 72 kB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.611e-05/0.3614, allocations: 35.81 kB / 329 MB, free: 40 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-06/0.3614, allocations: 2.141 kB / 329 MB, free: 40 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/0.3614, allocations: 3.703 kB / 329 MB, free: 40 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.771e-05/0.3615, allocations: 8.719 kB / 329.1 MB, free: 40 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.906e-06/0.3615, allocations: 1.734 kB / 329.1 MB, free: 40 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.2e-05/0.3616, allocations: 3.047 kB / 329.1 MB, free: 40 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.803e-05/0.3617, allocations: 3.469 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.0001873/0.3619, allocations: 132.8 kB / 329.2 MB, free: 15.91 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.44e-05/0.3619, allocations: 8.406 kB / 329.2 MB, free: 15.91 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.116e-05/0.362, allocations: 14.48 kB / 329.2 MB, free: 15.9 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.362, allocations: 1.094 kB / 329.2 MB, free: 15.9 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.133e-06/0.3621, allocations: 1.938 kB / 329.2 MB, free: 15.9 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.3621, allocations: 0 / 329.2 MB, free: 15.9 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005829/0.3627, allocations: 338.4 kB / 329.5 MB, free: 15.57 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-06/0.3627, allocations: 1.438 kB / 329.5 MB, free: 15.57 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.771e-05/0.3628, allocations: 9.594 kB / 329.6 MB, free: 15.57 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.795e-06/0.3628, allocations: 1.406 kB / 329.6 MB, free: 15.57 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.466e-05/0.3628, allocations: 5.422 kB / 329.6 MB, free: 15.57 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.3628, allocations: 5.375 kB / 329.6 MB, free: 15.56 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.3628, allocations: 1.594 kB / 329.6 MB, free: 15.56 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002817/0.3631, allocations: 171.3 kB / 329.7 MB, free: 15.41 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.498e-05/0.3632, allocations: 89.03 kB / 329.8 MB, free: 15.31 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.215e-05/0.3633, allocations: 5.312 kB / 329.8 MB, free: 15.3 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001417/0.3634, allocations: 6.203 kB / 329.8 MB, free: 15.3 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.68e-05/0.3635, allocations: 4.453 kB / 329.8 MB, free: 15.3 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.3e-05/0.3635, allocations: 3.344 kB / 329.8 MB, free: 15.3 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002214/0.3638, allocations: 136.6 kB / 330 MB, free: 15.21 MB / 282.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.3638, allocations: 1.438 kB / 330 MB, free: 15.21 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0006131/0.3644, allocations: 32 kB / 330 MB, free: 15.2 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.001323/0.3658, allocations: 333.1 kB / 330.3 MB, free: 15.01 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003048/0.3661, allocations: 104.9 kB / 330.4 MB, free: 14.93 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 6.021e-06/0.3661, allocations: 0 / 330.4 MB, free: 14.93 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 8.19e-05/0.3662, allocations: 20.66 kB / 330.5 MB, free: 14.92 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004289/0.3667, allocations: 19.55 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.0006998/0.3674, allocations: 228.3 kB / 330.7 MB, free: 14.72 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004092/0.3678, allocations: 0.7049 MB / 331.4 MB, free: 14.02 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.627e-05/0.3679, allocations: 18.2 kB / 331.4 MB, free: 14.01 MB / 282.7 MB Notification: Performance of SimCode: time 1.062e-06/0.3679, allocations: 0 / 331.4 MB, free: 14.01 MB / 282.7 MB Notification: Performance of Templates: time 0.007009/0.3749, allocations: 1.695 MB / 333.1 MB, free: 13.81 MB / 282.7 MB