Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test67,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_s.nextTimeEvent|t_s.y.1.|d_t_s.y|t_min.nextTimeEvent|t_min.y.1.|d_t_min.y|t_h.nextTimeEvent|t_h.y.1.|d_t_h.y|t_d.nextTimeEvent|t_d.y.1.|d_t_d.y|t_ms.nextTimeEvent|t_ms.y.1.|d_t_ms.y",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test67") Notification: Performance of loadModel(ModelicaTest): time 2.422/2.422, allocations: 234.9 MB / 250.1 MB, free: 9.812 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.456e-05/3.429e-05, allocations: 4 kB / 308 MB, free: 15.78 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.356/0.3561, allocations: 54.86 MB / 362.9 MB, free: 11.8 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test67): time 0.003304/0.3595, allocations: 1.859 MB / 364.7 MB, free: 9.922 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003743/0.3633, allocations: 1.517 MB / 366.2 MB, free: 8.395 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003411/0.3637, allocations: 7.938 kB / 366.2 MB, free: 8.387 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006685/0.3643, allocations: 247.3 kB / 366.5 MB, free: 8.145 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006059/0.365, allocations: 191.5 kB / 366.7 MB, free: 7.957 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009538/0.3659, allocations: 211.3 kB / 366.9 MB, free: 7.75 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006904/0.3667, allocations: 263.4 kB / 367.1 MB, free: 7.492 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001416/0.3668, allocations: 23.97 kB / 367.2 MB, free: 7.469 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003639/0.3672, allocations: 179.5 kB / 367.3 MB, free: 7.293 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003984/0.3676, allocations: 191.4 kB / 367.5 MB, free: 7.105 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005131/0.3681, allocations: 107.8 kB / 367.6 MB, free: 7 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001007/0.3683, allocations: 16 kB / 367.6 MB, free: 6.984 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001633/0.3684, allocations: 99.64 kB / 367.7 MB, free: 6.887 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 9.949e-05/0.3685, allocations: 24 kB / 367.8 MB, free: 6.863 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007456/0.3693, allocations: 385 kB / 368.1 MB, free: 6.488 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.3693, allocations: 0 / 368.1 MB, free: 6.488 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.835e-06/0.3693, allocations: 0 / 368.1 MB, free: 6.488 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.678e-05/0.3694, allocations: 0 / 368.1 MB, free: 6.488 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.001449/0.3708, allocations: 0.9295 MB / 369.1 MB, free: 5.449 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.145e-05/0.3709, allocations: 12.02 kB / 369.1 MB, free: 5.438 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001579/0.3711, allocations: 51.34 kB / 369.1 MB, free: 5.387 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007327/0.3718, allocations: 367.2 kB / 369.5 MB, free: 4.988 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.966e-05/0.3719, allocations: 15.98 kB / 369.5 MB, free: 4.973 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.579e-05/0.372, allocations: 23.91 kB / 369.5 MB, free: 4.949 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006446/0.3726, allocations: 209.8 kB / 369.7 MB, free: 4.723 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.293e-05/0.3727, allocations: 7.984 kB / 369.7 MB, free: 4.715 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.058e-05/0.3727, allocations: 0 / 369.7 MB, free: 4.715 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.486e-05/0.3727, allocations: 7.953 kB / 369.7 MB, free: 4.707 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004407/0.3732, allocations: 107.9 kB / 369.9 MB, free: 4.602 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001454/0.3747, allocations: 0.8916 MB / 370.7 MB, free: 3.645 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001059/0.3758, allocations: 301.7 kB / 371 MB, free: 3.305 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.052e-05/0.3759, allocations: 11.98 kB / 371.1 MB, free: 3.293 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000672/0.3766, allocations: 235.4 kB / 371.3 MB, free: 3.035 MB / 298.7 MB Notification: Performance of pre-optimization done (n=30): time 3.526e-06/0.3766, allocations: 0 / 371.3 MB, free: 3.035 MB / 298.7 MB Notification: Performance of matching and sorting (n=40): time 0.003442/0.38, allocations: 0.9846 MB / 372.3 MB, free: 2.039 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001101/0.3802, allocations: 166.1 kB / 372.4 MB, free: 1.84 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009581/0.3812, allocations: 0.5323 MB / 373 MB, free: 1.297 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.214e-05/0.3813, allocations: 41.7 kB / 373 MB, free: 1.25 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002079/0.3815, allocations: 247.3 kB / 373.2 MB, free: 1.008 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001711/0.3817, allocations: 118.4 kB / 373.4 MB, free: 0.8906 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.821e-05/0.3817, allocations: 12 kB / 373.4 MB, free: 0.8789 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001485/0.3819, allocations: 334.8 kB / 373.7 MB, free: 0.543 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005872/0.3825, allocations: 153.2 kB / 373.8 MB, free: 404 kB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006151/0.3831, allocations: 234.7 kB / 374.1 MB, free: 140 kB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007472/0.3839, allocations: 320.5 kB / 374.4 MB, free: 15.79 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.873e-06/0.3839, allocations: 4 kB / 374.4 MB, free: 15.79 MB / 314.7 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001741/0.3857, allocations: 0.6345 MB / 375 MB, free: 15.11 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001433/0.3859, allocations: 164.5 kB / 375.2 MB, free: 14.92 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.34e-05/0.3859, allocations: 4 kB / 375.2 MB, free: 14.92 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.67e-05/0.3859, allocations: 7.984 kB / 375.2 MB, free: 14.91 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006131/0.3865, allocations: 83.91 kB / 375.3 MB, free: 14.83 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.881e-05/0.3866, allocations: 7.938 kB / 375.3 MB, free: 14.82 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004643/0.387, allocations: 31.89 kB / 375.3 MB, free: 14.79 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.161e-05/0.3871, allocations: 27.98 kB / 375.3 MB, free: 14.76 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 25 ($whenCondition5,$PRE.t_s.nextTimeEvent,t_s.nextTimeEvent,$PRE.t_s.nextTimeEventScaled,t_s.nextTimeEventScaled,$whenCondition4,$PRE.t_min.nextTimeEvent,t_min.nextTimeEvent,$PRE.t_min.nextTimeEventScaled,t_min.nextTimeEventScaled,$whenCondition3,$PRE.t_h.nextTimeEvent,t_h.nextTimeEvent,$PRE.t_h.nextTimeEventScaled,t_h.nextTimeEventScaled,$whenCondition2,$PRE.t_d.nextTimeEvent,t_d.nextTimeEvent,$PRE.t_d.nextTimeEventScaled,t_d.nextTimeEventScaled,$whenCondition1,$PRE.t_ms.nextTimeEvent,t_ms.nextTimeEvent,$PRE.t_ms.nextTimeEventScaled,t_ms.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 5 * 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.0003936/0.3875, allocations: 212.3 kB / 375.6 MB, free: 14.55 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001267/0.3877, allocations: 59.31 kB / 375.6 MB, free: 14.49 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001768/0.3879, allocations: 56.28 kB / 375.7 MB, free: 14.43 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.153e-05/0.3879, allocations: 8 kB / 375.7 MB, free: 14.42 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.006e-05/0.3879, allocations: 0 / 375.7 MB, free: 14.42 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.048e-05/0.3879, allocations: 3.984 kB / 375.7 MB, free: 14.42 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002576/0.3905, allocations: 1.269 MB / 376.9 MB, free: 13.08 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.544e-06/0.3906, allocations: 3.938 kB / 377 MB, free: 13.07 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002891/0.3909, allocations: 52.08 kB / 377 MB, free: 13.02 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.456e-05/0.3909, allocations: 7.953 kB / 377 MB, free: 13.02 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.08e-05/0.391, allocations: 21.11 kB / 377 MB, free: 13 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.188e-05/0.391, allocations: 4 kB / 377 MB, free: 12.99 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.73e-06/0.391, allocations: 3.938 kB / 377 MB, free: 12.99 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001583/0.3926, allocations: 0.914 MB / 378 MB, free: 11.98 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003026/0.393, allocations: 168.3 kB / 378.1 MB, free: 11.8 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001197/0.3931, allocations: 12 kB / 378.1 MB, free: 11.79 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004983/0.3936, allocations: 27.92 kB / 378.2 MB, free: 11.76 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001297/0.3937, allocations: 39.91 kB / 378.2 MB, free: 11.72 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.361e-05/0.3938, allocations: 23.98 kB / 378.2 MB, free: 11.7 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0007399/0.3946, allocations: 426.8 kB / 378.6 MB, free: 11.29 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.3946, allocations: 0 / 378.6 MB, free: 11.29 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001041/0.3957, allocations: 155.9 kB / 378.8 MB, free: 11.13 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition1,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled,$whenCondition2,t_d.nextTimeEvent,t_d.nextTimeEventScaled,$whenCondition3,t_h.nextTimeEvent,t_h.nextTimeEventScaled,$whenCondition4,t_min.nextTimeEvent,t_min.nextTimeEventScaled,$whenCondition5,t_s.nextTimeEvent,t_s.nextTimeEventScaled) * Number of discrete states: 10 (t_s.nextTimeEvent,t_s.nextTimeEventScaled,t_min.nextTimeEvent,t_min.nextTimeEventScaled,t_h.nextTimeEvent,t_h.nextTimeEventScaled,t_d.nextTimeEvent,t_d.nextTimeEventScaled,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.003817/0.3995, allocations: 1.238 MB / 380 MB, free: 9.977 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001824/0.4014, allocations: 0.7394 MB / 380.8 MB, free: 9.176 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.222e-06/0.4014, allocations: 0 / 380.8 MB, free: 9.176 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005815/0.402, allocations: 151.8 kB / 380.9 MB, free: 9.027 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001148/0.4032, allocations: 97.42 kB / 381 MB, free: 8.934 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002315/0.4055, allocations: 0.9797 MB / 382 MB, free: 7.895 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006043/0.4062, allocations: 0.8585 MB / 382.8 MB, free: 7.012 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002505/0.4065, allocations: 47.42 kB / 382.9 MB, free: 6.965 MB / 314.7 MB Notification: Performance of SimCode: time 3.296e-06/0.4065, allocations: 0 / 382.9 MB, free: 6.965 MB / 314.7 MB Notification: Performance of Templates: time 0.01953/0.426, allocations: 7.588 MB / 390.5 MB, free: 15.36 MB / 330.7 MB