Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test54,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.Test54") Notification: Performance of loadModel(ModelicaTest): time 2.044/2.044, allocations: 209.3 MB / 224.4 MB, free: 0.5117 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.337e-05/3.331e-05, allocations: 4 kB / 276.2 MB, free: 15.86 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.362/0.3621, allocations: 48.7 MB / 324.9 MB, free: 2.891 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test54): time 0.002406/0.3646, allocations: 1.305 MB / 326.2 MB, free: 2.344 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009872/0.3656, allocations: 406.6 kB / 326.6 MB, free: 2.133 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.499e-05/0.3657, allocations: 3.688 kB / 326.6 MB, free: 2.133 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002691/0.366, allocations: 16.17 kB / 326.6 MB, free: 2.129 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001725/0.3662, allocations: 33.45 kB / 326.6 MB, free: 2.117 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002287/0.3664, allocations: 51.23 kB / 326.7 MB, free: 2.098 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001296/0.3665, allocations: 38.67 kB / 326.7 MB, free: 2.082 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.155e-05/0.3666, allocations: 5.25 kB / 326.7 MB, free: 2.082 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.098e-05/0.3667, allocations: 23.91 kB / 326.7 MB, free: 2.074 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.067e-05/0.3668, allocations: 26.64 kB / 326.7 MB, free: 2.062 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001431/0.367, allocations: 25.03 kB / 326.8 MB, free: 2.062 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.417e-05/0.367, allocations: 7.469 kB / 326.8 MB, free: 2.059 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.643e-05/0.3671, allocations: 22.47 kB / 326.8 MB, free: 2.051 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.748e-05/0.3671, allocations: 4.594 kB / 326.8 MB, free: 2.051 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002262/0.3674, allocations: 83.53 kB / 326.9 MB, free: 2.039 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.3674, allocations: 0 / 326.9 MB, free: 2.039 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.875e-06/0.3674, allocations: 0.6562 kB / 326.9 MB, free: 2.039 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.054e-05/0.3674, allocations: 1.25 kB / 326.9 MB, free: 2.039 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.000479/0.3679, allocations: 405.9 kB / 327.3 MB, free: 1.621 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.307e-05/0.3679, allocations: 9 kB / 327.3 MB, free: 1.621 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.802e-05/0.368, allocations: 8.969 kB / 327.3 MB, free: 1.617 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002377/0.3683, allocations: 198.8 kB / 327.5 MB, free: 1.406 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.23e-05/0.3683, allocations: 9.391 kB / 327.5 MB, free: 1.398 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.915e-05/0.3683, allocations: 2.594 kB / 327.5 MB, free: 1.398 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001318/0.3685, allocations: 43.38 kB / 327.6 MB, free: 1.363 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.508e-05/0.3685, allocations: 3.938 kB / 327.6 MB, free: 1.359 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.302e-05/0.3685, allocations: 1.578 kB / 327.6 MB, free: 1.359 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.3685, allocations: 5.438 kB / 327.6 MB, free: 1.355 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.526e-05/0.3686, allocations: 14.5 kB / 327.6 MB, free: 1.352 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003677/0.369, allocations: 285.6 kB / 327.9 MB, free: 1.062 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000219/0.3692, allocations: 38.27 kB / 327.9 MB, free: 1.035 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.12e-05/0.3693, allocations: 1.156 kB / 327.9 MB, free: 1.035 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001395/0.3694, allocations: 64.52 kB / 328 MB, free: 0.9766 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 2.154e-06/0.3694, allocations: 0 / 328 MB, free: 0.9766 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.000473/0.3699, allocations: 120.3 kB / 328.1 MB, free: 0.9102 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.268e-05/0.37, allocations: 53.41 kB / 328.1 MB, free: 0.8477 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002391/0.3702, allocations: 192.4 kB / 328.3 MB, free: 0.7266 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.66e-05/0.3702, allocations: 28.02 kB / 328.3 MB, free: 0.6953 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.853e-05/0.3703, allocations: 170.1 kB / 328.5 MB, free: 0.5312 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.386e-05/0.3703, allocations: 13.06 kB / 328.5 MB, free: 0.5234 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.137e-06/0.3704, allocations: 4.969 kB / 328.5 MB, free: 0.5195 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.616e-05/0.3704, allocations: 325.7 kB / 328.8 MB, free: 200 kB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.182e-05/0.3705, allocations: 15.11 kB / 328.9 MB, free: 196 kB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.596e-05/0.3706, allocations: 19.98 kB / 328.9 MB, free: 188 kB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.855e-05/0.3707, allocations: 46.36 kB / 328.9 MB, free: 148 kB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.3707, allocations: 0 / 328.9 MB, free: 148 kB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002213/0.3709, allocations: 118.8 kB / 329 MB, free: 60 kB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.699e-05/0.3709, allocations: 41.56 kB / 329.1 MB, free: 24 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.371, allocations: 1.312 kB / 329.1 MB, free: 24 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/0.371, allocations: 0 / 329.1 MB, free: 24 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.959e-05/0.3711, allocations: 13.77 kB / 329.1 MB, free: 20 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.214e-06/0.3711, allocations: 1.062 kB / 329.1 MB, free: 20 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.136e-05/0.3712, allocations: 2.344 kB / 329.1 MB, free: 20 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.513e-05/0.3712, allocations: 3.281 kB / 329.1 MB, free: 20 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.0001545/0.3714, allocations: 128.8 kB / 329.2 MB, free: 15.9 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.578e-05/0.3714, allocations: 8.656 kB / 329.2 MB, free: 15.89 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.8e-05/0.3715, allocations: 20.73 kB / 329.3 MB, free: 15.88 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.3715, allocations: 1.531 kB / 329.3 MB, free: 15.88 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.3715, allocations: 4 kB / 329.3 MB, free: 15.88 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.099e-06/0.3715, allocations: 1.125 kB / 329.3 MB, free: 15.88 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004639/0.372, allocations: 344.5 kB / 329.6 MB, free: 15.55 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.372, allocations: 4.547 kB / 329.6 MB, free: 15.54 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.483e-05/0.3721, allocations: 5.219 kB / 329.6 MB, free: 15.54 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.065e-06/0.3721, allocations: 1.156 kB / 329.6 MB, free: 15.54 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.383e-05/0.3721, allocations: 2.703 kB / 329.6 MB, free: 15.54 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.478e-06/0.3721, allocations: 5.828 kB / 329.6 MB, free: 15.54 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.3721, allocations: 0 / 329.6 MB, free: 15.54 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002251/0.3724, allocations: 181 kB / 329.8 MB, free: 15.38 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.477e-05/0.3724, allocations: 84.67 kB / 329.9 MB, free: 15.28 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.486e-05/0.3725, allocations: 9.75 kB / 329.9 MB, free: 15.27 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.333e-05/0.3726, allocations: 2.906 kB / 329.9 MB, free: 15.27 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.593e-05/0.3726, allocations: 3.656 kB / 329.9 MB, free: 15.27 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.974e-05/0.3727, allocations: 3.094 kB / 329.9 MB, free: 15.27 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001969/0.3729, allocations: 160.8 kB / 330.1 MB, free: 15.18 MB / 282.7 MB Notification: Performance of sort global known variables: time 4.2e-07/0.3729, allocations: 0 / 330.1 MB, free: 15.18 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003487/0.3732, allocations: 37 kB / 330.1 MB, free: 15.16 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.0009709/0.3742, allocations: 334.1 kB / 330.4 MB, free: 14.97 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002548/0.3745, allocations: 101.4 kB / 330.5 MB, free: 14.89 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/0.3745, allocations: 4.969 kB / 330.5 MB, free: 14.89 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.337e-05/0.3746, allocations: 19.53 kB / 330.5 MB, free: 14.88 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003084/0.3749, allocations: 19.47 kB / 330.6 MB, free: 14.88 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006026/0.3755, allocations: 259.3 kB / 330.8 MB, free: 14.68 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003144/0.3759, allocations: 0.7078 MB / 331.5 MB, free: 13.98 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.213e-05/0.3759, allocations: 13.52 kB / 331.5 MB, free: 13.97 MB / 282.7 MB Notification: Performance of SimCode: time 8.02e-07/0.3759, allocations: 1.031 kB / 331.5 MB, free: 13.97 MB / 282.7 MB Notification: Performance of Templates: time 0.005302/0.3812, allocations: 1.743 MB / 333.3 MB, free: 13.77 MB / 282.7 MB