Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test43,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test43") Notification: Performance of loadModel(ModelicaTest): time 2.008/2.008, allocations: 209.3 MB / 223.8 MB, free: 440 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.603e-05/3.597e-05, allocations: 7.984 kB / 276.2 MB, free: 15.18 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3675/0.3676, allocations: 48.7 MB / 324.9 MB, free: 3.371 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test43): time 0.002331/0.37, allocations: 1.305 MB / 326.2 MB, free: 2.754 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009519/0.371, allocations: 400 kB / 326.6 MB, free: 2.551 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.89e-05/0.3711, allocations: 1.094 kB / 326.6 MB, free: 2.551 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002232/0.3713, allocations: 20.58 kB / 326.6 MB, free: 2.543 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001479/0.3715, allocations: 27.11 kB / 326.6 MB, free: 2.535 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001826/0.3717, allocations: 49.09 kB / 326.7 MB, free: 2.516 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001291/0.3718, allocations: 39.77 kB / 326.7 MB, free: 2.5 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.651e-05/0.3719, allocations: 3.906 kB / 326.7 MB, free: 2.5 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.147e-05/0.372, allocations: 28.34 kB / 326.8 MB, free: 2.488 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001299/0.3721, allocations: 22.02 kB / 326.8 MB, free: 2.48 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000143/0.3723, allocations: 29.3 kB / 326.8 MB, free: 2.477 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.418e-05/0.3723, allocations: 2.594 kB / 326.8 MB, free: 2.477 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.403e-05/0.3724, allocations: 21.95 kB / 326.8 MB, free: 2.469 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.448e-05/0.3725, allocations: 7.562 kB / 326.8 MB, free: 2.465 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002323/0.3727, allocations: 75.08 kB / 326.9 MB, free: 2.453 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.3727, allocations: 0 / 326.9 MB, free: 2.453 MB / 266.7 MB Notification: Performance of FrontEnd: time 3.266e-06/0.3727, allocations: 2.078 kB / 326.9 MB, free: 2.453 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.085e-05/0.3727, allocations: 0 / 326.9 MB, free: 2.453 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005256/0.3733, allocations: 403.7 kB / 327.3 MB, free: 2.035 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.861e-05/0.3733, allocations: 9.375 kB / 327.3 MB, free: 2.035 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.22e-05/0.3734, allocations: 12.06 kB / 327.3 MB, free: 2.027 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002377/0.3736, allocations: 197.7 kB / 327.5 MB, free: 1.82 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.348e-05/0.3737, allocations: 9.891 kB / 327.5 MB, free: 1.812 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.136e-05/0.3737, allocations: 2.25 kB / 327.5 MB, free: 1.812 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001414/0.3739, allocations: 43.52 kB / 327.6 MB, free: 1.777 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.763e-05/0.3739, allocations: 0 / 327.6 MB, free: 1.777 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.397e-05/0.3739, allocations: 4.656 kB / 327.6 MB, free: 1.773 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.374, allocations: 5.281 kB / 327.6 MB, free: 1.77 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.067e-05/0.374, allocations: 13.72 kB / 327.6 MB, free: 1.766 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004092/0.3745, allocations: 277.5 kB / 327.9 MB, free: 1.484 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002434/0.3747, allocations: 45.84 kB / 327.9 MB, free: 1.449 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.515e-05/0.3748, allocations: 1.312 kB / 327.9 MB, free: 1.449 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001524/0.3749, allocations: 62.62 kB / 328 MB, free: 1.395 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 1.774e-06/0.3749, allocations: 0 / 328 MB, free: 1.395 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004918/0.3754, allocations: 113.4 kB / 328.1 MB, free: 1.332 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.655e-05/0.3755, allocations: 56.5 kB / 328.1 MB, free: 1.266 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002377/0.3757, allocations: 173.2 kB / 328.3 MB, free: 1.152 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.972e-05/0.3758, allocations: 26.36 kB / 328.3 MB, free: 1.121 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.735e-05/0.3759, allocations: 107.2 kB / 328.4 MB, free: 1.02 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.841e-05/0.3759, allocations: 13.27 kB / 328.4 MB, free: 1.012 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.687e-06/0.3759, allocations: 5.344 kB / 328.5 MB, free: 1.008 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.893e-05/0.376, allocations: 325.7 kB / 328.8 MB, free: 0.6875 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.478e-05/0.3761, allocations: 14.58 kB / 328.8 MB, free: 0.6836 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.756e-05/0.3762, allocations: 20.02 kB / 328.8 MB, free: 0.6758 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.856e-05/0.3763, allocations: 51.16 kB / 328.9 MB, free: 0.6328 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.3763, allocations: 0 / 328.9 MB, free: 0.6328 MB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002537/0.3766, allocations: 119.5 kB / 329 MB, free: 0.5469 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.485e-05/0.3766, allocations: 37.52 kB / 329 MB, free: 0.5117 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.501e-06/0.3766, allocations: 0 / 329 MB, free: 0.5117 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.769e-05/0.3767, allocations: 4.906 kB / 329 MB, free: 0.5078 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.17e-05/0.3768, allocations: 12.88 kB / 329 MB, free: 0.5039 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.895e-06/0.3768, allocations: 1.438 kB / 329 MB, free: 0.5039 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.277e-05/0.3769, allocations: 2.516 kB / 329 MB, free: 0.5039 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.569e-05/0.3769, allocations: 3.875 kB / 329 MB, free: 0.5039 MB / 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 (7): * Single equations (assignments): 6 * 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.0001165/0.377, allocations: 124.8 kB / 329.2 MB, free: 392 kB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.24e-05/0.377, allocations: 8.531 kB / 329.2 MB, free: 388 kB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.408e-05/0.3771, allocations: 16.11 kB / 329.2 MB, free: 380 kB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/0.3771, allocations: 1.531 kB / 329.2 MB, free: 380 kB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.3771, allocations: 4 kB / 329.2 MB, free: 376 kB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.3772, allocations: 0.7031 kB / 329.2 MB, free: 376 kB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000422/0.3776, allocations: 341.9 kB / 329.5 MB, free: 40 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.3776, allocations: 1.188 kB / 329.5 MB, free: 40 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.579e-05/0.3777, allocations: 9.625 kB / 329.5 MB, free: 36 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.3777, allocations: 5.281 kB / 329.5 MB, free: 32 kB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.431e-05/0.3777, allocations: 2.562 kB / 329.5 MB, free: 32 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.915e-06/0.3777, allocations: 0.6562 kB / 329.5 MB, free: 32 kB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.3777, allocations: 1.062 kB / 329.5 MB, free: 32 kB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000288/0.378, allocations: 175.5 kB / 329.7 MB, free: 15.88 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.281e-05/0.3781, allocations: 85.31 kB / 329.8 MB, free: 15.78 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.628e-05/0.3782, allocations: 5.625 kB / 329.8 MB, free: 15.77 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.084e-05/0.3783, allocations: 6.078 kB / 329.8 MB, free: 15.77 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.716e-05/0.3783, allocations: 7.172 kB / 329.8 MB, free: 15.77 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.102e-05/0.3784, allocations: 6.578 kB / 329.8 MB, free: 15.77 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001925/0.3786, allocations: 136.7 kB / 330 MB, free: 15.68 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.7e-07/0.3786, allocations: 5.25 kB / 330 MB, free: 15.67 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003592/0.379, allocations: 23.98 kB / 330 MB, free: 15.67 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 (5): * Single equations (assignments): 4 * 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.001083/0.38, allocations: 332.1 kB / 330.3 MB, free: 15.48 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003027/0.3804, allocations: 101.8 kB / 330.4 MB, free: 15.4 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/0.3804, allocations: 5.219 kB / 330.4 MB, free: 15.4 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 7.096e-05/0.3805, allocations: 19.27 kB / 330.4 MB, free: 15.39 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003248/0.3808, allocations: 18.98 kB / 330.4 MB, free: 15.38 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006419/0.3815, allocations: 198.1 kB / 330.6 MB, free: 15.23 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004142/0.3819, allocations: 0.708 MB / 331.4 MB, free: 14.53 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.644e-05/0.382, allocations: 8.484 kB / 331.4 MB, free: 14.53 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.438e-05/0.382, allocations: 14.2 kB / 331.4 MB, free: 14.52 MB / 282.7 MB Notification: Performance of SimCode: time 8.92e-07/0.3821, allocations: 0 / 331.4 MB, free: 14.52 MB / 282.7 MB Notification: Performance of Templates: time 0.006406/0.3885, allocations: 1.413 MB / 332.8 MB, free: 14.34 MB / 282.7 MB