Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test28,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.Test28") Notification: Performance of loadModel(ModelicaTest): time 1.926/1.926, allocations: 209.3 MB / 223.8 MB, free: 0.7773 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.55e-05/3.545e-05, allocations: 11.12 kB / 276.2 MB, free: 15.23 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3677/0.3678, allocations: 48.69 MB / 324.9 MB, free: 3.387 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test28): time 0.002208/0.37, allocations: 1.307 MB / 326.2 MB, free: 2.766 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009501/0.371, allocations: 391.8 kB / 326.6 MB, free: 2.566 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.364e-05/0.3711, allocations: 6 kB / 326.6 MB, free: 2.562 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002304/0.3714, allocations: 16.53 kB / 326.6 MB, free: 2.559 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001454/0.3716, allocations: 30.11 kB / 326.6 MB, free: 2.551 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002071/0.3718, allocations: 46.75 kB / 326.7 MB, free: 2.531 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001259/0.3719, allocations: 43.2 kB / 326.7 MB, free: 2.512 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.018e-05/0.372, allocations: 3.75 kB / 326.7 MB, free: 2.512 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.323e-05/0.3721, allocations: 25.09 kB / 326.7 MB, free: 2.504 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.243e-05/0.3722, allocations: 21.47 kB / 326.8 MB, free: 2.496 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001366/0.3723, allocations: 29.56 kB / 326.8 MB, free: 2.492 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.094e-05/0.3724, allocations: 2.188 kB / 326.8 MB, free: 2.492 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.55e-05/0.3724, allocations: 19.59 kB / 326.8 MB, free: 2.484 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.642e-05/0.3724, allocations: 3.469 kB / 326.8 MB, free: 2.484 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002136/0.3727, allocations: 79.75 kB / 326.9 MB, free: 2.469 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.3727, allocations: 0 / 326.9 MB, free: 2.469 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.525e-06/0.3727, allocations: 3.938 kB / 326.9 MB, free: 2.465 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.02e-05/0.3727, 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.0004448/0.3732, allocations: 399.8 kB / 327.3 MB, free: 2.051 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.213e-05/0.3732, allocations: 8.156 kB / 327.3 MB, free: 2.051 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.633e-05/0.3733, allocations: 12.81 kB / 327.3 MB, free: 2.043 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002066/0.3735, allocations: 195.8 kB / 327.5 MB, free: 1.832 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.64e-05/0.3735, allocations: 1.062 kB / 327.5 MB, free: 1.832 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.421e-05/0.3736, allocations: 3.094 kB / 327.5 MB, free: 1.832 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001267/0.3737, allocations: 45.28 kB / 327.5 MB, free: 1.797 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.3737, allocations: 0 / 327.5 MB, free: 1.797 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.263e-05/0.3737, allocations: 1.125 kB / 327.5 MB, free: 1.797 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.3738, allocations: 1.25 kB / 327.5 MB, free: 1.797 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.729e-05/0.3738, allocations: 20.97 kB / 327.6 MB, free: 1.785 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003562/0.3742, allocations: 283.6 kB / 327.8 MB, free: 1.496 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002264/0.3745, allocations: 41.78 kB / 327.9 MB, free: 1.465 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.49e-05/0.3745, allocations: 1.172 kB / 327.9 MB, free: 1.465 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00014/0.3746, allocations: 60.08 kB / 327.9 MB, free: 1.41 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 1.703e-06/0.3747, allocations: 1.031 kB / 327.9 MB, free: 1.41 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005079/0.3752, allocations: 109.7 kB / 328.1 MB, free: 1.352 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.814e-05/0.3753, allocations: 60.47 kB / 328.1 MB, free: 1.281 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001893/0.3755, allocations: 156 kB / 328.3 MB, free: 1.176 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.643e-05/0.3755, allocations: 31.14 kB / 328.3 MB, free: 1.141 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.256e-05/0.3755, allocations: 95.64 kB / 328.4 MB, free: 1.051 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.571e-05/0.3756, allocations: 15.86 kB / 328.4 MB, free: 1.039 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.745e-06/0.3756, allocations: 5.438 kB / 328.4 MB, free: 1.035 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.213e-05/0.3757, allocations: 325 kB / 328.7 MB, free: 0.7148 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.001e-05/0.3757, allocations: 16.25 kB / 328.7 MB, free: 0.7109 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.447e-05/0.3758, allocations: 24.28 kB / 328.8 MB, free: 0.6992 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.8e-05/0.3759, allocations: 46.55 kB / 328.8 MB, free: 0.6602 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.243e-06/0.3759, allocations: 0 / 328.8 MB, free: 0.6602 MB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002411/0.3762, allocations: 118.9 kB / 328.9 MB, free: 0.5742 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.138e-05/0.3762, allocations: 42.05 kB / 329 MB, free: 0.5352 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.94e-06/0.3762, allocations: 0 / 329 MB, free: 0.5352 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/0.3763, allocations: 0.5156 kB / 329 MB, free: 0.5352 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.024e-05/0.3763, allocations: 9.328 kB / 329 MB, free: 0.5352 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.223e-06/0.3764, allocations: 2.656 kB / 329 MB, free: 0.5352 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.966e-05/0.3764, allocations: 3.188 kB / 329 MB, free: 0.5352 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.45e-05/0.3765, allocations: 6.938 kB / 329 MB, free: 0.5312 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.0001022/0.3766, allocations: 127.9 kB / 329.1 MB, free: 420 kB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.369e-05/0.3766, allocations: 7.859 kB / 329.1 MB, free: 416 kB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.623e-05/0.3767, allocations: 14.61 kB / 329.1 MB, free: 408 kB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.3767, allocations: 1.5 kB / 329.1 MB, free: 408 kB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.3767, allocations: 0 / 329.1 MB, free: 408 kB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.3767, allocations: 8.438 kB / 329.1 MB, free: 400 kB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003825/0.3771, allocations: 334.6 kB / 329.5 MB, free: 72 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.3771, allocations: 4 kB / 329.5 MB, free: 68 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.626e-05/0.3772, allocations: 6.969 kB / 329.5 MB, free: 68 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.3772, allocations: 1.062 kB / 329.5 MB, free: 68 kB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.355e-05/0.3772, allocations: 9.5 kB / 329.5 MB, free: 60 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.876e-06/0.3772, allocations: 1.094 kB / 329.5 MB, free: 60 kB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.3772, allocations: 0.7656 kB / 329.5 MB, free: 60 kB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002553/0.3775, allocations: 175.9 kB / 329.7 MB, free: 15.9 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.903e-05/0.3776, allocations: 85.67 kB / 329.8 MB, free: 15.8 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.16e-05/0.3776, allocations: 5.688 kB / 329.8 MB, free: 15.8 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.116e-05/0.3777, allocations: 3.109 kB / 329.8 MB, free: 15.8 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.461e-05/0.3778, allocations: 3.656 kB / 329.8 MB, free: 15.8 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.431e-05/0.3778, allocations: 6.609 kB / 329.8 MB, free: 15.8 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001692/0.378, allocations: 127.9 kB / 329.9 MB, free: 15.71 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.378, allocations: 0 / 329.9 MB, free: 15.71 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003692/0.3784, allocations: 32.34 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.001092/0.3795, allocations: 349.2 kB / 330.3 MB, free: 15.49 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002979/0.3798, allocations: 106.5 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.3799, allocations: 0 / 330.4 MB, free: 15.41 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.721e-05/0.3799, allocations: 15.2 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.0003369/0.3803, allocations: 14.55 kB / 330.4 MB, free: 15.4 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006095/0.3809, allocations: 198.7 kB / 330.6 MB, free: 15.24 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004078/0.3813, allocations: 0.702 MB / 331.3 MB, free: 14.54 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.379e-05/0.3814, allocations: 16.41 kB / 331.3 MB, free: 14.54 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.626e-05/0.3815, allocations: 14.05 kB / 331.3 MB, free: 14.53 MB / 282.7 MB Notification: Performance of SimCode: time 1.252e-06/0.3815, allocations: 4.531 kB / 331.3 MB, free: 14.52 MB / 282.7 MB Notification: Performance of Templates: time 0.006074/0.3876, allocations: 1.406 MB / 332.7 MB, free: 14.34 MB / 282.7 MB