Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test21,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.Test21") Notification: Performance of loadModel(ModelicaTest): time 2.005/2.005, allocations: 209.3 MB / 223.8 MB, free: 0.5781 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.803e-05/3.806e-05, allocations: 4 kB / 276.2 MB, free: 15.21 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3593/0.3594, allocations: 48.69 MB / 324.9 MB, free: 3.09 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test21): time 0.002509/0.3619, allocations: 1.312 MB / 326.2 MB, free: 2.594 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009713/0.363, allocations: 397.8 kB / 326.6 MB, free: 2.391 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.867e-05/0.3631, allocations: 0 / 326.6 MB, free: 2.391 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002661/0.3634, allocations: 23.95 kB / 326.6 MB, free: 2.383 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001737/0.3636, allocations: 22.95 kB / 326.6 MB, free: 2.375 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003308/0.3639, allocations: 49.75 kB / 326.7 MB, free: 2.355 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001594/0.3641, allocations: 47.28 kB / 326.7 MB, free: 2.332 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.612e-05/0.3642, allocations: 3.062 kB / 326.7 MB, free: 2.332 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.319e-05/0.3643, allocations: 20.3 kB / 326.7 MB, free: 2.328 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.344e-05/0.3644, allocations: 20.44 kB / 326.8 MB, free: 2.32 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001888/0.3646, allocations: 34.92 kB / 326.8 MB, free: 2.312 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.237e-05/0.3647, allocations: 2.438 kB / 326.8 MB, free: 2.312 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.809e-05/0.3647, allocations: 11.06 kB / 326.8 MB, free: 2.312 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.043e-05/0.3648, allocations: 2.75 kB / 326.8 MB, free: 2.312 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002521/0.365, allocations: 83 kB / 326.9 MB, free: 2.293 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.365, allocations: 0 / 326.9 MB, free: 2.293 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.876e-06/0.365, allocations: 4 kB / 326.9 MB, free: 2.289 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.296e-05/0.3651, allocations: 1.156 kB / 326.9 MB, free: 2.289 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.0005571/0.3656, allocations: 395.7 kB / 327.3 MB, free: 1.879 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.288e-05/0.3657, allocations: 9 kB / 327.3 MB, free: 1.879 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.21e-05/0.3658, allocations: 7.531 kB / 327.3 MB, free: 1.875 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002604/0.366, allocations: 199.8 kB / 327.5 MB, free: 1.664 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.39e-05/0.3661, allocations: 5.672 kB / 327.5 MB, free: 1.66 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.148e-05/0.3661, allocations: 2.938 kB / 327.5 MB, free: 1.66 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001526/0.3663, allocations: 51.84 kB / 327.6 MB, free: 1.617 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.44e-05/0.3663, allocations: 0 / 327.6 MB, free: 1.617 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.289e-05/0.3663, allocations: 0 / 327.6 MB, free: 1.617 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.154e-06/0.3664, allocations: 1.5 kB / 327.6 MB, free: 1.617 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.469e-05/0.3664, allocations: 18.59 kB / 327.6 MB, free: 1.609 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004665/0.3669, allocations: 282.5 kB / 327.9 MB, free: 1.32 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002674/0.3672, allocations: 38.72 kB / 327.9 MB, free: 1.293 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.203e-05/0.3673, allocations: 5.625 kB / 327.9 MB, free: 1.289 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001673/0.3674, allocations: 59.17 kB / 328 MB, free: 1.234 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 3.186e-06/0.3675, allocations: 1.156 kB / 328 MB, free: 1.234 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005527/0.368, allocations: 112.8 kB / 328.1 MB, free: 1.172 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.316e-05/0.3681, allocations: 51.41 kB / 328.1 MB, free: 1.109 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000228/0.3683, allocations: 157.4 kB / 328.3 MB, free: 1.004 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.951e-05/0.3684, allocations: 26.73 kB / 328.3 MB, free: 0.9727 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.163e-05/0.3684, allocations: 102.9 kB / 328.4 MB, free: 0.875 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.106e-05/0.3685, allocations: 17.05 kB / 328.4 MB, free: 0.8633 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.546e-06/0.3685, allocations: 1.25 kB / 328.4 MB, free: 0.8633 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.469e-05/0.3686, allocations: 328.1 kB / 328.7 MB, free: 0.5391 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.603e-05/0.3687, allocations: 20.05 kB / 328.8 MB, free: 0.5312 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.134e-05/0.3687, allocations: 20.84 kB / 328.8 MB, free: 0.5234 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.21e-05/0.3688, allocations: 45.73 kB / 328.8 MB, free: 496 kB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.3688, allocations: 1.062 kB / 328.8 MB, free: 496 kB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003013/0.3692, allocations: 118.7 kB / 328.9 MB, free: 408 kB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.981e-05/0.3692, allocations: 37.25 kB / 329 MB, free: 372 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.3692, allocations: 0 / 329 MB, free: 372 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.074e-05/0.3693, allocations: 3.562 kB / 329 MB, free: 372 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001045/0.3694, allocations: 9.594 kB / 329 MB, free: 372 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.235e-06/0.3694, allocations: 0 / 329 MB, free: 372 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.24e-05/0.3695, allocations: 8.016 kB / 329 MB, free: 368 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.067e-05/0.3695, allocations: 7.688 kB / 329 MB, free: 364 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.0001317/0.3697, allocations: 123.8 kB / 329.1 MB, free: 240 kB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.967e-05/0.3697, allocations: 8.109 kB / 329.1 MB, free: 236 kB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.889e-05/0.3698, allocations: 18.42 kB / 329.1 MB, free: 224 kB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.11e-06/0.3698, allocations: 1.062 kB / 329.1 MB, free: 224 kB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/0.3698, allocations: 1.062 kB / 329.1 MB, free: 224 kB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.3699, allocations: 0.5156 kB / 329.1 MB, free: 224 kB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005556/0.3704, allocations: 337.5 kB / 329.5 MB, free: 15.89 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/0.3705, allocations: 1.062 kB / 329.5 MB, free: 15.89 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.525e-05/0.3705, allocations: 5.781 kB / 329.5 MB, free: 15.89 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.242e-05/0.3706, allocations: 1.25 kB / 329.5 MB, free: 15.89 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.51e-05/0.3706, allocations: 6.391 kB / 329.5 MB, free: 15.89 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/0.3706, allocations: 4 kB / 329.5 MB, free: 15.89 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.891e-06/0.3706, allocations: 4.734 kB / 329.5 MB, free: 15.89 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002679/0.3709, allocations: 182.6 kB / 329.7 MB, free: 15.73 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.064e-05/0.371, allocations: 84.42 kB / 329.8 MB, free: 15.63 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.249e-05/0.371, allocations: 1.125 kB / 329.8 MB, free: 15.63 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001092/0.3711, allocations: 1.125 kB / 329.8 MB, free: 15.63 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.324e-05/0.3712, allocations: 6.5 kB / 329.8 MB, free: 15.63 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.192e-05/0.3712, allocations: 1.531 kB / 329.8 MB, free: 15.63 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001772/0.3714, allocations: 134.4 kB / 329.9 MB, free: 15.54 MB / 282.7 MB Notification: Performance of sort global known variables: time 5.31e-07/0.3714, allocations: 0 / 329.9 MB, free: 15.54 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003861/0.3718, allocations: 29.95 kB / 329.9 MB, free: 15.53 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.001046/0.3729, allocations: 347.9 kB / 330.3 MB, free: 15.32 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003228/0.3733, allocations: 104.6 kB / 330.4 MB, free: 15.24 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.167e-06/0.3733, allocations: 3.938 kB / 330.4 MB, free: 15.24 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.788e-05/0.3733, allocations: 16.08 kB / 330.4 MB, free: 15.23 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003486/0.3737, allocations: 14.56 kB / 330.4 MB, free: 15.23 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005897/0.3743, allocations: 194.2 kB / 330.6 MB, free: 15.08 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003631/0.3747, allocations: 0.702 MB / 331.3 MB, free: 14.38 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 9.236e-05/0.3748, allocations: 20.11 kB / 331.3 MB, free: 14.37 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.506e-05/0.3749, allocations: 13.84 kB / 331.3 MB, free: 14.36 MB / 282.7 MB Notification: Performance of SimCode: time 1.012e-06/0.3749, allocations: 1.125 kB / 331.3 MB, free: 14.36 MB / 282.7 MB Notification: Performance of Templates: time 0.006644/0.3816, allocations: 1.399 MB / 332.7 MB, free: 14.18 MB / 282.7 MB