Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test47,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.Test47") Notification: Performance of loadModel(ModelicaTest): time 2.033/2.033, allocations: 209.3 MB / 223.8 MB, free: 436 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.541e-05/3.528e-05, allocations: 4 kB / 276.2 MB, free: 15.18 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3585/0.3586, allocations: 48.69 MB / 324.9 MB, free: 3.367 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test47): time 0.002266/0.3609, allocations: 1.305 MB / 326.2 MB, free: 2.75 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.000995/0.362, allocations: 408.8 kB / 326.6 MB, free: 2.539 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.535e-05/0.3621, allocations: 1.156 kB / 326.6 MB, free: 2.539 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002329/0.3623, allocations: 17.12 kB / 326.6 MB, free: 2.535 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001579/0.3625, allocations: 32.62 kB / 326.6 MB, free: 2.527 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002078/0.3627, allocations: 57.98 kB / 326.7 MB, free: 2.5 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000131/0.3629, allocations: 40.75 kB / 326.7 MB, free: 2.484 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.015e-05/0.363, allocations: 2.953 kB / 326.7 MB, free: 2.484 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.518e-05/0.363, allocations: 25.38 kB / 326.8 MB, free: 2.477 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.209e-05/0.3631, allocations: 25.02 kB / 326.8 MB, free: 2.469 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001331/0.3633, allocations: 30.44 kB / 326.8 MB, free: 2.465 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.376e-05/0.3633, allocations: 3.375 kB / 326.8 MB, free: 2.465 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.449e-05/0.3634, allocations: 19.91 kB / 326.8 MB, free: 2.461 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.942e-05/0.3634, allocations: 7.781 kB / 326.8 MB, free: 2.457 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002299/0.3637, allocations: 94.25 kB / 326.9 MB, free: 2.438 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.3637, allocations: 0 / 326.9 MB, free: 2.438 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.976e-06/0.3637, allocations: 0 / 326.9 MB, free: 2.438 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.108e-05/0.3637, allocations: 0 / 326.9 MB, free: 2.438 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.0004718/0.3642, allocations: 414.1 kB / 327.3 MB, free: 2.016 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.379e-05/0.3642, allocations: 9.5 kB / 327.3 MB, free: 2.016 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.721e-05/0.3643, allocations: 14.44 kB / 327.4 MB, free: 2.008 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002308/0.3646, allocations: 201 kB / 327.6 MB, free: 1.797 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.958e-05/0.3646, allocations: 5.891 kB / 327.6 MB, free: 1.793 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.614e-05/0.3646, allocations: 6.406 kB / 327.6 MB, free: 1.789 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001312/0.3648, allocations: 43.78 kB / 327.6 MB, free: 1.754 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.371e-05/0.3648, allocations: 1.078 kB / 327.6 MB, free: 1.754 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.358e-05/0.3648, allocations: 0.9062 kB / 327.6 MB, free: 1.754 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.6e-06/0.3648, allocations: 4.812 kB / 327.6 MB, free: 1.75 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.796e-05/0.3649, allocations: 14.36 kB / 327.6 MB, free: 1.746 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004085/0.3653, allocations: 292.9 kB / 327.9 MB, free: 1.453 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002285/0.3656, allocations: 46.77 kB / 328 MB, free: 1.418 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.536e-05/0.3656, allocations: 1.125 kB / 328 MB, free: 1.418 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001467/0.3658, allocations: 59.78 kB / 328 MB, free: 1.367 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 2.575e-06/0.3658, allocations: 0 / 328 MB, free: 1.367 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.000505/0.3663, allocations: 125.7 kB / 328.1 MB, free: 1.297 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.735e-05/0.3663, allocations: 52.62 kB / 328.2 MB, free: 1.234 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003083/0.3667, allocations: 223 kB / 328.4 MB, free: 1.105 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.796e-05/0.3667, allocations: 34.89 kB / 328.4 MB, free: 1.066 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.577e-05/0.3668, allocations: 106.5 kB / 328.6 MB, free: 0.9688 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.852e-05/0.3668, allocations: 19.39 kB / 328.6 MB, free: 0.9531 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.965e-06/0.3668, allocations: 1.125 kB / 328.6 MB, free: 0.9531 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.001e-05/0.3669, allocations: 326.7 kB / 328.9 MB, free: 0.6328 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.645e-05/0.367, allocations: 24.66 kB / 328.9 MB, free: 0.6211 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.6e-05/0.367, allocations: 21.42 kB / 328.9 MB, free: 0.6133 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.149e-05/0.3671, allocations: 50.31 kB / 329 MB, free: 0.5703 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.3672, allocations: 0 / 329 MB, free: 0.5703 MB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002372/0.3674, allocations: 124.4 kB / 329.1 MB, free: 492 kB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.812e-05/0.3675, allocations: 33.98 kB / 329.1 MB, free: 460 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.3675, allocations: 0 / 329.1 MB, free: 460 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.65e-05/0.3675, allocations: 1.859 kB / 329.1 MB, free: 460 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.294e-05/0.3676, allocations: 9.125 kB / 329.2 MB, free: 460 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.3676, allocations: 0 / 329.2 MB, free: 460 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.415e-05/0.3677, allocations: 3.281 kB / 329.2 MB, free: 460 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.694e-05/0.3677, allocations: 7.984 kB / 329.2 MB, free: 456 kB / 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.0001172/0.3678, allocations: 131.1 kB / 329.3 MB, free: 332 kB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.768e-05/0.3679, allocations: 17.86 kB / 329.3 MB, free: 320 kB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.186e-05/0.3679, allocations: 17.84 kB / 329.3 MB, free: 308 kB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.368, allocations: 1.062 kB / 329.3 MB, free: 308 kB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.204e-06/0.368, allocations: 1.938 kB / 329.3 MB, free: 308 kB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.368, allocations: 0 / 329.3 MB, free: 308 kB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004404/0.3684, allocations: 348.2 kB / 329.7 MB, free: 15.97 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.3685, allocations: 0 / 329.7 MB, free: 15.97 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.479e-05/0.3685, allocations: 6.078 kB / 329.7 MB, free: 15.97 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.3685, allocations: 5.156 kB / 329.7 MB, free: 15.97 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.716e-05/0.3686, allocations: 9.859 kB / 329.7 MB, free: 15.96 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.958e-06/0.3686, allocations: 0.875 kB / 329.7 MB, free: 15.96 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.3686, allocations: 1.656 kB / 329.7 MB, free: 15.96 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000233/0.3688, allocations: 182.2 kB / 329.9 MB, free: 15.8 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.532e-05/0.3689, allocations: 84.38 kB / 330 MB, free: 15.7 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.393e-05/0.3689, allocations: 5.844 kB / 330 MB, free: 15.7 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.445e-05/0.3691, allocations: 6.203 kB / 330 MB, free: 15.7 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.417e-05/0.3691, allocations: 8.5 kB / 330 MB, free: 15.69 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.949e-05/0.3691, allocations: 2.109 kB / 330 MB, free: 15.69 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002544/0.3694, allocations: 190.8 kB / 330.2 MB, free: 15.59 MB / 282.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.3694, allocations: 0 / 330.2 MB, free: 15.59 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003584/0.3698, allocations: 28.62 kB / 330.2 MB, free: 15.58 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.001025/0.3708, allocations: 342.5 kB / 330.5 MB, free: 15.38 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002575/0.3711, allocations: 103.4 kB / 330.6 MB, free: 15.3 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.3711, allocations: 0 / 330.6 MB, free: 15.3 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 7.21e-05/0.3712, allocations: 18.88 kB / 330.6 MB, free: 15.3 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003208/0.3715, allocations: 22.16 kB / 330.7 MB, free: 15.29 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000665/0.3722, allocations: 256.8 kB / 330.9 MB, free: 15.12 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003621/0.3726, allocations: 0.7165 MB / 331.6 MB, free: 14.41 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.831e-05/0.3727, allocations: 8.891 kB / 331.6 MB, free: 14.41 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.045e-05/0.3727, allocations: 14.84 kB / 331.7 MB, free: 14.41 MB / 282.7 MB Notification: Performance of SimCode: time 1.032e-06/0.3727, allocations: 0 / 331.7 MB, free: 14.41 MB / 282.7 MB Notification: Performance of Templates: time 0.006303/0.3791, allocations: 1.432 MB / 333.1 MB, free: 14.22 MB / 282.7 MB