Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test17,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.Test17") Notification: Performance of loadModel(ModelicaTest): time 1.997/1.997, allocations: 209.3 MB / 224.4 MB, free: 0.5117 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.463e-05/3.471e-05, allocations: 7.938 kB / 276.2 MB, free: 15.85 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3548/0.3548, allocations: 48.69 MB / 324.8 MB, free: 2.883 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test17): time 0.002389/0.3573, allocations: 1.313 MB / 326.2 MB, free: 2.328 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009413/0.3583, allocations: 395.8 kB / 326.5 MB, free: 2.125 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.781e-05/0.3584, allocations: 7.656 kB / 326.6 MB, free: 2.121 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002352/0.3586, allocations: 17.75 kB / 326.6 MB, free: 2.117 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001506/0.3588, allocations: 25.44 kB / 326.6 MB, free: 2.109 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002/0.359, allocations: 49.7 kB / 326.6 MB, free: 2.09 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00013/0.3592, allocations: 41.42 kB / 326.7 MB, free: 2.07 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.774e-05/0.3592, allocations: 4.469 kB / 326.7 MB, free: 2.07 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.185e-05/0.3593, allocations: 23.98 kB / 326.7 MB, free: 2.062 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.166e-05/0.3594, allocations: 20.22 kB / 326.7 MB, free: 2.055 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000128/0.3596, allocations: 33.66 kB / 326.8 MB, free: 2.047 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.239e-05/0.3596, allocations: 7.531 kB / 326.8 MB, free: 2.043 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.84e-05/0.3596, allocations: 8.922 kB / 326.8 MB, free: 2.043 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.477e-05/0.3597, allocations: 2.969 kB / 326.8 MB, free: 2.043 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002288/0.3599, allocations: 73.66 kB / 326.9 MB, free: 2.031 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.3599, allocations: 1.031 kB / 326.9 MB, free: 2.031 MB / 266.7 MB Notification: Performance of FrontEnd: time 3.386e-06/0.3599, allocations: 1.453 kB / 326.9 MB, free: 2.031 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.388e-05/0.36, allocations: 3.938 kB / 326.9 MB, free: 2.027 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.000454/0.3604, allocations: 395.9 kB / 327.3 MB, free: 1.617 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.3605, allocations: 13.28 kB / 327.3 MB, free: 1.613 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.119e-05/0.3605, allocations: 4.531 kB / 327.3 MB, free: 1.613 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000203/0.3607, allocations: 190.1 kB / 327.5 MB, free: 1.41 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.935e-05/0.3608, allocations: 6.109 kB / 327.5 MB, free: 1.406 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.557e-05/0.3608, allocations: 6.875 kB / 327.5 MB, free: 1.402 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001287/0.3609, allocations: 42.19 kB / 327.5 MB, free: 1.367 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.301e-05/0.361, allocations: 5.391 kB / 327.5 MB, free: 1.363 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.247e-05/0.361, allocations: 2.312 kB / 327.5 MB, free: 1.363 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.81e-06/0.361, allocations: 0 / 327.5 MB, free: 1.363 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.831e-05/0.3611, allocations: 21.3 kB / 327.5 MB, free: 1.352 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003522/0.3614, allocations: 282.8 kB / 327.8 MB, free: 1.062 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002192/0.3617, allocations: 38.42 kB / 327.9 MB, free: 1.035 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.141e-05/0.3617, allocations: 1.312 kB / 327.9 MB, free: 1.035 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001441/0.3619, allocations: 59.81 kB / 327.9 MB, free: 0.9805 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 1.643e-06/0.3619, allocations: 4 kB / 327.9 MB, free: 0.9766 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004516/0.3623, allocations: 112.5 kB / 328 MB, free: 0.918 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.828e-05/0.3624, allocations: 56.59 kB / 328.1 MB, free: 0.8516 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001719/0.3626, allocations: 147.3 kB / 328.2 MB, free: 0.7422 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.789e-05/0.3626, allocations: 27.73 kB / 328.3 MB, free: 0.7109 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.561e-05/0.3627, allocations: 164.8 kB / 328.4 MB, free: 0.5508 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.932e-05/0.3627, allocations: 16.75 kB / 328.4 MB, free: 0.5391 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.819e-06/0.3627, allocations: 5.094 kB / 328.4 MB, free: 0.5352 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.257e-05/0.3628, allocations: 321.2 kB / 328.7 MB, free: 220 kB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.522e-05/0.3629, allocations: 19.62 kB / 328.8 MB, free: 212 kB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.75e-05/0.3629, allocations: 16.5 kB / 328.8 MB, free: 208 kB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.262e-05/0.363, allocations: 47.5 kB / 328.8 MB, free: 168 kB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.3631, allocations: 0 / 328.8 MB, free: 168 kB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002261/0.3633, allocations: 118.6 kB / 328.9 MB, free: 80 kB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.636e-05/0.3633, allocations: 33.08 kB / 329 MB, free: 48 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.3634, allocations: 1.062 kB / 329 MB, free: 48 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.711e-05/0.3634, allocations: 0.6562 kB / 329 MB, free: 48 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.972e-05/0.3635, allocations: 8.922 kB / 329 MB, free: 48 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.3635, allocations: 4.969 kB / 329 MB, free: 44 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.548e-05/0.3636, allocations: 3.703 kB / 329 MB, free: 44 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.43e-05/0.3636, allocations: 2.984 kB / 329 MB, free: 44 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.0001651/0.3638, allocations: 122.7 kB / 329.1 MB, free: 15.92 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.733e-05/0.3638, allocations: 8.078 kB / 329.1 MB, free: 15.92 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.793e-05/0.3639, allocations: 13.77 kB / 329.1 MB, free: 15.91 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.3639, allocations: 1.406 kB / 329.1 MB, free: 15.91 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.3639, allocations: 0.5625 kB / 329.1 MB, free: 15.91 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.652e-06/0.3639, allocations: 0 / 329.1 MB, free: 15.91 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004655/0.3644, allocations: 344.1 kB / 329.5 MB, free: 15.58 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.3644, allocations: 5.031 kB / 329.5 MB, free: 15.57 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.55e-05/0.3645, allocations: 5.234 kB / 329.5 MB, free: 15.57 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.3645, allocations: 0 / 329.5 MB, free: 15.57 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.241e-05/0.3645, allocations: 4.203 kB / 329.5 MB, free: 15.57 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.953e-06/0.3645, allocations: 3.938 kB / 329.5 MB, free: 15.57 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.3645, allocations: 1.031 kB / 329.5 MB, free: 15.57 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000218/0.3648, allocations: 176.7 kB / 329.7 MB, free: 15.41 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.622e-05/0.3648, allocations: 83.25 kB / 329.7 MB, free: 15.32 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.995e-05/0.3649, allocations: 5.953 kB / 329.8 MB, free: 15.31 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.333e-05/0.365, allocations: 3.016 kB / 329.8 MB, free: 15.31 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.33e-05/0.365, allocations: 7.328 kB / 329.8 MB, free: 15.31 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.968e-05/0.3651, allocations: 2.812 kB / 329.8 MB, free: 15.31 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001392/0.3652, allocations: 120.1 kB / 329.9 MB, free: 15.22 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.3652, allocations: 0 / 329.9 MB, free: 15.22 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003485/0.3656, allocations: 29.42 kB / 329.9 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.0009642/0.3666, allocations: 342.5 kB / 330.2 MB, free: 15.02 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002466/0.3668, allocations: 106.8 kB / 330.4 MB, free: 14.93 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.3668, allocations: 1.125 kB / 330.4 MB, free: 14.93 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.198e-05/0.3669, allocations: 17.03 kB / 330.4 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.0003118/0.3672, allocations: 17.64 kB / 330.4 MB, free: 14.92 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005425/0.3678, allocations: 211.6 kB / 330.6 MB, free: 14.74 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003163/0.3681, allocations: 0.6971 MB / 331.3 MB, free: 14.04 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.271e-05/0.3682, allocations: 13.62 kB / 331.3 MB, free: 14.04 MB / 282.7 MB Notification: Performance of SimCode: time 1.072e-06/0.3682, allocations: 4 kB / 331.3 MB, free: 14.03 MB / 282.7 MB Notification: Performance of Templates: time 0.005193/0.3734, allocations: 1.641 MB / 332.9 MB, free: 13.85 MB / 282.7 MB