Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test37") Notification: Performance of loadModel(ModelicaTest): time 1.973/1.973, allocations: 209.3 MB / 224.4 MB, free: 0.5117 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.448e-05/3.454e-05, allocations: 4 kB / 276.2 MB, free: 15.86 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3574/0.3575, allocations: 48.7 MB / 324.9 MB, free: 2.473 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test37): time 0.002451/0.36, allocations: 1.271 MB / 326.1 MB, free: 2.207 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.000908/0.361, allocations: 381.2 kB / 326.5 MB, free: 2.012 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.756e-05/0.361, allocations: 1.094 kB / 326.5 MB, free: 2.012 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002803/0.3613, allocations: 49.8 kB / 326.5 MB, free: 2.004 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001542/0.3615, allocations: 36.69 kB / 326.6 MB, free: 1.996 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001648/0.3617, allocations: 47.92 kB / 326.6 MB, free: 1.977 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001181/0.3618, allocations: 33.83 kB / 326.7 MB, free: 1.965 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.532e-05/0.3619, allocations: 1.031 kB / 326.7 MB, free: 1.965 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.367e-05/0.3619, allocations: 25.94 kB / 326.7 MB, free: 1.957 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.637e-05/0.3621, allocations: 29.19 kB / 326.7 MB, free: 1.949 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.785e-05/0.3622, allocations: 24.75 kB / 326.7 MB, free: 1.941 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.087e-05/0.3622, allocations: 2.625 kB / 326.7 MB, free: 1.941 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.302e-05/0.3622, allocations: 15.33 kB / 326.8 MB, free: 1.938 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.581e-05/0.3623, allocations: 3.438 kB / 326.8 MB, free: 1.938 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001858/0.3625, allocations: 65.41 kB / 326.8 MB, free: 1.926 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.3625, allocations: 0 / 326.8 MB, free: 1.926 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.113e-06/0.3625, allocations: 1.219 kB / 326.8 MB, free: 1.926 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.003e-05/0.3625, allocations: 0 / 326.8 MB, free: 1.926 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004555/0.363, allocations: 392.3 kB / 327.2 MB, free: 1.516 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/0.363, allocations: 12.62 kB / 327.2 MB, free: 1.512 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.032e-05/0.3631, allocations: 3.781 kB / 327.2 MB, free: 1.512 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002033/0.3633, allocations: 199.6 kB / 327.4 MB, free: 1.301 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.656e-05/0.3633, allocations: 1.438 kB / 327.4 MB, free: 1.301 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.844e-05/0.3634, allocations: 2.453 kB / 327.4 MB, free: 1.301 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001079/0.3635, allocations: 42.25 kB / 327.5 MB, free: 1.262 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.644e-06/0.3635, allocations: 0 / 327.5 MB, free: 1.262 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.164e-05/0.3635, allocations: 2.25 kB / 327.5 MB, free: 1.262 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.912e-06/0.3635, allocations: 0.7969 kB / 327.5 MB, free: 1.262 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.175e-05/0.3636, allocations: 7 kB / 327.5 MB, free: 1.262 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001772/0.3638, allocations: 182.3 kB / 327.7 MB, free: 1.055 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.084e-05/0.3639, allocations: 23.55 kB / 327.7 MB, free: 1.031 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.817e-05/0.3639, allocations: 2.078 kB / 327.7 MB, free: 1.031 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001393/0.3641, allocations: 57.88 kB / 327.7 MB, free: 0.9766 MB / 266.7 MB Notification: Performance of pre-optimization done (n=3): time 2.966e-06/0.3641, allocations: 0 / 327.7 MB, free: 0.9766 MB / 266.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002347/0.3643, allocations: 73.22 kB / 327.8 MB, free: 0.9258 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.049e-05/0.3644, allocations: 53.42 kB / 327.9 MB, free: 0.8633 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001901/0.3646, allocations: 160.1 kB / 328 MB, free: 0.7539 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.681e-05/0.3646, allocations: 31.05 kB / 328 MB, free: 0.7188 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.226e-05/0.3647, allocations: 160.6 kB / 328.2 MB, free: 0.5625 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.912e-05/0.3647, allocations: 15.05 kB / 328.2 MB, free: 0.5508 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.861e-06/0.3647, allocations: 1.156 kB / 328.2 MB, free: 0.5508 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.958e-05/0.3648, allocations: 313.4 kB / 328.5 MB, free: 244 kB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.1e-05/0.3649, allocations: 16.14 kB / 328.5 MB, free: 236 kB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.823e-05/0.3649, allocations: 18.31 kB / 328.6 MB, free: 228 kB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.355e-05/0.365, allocations: 44.31 kB / 328.6 MB, free: 188 kB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.365, allocations: 0 / 328.6 MB, free: 188 kB / 266.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002029/0.3652, allocations: 102.4 kB / 328.7 MB, free: 104 kB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.287e-05/0.3653, allocations: 40.55 kB / 328.7 MB, free: 68 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.605e-06/0.3653, allocations: 4.234 kB / 328.7 MB, free: 68 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.77e-05/0.3653, allocations: 3.938 kB / 328.7 MB, free: 68 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.618e-05/0.3654, allocations: 5.359 kB / 328.8 MB, free: 68 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.284e-06/0.3654, allocations: 1.781 kB / 328.8 MB, free: 68 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.481e-05/0.3655, allocations: 6.375 kB / 328.8 MB, free: 64 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.417e-05/0.3655, allocations: 2.953 kB / 328.8 MB, free: 64 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 (5): * Single equations (assignments): 4 * 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.0001436/0.3657, allocations: 120.4 kB / 328.9 MB, free: 15.95 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.541e-05/0.3657, allocations: 14.92 kB / 328.9 MB, free: 15.93 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.488e-05/0.3658, allocations: 14.14 kB / 328.9 MB, free: 15.92 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.3658, allocations: 0.6562 kB / 328.9 MB, free: 15.92 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.3658, allocations: 1.031 kB / 328.9 MB, free: 15.92 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.3658, allocations: 0 / 328.9 MB, free: 15.92 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001811/0.366, allocations: 172.5 kB / 329.1 MB, free: 15.73 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.366, allocations: 0 / 329.1 MB, free: 15.73 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.45e-05/0.3661, allocations: 6.344 kB / 329.1 MB, free: 15.72 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.033e-06/0.3661, allocations: 5.656 kB / 329.1 MB, free: 15.72 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.038e-05/0.3661, allocations: 0.7031 kB / 329.1 MB, free: 15.72 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.953e-06/0.3661, allocations: 1.062 kB / 329.1 MB, free: 15.72 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.3661, allocations: 0 / 329.1 MB, free: 15.72 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001743/0.3663, allocations: 82 kB / 329.2 MB, free: 15.64 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.03e-05/0.3664, allocations: 84.61 kB / 329.3 MB, free: 15.55 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.311e-05/0.3664, allocations: 6.969 kB / 329.3 MB, free: 15.54 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.688e-05/0.3665, allocations: 9.844 kB / 329.3 MB, free: 15.54 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.839e-05/0.3665, allocations: 2.047 kB / 329.3 MB, free: 15.54 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.984e-05/0.3666, allocations: 3 kB / 329.3 MB, free: 15.54 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001543/0.3667, allocations: 135.3 kB / 329.4 MB, free: 15.44 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.3667, allocations: 0 / 329.4 MB, free: 15.44 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000316/0.3671, allocations: 20.61 kB / 329.4 MB, free: 15.44 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 (3): * Single equations (assignments): 2 * 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.0008875/0.368, allocations: 304.6 kB / 329.7 MB, free: 15.26 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002401/0.3682, allocations: 95.39 kB / 329.8 MB, free: 15.18 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.3682, allocations: 0 / 329.8 MB, free: 15.18 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.973e-05/0.3683, allocations: 12.08 kB / 329.8 MB, free: 15.18 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002762/0.3686, allocations: 22.34 kB / 329.9 MB, free: 15.16 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005259/0.3691, allocations: 208.4 kB / 330.1 MB, free: 14.98 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003441/0.3695, allocations: 0.7038 MB / 330.8 MB, free: 14.28 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.775e-05/0.3696, allocations: 12.83 kB / 330.8 MB, free: 14.27 MB / 282.7 MB Notification: Performance of SimCode: time 9.22e-07/0.3696, allocations: 0 / 330.8 MB, free: 14.27 MB / 282.7 MB Notification: Performance of Templates: time 0.004998/0.3746, allocations: 1.441 MB / 332.2 MB, free: 14.13 MB / 282.7 MB