Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test18") Notification: Performance of loadModel(ModelicaTest): time 2.582/2.582, allocations: 234.9 MB / 250.1 MB, free: 9.938 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.495e-05/3.485e-05, allocations: 8 kB / 308 MB, free: 15.91 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.47/0.4701, allocations: 54.86 MB / 362.9 MB, free: 12.08 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test18): time 0.002697/0.4728, allocations: 1.358 MB / 364.2 MB, free: 10.93 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001645/0.4745, allocations: 0.6465 MB / 364.9 MB, free: 10.43 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.594e-05/0.4747, allocations: 1.469 kB / 364.9 MB, free: 10.43 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002494/0.4749, allocations: 24.58 kB / 364.9 MB, free: 10.41 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001763/0.4751, allocations: 29.42 kB / 364.9 MB, free: 10.39 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002055/0.4754, allocations: 46.16 kB / 365 MB, free: 10.35 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001502/0.4755, allocations: 44.86 kB / 365 MB, free: 10.32 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.468e-05/0.4756, allocations: 6.812 kB / 365 MB, free: 10.32 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001046/0.4757, allocations: 41.61 kB / 365 MB, free: 10.29 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.625e-05/0.4758, allocations: 25.64 kB / 365.1 MB, free: 10.27 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001171/0.476, allocations: 23.84 kB / 365.1 MB, free: 10.27 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.231e-05/0.476, allocations: 2.469 kB / 365.1 MB, free: 10.27 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.848e-05/0.4761, allocations: 14.73 kB / 365.1 MB, free: 10.26 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.029e-05/0.4761, allocations: 5.156 kB / 365.1 MB, free: 10.26 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002242/0.4763, allocations: 94.59 kB / 365.2 MB, free: 10.2 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.307e-06/0.4764, allocations: 0 / 365.2 MB, free: 10.2 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.375e-06/0.4764, allocations: 0 / 365.2 MB, free: 10.2 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.058e-05/0.4764, allocations: 0 / 365.2 MB, free: 10.2 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006755/0.4771, allocations: 444.2 kB / 365.6 MB, free: 9.727 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.871e-05/0.4771, allocations: 17.17 kB / 365.7 MB, free: 9.719 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.897e-05/0.4772, allocations: 12.34 kB / 365.7 MB, free: 9.711 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003092/0.4775, allocations: 194.6 kB / 365.9 MB, free: 9.496 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.588e-05/0.4776, allocations: 2.281 kB / 365.9 MB, free: 9.496 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.552e-05/0.4776, allocations: 7.375 kB / 365.9 MB, free: 9.492 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002026/0.4778, allocations: 49.95 kB / 365.9 MB, free: 9.449 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.292e-05/0.4779, allocations: 0 / 365.9 MB, free: 9.449 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.877e-05/0.4779, allocations: 9.312 kB / 365.9 MB, free: 9.441 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.834e-06/0.4779, allocations: 9.141 kB / 365.9 MB, free: 9.434 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001144/0.478, allocations: 21.8 kB / 366 MB, free: 9.422 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004877/0.4785, allocations: 293.2 kB / 366.2 MB, free: 9.109 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002527/0.4788, allocations: 57.86 kB / 366.3 MB, free: 9.066 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.564e-05/0.4789, allocations: 0.9062 kB / 366.3 MB, free: 9.066 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002191/0.4791, allocations: 77.59 kB / 366.4 MB, free: 8.992 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 2.795e-06/0.4791, allocations: 0 / 366.4 MB, free: 8.992 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008099/0.4799, allocations: 180.4 kB / 366.6 MB, free: 8.887 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.417e-05/0.48, allocations: 52.88 kB / 366.6 MB, free: 8.824 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002255/0.4802, allocations: 159 kB / 366.8 MB, free: 8.699 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.718e-05/0.4803, allocations: 27.17 kB / 366.8 MB, free: 8.668 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001019/0.4804, allocations: 165.1 kB / 367 MB, free: 8.508 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.016e-05/0.4804, allocations: 27.09 kB / 367 MB, free: 8.484 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.927e-06/0.4805, allocations: 1.406 kB / 367 MB, free: 8.484 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001859/0.4807, allocations: 316.3 kB / 367.3 MB, free: 8.168 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001239/0.4808, allocations: 31.61 kB / 367.3 MB, free: 8.152 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001431/0.4809, allocations: 51.72 kB / 367.4 MB, free: 8.117 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001566/0.4811, allocations: 65.31 kB / 367.4 MB, free: 8.066 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.4811, allocations: 4 kB / 367.4 MB, free: 8.062 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004132/0.4816, allocations: 160.8 kB / 367.6 MB, free: 7.949 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.244e-05/0.4816, allocations: 36.38 kB / 367.6 MB, free: 7.914 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.094e-05/0.4816, allocations: 5.078 kB / 367.6 MB, free: 7.91 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/0.4817, allocations: 0.9062 kB / 367.6 MB, free: 7.91 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001517/0.4818, allocations: 17.09 kB / 367.7 MB, free: 7.906 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.085e-06/0.4819, allocations: 1.25 kB / 367.7 MB, free: 7.906 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001017/0.482, allocations: 8.312 kB / 367.7 MB, free: 7.902 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.842e-05/0.482, allocations: 3.906 kB / 367.7 MB, free: 7.902 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * 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.0001544/0.4822, allocations: 126.4 kB / 367.8 MB, free: 7.777 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.304e-05/0.4822, allocations: 8.469 kB / 367.8 MB, free: 7.773 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.452e-05/0.4823, allocations: 25.19 kB / 367.8 MB, free: 7.754 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-06/0.4823, allocations: 1.25 kB / 367.8 MB, free: 7.754 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.4823, allocations: 0 / 367.8 MB, free: 7.754 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.4823, allocations: 0 / 367.8 MB, free: 7.754 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006755/0.483, allocations: 382 kB / 368.2 MB, free: 7.383 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.48e-06/0.483, allocations: 7.984 kB / 368.2 MB, free: 7.375 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.276e-05/0.4831, allocations: 11.8 kB / 368.2 MB, free: 7.371 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.951e-06/0.4831, allocations: 1.938 kB / 368.2 MB, free: 7.371 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.322e-05/0.4831, allocations: 1.219 kB / 368.2 MB, free: 7.371 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.4832, allocations: 1.5 kB / 368.2 MB, free: 7.371 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.922e-06/0.4832, allocations: 5.031 kB / 368.2 MB, free: 7.367 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003765/0.4836, allocations: 226.5 kB / 368.4 MB, free: 7.164 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.096e-05/0.4837, allocations: 93.25 kB / 368.5 MB, free: 7.059 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.944e-05/0.4837, allocations: 10.23 kB / 368.5 MB, free: 7.051 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001056/0.4838, allocations: 1.406 kB / 368.5 MB, free: 7.051 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.765e-05/0.4839, allocations: 3.594 kB / 368.6 MB, free: 7.051 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.66e-05/0.4839, allocations: 8.266 kB / 368.6 MB, free: 7.047 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001495/0.4841, allocations: 124 kB / 368.7 MB, free: 6.953 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.4841, allocations: 0 / 368.7 MB, free: 6.953 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003623/0.4845, allocations: 26 kB / 368.7 MB, free: 6.949 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001213/0.4857, allocations: 409.2 kB / 369.1 MB, free: 6.691 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004481/0.4861, allocations: 151.2 kB / 369.3 MB, free: 6.582 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.087e-06/0.4862, allocations: 0 / 369.3 MB, free: 6.582 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001236/0.4863, allocations: 38.12 kB / 369.3 MB, free: 6.562 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003357/0.4867, allocations: 24.77 kB / 369.3 MB, free: 6.551 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006166/0.4873, allocations: 245.9 kB / 369.6 MB, free: 6.328 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003271/0.4876, allocations: 0.7047 MB / 370.3 MB, free: 5.617 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.522e-05/0.4877, allocations: 14.06 kB / 370.3 MB, free: 5.609 MB / 298.7 MB Notification: Performance of SimCode: time 9.02e-07/0.4877, allocations: 1.469 kB / 370.3 MB, free: 5.609 MB / 298.7 MB Notification: Performance of Templates: time 0.005487/0.4932, allocations: 1.855 MB / 372.1 MB, free: 4.215 MB / 298.7 MB