Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test20,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.Test20") Notification: Performance of loadModel(ModelicaTest): time 1.905/1.905, allocations: 209.3 MB / 221.9 MB, free: 7.73 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.999e-05/3.015e-05, allocations: 4 kB / 273.1 MB, free: 3.652 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08626/0.08631, allocations: 48.69 MB / 321.8 MB, free: 2.867 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3447/0.431, allocations: 75.75 MB / 397.5 MB, free: 7.176 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002061/0.4313, allocations: 72.98 kB / 397.6 MB, free: 7.172 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01512/0.4464, allocations: 3.91 MB / 401.5 MB, free: 6.234 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.385e-06/0.4465, allocations: 3.844 kB / 401.5 MB, free: 6.234 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.925e-05/0.4465, allocations: 0 / 401.5 MB, free: 6.234 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.0003635/0.4469, allocations: 410.5 kB / 401.9 MB, free: 5.812 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.88e-05/0.4469, allocations: 11.53 kB / 401.9 MB, free: 5.812 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.341e-05/0.447, allocations: 11.75 kB / 401.9 MB, free: 5.805 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002058/0.4472, allocations: 198.2 kB / 402.1 MB, free: 5.59 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.71e-05/0.4472, allocations: 3.844 kB / 402.1 MB, free: 5.59 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.355e-05/0.4473, allocations: 0 / 402.1 MB, free: 5.59 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.541e-05/0.4474, allocations: 53.2 kB / 402.2 MB, free: 5.547 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.4474, allocations: 0 / 402.2 MB, free: 5.547 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.082e-05/0.4474, allocations: 0 / 402.2 MB, free: 5.547 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.958e-06/0.4474, allocations: 0 / 402.2 MB, free: 5.547 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.155e-05/0.4475, allocations: 11.41 kB / 402.2 MB, free: 5.547 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003251/0.4478, allocations: 302.9 kB / 402.5 MB, free: 5.25 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000194/0.4481, allocations: 45.75 kB / 402.5 MB, free: 5.219 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.425e-05/0.4481, allocations: 8.703 kB / 402.5 MB, free: 5.211 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.206e-05/0.4481, allocations: 3.938 kB / 402.5 MB, free: 5.211 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001215/0.4483, allocations: 59.23 kB / 402.6 MB, free: 5.156 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 2.58e-06/0.4483, allocations: 4 kB / 402.6 MB, free: 5.152 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003761/0.4487, allocations: 111.4 kB / 402.7 MB, free: 5.09 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.575e-05/0.4487, allocations: 55.25 kB / 402.7 MB, free: 5.027 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001485/0.4489, allocations: 154.1 kB / 402.9 MB, free: 4.926 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.553e-05/0.4489, allocations: 29.55 kB / 402.9 MB, free: 4.895 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.22e-05/0.449, allocations: 166 kB / 403.1 MB, free: 4.738 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.246e-05/0.449, allocations: 19.42 kB / 403.1 MB, free: 4.73 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.033e-06/0.449, allocations: 0 / 403.1 MB, free: 4.73 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.703e-05/0.4491, allocations: 314.8 kB / 403.4 MB, free: 4.418 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.032e-05/0.4491, allocations: 27.2 kB / 403.4 MB, free: 4.41 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.924e-05/0.4492, allocations: 19.41 kB / 403.5 MB, free: 4.41 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.481e-05/0.4493, allocations: 60.44 kB / 403.5 MB, free: 4.371 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.592e-06/0.4493, allocations: 0 / 403.5 MB, free: 4.371 MB / 314.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000204/0.4495, allocations: 113.4 kB / 403.6 MB, free: 4.305 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.854e-05/0.4496, allocations: 41.47 kB / 403.7 MB, free: 4.266 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.023e-06/0.4496, allocations: 0 / 403.7 MB, free: 4.266 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.4496, allocations: 96 / 403.7 MB, free: 4.266 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.959e-05/0.4497, allocations: 15.38 kB / 403.7 MB, free: 4.262 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.613e-06/0.4497, allocations: 7.797 kB / 403.7 MB, free: 4.258 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.756e-05/0.4497, allocations: 4 kB / 403.7 MB, free: 4.254 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.618e-05/0.4498, allocations: 3.844 kB / 403.7 MB, free: 4.254 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.179e-05/0.4498, allocations: 112.8 kB / 403.8 MB, free: 4.141 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.348e-05/0.4499, allocations: 11.66 kB / 403.8 MB, free: 4.133 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000207/0.4501, allocations: 87.7 kB / 403.9 MB, free: 4.094 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.526e-06/0.4501, allocations: 0 / 403.9 MB, free: 4.094 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.359e-06/0.4501, allocations: 0 / 403.9 MB, free: 4.094 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.052e-06/0.4501, allocations: 3.953 kB / 403.9 MB, free: 4.09 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003449/0.4505, allocations: 355.8 kB / 404.3 MB, free: 3.762 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.818e-06/0.4505, allocations: 4.062 kB / 404.3 MB, free: 3.758 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.852e-05/0.4506, allocations: 11.67 kB / 404.3 MB, free: 3.754 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.646e-06/0.4506, allocations: 0 / 404.3 MB, free: 3.754 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.078e-05/0.4506, allocations: 3.812 kB / 404.3 MB, free: 3.754 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.424e-06/0.4506, allocations: 7.797 kB / 404.3 MB, free: 3.75 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.776e-06/0.4506, allocations: 0 / 404.3 MB, free: 3.75 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001746/0.4508, allocations: 169.9 kB / 404.5 MB, free: 3.609 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00017/0.451, allocations: 88.84 kB / 404.5 MB, free: 19.51 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.876e-05/0.451, allocations: 3.844 kB / 404.5 MB, free: 19.51 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.437e-05/0.4511, allocations: 3.938 kB / 404.5 MB, free: 19.51 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.166e-05/0.4512, allocations: 15.72 kB / 404.6 MB, free: 19.5 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.083e-05/0.4512, allocations: 0 / 404.6 MB, free: 19.5 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000129/0.4514, allocations: 129.5 kB / 404.7 MB, free: 19.42 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.38e-07/0.4514, allocations: 0 / 404.7 MB, free: 19.42 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003637/0.4517, allocations: 38.92 kB / 404.7 MB, free: 19.41 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.001059/0.4528, allocations: 345.2 kB / 405.1 MB, free: 19.17 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002189/0.4531, allocations: 112.9 kB / 405.2 MB, free: 19.11 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.169e-06/0.4531, allocations: 7.938 kB / 405.2 MB, free: 19.1 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 5.415e-05/0.4531, allocations: 19.41 kB / 405.2 MB, free: 19.09 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002599/0.4534, allocations: 15.61 kB / 405.2 MB, free: 19.09 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003763/0.4538, allocations: 157.4 kB / 405.4 MB, free: 18.96 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003808/0.4542, allocations: 0.7024 MB / 406.1 MB, free: 18.26 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.418e-05/0.4543, allocations: 12.66 kB / 406.1 MB, free: 18.25 MB / 330.7 MB Notification: Performance of SimCode: time 1.599e-06/0.4543, allocations: 1.312 kB / 406.1 MB, free: 18.25 MB / 330.7 MB Notification: Performance of Templates: time 0.003543/0.4578, allocations: 1.721 MB / 407.8 MB, free: 17.38 MB / 330.7 MB