Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test24,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.Test24") Notification: Performance of loadModel(ModelicaTest): time 1.778/1.778, allocations: 209.3 MB / 221.9 MB, free: 7.734 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.397e-05/3.412e-05, allocations: 4 kB / 273.1 MB, free: 3.645 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0848/0.08486, allocations: 48.69 MB / 321.8 MB, free: 2.855 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4437/0.5286, allocations: 75.75 MB / 397.5 MB, free: 7.156 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000361/0.529, allocations: 70.47 kB / 397.6 MB, free: 7.156 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02543/0.5545, allocations: 3.948 MB / 401.5 MB, free: 6.203 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.208e-06/0.5546, allocations: 0 / 401.5 MB, free: 6.203 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.592e-05/0.5546, allocations: 3.844 kB / 401.5 MB, free: 6.203 MB / 314.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.0004121/0.555, allocations: 428.8 kB / 401.9 MB, free: 5.77 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/0.5551, allocations: 11.47 kB / 402 MB, free: 5.77 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.286e-05/0.5551, allocations: 7.781 kB / 402 MB, free: 5.766 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002089/0.5553, allocations: 197.9 kB / 402.2 MB, free: 5.551 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.48e-05/0.5554, allocations: 0 / 402.2 MB, free: 5.551 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.484e-05/0.5554, allocations: 3.844 kB / 402.2 MB, free: 5.551 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.64e-05/0.5555, allocations: 47.66 kB / 402.2 MB, free: 5.512 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.5556, allocations: 3.938 kB / 402.2 MB, free: 5.508 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.605e-06/0.5556, allocations: 0 / 402.2 MB, free: 5.508 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.653e-06/0.5556, allocations: 7.828 kB / 402.2 MB, free: 5.504 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.155e-05/0.5556, allocations: 14.75 kB / 402.2 MB, free: 5.5 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003331/0.556, allocations: 292.4 kB / 402.5 MB, free: 5.211 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001895/0.5562, allocations: 45.47 kB / 402.6 MB, free: 5.18 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.274e-05/0.5562, allocations: 12.45 kB / 402.6 MB, free: 5.172 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.035e-05/0.5563, allocations: 0 / 402.6 MB, free: 5.172 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001068/0.5564, allocations: 67.12 kB / 402.6 MB, free: 5.109 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 2.303e-06/0.5564, allocations: 0 / 402.6 MB, free: 5.109 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.000372/0.5568, allocations: 110 kB / 402.8 MB, free: 5.055 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.395e-05/0.5568, allocations: 55.16 kB / 402.8 MB, free: 4.992 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002031/0.5571, allocations: 171.8 kB / 403 MB, free: 4.883 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.759e-05/0.5571, allocations: 37.28 kB / 403 MB, free: 4.848 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.485e-05/0.5571, allocations: 162.2 kB / 403.2 MB, free: 4.695 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.026e-05/0.5572, allocations: 7.375 kB / 403.2 MB, free: 4.691 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.34e-06/0.5572, allocations: 3.688 kB / 403.2 MB, free: 4.691 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.925e-05/0.5573, allocations: 314.7 kB / 403.5 MB, free: 4.379 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.302e-05/0.5573, allocations: 26.83 kB / 403.5 MB, free: 4.371 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.591e-05/0.5574, allocations: 23.22 kB / 403.5 MB, free: 4.371 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.741e-05/0.5575, allocations: 48.88 kB / 403.6 MB, free: 4.336 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.747e-06/0.5575, allocations: 4 kB / 403.6 MB, free: 4.332 MB / 314.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002176/0.5577, allocations: 123.8 kB / 403.7 MB, free: 4.262 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.932e-05/0.5578, allocations: 45.25 kB / 403.8 MB, free: 4.219 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.127e-06/0.5578, allocations: 0 / 403.8 MB, free: 4.219 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.5578, allocations: 0 / 403.8 MB, free: 4.219 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.962e-05/0.5579, allocations: 7.781 kB / 403.8 MB, free: 4.219 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.651e-06/0.5579, allocations: 3.938 kB / 403.8 MB, free: 4.215 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.304e-05/0.558, allocations: 11.28 kB / 403.8 MB, free: 4.211 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.555e-05/0.558, allocations: 11.78 kB / 403.8 MB, free: 4.203 MB / 314.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 5.251e-05/0.5581, allocations: 108.8 kB / 403.9 MB, free: 4.094 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.421e-05/0.5581, allocations: 7.844 kB / 403.9 MB, free: 4.09 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002068/0.5583, allocations: 84.02 kB / 404 MB, free: 4.051 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.68e-06/0.5583, allocations: 7.781 kB / 404 MB, free: 4.047 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.723e-06/0.5584, allocations: 4.125 kB / 404 MB, free: 4.043 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.744e-06/0.5584, allocations: 0 / 404 MB, free: 4.043 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003345/0.5587, allocations: 362.9 kB / 404.3 MB, free: 3.715 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.5587, allocations: 0 / 404.3 MB, free: 3.715 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.363e-05/0.5588, allocations: 7.906 kB / 404.4 MB, free: 3.711 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.345e-06/0.5588, allocations: 0 / 404.4 MB, free: 3.711 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.07e-05/0.5588, allocations: 3.938 kB / 404.4 MB, free: 3.711 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.247e-06/0.5588, allocations: 0 / 404.4 MB, free: 3.711 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.644e-06/0.5588, allocations: 0 / 404.4 MB, free: 3.711 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001782/0.559, allocations: 181.9 kB / 404.5 MB, free: 3.559 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001723/0.5592, allocations: 88.73 kB / 404.6 MB, free: 19.46 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.909e-05/0.5592, allocations: 3.875 kB / 404.6 MB, free: 19.46 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.351e-05/0.5594, allocations: 7.969 kB / 404.6 MB, free: 19.46 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.217e-05/0.5594, allocations: 3.984 kB / 404.6 MB, free: 19.45 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.154e-05/0.5594, allocations: 3.875 kB / 404.6 MB, free: 19.45 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001373/0.5596, allocations: 141.3 kB / 404.8 MB, free: 19.37 MB / 330.7 MB Notification: Performance of sort global known variables: time 6.79e-07/0.5596, allocations: 0 / 404.8 MB, free: 19.37 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003562/0.5599, allocations: 35.03 kB / 404.8 MB, free: 19.36 MB / 330.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 (6): * Single equations (assignments): 5 * 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.001048/0.561, allocations: 358.5 kB / 405.2 MB, free: 19.12 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000209/0.5612, allocations: 112.5 kB / 405.3 MB, free: 19.05 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.5613, allocations: 3.938 kB / 405.3 MB, free: 19.05 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 5.388e-05/0.5613, allocations: 19.64 kB / 405.3 MB, free: 19.04 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002631/0.5616, allocations: 11.5 kB / 405.3 MB, free: 19.04 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003787/0.562, allocations: 177.1 kB / 405.5 MB, free: 18.91 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003798/0.5624, allocations: 0.6997 MB / 406.2 MB, free: 18.2 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.58e-05/0.5625, allocations: 15.36 kB / 406.2 MB, free: 18.19 MB / 330.7 MB Notification: Performance of SimCode: time 1.68e-06/0.5625, allocations: 3.938 kB / 406.2 MB, free: 18.19 MB / 330.7 MB Notification: Performance of Templates: time 0.003583/0.5661, allocations: 1.746 MB / 407.9 MB, free: 17.3 MB / 330.7 MB