Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test65,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.Test65") Notification: Performance of loadModel(ModelicaTest): time 2.074/2.074, allocations: 209.2 MB / 224.4 MB, free: 0.5273 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.94e-05/2.951e-05, allocations: 4 kB / 276.1 MB, free: 15.86 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3545/0.3545, allocations: 48.7 MB / 324.9 MB, free: 2.883 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test65): time 0.002289/0.3569, allocations: 1.271 MB / 326.1 MB, free: 2.348 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009232/0.3579, allocations: 381.7 kB / 326.5 MB, free: 2.152 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.273e-05/0.3579, allocations: 3.906 kB / 326.5 MB, free: 2.152 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003128/0.3583, allocations: 66.75 kB / 326.6 MB, free: 2.145 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000162/0.3584, allocations: 47.14 kB / 326.6 MB, free: 2.137 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000169/0.3586, allocations: 46.91 kB / 326.7 MB, free: 2.117 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001225/0.3588, allocations: 32.38 kB / 326.7 MB, free: 2.105 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.681e-05/0.3588, allocations: 7.578 kB / 326.7 MB, free: 2.102 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.49e-05/0.3589, allocations: 25.36 kB / 326.7 MB, free: 2.094 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001085/0.359, allocations: 35.66 kB / 326.8 MB, free: 2.086 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.983e-05/0.3591, allocations: 22.31 kB / 326.8 MB, free: 2.082 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.173e-05/0.3592, allocations: 3.469 kB / 326.8 MB, free: 2.082 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.502e-05/0.3592, allocations: 15.25 kB / 326.8 MB, free: 2.078 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.582e-05/0.3592, allocations: 3.438 kB / 326.8 MB, free: 2.078 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001955/0.3595, allocations: 73.88 kB / 326.9 MB, free: 2.062 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.955e-06/0.3595, allocations: 0 / 326.9 MB, free: 2.062 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.3595, allocations: 0 / 326.9 MB, free: 2.062 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.113e-05/0.3595, allocations: 1.25 kB / 326.9 MB, free: 2.062 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.0004452/0.36, allocations: 401.4 kB / 327.3 MB, free: 1.648 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.185e-05/0.36, allocations: 8.781 kB / 327.3 MB, free: 1.648 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.865e-05/0.3601, allocations: 9.188 kB / 327.3 MB, free: 1.645 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002202/0.3603, allocations: 192.5 kB / 327.5 MB, free: 1.438 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.903e-05/0.3603, allocations: 5.016 kB / 327.5 MB, free: 1.434 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.591e-05/0.3604, allocations: 1.953 kB / 327.5 MB, free: 1.434 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001125/0.3605, allocations: 43.59 kB / 327.5 MB, free: 1.395 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.837e-06/0.3605, allocations: 4 kB / 327.5 MB, free: 1.391 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.147e-05/0.3605, allocations: 0.7969 kB / 327.5 MB, free: 1.391 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.3605, allocations: 1.375 kB / 327.5 MB, free: 1.391 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.804e-05/0.3606, allocations: 9.906 kB / 327.5 MB, free: 1.387 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001761/0.3608, allocations: 176.8 kB / 327.7 MB, free: 1.188 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.352e-05/0.3609, allocations: 35.77 kB / 327.7 MB, free: 1.152 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.601e-05/0.3609, allocations: 1 kB / 327.7 MB, free: 1.152 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001407/0.3611, allocations: 66.47 kB / 327.8 MB, free: 1.094 MB / 266.7 MB Notification: Performance of pre-optimization done (n=3): time 2.094e-06/0.3611, allocations: 0 / 327.8 MB, free: 1.094 MB / 266.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002275/0.3613, allocations: 64.64 kB / 327.9 MB, free: 1.051 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.637e-05/0.3614, allocations: 56.47 kB / 327.9 MB, free: 0.9844 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002248/0.3616, allocations: 175 kB / 328.1 MB, free: 0.875 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.663e-05/0.3616, allocations: 30.98 kB / 328.1 MB, free: 0.8398 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.455e-05/0.3617, allocations: 163 kB / 328.3 MB, free: 0.6836 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.336e-05/0.3617, allocations: 5.875 kB / 328.3 MB, free: 0.6797 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.913e-06/0.3617, allocations: 5.031 kB / 328.3 MB, free: 0.6758 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.623e-05/0.3618, allocations: 316.7 kB / 328.6 MB, free: 368 kB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.978e-05/0.3619, allocations: 12.59 kB / 328.6 MB, free: 364 kB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.471e-05/0.3619, allocations: 18.31 kB / 328.6 MB, free: 356 kB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.824e-05/0.362, allocations: 44.14 kB / 328.7 MB, free: 316 kB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.362, allocations: 0 / 328.7 MB, free: 316 kB / 266.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001828/0.3622, allocations: 102.7 kB / 328.8 MB, free: 232 kB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.791e-05/0.3623, allocations: 37.77 kB / 328.8 MB, free: 200 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.279e-06/0.3623, allocations: 0 / 328.8 MB, free: 200 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.3623, allocations: 5.281 kB / 328.8 MB, free: 196 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.694e-05/0.3624, allocations: 9.609 kB / 328.8 MB, free: 196 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.3624, allocations: 0 / 328.8 MB, free: 196 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.611e-05/0.3625, allocations: 3.984 kB / 328.8 MB, free: 196 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.268e-05/0.3625, allocations: 4.016 kB / 328.8 MB, free: 196 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 9.619e-05/0.3626, allocations: 129.6 kB / 329 MB, free: 68 kB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.399e-05/0.3626, allocations: 12.25 kB / 329 MB, free: 60 kB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.769e-05/0.3627, allocations: 10.16 kB / 329 MB, free: 52 kB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.3627, allocations: 1.031 kB / 329 MB, free: 52 kB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.3627, allocations: 4 kB / 329 MB, free: 48 kB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.3627, allocations: 1.75 kB / 329 MB, free: 48 kB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001998/0.3629, allocations: 177.8 kB / 329.2 MB, free: 15.85 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.005e-06/0.363, allocations: 2.141 kB / 329.2 MB, free: 15.85 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.344e-05/0.363, allocations: 2 kB / 329.2 MB, free: 15.85 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.363, allocations: 0 / 329.2 MB, free: 15.85 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.342e-05/0.363, allocations: 6.016 kB / 329.2 MB, free: 15.84 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.909e-06/0.363, allocations: 6.109 kB / 329.2 MB, free: 15.84 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.3631, allocations: 0 / 329.2 MB, free: 15.84 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001678/0.3632, allocations: 86.12 kB / 329.3 MB, free: 15.76 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.587e-05/0.3633, allocations: 85.31 kB / 329.3 MB, free: 15.66 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.695e-05/0.3633, allocations: 1.062 kB / 329.4 MB, free: 15.66 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.035e-05/0.3634, allocations: 9.938 kB / 329.4 MB, free: 15.66 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.139e-05/0.3635, allocations: 7.328 kB / 329.4 MB, free: 15.65 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.724e-05/0.3635, allocations: 10.62 kB / 329.4 MB, free: 15.64 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001879/0.3637, allocations: 148.6 kB / 329.5 MB, free: 15.55 MB / 282.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.3637, allocations: 0 / 329.5 MB, free: 15.55 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002852/0.364, allocations: 24.86 kB / 329.5 MB, free: 15.54 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.0009047/0.3649, allocations: 305.8 kB / 329.8 MB, free: 15.36 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002165/0.3651, allocations: 90.86 kB / 329.9 MB, free: 15.29 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.3652, allocations: 0 / 329.9 MB, free: 15.29 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.888e-05/0.3652, allocations: 12.12 kB / 329.9 MB, free: 15.29 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000255/0.3655, allocations: 21.69 kB / 330 MB, free: 15.28 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005473/0.366, allocations: 234.4 kB / 330.2 MB, free: 15.09 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003363/0.3664, allocations: 0.7 MB / 330.9 MB, free: 14.39 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.087e-05/0.3665, allocations: 12.72 kB / 330.9 MB, free: 14.38 MB / 282.7 MB Notification: Performance of SimCode: time 9.62e-07/0.3665, allocations: 0 / 330.9 MB, free: 14.38 MB / 282.7 MB Notification: Performance of Templates: time 0.004873/0.3713, allocations: 1.493 MB / 332.4 MB, free: 14.23 MB / 282.7 MB