Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test6,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_cpp_ModelicaTest.Tables.CombiTimeTable.Test6") Notification: Performance of loadModel(ModelicaTest): time 1.91/1.91, allocations: 209.3 MB / 224.4 MB, free: 432 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.375e-05/3.382e-05, allocations: 7.984 kB / 276.2 MB, free: 15.83 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3578/0.3579, allocations: 48.69 MB / 324.9 MB, free: 2.867 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test6): time 0.003067/0.361, allocations: 1.305 MB / 326.2 MB, free: 2.305 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001223/0.3623, allocations: 412.3 kB / 326.6 MB, free: 2.094 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.45e-05/0.3624, allocations: 1.188 kB / 326.6 MB, free: 2.094 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000255/0.3627, allocations: 21.58 kB / 326.6 MB, free: 2.086 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001876/0.3629, allocations: 31.88 kB / 326.6 MB, free: 2.078 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002327/0.3632, allocations: 53.98 kB / 326.7 MB, free: 2.055 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001518/0.3633, allocations: 40.55 kB / 326.7 MB, free: 2.039 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.747e-05/0.3634, allocations: 3.781 kB / 326.7 MB, free: 2.039 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.832e-05/0.3635, allocations: 24.62 kB / 326.7 MB, free: 2.031 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.818e-05/0.3637, allocations: 24.92 kB / 326.8 MB, free: 2.023 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001608/0.3638, allocations: 31.09 kB / 326.8 MB, free: 2.02 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.982e-05/0.3639, allocations: 3.344 kB / 326.8 MB, free: 2.02 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.811e-05/0.364, allocations: 25.2 kB / 326.8 MB, free: 2.012 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.173e-05/0.364, allocations: 7.469 kB / 326.8 MB, free: 2.008 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002854/0.3643, allocations: 91.08 kB / 326.9 MB, free: 1.996 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.3643, allocations: 1.281 kB / 326.9 MB, free: 1.996 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.595e-06/0.3643, allocations: 0 / 326.9 MB, free: 1.996 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.123e-05/0.3644, allocations: 0 / 326.9 MB, free: 1.996 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.0005559/0.3649, allocations: 419.2 kB / 327.3 MB, free: 1.57 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.825e-05/0.365, allocations: 9.062 kB / 327.3 MB, free: 1.57 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.051e-05/0.3651, allocations: 14.25 kB / 327.3 MB, free: 1.562 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002711/0.3654, allocations: 201.2 kB / 327.5 MB, free: 1.348 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.183e-05/0.3654, allocations: 10.23 kB / 327.6 MB, free: 1.34 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.897e-05/0.3654, allocations: 7.344 kB / 327.6 MB, free: 1.336 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001482/0.3656, allocations: 43.66 kB / 327.6 MB, free: 1.301 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.385e-05/0.3656, allocations: 0 / 327.6 MB, free: 1.301 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.464e-05/0.3657, allocations: 0 / 327.6 MB, free: 1.301 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.142e-06/0.3657, allocations: 5.312 kB / 327.6 MB, free: 1.297 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.133e-05/0.3658, allocations: 17.47 kB / 327.6 MB, free: 1.289 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004561/0.3663, allocations: 288.5 kB / 327.9 MB, free: 1.004 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002701/0.3665, allocations: 42 kB / 327.9 MB, free: 0.9727 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.666e-05/0.3666, allocations: 1.062 kB / 327.9 MB, free: 0.9727 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001659/0.3668, allocations: 64.58 kB / 328 MB, free: 0.9141 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 2.144e-06/0.3668, allocations: 0 / 328 MB, free: 0.9141 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005751/0.3674, allocations: 119.6 kB / 328.1 MB, free: 0.8477 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.132e-05/0.3674, allocations: 52.84 kB / 328.2 MB, free: 0.7852 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004246/0.3679, allocations: 241.7 kB / 328.4 MB, free: 0.6523 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.098e-05/0.3679, allocations: 26.77 kB / 328.4 MB, free: 0.6211 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.278e-05/0.368, allocations: 173.5 kB / 328.6 MB, free: 464 kB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.194e-05/0.368, allocations: 13.05 kB / 328.6 MB, free: 456 kB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.07e-05/0.3681, allocations: 4 kB / 328.6 MB, free: 452 kB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.83e-05/0.3682, allocations: 317.1 kB / 328.9 MB, free: 128 kB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.724e-05/0.3683, allocations: 20.19 kB / 329 MB, free: 120 kB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.761e-05/0.3684, allocations: 21 kB / 329 MB, free: 112 kB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001067/0.3685, allocations: 45.17 kB / 329 MB, free: 72 kB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.3685, allocations: 4.844 kB / 329 MB, free: 68 kB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003598/0.3689, allocations: 121.4 kB / 329.1 MB, free: 15.98 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.703e-05/0.369, allocations: 34.3 kB / 329.2 MB, free: 15.95 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.271e-06/0.369, allocations: 0 / 329.2 MB, free: 15.95 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/0.369, allocations: 1.031 kB / 329.2 MB, free: 15.95 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001003/0.3691, allocations: 8.609 kB / 329.2 MB, free: 15.95 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.263e-05/0.3692, allocations: 6.953 kB / 329.2 MB, free: 15.94 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001017/0.3693, allocations: 2.375 kB / 329.2 MB, free: 15.94 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.882e-05/0.3693, allocations: 2.906 kB / 329.2 MB, free: 15.94 MB / 282.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.0002087/0.3695, allocations: 142.5 kB / 329.3 MB, free: 15.81 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.981e-05/0.3696, allocations: 10.77 kB / 329.3 MB, free: 15.81 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.642e-05/0.3697, allocations: 18.02 kB / 329.4 MB, free: 15.8 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.681e-06/0.3697, allocations: 2.016 kB / 329.4 MB, free: 15.8 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.3697, allocations: 0 / 329.4 MB, free: 15.8 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.3697, allocations: 0 / 329.4 MB, free: 15.8 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006862/0.3704, allocations: 360.4 kB / 329.7 MB, free: 15.46 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.3705, allocations: 0 / 329.7 MB, free: 15.46 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.48e-05/0.3705, allocations: 5.844 kB / 329.7 MB, free: 15.46 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.719e-06/0.3706, allocations: 8.594 kB / 329.7 MB, free: 15.45 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.402e-05/0.3706, allocations: 1.969 kB / 329.7 MB, free: 15.45 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.3706, allocations: 1.344 kB / 329.7 MB, free: 15.45 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.3706, allocations: 0 / 329.7 MB, free: 15.45 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003119/0.3709, allocations: 178 kB / 329.9 MB, free: 15.3 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.837e-05/0.3711, allocations: 91.5 kB / 330 MB, free: 15.2 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.228e-05/0.3711, allocations: 1.469 kB / 330 MB, free: 15.2 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001497/0.3713, allocations: 2.719 kB / 330 MB, free: 15.2 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.09e-05/0.3714, allocations: 12 kB / 330 MB, free: 15.19 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.516e-05/0.3714, allocations: 3.594 kB / 330 MB, free: 15.19 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003749/0.3718, allocations: 199 kB / 330.2 MB, free: 15.08 MB / 282.7 MB Notification: Performance of sort global known variables: time 5.31e-07/0.3718, allocations: 0 / 330.2 MB, free: 15.08 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000604/0.3724, allocations: 25.23 kB / 330.2 MB, free: 15.07 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.001351/0.3738, allocations: 344 kB / 330.6 MB, free: 14.88 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000319/0.3741, allocations: 107 kB / 330.7 MB, free: 14.79 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.3741, allocations: 0 / 330.7 MB, free: 14.79 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 8.662e-05/0.3742, allocations: 16.61 kB / 330.7 MB, free: 14.79 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004322/0.3747, allocations: 22.14 kB / 330.7 MB, free: 14.78 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008805/0.3756, allocations: 294.5 kB / 331 MB, free: 14.57 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004628/0.3761, allocations: 0.7195 MB / 331.7 MB, free: 13.87 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.314e-05/0.3762, allocations: 15.08 kB / 331.7 MB, free: 13.86 MB / 282.7 MB Notification: Performance of SimCode: time 8.32e-07/0.3762, allocations: 4 kB / 331.7 MB, free: 13.86 MB / 282.7 MB Notification: Performance of Templates: time 0.007301/0.3835, allocations: 1.84 MB / 333.6 MB, free: 13.64 MB / 282.7 MB