Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test31,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.Test31") Notification: Performance of loadModel(ModelicaTest): time 2.544/2.544, allocations: 234.9 MB / 250.1 MB, free: 9.938 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 5.424e-05/5.441e-05, allocations: 12 kB / 308 MB, free: 15.91 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4605/0.4605, allocations: 54.86 MB / 362.9 MB, free: 12.09 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test31): time 0.002642/0.4633, allocations: 1.358 MB / 364.2 MB, free: 10.94 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001604/0.4649, allocations: 0.653 MB / 364.9 MB, free: 10.43 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001147/0.4651, allocations: 1.125 kB / 364.9 MB, free: 10.43 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002556/0.4654, allocations: 21.53 kB / 364.9 MB, free: 10.41 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001918/0.4656, allocations: 25.61 kB / 364.9 MB, free: 10.39 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002468/0.4659, allocations: 51.73 kB / 365 MB, free: 10.36 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001661/0.466, allocations: 47.58 kB / 365 MB, free: 10.32 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.754e-05/0.4662, allocations: 7.438 kB / 365 MB, free: 10.32 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001102/0.4663, allocations: 33.3 kB / 365.1 MB, free: 10.3 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.443e-05/0.4664, allocations: 26.66 kB / 365.1 MB, free: 10.28 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001486/0.4666, allocations: 26.58 kB / 365.1 MB, free: 10.27 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.748e-05/0.4666, allocations: 4.25 kB / 365.1 MB, free: 10.27 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.503e-05/0.4667, allocations: 18.64 kB / 365.1 MB, free: 10.26 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.383e-05/0.4667, allocations: 9.219 kB / 365.1 MB, free: 10.26 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002307/0.4669, allocations: 83.67 kB / 365.2 MB, free: 10.21 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.467, allocations: 0 / 365.2 MB, free: 10.21 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.815e-06/0.467, allocations: 0 / 365.2 MB, free: 10.21 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.345e-05/0.467, allocations: 0 / 365.2 MB, free: 10.21 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.0006445/0.4677, allocations: 445.2 kB / 365.7 MB, free: 9.734 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.44e-05/0.4677, allocations: 13.53 kB / 365.7 MB, free: 9.73 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.517e-05/0.4678, allocations: 9 kB / 365.7 MB, free: 9.727 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003182/0.4681, allocations: 203.7 kB / 365.9 MB, free: 9.5 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.045e-05/0.4682, allocations: 14.73 kB / 365.9 MB, free: 9.488 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.157e-05/0.4682, allocations: 7.219 kB / 365.9 MB, free: 9.484 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002198/0.4684, allocations: 58.36 kB / 366 MB, free: 9.434 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.469e-05/0.4685, allocations: 0 / 366 MB, free: 9.434 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.369e-05/0.4685, allocations: 0.9688 kB / 366 MB, free: 9.434 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.666e-06/0.4685, allocations: 4.984 kB / 366 MB, free: 9.43 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001183/0.4686, allocations: 18.86 kB / 366 MB, free: 9.422 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005026/0.4692, allocations: 289.8 kB / 366.3 MB, free: 9.113 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002797/0.4695, allocations: 61.23 kB / 366.3 MB, free: 9.066 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.392e-05/0.4695, allocations: 5.297 kB / 366.3 MB, free: 9.062 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002253/0.4697, allocations: 69.59 kB / 366.4 MB, free: 8.996 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 2.826e-06/0.4698, allocations: 0 / 366.4 MB, free: 8.996 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008289/0.4706, allocations: 185.3 kB / 366.6 MB, free: 8.887 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.064e-05/0.4707, allocations: 51.41 kB / 366.6 MB, free: 8.824 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002543/0.4709, allocations: 167.4 kB / 366.8 MB, free: 8.699 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.696e-05/0.471, allocations: 26.77 kB / 366.8 MB, free: 8.668 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001013/0.4711, allocations: 164.8 kB / 367 MB, free: 8.508 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.075e-05/0.4711, allocations: 28.45 kB / 367 MB, free: 8.484 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.618e-06/0.4712, allocations: 1.156 kB / 367 MB, free: 8.484 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001733/0.4713, allocations: 316.2 kB / 367.3 MB, free: 8.168 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001218/0.4715, allocations: 34.8 kB / 367.3 MB, free: 8.148 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001436/0.4716, allocations: 55.67 kB / 367.4 MB, free: 8.109 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001613/0.4718, allocations: 61.64 kB / 367.5 MB, free: 8.062 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.4718, allocations: 0 / 367.5 MB, free: 8.062 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004179/0.4723, allocations: 153.2 kB / 367.6 MB, free: 7.957 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.962e-05/0.4723, allocations: 39.83 kB / 367.6 MB, free: 7.918 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.696e-06/0.4723, allocations: 1.688 kB / 367.7 MB, free: 7.918 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.107e-05/0.4724, allocations: 5.344 kB / 367.7 MB, free: 7.914 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001522/0.4725, allocations: 12.5 kB / 367.7 MB, free: 7.914 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.291e-05/0.4726, allocations: 5.188 kB / 367.7 MB, free: 7.91 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001035/0.4727, allocations: 11.64 kB / 367.7 MB, free: 7.902 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.957e-05/0.4727, allocations: 5.375 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.00015/0.4729, allocations: 123.7 kB / 367.8 MB, free: 7.781 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.327e-05/0.4729, allocations: 12.19 kB / 367.8 MB, free: 7.773 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.934e-05/0.473, allocations: 24.97 kB / 367.8 MB, free: 7.754 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.473, allocations: 5.406 kB / 367.9 MB, free: 7.75 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.67e-06/0.473, allocations: 4 kB / 367.9 MB, free: 7.746 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.658e-06/0.473, allocations: 0 / 367.9 MB, free: 7.746 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006997/0.4737, allocations: 386.9 kB / 368.2 MB, free: 7.371 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.82e-06/0.4738, allocations: 4.047 kB / 368.2 MB, free: 7.367 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.228e-05/0.4738, allocations: 12.03 kB / 368.2 MB, free: 7.363 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.57e-06/0.4739, allocations: 1.156 kB / 368.3 MB, free: 7.363 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.182e-05/0.4739, allocations: 10.3 kB / 368.3 MB, free: 7.355 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.376e-06/0.4739, allocations: 0.9688 kB / 368.3 MB, free: 7.355 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.4739, allocations: 4.031 kB / 368.3 MB, free: 7.352 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003593/0.4743, allocations: 215.2 kB / 368.5 MB, free: 7.16 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.155e-05/0.4744, allocations: 93.28 kB / 368.6 MB, free: 7.055 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.513e-05/0.4744, allocations: 2.688 kB / 368.6 MB, free: 7.055 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001121/0.4746, allocations: 2.5 kB / 368.6 MB, free: 7.055 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.74e-05/0.4746, allocations: 14.89 kB / 368.6 MB, free: 7.043 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.988e-05/0.4747, allocations: 7.5 kB / 368.6 MB, free: 7.039 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001672/0.4748, allocations: 132.2 kB / 368.7 MB, free: 6.941 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.4749, allocations: 1.281 kB / 368.7 MB, free: 6.941 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000371/0.4752, allocations: 36.95 kB / 368.8 MB, free: 6.926 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.001244/0.4765, allocations: 402.1 kB / 369.2 MB, free: 6.676 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004539/0.477, allocations: 158.6 kB / 369.3 MB, free: 6.559 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/0.477, allocations: 1.094 kB / 369.3 MB, free: 6.559 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001194/0.4771, allocations: 25.94 kB / 369.3 MB, free: 6.551 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003816/0.4775, allocations: 21.03 kB / 369.4 MB, free: 6.539 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006574/0.4782, allocations: 275.4 kB / 369.6 MB, free: 6.297 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003578/0.4786, allocations: 0.7021 MB / 370.3 MB, free: 5.59 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.827e-05/0.4786, allocations: 18.52 kB / 370.3 MB, free: 5.578 MB / 298.7 MB Notification: Performance of SimCode: time 9.51e-07/0.4786, allocations: 0 / 370.3 MB, free: 5.578 MB / 298.7 MB Notification: Performance of Templates: time 0.005592/0.4842, allocations: 1.874 MB / 372.2 MB, free: 4.133 MB / 298.7 MB