Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test35,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.Test35") Notification: Performance of loadModel(ModelicaTest): time 2.066/2.066, allocations: 209.3 MB / 223.8 MB, free: 432 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.251e-05/3.246e-05, allocations: 4 kB / 276.2 MB, free: 15.18 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3547/0.3547, allocations: 48.69 MB / 324.9 MB, free: 3.379 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test35): time 0.002453/0.3572, allocations: 1.306 MB / 326.2 MB, free: 2.762 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009667/0.3583, allocations: 399.9 kB / 326.6 MB, free: 2.559 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.383e-05/0.3583, allocations: 3.938 kB / 326.6 MB, free: 2.555 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003121/0.3587, allocations: 72.78 kB / 326.7 MB, free: 2.547 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001882/0.3589, allocations: 47.3 kB / 326.7 MB, free: 2.539 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002524/0.3591, allocations: 49.14 kB / 326.7 MB, free: 2.52 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001415/0.3593, allocations: 46.69 kB / 326.8 MB, free: 2.5 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001009/0.3594, allocations: 7.016 kB / 326.8 MB, free: 2.496 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.411e-05/0.3595, allocations: 29.06 kB / 326.8 MB, free: 2.488 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001261/0.3596, allocations: 39.7 kB / 326.9 MB, free: 2.48 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001579/0.3598, allocations: 29.73 kB / 326.9 MB, free: 2.477 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.571e-05/0.3599, allocations: 3.562 kB / 326.9 MB, free: 2.477 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.077e-05/0.3599, allocations: 21.77 kB / 326.9 MB, free: 2.469 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.973e-05/0.36, allocations: 3.5 kB / 326.9 MB, free: 2.469 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002309/0.3602, allocations: 85.69 kB / 327 MB, free: 2.453 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.075e-06/0.3602, allocations: 0 / 327 MB, free: 2.453 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.595e-06/0.3602, allocations: 0 / 327 MB, free: 2.453 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.233e-05/0.3603, allocations: 5.156 kB / 327 MB, free: 2.449 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.0004862/0.3607, allocations: 406 kB / 327.4 MB, free: 2.031 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.295e-05/0.3608, allocations: 9.469 kB / 327.4 MB, free: 2.031 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.269e-05/0.3609, allocations: 8.531 kB / 327.4 MB, free: 2.027 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002088/0.3611, allocations: 193.5 kB / 327.6 MB, free: 1.82 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.808e-05/0.3611, allocations: 6.516 kB / 327.6 MB, free: 1.816 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.592e-05/0.3612, allocations: 3.734 kB / 327.6 MB, free: 1.816 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001281/0.3613, allocations: 46.3 kB / 327.7 MB, free: 1.777 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.251e-05/0.3613, allocations: 5.156 kB / 327.7 MB, free: 1.773 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.172e-05/0.3613, allocations: 0 / 327.7 MB, free: 1.773 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.745e-06/0.3614, allocations: 1.781 kB / 327.7 MB, free: 1.773 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.606e-05/0.3614, allocations: 18.42 kB / 327.7 MB, free: 1.766 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003676/0.3618, allocations: 282.8 kB / 328 MB, free: 1.48 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002165/0.362, allocations: 42.34 kB / 328 MB, free: 1.449 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.48e-05/0.3621, allocations: 5.188 kB / 328 MB, free: 1.445 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001429/0.3622, allocations: 59.67 kB / 328.1 MB, free: 1.391 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 1.854e-06/0.3622, allocations: 0 / 328.1 MB, free: 1.391 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004664/0.3627, allocations: 127.7 kB / 328.2 MB, free: 1.32 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.951e-05/0.3628, allocations: 53.36 kB / 328.3 MB, free: 1.258 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002592/0.363, allocations: 187.7 kB / 328.4 MB, free: 1.141 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.903e-05/0.3631, allocations: 27.36 kB / 328.5 MB, free: 1.109 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.743e-05/0.3631, allocations: 113.6 kB / 328.6 MB, free: 1.004 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.846e-05/0.3632, allocations: 9.359 kB / 328.6 MB, free: 1 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.144e-06/0.3632, allocations: 0 / 328.6 MB, free: 1 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.984e-05/0.3633, allocations: 329.6 kB / 328.9 MB, free: 0.6758 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.485e-05/0.3634, allocations: 16.2 kB / 328.9 MB, free: 0.6719 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.85e-05/0.3635, allocations: 23.67 kB / 328.9 MB, free: 0.6602 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.579e-05/0.3636, allocations: 46.06 kB / 329 MB, free: 0.6211 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.3636, allocations: 1.312 kB / 329 MB, free: 0.6211 MB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000258/0.3638, allocations: 122.6 kB / 329.1 MB, free: 0.5312 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.259e-05/0.3639, allocations: 33.72 kB / 329.1 MB, free: 0.5 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.3639, allocations: 4.75 kB / 329.1 MB, free: 0.4961 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.762e-05/0.3639, allocations: 1.391 kB / 329.1 MB, free: 0.4961 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.868e-05/0.364, allocations: 8.625 kB / 329.2 MB, free: 0.4961 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.3641, allocations: 1.094 kB / 329.2 MB, free: 0.4961 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.892e-05/0.3641, allocations: 6.906 kB / 329.2 MB, free: 0.4922 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.614e-05/0.3642, allocations: 4.172 kB / 329.2 MB, free: 0.4922 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.0001397/0.3643, allocations: 131.2 kB / 329.3 MB, free: 376 kB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.675e-05/0.3644, allocations: 9 kB / 329.3 MB, free: 372 kB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.45e-05/0.3644, allocations: 19.97 kB / 329.3 MB, free: 356 kB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/0.3644, allocations: 1.781 kB / 329.3 MB, free: 356 kB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.3645, allocations: 0 / 329.3 MB, free: 356 kB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.3645, allocations: 1.734 kB / 329.3 MB, free: 356 kB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004027/0.3649, allocations: 341.8 kB / 329.7 MB, free: 24 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.3649, allocations: 0 / 329.7 MB, free: 24 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.873e-05/0.365, allocations: 10.39 kB / 329.7 MB, free: 20 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.871e-06/0.365, allocations: 0.75 kB / 329.7 MB, free: 20 kB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.252e-05/0.365, allocations: 5.938 kB / 329.7 MB, free: 16 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/0.365, allocations: 0.875 kB / 329.7 MB, free: 16 kB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.365, allocations: 5.594 kB / 329.7 MB, free: 12 kB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002516/0.3653, allocations: 176.1 kB / 329.9 MB, free: 15.86 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.952e-05/0.3654, allocations: 85.5 kB / 329.9 MB, free: 15.76 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.574e-05/0.3654, allocations: 9.844 kB / 330 MB, free: 15.75 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.267e-05/0.3655, allocations: 1.844 kB / 330 MB, free: 15.75 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.278e-05/0.3656, allocations: 8.125 kB / 330 MB, free: 15.75 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.897e-05/0.3656, allocations: 3.031 kB / 330 MB, free: 15.75 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002043/0.3658, allocations: 164.4 kB / 330.1 MB, free: 15.64 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.3658, allocations: 0 / 330.1 MB, free: 15.64 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003532/0.3662, allocations: 33.22 kB / 330.2 MB, free: 15.63 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.0009693/0.3672, allocations: 338.1 kB / 330.5 MB, free: 15.44 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000298/0.3675, allocations: 106.7 kB / 330.6 MB, free: 15.36 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.3675, allocations: 0 / 330.6 MB, free: 15.36 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.549e-05/0.3676, allocations: 15.45 kB / 330.6 MB, free: 15.36 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003321/0.3679, allocations: 22.47 kB / 330.6 MB, free: 15.35 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006005/0.3685, allocations: 231 kB / 330.9 MB, free: 15.18 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003263/0.3689, allocations: 0.712 MB / 331.6 MB, free: 14.48 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.355e-05/0.369, allocations: 13.22 kB / 331.6 MB, free: 14.48 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.076e-05/0.369, allocations: 13.7 kB / 331.6 MB, free: 14.47 MB / 282.7 MB Notification: Performance of SimCode: time 1.263e-06/0.369, allocations: 0 / 331.6 MB, free: 14.47 MB / 282.7 MB Notification: Performance of Templates: time 0.00631/0.3754, allocations: 1.421 MB / 333 MB, free: 14.28 MB / 282.7 MB