Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test45,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.Test45") Notification: Performance of loadModel(ModelicaTest): time 2.056/2.056, allocations: 209.3 MB / 223.8 MB, free: 0.5078 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.434e-05/4.443e-05, allocations: 4 kB / 276.2 MB, free: 15.2 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3622/0.3623, allocations: 48.69 MB / 324.9 MB, free: 3.379 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test45): time 0.002337/0.3647, allocations: 1.307 MB / 326.2 MB, free: 2.758 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009567/0.3657, allocations: 398 kB / 326.6 MB, free: 2.555 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6e-05/0.3658, allocations: 3.938 kB / 326.6 MB, free: 2.551 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000225/0.366, allocations: 21.17 kB / 326.6 MB, free: 2.543 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000148/0.3662, allocations: 28.05 kB / 326.6 MB, free: 2.535 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001871/0.3664, allocations: 50.47 kB / 326.7 MB, free: 2.516 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001266/0.3665, allocations: 40.48 kB / 326.7 MB, free: 2.5 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.271e-05/0.3666, allocations: 4.469 kB / 326.7 MB, free: 2.5 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.356e-05/0.3667, allocations: 23.73 kB / 326.7 MB, free: 2.492 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.798e-05/0.3668, allocations: 22.06 kB / 326.8 MB, free: 2.484 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001401/0.3669, allocations: 28.69 kB / 326.8 MB, free: 2.48 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.252e-05/0.367, allocations: 7.344 kB / 326.8 MB, free: 2.477 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.591e-05/0.367, allocations: 16.86 kB / 326.8 MB, free: 2.473 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.812e-05/0.3671, allocations: 4.531 kB / 326.8 MB, free: 2.473 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002263/0.3673, allocations: 84.42 kB / 326.9 MB, free: 2.453 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.3673, allocations: 0 / 326.9 MB, free: 2.453 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.933e-06/0.3673, allocations: 0 / 326.9 MB, free: 2.453 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.029e-05/0.3674, 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.000455/0.3678, allocations: 400.9 kB / 327.3 MB, free: 2.039 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.387e-05/0.3679, allocations: 8.625 kB / 327.3 MB, free: 2.039 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.011e-05/0.3679, allocations: 12.58 kB / 327.3 MB, free: 2.031 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002056/0.3681, allocations: 194.2 kB / 327.5 MB, free: 1.824 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.093e-05/0.3682, allocations: 13.27 kB / 327.5 MB, free: 1.812 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.486e-05/0.3682, allocations: 3.672 kB / 327.5 MB, free: 1.812 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001272/0.3684, allocations: 42.88 kB / 327.6 MB, free: 1.777 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.331e-05/0.3684, allocations: 0 / 327.6 MB, free: 1.777 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.183e-05/0.3684, allocations: 0.6094 kB / 327.6 MB, free: 1.777 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.3684, allocations: 1.375 kB / 327.6 MB, free: 1.777 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.462e-05/0.3685, allocations: 17.59 kB / 327.6 MB, free: 1.77 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003633/0.3689, allocations: 279.6 kB / 327.9 MB, free: 1.484 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002154/0.3691, allocations: 46.91 kB / 327.9 MB, free: 1.449 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.414e-05/0.3691, allocations: 1.156 kB / 327.9 MB, free: 1.449 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001344/0.3693, allocations: 54.86 kB / 328 MB, free: 1.398 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 1.693e-06/0.3693, allocations: 1.25 kB / 328 MB, free: 1.398 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004416/0.3697, allocations: 115.6 kB / 328.1 MB, free: 1.332 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.837e-05/0.3698, allocations: 53.47 kB / 328.1 MB, free: 1.27 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00021/0.37, allocations: 173.4 kB / 328.3 MB, free: 1.156 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.795e-05/0.37, allocations: 27.77 kB / 328.3 MB, free: 1.125 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.835e-05/0.3701, allocations: 107 kB / 328.4 MB, free: 1.023 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.344e-05/0.3701, allocations: 9.516 kB / 328.4 MB, free: 1.02 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.017e-06/0.3702, allocations: 5.094 kB / 328.4 MB, free: 1.016 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.15e-05/0.3702, allocations: 325.7 kB / 328.8 MB, free: 0.6953 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.076e-05/0.3703, allocations: 15.02 kB / 328.8 MB, free: 0.6914 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.72e-05/0.3704, allocations: 27.72 kB / 328.8 MB, free: 0.6758 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.945e-05/0.3705, allocations: 50.55 kB / 328.9 MB, free: 0.6328 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.3705, allocations: 0.5625 kB / 328.9 MB, free: 0.6328 MB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002298/0.3707, allocations: 119.3 kB / 329 MB, free: 0.5469 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.811e-05/0.3708, allocations: 33.7 kB / 329 MB, free: 0.5156 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.3708, allocations: 0 / 329 MB, free: 0.5156 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.562e-05/0.3708, allocations: 1.062 kB / 329 MB, free: 0.5156 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001014/0.3709, allocations: 16.84 kB / 329 MB, free: 0.5078 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.967e-06/0.3709, allocations: 3.672 kB / 329 MB, free: 0.5078 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.391e-05/0.371, allocations: 6.312 kB / 329 MB, free: 0.5039 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.44e-05/0.371, allocations: 2.922 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 9.798e-05/0.3712, allocations: 125.3 kB / 329.2 MB, free: 392 kB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.643e-05/0.3712, allocations: 10.3 kB / 329.2 MB, free: 388 kB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.519e-05/0.3713, allocations: 14.19 kB / 329.2 MB, free: 380 kB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.3713, allocations: 1.906 kB / 329.2 MB, free: 380 kB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.3713, allocations: 0 / 329.2 MB, free: 380 kB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.3713, allocations: 0 / 329.2 MB, free: 380 kB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003662/0.3717, allocations: 349.2 kB / 329.5 MB, free: 40 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.3717, allocations: 0 / 329.5 MB, free: 40 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.342e-05/0.3717, allocations: 5.156 kB / 329.5 MB, free: 40 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.901e-06/0.3718, allocations: 2.797 kB / 329.5 MB, free: 40 kB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.146e-05/0.3718, allocations: 5.594 kB / 329.5 MB, free: 36 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.205e-06/0.3718, allocations: 0 / 329.5 MB, free: 36 kB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.3718, allocations: 1.547 kB / 329.5 MB, free: 36 kB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002481/0.3721, allocations: 171.9 kB / 329.7 MB, free: 15.88 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.912e-05/0.3721, allocations: 88.59 kB / 329.8 MB, free: 15.79 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.068e-05/0.3722, allocations: 5.766 kB / 329.8 MB, free: 15.78 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.611e-05/0.3723, allocations: 1.859 kB / 329.8 MB, free: 15.78 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.569e-05/0.3723, allocations: 12.81 kB / 329.8 MB, free: 15.77 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.884e-05/0.3724, allocations: 6.953 kB / 329.8 MB, free: 15.77 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001649/0.3725, allocations: 132.7 kB / 329.9 MB, free: 15.68 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.3726, allocations: 0 / 329.9 MB, free: 15.68 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003385/0.3729, allocations: 29.44 kB / 330 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.0009762/0.3739, allocations: 349.4 kB / 330.3 MB, free: 15.47 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002451/0.3742, allocations: 101.6 kB / 330.4 MB, free: 15.39 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.3742, allocations: 0 / 330.4 MB, free: 15.39 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.059e-05/0.3742, allocations: 16.66 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.0002876/0.3745, allocations: 18.23 kB / 330.5 MB, free: 15.38 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005606/0.3751, allocations: 201.9 kB / 330.6 MB, free: 15.23 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003549/0.3755, allocations: 0.7047 MB / 331.4 MB, free: 14.53 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.782e-05/0.3756, allocations: 12.09 kB / 331.4 MB, free: 14.52 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.732e-05/0.3756, allocations: 17.94 kB / 331.4 MB, free: 14.51 MB / 282.7 MB Notification: Performance of SimCode: time 1.082e-06/0.3756, allocations: 0 / 331.4 MB, free: 14.51 MB / 282.7 MB Notification: Performance of Templates: time 0.006004/0.3816, allocations: 1.406 MB / 332.8 MB, free: 14.33 MB / 282.7 MB