Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test59,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.Test59") Notification: Performance of loadModel(ModelicaTest): time 1.835/1.835, allocations: 209.3 MB / 221.9 MB, free: 7.719 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 5.535e-05/5.539e-05, allocations: 4 kB / 273.1 MB, free: 3.645 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1005/0.1005, allocations: 48.69 MB / 321.8 MB, free: 2.855 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3401/0.4407, allocations: 76.01 MB / 397.8 MB, free: 7.09 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002011/0.4409, allocations: 67.69 kB / 397.8 MB, free: 7.09 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01617/0.4571, allocations: 4.467 MB / 402.3 MB, free: 6.02 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.92e-06/0.4572, allocations: 0 / 402.3 MB, free: 6.02 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.004e-05/0.4572, allocations: 4 kB / 402.3 MB, free: 6.016 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.0003546/0.4576, allocations: 414.6 kB / 402.7 MB, free: 5.59 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.549e-05/0.4576, allocations: 7.844 kB / 402.7 MB, free: 5.59 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.228e-05/0.4577, allocations: 11.77 kB / 402.7 MB, free: 5.582 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001958/0.4579, allocations: 193.5 kB / 402.9 MB, free: 5.371 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.543e-05/0.4579, allocations: 3.125 kB / 402.9 MB, free: 5.371 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.388e-05/0.4579, allocations: 3.844 kB / 402.9 MB, free: 5.371 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001124/0.4581, allocations: 56.75 kB / 403 MB, free: 5.32 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.4581, allocations: 3.938 kB / 403 MB, free: 5.316 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.145e-05/0.4581, allocations: 4 kB / 403 MB, free: 5.312 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.854e-06/0.4581, allocations: 0 / 403 MB, free: 5.312 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.347e-05/0.4582, allocations: 15.08 kB / 403 MB, free: 5.309 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003205/0.4585, allocations: 280.9 kB / 403.3 MB, free: 5.023 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001961/0.4587, allocations: 43.81 kB / 403.3 MB, free: 4.996 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.227e-05/0.4588, allocations: 8.703 kB / 403.3 MB, free: 4.988 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.433e-06/0.4588, allocations: 4 kB / 403.3 MB, free: 4.984 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001029/0.4589, allocations: 66.05 kB / 403.4 MB, free: 4.926 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 2.782e-06/0.4589, allocations: 0 / 403.4 MB, free: 4.926 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003608/0.4593, allocations: 101.6 kB / 403.5 MB, free: 4.875 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.071e-05/0.4593, allocations: 77.11 kB / 403.6 MB, free: 4.781 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001143/0.4595, allocations: 134.5 kB / 403.7 MB, free: 4.676 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.762e-05/0.4595, allocations: 32.83 kB / 403.7 MB, free: 4.645 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.858e-05/0.4596, allocations: 162 kB / 403.9 MB, free: 4.488 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.211e-05/0.4596, allocations: 15.59 kB / 403.9 MB, free: 4.477 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.077e-06/0.4596, allocations: 3.438 kB / 403.9 MB, free: 4.477 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.616e-05/0.4597, allocations: 314.8 kB / 404.2 MB, free: 4.16 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.502e-05/0.4597, allocations: 18.69 kB / 404.2 MB, free: 4.16 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.66e-05/0.4598, allocations: 39.36 kB / 404.3 MB, free: 4.141 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.531e-05/0.4599, allocations: 52.09 kB / 404.3 MB, free: 4.102 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.796e-06/0.4599, allocations: 3.938 kB / 404.3 MB, free: 4.098 MB / 314.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002063/0.4601, allocations: 119.2 kB / 404.4 MB, free: 4.023 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.124e-05/0.4602, allocations: 38.06 kB / 404.5 MB, free: 3.988 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.999e-06/0.4602, allocations: 0 / 404.5 MB, free: 3.988 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.4602, allocations: 3.906 kB / 404.5 MB, free: 3.988 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.737e-05/0.4603, allocations: 11.75 kB / 404.5 MB, free: 3.984 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.9e-06/0.4603, allocations: 0 / 404.5 MB, free: 3.984 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.787e-05/0.4604, allocations: 3.844 kB / 404.5 MB, free: 3.984 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.391e-05/0.4604, allocations: 3.953 kB / 404.5 MB, free: 3.98 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.639e-05/0.4605, allocations: 108.2 kB / 404.6 MB, free: 3.875 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.474e-05/0.4605, allocations: 15.67 kB / 404.6 MB, free: 3.863 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002139/0.4607, allocations: 86.58 kB / 404.7 MB, free: 3.82 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.37e-06/0.4608, allocations: 3.844 kB / 404.7 MB, free: 3.82 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.815e-06/0.4608, allocations: 0 / 404.7 MB, free: 3.82 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.13e-06/0.4608, allocations: 0 / 404.7 MB, free: 3.82 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003258/0.4611, allocations: 341.3 kB / 405.1 MB, free: 3.5 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.646e-06/0.4611, allocations: 0 / 405.1 MB, free: 3.5 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.839e-05/0.4612, allocations: 7.75 kB / 405.1 MB, free: 3.5 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.592e-06/0.4612, allocations: 8.078 kB / 405.1 MB, free: 3.492 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.144e-05/0.4612, allocations: 7.875 kB / 405.1 MB, free: 3.492 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.457e-06/0.4612, allocations: 96 / 405.1 MB, free: 3.492 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.209e-06/0.4613, allocations: 7.922 kB / 405.1 MB, free: 3.484 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002835/0.4615, allocations: 173.5 kB / 405.3 MB, free: 19.34 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.724e-05/0.4616, allocations: 84.86 kB / 405.3 MB, free: 19.24 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.674e-05/0.4617, allocations: 0 / 405.3 MB, free: 19.24 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.551e-05/0.4618, allocations: 10.58 kB / 405.3 MB, free: 19.24 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.321e-05/0.4618, allocations: 4 kB / 405.3 MB, free: 19.23 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.11e-05/0.4618, allocations: 4.094 kB / 405.4 MB, free: 19.23 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001026/0.462, allocations: 113 kB / 405.5 MB, free: 19.15 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-07/0.462, allocations: 0 / 405.5 MB, free: 19.15 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003904/0.4624, allocations: 54.11 kB / 405.5 MB, free: 19.12 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.001254/0.4636, allocations: 432.7 kB / 405.9 MB, free: 18.83 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002033/0.4639, allocations: 105.2 kB / 406 MB, free: 18.77 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.89e-06/0.4639, allocations: 0 / 406 MB, free: 18.77 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 5.523e-05/0.4639, allocations: 18.88 kB / 406.1 MB, free: 18.77 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002465/0.4642, allocations: 16.66 kB / 406.1 MB, free: 18.76 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000307/0.4645, allocations: 133.4 kB / 406.2 MB, free: 18.64 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003735/0.4649, allocations: 0.7 MB / 406.9 MB, free: 17.93 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.004e-05/0.465, allocations: 15.12 kB / 406.9 MB, free: 17.92 MB / 330.7 MB Notification: Performance of SimCode: time 1.423e-06/0.465, allocations: 0 / 406.9 MB, free: 17.92 MB / 330.7 MB Notification: Performance of Templates: time 0.003769/0.4688, allocations: 1.875 MB / 408.8 MB, free: 16.96 MB / 330.7 MB