Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test9,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.Test9") Notification: Performance of loadModel(ModelicaTest): time 1.953/1.953, allocations: 209.3 MB / 223.8 MB, free: 448 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.31e-05/3.315e-05, allocations: 4 kB / 276.2 MB, free: 15.19 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3561/0.3562, allocations: 48.68 MB / 324.9 MB, free: 3.371 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test9): time 0.002393/0.3587, allocations: 1.31 MB / 326.2 MB, free: 2.75 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009684/0.3597, allocations: 396.6 kB / 326.6 MB, free: 2.547 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.339e-05/0.3598, allocations: 5 kB / 326.6 MB, free: 2.543 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003138/0.3601, allocations: 62.97 kB / 326.6 MB, free: 2.539 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001866/0.3603, allocations: 48.19 kB / 326.7 MB, free: 2.527 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002246/0.3605, allocations: 49.73 kB / 326.7 MB, free: 2.508 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001425/0.3607, allocations: 42.95 kB / 326.8 MB, free: 2.488 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.697e-05/0.3608, allocations: 5.406 kB / 326.8 MB, free: 2.488 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.268e-05/0.3609, allocations: 30.77 kB / 326.8 MB, free: 2.477 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001143/0.361, allocations: 33.17 kB / 326.8 MB, free: 2.473 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001338/0.3612, allocations: 30.22 kB / 326.9 MB, free: 2.469 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.244e-05/0.3612, allocations: 4.922 kB / 326.9 MB, free: 2.469 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.881e-05/0.3612, allocations: 14.94 kB / 326.9 MB, free: 2.465 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.969e-05/0.3613, allocations: 11.38 kB / 326.9 MB, free: 2.457 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002266/0.3615, allocations: 83.83 kB / 327 MB, free: 2.441 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.926e-06/0.3615, allocations: 0 / 327 MB, free: 2.441 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.515e-06/0.3616, allocations: 0 / 327 MB, free: 2.441 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.169e-05/0.3616, allocations: 0 / 327 MB, free: 2.441 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.0004941/0.3621, allocations: 404.6 kB / 327.4 MB, free: 2.023 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.269e-05/0.3621, allocations: 10.48 kB / 327.4 MB, free: 2.023 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.642e-05/0.3622, allocations: 8.594 kB / 327.4 MB, free: 2.02 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002219/0.3624, allocations: 198.3 kB / 327.6 MB, free: 1.809 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.88e-05/0.3625, allocations: 11.33 kB / 327.6 MB, free: 1.801 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.847e-05/0.3625, allocations: 5.438 kB / 327.6 MB, free: 1.797 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001297/0.3626, allocations: 44.2 kB / 327.7 MB, free: 1.762 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.315e-05/0.3627, allocations: 0.8438 kB / 327.7 MB, free: 1.762 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.142e-05/0.3627, allocations: 0 / 327.7 MB, free: 1.762 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.104e-06/0.3627, allocations: 1.969 kB / 327.7 MB, free: 1.762 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.723e-05/0.3628, allocations: 21.61 kB / 327.7 MB, free: 1.75 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003605/0.3631, allocations: 278 kB / 328 MB, free: 1.469 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002219/0.3634, allocations: 43.33 kB / 328 MB, free: 1.438 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.305e-05/0.3634, allocations: 5.469 kB / 328 MB, free: 1.434 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001354/0.3636, allocations: 58.94 kB / 328.1 MB, free: 1.379 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 1.754e-06/0.3636, allocations: 0 / 328.1 MB, free: 1.379 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004607/0.3641, allocations: 117.6 kB / 328.2 MB, free: 1.312 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.604e-05/0.3641, allocations: 52.72 kB / 328.2 MB, free: 1.25 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002328/0.3644, allocations: 182.9 kB / 328.4 MB, free: 1.133 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.79e-05/0.3644, allocations: 31.39 kB / 328.4 MB, free: 1.098 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.889e-05/0.3645, allocations: 101.5 kB / 328.5 MB, free: 1.004 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.592e-05/0.3645, allocations: 11.89 kB / 328.5 MB, free: 0.9961 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.835e-06/0.3645, allocations: 1.062 kB / 328.5 MB, free: 0.9961 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.996e-05/0.3646, allocations: 329.4 kB / 328.9 MB, free: 0.6719 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.119e-05/0.3647, allocations: 16.17 kB / 328.9 MB, free: 0.668 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.634e-05/0.3647, allocations: 23.12 kB / 328.9 MB, free: 0.6562 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.02e-05/0.3648, allocations: 46.56 kB / 328.9 MB, free: 0.6172 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.3648, allocations: 4 kB / 329 MB, free: 0.6133 MB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002352/0.3651, allocations: 119.5 kB / 329.1 MB, free: 0.5273 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.206e-05/0.3651, allocations: 37.8 kB / 329.1 MB, free: 0.4922 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.3651, allocations: 2.312 kB / 329.1 MB, free: 0.4922 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.775e-05/0.3652, allocations: 1.234 kB / 329.1 MB, free: 0.4922 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.222e-05/0.3653, allocations: 9.062 kB / 329.1 MB, free: 0.4922 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.675e-06/0.3653, allocations: 0.5625 kB / 329.1 MB, free: 0.4922 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.036e-05/0.3654, allocations: 4.234 kB / 329.1 MB, free: 0.4922 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.427e-05/0.3654, allocations: 2.406 kB / 329.1 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.0001029/0.3655, allocations: 130.6 kB / 329.3 MB, free: 376 kB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.512e-05/0.3655, allocations: 13.03 kB / 329.3 MB, free: 368 kB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.74e-05/0.3656, allocations: 14.31 kB / 329.3 MB, free: 360 kB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.3656, allocations: 2.516 kB / 329.3 MB, free: 360 kB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.461e-06/0.3656, allocations: 0 / 329.3 MB, free: 360 kB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.3656, allocations: 2.219 kB / 329.3 MB, free: 360 kB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004413/0.3661, allocations: 343.8 kB / 329.6 MB, free: 24 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.3661, allocations: 1.125 kB / 329.6 MB, free: 24 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.666e-05/0.3662, allocations: 6.109 kB / 329.6 MB, free: 24 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.879e-06/0.3662, allocations: 5.188 kB / 329.6 MB, free: 20 kB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.31e-05/0.3662, allocations: 6.344 kB / 329.6 MB, free: 16 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.033e-06/0.3662, allocations: 0 / 329.6 MB, free: 16 kB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.818e-06/0.3662, allocations: 1.031 kB / 329.6 MB, free: 16 kB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002602/0.3665, allocations: 181.8 kB / 329.8 MB, free: 15.86 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.981e-05/0.3666, allocations: 84.58 kB / 329.9 MB, free: 15.76 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.404e-05/0.3666, allocations: 5.781 kB / 329.9 MB, free: 15.75 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.673e-05/0.3667, allocations: 6.422 kB / 329.9 MB, free: 15.75 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.523e-05/0.3668, allocations: 7.547 kB / 329.9 MB, free: 15.75 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.357e-05/0.3668, allocations: 4.781 kB / 329.9 MB, free: 15.75 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001811/0.367, allocations: 143.9 kB / 330.1 MB, free: 15.66 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.6e-07/0.367, allocations: 0 / 330.1 MB, free: 15.66 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003561/0.3674, allocations: 32.98 kB / 330.1 MB, free: 15.64 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.0009811/0.3684, allocations: 337.1 kB / 330.4 MB, free: 15.45 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002613/0.3687, allocations: 107.8 kB / 330.5 MB, free: 15.37 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.3687, allocations: 0 / 330.5 MB, free: 15.37 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.346e-05/0.3687, allocations: 17.14 kB / 330.5 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.0003368/0.3691, allocations: 24.3 kB / 330.6 MB, free: 15.36 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005835/0.3697, allocations: 215.8 kB / 330.8 MB, free: 15.19 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003401/0.3701, allocations: 0.7055 MB / 331.5 MB, free: 14.49 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.146e-05/0.3701, allocations: 16.41 kB / 331.5 MB, free: 14.48 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.185e-05/0.3702, allocations: 18.55 kB / 331.5 MB, free: 14.47 MB / 282.7 MB Notification: Performance of SimCode: time 1.132e-06/0.3702, allocations: 0 / 331.5 MB, free: 14.47 MB / 282.7 MB Notification: Performance of Templates: time 0.00622/0.3764, allocations: 1.41 MB / 332.9 MB, free: 14.29 MB / 282.7 MB