Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test3,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.Test3") Notification: Performance of loadModel(ModelicaTest): time 1.952/1.952, allocations: 209.3 MB / 223.8 MB, free: 0.6602 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.048e-05/3.066e-05, allocations: 4 kB / 276.2 MB, free: 15.22 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3623/0.3624, allocations: 48.69 MB / 324.9 MB, free: 3.375 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test3): time 0.002336/0.3648, allocations: 1.303 MB / 326.2 MB, free: 2.758 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009276/0.3657, allocations: 400.1 kB / 326.6 MB, free: 2.555 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.934e-05/0.3658, allocations: 1.219 kB / 326.6 MB, free: 2.555 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002193/0.3661, allocations: 19.88 kB / 326.6 MB, free: 2.547 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001363/0.3662, allocations: 24.31 kB / 326.6 MB, free: 2.539 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001791/0.3664, allocations: 49.55 kB / 326.7 MB, free: 2.52 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001258/0.3665, allocations: 39.2 kB / 326.7 MB, free: 2.504 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001031/0.3667, allocations: 7.062 kB / 326.7 MB, free: 2.5 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.076e-05/0.3667, allocations: 23.23 kB / 326.7 MB, free: 2.492 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.195e-05/0.3668, allocations: 18.48 kB / 326.8 MB, free: 2.484 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001254/0.367, allocations: 29.92 kB / 326.8 MB, free: 2.48 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.044e-05/0.367, allocations: 3.531 kB / 326.8 MB, free: 2.48 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.915e-05/0.367, allocations: 12.39 kB / 326.8 MB, free: 2.477 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.467e-05/0.3671, allocations: 2.625 kB / 326.8 MB, free: 2.477 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002098/0.3673, allocations: 80.47 kB / 326.9 MB, free: 2.457 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.3673, allocations: 0 / 326.9 MB, free: 2.457 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.3673, allocations: 0 / 326.9 MB, free: 2.457 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.025e-05/0.3673, allocations: 5.031 kB / 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.0004356/0.3678, allocations: 388 kB / 327.3 MB, free: 2.047 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.3678, allocations: 9.688 kB / 327.3 MB, free: 2.047 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.502e-05/0.3679, allocations: 7.297 kB / 327.3 MB, free: 2.043 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000197/0.3681, allocations: 187.7 kB / 327.5 MB, free: 1.84 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.375e-05/0.3681, allocations: 5.234 kB / 327.5 MB, free: 1.836 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.002e-05/0.3682, allocations: 10.28 kB / 327.5 MB, free: 1.828 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001276/0.3683, allocations: 44.39 kB / 327.5 MB, free: 1.793 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.296e-05/0.3683, allocations: 4 kB / 327.5 MB, free: 1.789 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.05e-05/0.3684, allocations: 0.7031 kB / 327.5 MB, free: 1.789 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.3684, allocations: 1.219 kB / 327.5 MB, free: 1.789 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.415e-05/0.3684, allocations: 18.27 kB / 327.5 MB, free: 1.781 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003463/0.3688, allocations: 276.6 kB / 327.8 MB, free: 1.496 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002257/0.369, allocations: 46.14 kB / 327.9 MB, free: 1.465 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.515e-05/0.3691, allocations: 5.094 kB / 327.9 MB, free: 1.461 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001302/0.3692, allocations: 57.36 kB / 327.9 MB, free: 1.41 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 1.743e-06/0.3692, allocations: 0 / 327.9 MB, free: 1.41 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004352/0.3697, allocations: 113.8 kB / 328 MB, free: 1.344 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.842e-05/0.3697, allocations: 53.12 kB / 328.1 MB, free: 1.281 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001507/0.3699, allocations: 135.2 kB / 328.2 MB, free: 1.18 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.68e-05/0.3699, allocations: 27.05 kB / 328.2 MB, free: 1.148 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.982e-05/0.37, allocations: 97.77 kB / 328.3 MB, free: 1.055 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.769e-05/0.37, allocations: 20.58 kB / 328.4 MB, free: 1.039 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.793e-06/0.37, allocations: 0.9688 kB / 328.4 MB, free: 1.039 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.048e-05/0.3701, allocations: 323.5 kB / 328.7 MB, free: 0.7188 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.486e-05/0.3702, allocations: 20.27 kB / 328.7 MB, free: 0.7109 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.855e-05/0.3703, allocations: 16.78 kB / 328.7 MB, free: 0.707 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.529e-05/0.3703, allocations: 49.69 kB / 328.8 MB, free: 0.6641 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.3704, allocations: 0 / 328.8 MB, free: 0.6641 MB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002555/0.3706, allocations: 119.3 kB / 328.9 MB, free: 0.5781 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.995e-05/0.3707, allocations: 34.12 kB / 328.9 MB, free: 0.5469 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.3707, allocations: 4.562 kB / 328.9 MB, free: 0.543 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.674e-05/0.3707, allocations: 0 / 328.9 MB, free: 0.543 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.765e-05/0.3708, allocations: 15.84 kB / 328.9 MB, free: 0.5391 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.3708, allocations: 0.5625 kB / 328.9 MB, free: 0.5391 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.6e-05/0.3709, allocations: 3.547 kB / 328.9 MB, free: 0.5391 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.365e-05/0.3709, allocations: 2.906 kB / 328.9 MB, free: 0.5391 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.401e-05/0.371, allocations: 121.4 kB / 329.1 MB, free: 428 kB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.149e-05/0.3711, allocations: 7.453 kB / 329.1 MB, free: 424 kB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.835e-05/0.3711, allocations: 13.17 kB / 329.1 MB, free: 416 kB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.459e-06/0.3712, allocations: 5.281 kB / 329.1 MB, free: 412 kB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.3712, allocations: 0.5625 kB / 329.1 MB, free: 412 kB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/0.3712, allocations: 1.156 kB / 329.1 MB, free: 412 kB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003873/0.3716, allocations: 334.2 kB / 329.4 MB, free: 80 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/0.3716, allocations: 1.312 kB / 329.4 MB, free: 80 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.417e-05/0.3717, allocations: 5.188 kB / 329.4 MB, free: 80 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/0.3717, allocations: 1.375 kB / 329.4 MB, free: 80 kB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.444e-05/0.3717, allocations: 10.5 kB / 329.4 MB, free: 72 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/0.3717, allocations: 96 / 329.4 MB, free: 72 kB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.3717, allocations: 9.156 kB / 329.4 MB, free: 64 kB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002649/0.372, allocations: 171.9 kB / 329.6 MB, free: 15.91 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.369e-05/0.3721, allocations: 85.06 kB / 329.7 MB, free: 15.81 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.937e-05/0.3721, allocations: 1.828 kB / 329.7 MB, free: 15.81 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.732e-05/0.3722, allocations: 2.812 kB / 329.7 MB, free: 15.81 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.905e-05/0.3723, allocations: 4.25 kB / 329.7 MB, free: 15.81 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.939e-05/0.3723, allocations: 2.094 kB / 329.7 MB, free: 15.81 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.000134/0.3724, allocations: 120.8 kB / 329.8 MB, free: 15.72 MB / 282.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.3725, allocations: 1.094 kB / 329.8 MB, free: 15.72 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003671/0.3728, allocations: 24.08 kB / 329.8 MB, free: 15.71 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.001033/0.3739, allocations: 346.1 kB / 330.2 MB, free: 15.51 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002902/0.3742, allocations: 107 kB / 330.3 MB, free: 15.43 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.3742, allocations: 0 / 330.3 MB, free: 15.43 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.976e-05/0.3743, allocations: 22.62 kB / 330.3 MB, free: 15.42 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002908/0.3746, allocations: 14.86 kB / 330.3 MB, free: 15.42 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005261/0.3751, allocations: 167.7 kB / 330.5 MB, free: 15.27 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003807/0.3755, allocations: 0.6978 MB / 331.2 MB, free: 14.57 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.508e-05/0.3756, allocations: 13.69 kB / 331.2 MB, free: 14.57 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.827e-05/0.3757, allocations: 11.94 kB / 331.2 MB, free: 14.56 MB / 282.7 MB Notification: Performance of SimCode: time 6.41e-07/0.3757, allocations: 1.219 kB / 331.2 MB, free: 14.56 MB / 282.7 MB Notification: Performance of Templates: time 0.006279/0.382, allocations: 1.395 MB / 332.6 MB, free: 14.38 MB / 282.7 MB