Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test30,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.Test30") Notification: Performance of loadModel(ModelicaTest): time 1.96/1.96, allocations: 209.3 MB / 223.8 MB, free: 0.7773 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.867e-05/3.88e-05, allocations: 11.12 kB / 276.2 MB, free: 15.23 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3668/0.3668, allocations: 48.69 MB / 324.9 MB, free: 3.387 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test30): time 0.002602/0.3695, allocations: 1.308 MB / 326.2 MB, free: 2.766 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001046/0.3706, allocations: 392.5 kB / 326.6 MB, free: 2.566 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.921e-05/0.3707, allocations: 5.844 kB / 326.6 MB, free: 2.562 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002598/0.371, allocations: 17.41 kB / 326.6 MB, free: 2.559 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001686/0.3712, allocations: 31.98 kB / 326.6 MB, free: 2.547 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002092/0.3714, allocations: 49.81 kB / 326.7 MB, free: 2.527 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001491/0.3716, allocations: 38.58 kB / 326.7 MB, free: 2.512 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.467e-05/0.3717, allocations: 3.578 kB / 326.7 MB, free: 2.512 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.281e-05/0.3718, allocations: 28.67 kB / 326.7 MB, free: 2.5 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.88e-05/0.3719, allocations: 17.48 kB / 326.8 MB, free: 2.496 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001409/0.372, allocations: 27.89 kB / 326.8 MB, free: 2.492 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.369e-05/0.3721, allocations: 4.828 kB / 326.8 MB, free: 2.492 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.057e-05/0.3721, allocations: 18.91 kB / 326.8 MB, free: 2.484 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.936e-05/0.3722, allocations: 2.469 kB / 326.8 MB, free: 2.484 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002346/0.3724, allocations: 79.52 kB / 326.9 MB, free: 2.469 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.3725, allocations: 0 / 326.9 MB, free: 2.469 MB / 266.7 MB Notification: Performance of FrontEnd: time 3.617e-06/0.3725, allocations: 5.062 kB / 326.9 MB, free: 2.465 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.138e-05/0.3725, allocations: 0 / 326.9 MB, free: 2.465 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.0004965/0.373, allocations: 398.1 kB / 327.3 MB, free: 2.051 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.611e-05/0.373, allocations: 10.22 kB / 327.3 MB, free: 2.051 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.8e-05/0.3731, allocations: 7.75 kB / 327.3 MB, free: 2.047 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002052/0.3733, allocations: 196.2 kB / 327.5 MB, free: 1.836 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.235e-05/0.3733, allocations: 2.469 kB / 327.5 MB, free: 1.836 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.803e-05/0.3734, allocations: 2.25 kB / 327.5 MB, free: 1.836 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001309/0.3735, allocations: 43.81 kB / 327.5 MB, free: 1.801 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.291e-05/0.3736, allocations: 0 / 327.5 MB, free: 1.801 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.069e-05/0.3736, allocations: 0 / 327.5 MB, free: 1.801 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-06/0.3736, allocations: 1.125 kB / 327.5 MB, free: 1.801 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.769e-05/0.3737, allocations: 22.28 kB / 327.6 MB, free: 1.789 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003739/0.374, allocations: 287.5 kB / 327.8 MB, free: 1.496 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002288/0.3743, allocations: 38.08 kB / 327.9 MB, free: 1.469 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.645e-05/0.3743, allocations: 1.578 kB / 327.9 MB, free: 1.469 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001429/0.3745, allocations: 60.23 kB / 327.9 MB, free: 1.414 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 1.824e-06/0.3745, allocations: 0 / 327.9 MB, free: 1.414 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004786/0.375, allocations: 108.8 kB / 328 MB, free: 1.355 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.953e-05/0.375, allocations: 60.72 kB / 328.1 MB, free: 1.285 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001924/0.3752, allocations: 160 kB / 328.3 MB, free: 1.176 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.672e-05/0.3753, allocations: 31.69 kB / 328.3 MB, free: 1.141 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.372e-05/0.3753, allocations: 94.38 kB / 328.4 MB, free: 1.051 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.898e-05/0.3754, allocations: 21.09 kB / 328.4 MB, free: 1.035 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.913e-06/0.3754, allocations: 0 / 328.4 MB, free: 1.035 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.793e-05/0.3755, allocations: 325.1 kB / 328.7 MB, free: 0.7148 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.076e-05/0.3756, allocations: 15.83 kB / 328.7 MB, free: 0.7109 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.818e-05/0.3756, allocations: 21 kB / 328.8 MB, free: 0.7031 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.842e-05/0.3757, allocations: 49.11 kB / 328.8 MB, free: 0.6602 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.3757, allocations: 1.219 kB / 328.8 MB, free: 0.6602 MB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002358/0.376, allocations: 118.1 kB / 328.9 MB, free: 0.5742 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.05e-05/0.376, allocations: 38.48 kB / 329 MB, free: 0.5391 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.376, allocations: 2.25 kB / 329 MB, free: 0.5391 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/0.3761, allocations: 1.062 kB / 329 MB, free: 0.5391 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.095e-05/0.3762, allocations: 9.344 kB / 329 MB, free: 0.5391 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.3762, allocations: 0 / 329 MB, free: 0.5391 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.909e-05/0.3763, allocations: 3.828 kB / 329 MB, free: 0.5391 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.452e-05/0.3763, allocations: 7.562 kB / 329 MB, free: 0.5352 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 9.777e-05/0.3764, allocations: 127.1 kB / 329.1 MB, free: 424 kB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.282e-05/0.3764, allocations: 8.375 kB / 329.1 MB, free: 420 kB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.915e-05/0.3765, allocations: 15.34 kB / 329.1 MB, free: 412 kB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.569e-06/0.3765, allocations: 0.6562 kB / 329.1 MB, free: 412 kB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.171e-06/0.3765, allocations: 1.25 kB / 329.1 MB, free: 412 kB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.568e-06/0.3765, allocations: 4.453 kB / 329.1 MB, free: 408 kB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003868/0.3769, allocations: 338 kB / 329.5 MB, free: 76 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.3769, allocations: 4 kB / 329.5 MB, free: 72 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.409e-05/0.377, allocations: 5.766 kB / 329.5 MB, free: 72 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/0.377, allocations: 0.75 kB / 329.5 MB, free: 72 kB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.334e-05/0.377, allocations: 11.2 kB / 329.5 MB, free: 64 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.3771, allocations: 3.984 kB / 329.5 MB, free: 60 kB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.3771, allocations: 0.5312 kB / 329.5 MB, free: 60 kB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002405/0.3773, allocations: 176.8 kB / 329.7 MB, free: 15.9 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.658e-05/0.3774, allocations: 85.44 kB / 329.8 MB, free: 15.8 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.881e-05/0.3774, allocations: 5.219 kB / 329.8 MB, free: 15.8 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.675e-05/0.3775, allocations: 2.438 kB / 329.8 MB, free: 15.8 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.729e-05/0.3776, allocations: 9.719 kB / 329.8 MB, free: 15.8 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.073e-05/0.3776, allocations: 3.656 kB / 329.8 MB, free: 15.8 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001513/0.3778, allocations: 127 kB / 329.9 MB, free: 15.71 MB / 282.7 MB Notification: Performance of sort global known variables: time 4.1e-07/0.3778, allocations: 0 / 329.9 MB, free: 15.71 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003552/0.3782, allocations: 32.95 kB / 329.9 MB, free: 15.7 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.0009659/0.3791, allocations: 345.3 kB / 330.3 MB, free: 15.5 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002819/0.3794, allocations: 106 kB / 330.4 MB, free: 15.41 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.3795, allocations: 0 / 330.4 MB, free: 15.41 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.48e-05/0.3795, allocations: 16.66 kB / 330.4 MB, free: 15.41 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003074/0.3798, allocations: 15.25 kB / 330.4 MB, free: 15.41 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005292/0.3804, allocations: 198.7 kB / 330.6 MB, free: 15.25 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003133/0.3807, allocations: 0.6972 MB / 331.3 MB, free: 14.55 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.112e-05/0.3808, allocations: 17.08 kB / 331.3 MB, free: 14.54 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.888e-05/0.3809, allocations: 14.45 kB / 331.3 MB, free: 14.54 MB / 282.7 MB Notification: Performance of SimCode: time 8.62e-07/0.3809, allocations: 4 kB / 331.3 MB, free: 14.53 MB / 282.7 MB Notification: Performance of Templates: time 0.006137/0.387, allocations: 1.407 MB / 332.7 MB, free: 14.35 MB / 282.7 MB