Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test4,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.Test4") Notification: Performance of loadModel(ModelicaTest): time 1.946/1.946, allocations: 209.3 MB / 223.8 MB, free: 0.7812 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.166e-05/3.175e-05, allocations: 7.281 kB / 276.2 MB, free: 15.23 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.364/0.3641, allocations: 48.69 MB / 324.9 MB, free: 3.402 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test4): time 0.002419/0.3666, allocations: 1.308 MB / 326.2 MB, free: 2.781 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001089/0.3677, allocations: 401 kB / 326.6 MB, free: 2.578 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.998e-05/0.3678, allocations: 5 kB / 326.6 MB, free: 2.574 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003577/0.3682, allocations: 61.41 kB / 326.6 MB, free: 2.57 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001875/0.3684, allocations: 44.73 kB / 326.7 MB, free: 2.562 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002229/0.3686, allocations: 54.92 kB / 326.7 MB, free: 2.539 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001528/0.3688, allocations: 44.56 kB / 326.8 MB, free: 2.52 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.468e-05/0.3689, allocations: 4.531 kB / 326.8 MB, free: 2.52 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.623e-05/0.369, allocations: 26.62 kB / 326.8 MB, free: 2.512 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001224/0.3691, allocations: 35.89 kB / 326.8 MB, free: 2.504 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001328/0.3693, allocations: 30.5 kB / 326.9 MB, free: 2.5 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.327e-05/0.3693, allocations: 2.938 kB / 326.9 MB, free: 2.5 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.359e-05/0.3694, allocations: 17.03 kB / 326.9 MB, free: 2.496 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.137e-05/0.3694, allocations: 3.375 kB / 326.9 MB, free: 2.496 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002415/0.3697, allocations: 86.23 kB / 327 MB, free: 2.477 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.3697, allocations: 0 / 327 MB, free: 2.477 MB / 266.7 MB Notification: Performance of FrontEnd: time 3.466e-06/0.3697, allocations: 4.453 kB / 327 MB, free: 2.473 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.231e-05/0.3697, allocations: 0 / 327 MB, free: 2.473 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.0005141/0.3702, allocations: 405.5 kB / 327.4 MB, free: 2.055 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.93e-05/0.3703, allocations: 9.062 kB / 327.4 MB, free: 2.055 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.406e-05/0.3704, allocations: 8.562 kB / 327.4 MB, free: 2.051 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000238/0.3706, allocations: 199.1 kB / 327.6 MB, free: 1.84 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.094e-05/0.3706, allocations: 6.078 kB / 327.6 MB, free: 1.836 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.727e-05/0.3707, allocations: 7.156 kB / 327.6 MB, free: 1.832 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001424/0.3708, allocations: 42.23 kB / 327.7 MB, free: 1.797 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.385e-05/0.3709, allocations: 1.25 kB / 327.7 MB, free: 1.797 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.31e-05/0.3709, allocations: 4 kB / 327.7 MB, free: 1.793 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.103e-06/0.3709, allocations: 1.125 kB / 327.7 MB, free: 1.793 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.013e-05/0.371, allocations: 17.77 kB / 327.7 MB, free: 1.785 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004064/0.3714, allocations: 281.8 kB / 328 MB, free: 1.5 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002439/0.3717, allocations: 41.84 kB / 328 MB, free: 1.469 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.934e-05/0.3717, allocations: 1.766 kB / 328 MB, free: 1.469 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001564/0.3719, allocations: 59.2 kB / 328.1 MB, free: 1.414 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 2.235e-06/0.3719, allocations: 1.406 kB / 328.1 MB, free: 1.414 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005106/0.3724, allocations: 117.9 kB / 328.2 MB, free: 1.348 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.418e-05/0.3725, allocations: 56.41 kB / 328.2 MB, free: 1.281 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002648/0.3727, allocations: 183.1 kB / 328.4 MB, free: 1.164 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.117e-05/0.3728, allocations: 31.3 kB / 328.4 MB, free: 1.129 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.703e-05/0.3729, allocations: 97.44 kB / 328.5 MB, free: 1.039 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.009e-05/0.3729, allocations: 16.28 kB / 328.5 MB, free: 1.027 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.745e-06/0.3729, allocations: 0 / 328.5 MB, free: 1.027 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.928e-05/0.373, allocations: 329.6 kB / 328.9 MB, free: 0.7031 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.65e-05/0.3731, allocations: 19.59 kB / 328.9 MB, free: 0.6953 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.773e-05/0.3732, allocations: 16.67 kB / 328.9 MB, free: 0.6914 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.688e-05/0.3732, allocations: 49.88 kB / 328.9 MB, free: 0.6484 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.3733, allocations: 4 kB / 329 MB, free: 0.6445 MB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002465/0.3735, allocations: 121.6 kB / 329.1 MB, free: 0.5586 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.438e-05/0.3736, allocations: 33.91 kB / 329.1 MB, free: 0.5273 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.3736, allocations: 0 / 329.1 MB, free: 0.5273 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.874e-05/0.3736, allocations: 0.6562 kB / 329.1 MB, free: 0.5273 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.968e-05/0.3737, allocations: 9.188 kB / 329.1 MB, free: 0.5273 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.285e-06/0.3737, allocations: 1.469 kB / 329.1 MB, free: 0.5273 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.078e-05/0.3738, allocations: 6.516 kB / 329.1 MB, free: 0.5234 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.544e-05/0.3738, allocations: 3 kB / 329.1 MB, free: 0.5234 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.0001187/0.374, allocations: 132 kB / 329.3 MB, free: 408 kB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.678e-05/0.374, allocations: 8.906 kB / 329.3 MB, free: 404 kB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.475e-05/0.3741, allocations: 13.42 kB / 329.3 MB, free: 396 kB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.274e-06/0.3741, allocations: 3.078 kB / 329.3 MB, free: 396 kB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/0.3741, allocations: 0 / 329.3 MB, free: 396 kB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.84e-06/0.3741, allocations: 5.516 kB / 329.3 MB, free: 392 kB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004419/0.3746, allocations: 341.8 kB / 329.6 MB, free: 56 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.3746, allocations: 1.828 kB / 329.6 MB, free: 56 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.229e-05/0.3747, allocations: 4.734 kB / 329.6 MB, free: 56 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.3747, allocations: 4.75 kB / 329.6 MB, free: 52 kB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.513e-05/0.3747, allocations: 6.172 kB / 329.6 MB, free: 48 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.3747, allocations: 2.062 kB / 329.6 MB, free: 48 kB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.3747, allocations: 0 / 329.6 MB, free: 48 kB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002669/0.375, allocations: 176.3 kB / 329.8 MB, free: 15.89 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.947e-05/0.3751, allocations: 86.56 kB / 329.9 MB, free: 15.79 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.297e-05/0.3751, allocations: 8.5 kB / 329.9 MB, free: 15.79 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.839e-05/0.3752, allocations: 3.547 kB / 329.9 MB, free: 15.79 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.103e-05/0.3753, allocations: 13.61 kB / 329.9 MB, free: 15.78 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.138e-05/0.3753, allocations: 3.156 kB / 329.9 MB, free: 15.78 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002331/0.3756, allocations: 145 kB / 330.1 MB, free: 15.69 MB / 282.7 MB Notification: Performance of sort global known variables: time 4.1e-07/0.3756, allocations: 0 / 330.1 MB, free: 15.69 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003632/0.3759, allocations: 32.66 kB / 330.1 MB, free: 15.68 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.001036/0.377, allocations: 338 kB / 330.4 MB, free: 15.48 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002539/0.3773, allocations: 106.1 kB / 330.5 MB, free: 15.4 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.3773, allocations: 0 / 330.5 MB, free: 15.4 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.426e-05/0.3774, allocations: 17.53 kB / 330.5 MB, free: 15.4 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003035/0.3777, allocations: 23.25 kB / 330.6 MB, free: 15.39 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005694/0.3783, allocations: 215 kB / 330.8 MB, free: 15.23 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003421/0.3786, allocations: 0.7058 MB / 331.5 MB, free: 14.53 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.076e-05/0.3787, allocations: 12.44 kB / 331.5 MB, free: 14.52 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.132e-05/0.3787, allocations: 14.7 kB / 331.5 MB, free: 14.52 MB / 282.7 MB Notification: Performance of SimCode: time 8.41e-07/0.3788, allocations: 1.125 kB / 331.5 MB, free: 14.52 MB / 282.7 MB Notification: Performance of Templates: time 0.006164/0.3849, allocations: 1.415 MB / 332.9 MB, free: 14.32 MB / 282.7 MB