Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test16,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.Test16") Notification: Performance of loadModel(ModelicaTest): time 1.89/1.89, allocations: 209.3 MB / 221.9 MB, free: 7.73 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.303e-05/3.319e-05, allocations: 4 kB / 273.1 MB, free: 3.664 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08734/0.0874, allocations: 48.7 MB / 321.8 MB, free: 2.875 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3475/0.4349, allocations: 75.75 MB / 397.5 MB, free: 7.184 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000202/0.4352, allocations: 70.05 kB / 397.6 MB, free: 7.18 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01447/0.4497, allocations: 3.855 MB / 401.4 MB, free: 6.27 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.397e-06/0.4497, allocations: 0 / 401.4 MB, free: 6.27 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.32e-05/0.4497, allocations: 1.281 kB / 401.4 MB, free: 6.27 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.0003714/0.4501, allocations: 416.7 kB / 401.8 MB, free: 5.844 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.017e-05/0.4502, allocations: 8.875 kB / 401.9 MB, free: 5.844 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.5e-05/0.4502, allocations: 11.69 kB / 401.9 MB, free: 5.836 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002042/0.4504, allocations: 195.9 kB / 402.1 MB, free: 5.621 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.668e-05/0.4505, allocations: 9.188 kB / 402.1 MB, free: 5.617 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.532e-05/0.4505, allocations: 2.75 kB / 402.1 MB, free: 5.617 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.802e-05/0.4506, allocations: 46.52 kB / 402.1 MB, free: 5.578 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/0.4506, allocations: 0 / 402.1 MB, free: 5.578 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.031e-05/0.4507, allocations: 0 / 402.1 MB, free: 5.578 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.117e-06/0.4507, allocations: 1.5 kB / 402.1 MB, free: 5.578 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.349e-05/0.4507, allocations: 12.12 kB / 402.1 MB, free: 5.578 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000337/0.4511, allocations: 290.9 kB / 402.4 MB, free: 5.285 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002014/0.4513, allocations: 50.88 kB / 402.5 MB, free: 5.25 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.584e-05/0.4514, allocations: 13.11 kB / 402.5 MB, free: 5.242 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.034e-05/0.4514, allocations: 0 / 402.5 MB, free: 5.242 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001125/0.4515, allocations: 63.2 kB / 402.5 MB, free: 5.188 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 2.518e-06/0.4515, allocations: 0 / 402.5 MB, free: 5.188 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003709/0.4519, allocations: 106.7 kB / 402.6 MB, free: 5.133 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.121e-05/0.4519, allocations: 59.28 kB / 402.7 MB, free: 5.066 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001397/0.4521, allocations: 152.2 kB / 402.8 MB, free: 4.957 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.488e-05/0.4521, allocations: 25.7 kB / 402.9 MB, free: 4.926 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.052e-05/0.4522, allocations: 164.7 kB / 403 MB, free: 4.773 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.008e-05/0.4522, allocations: 11.19 kB / 403 MB, free: 4.766 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.426e-06/0.4522, allocations: 3.844 kB / 403 MB, free: 4.766 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.764e-05/0.4523, allocations: 314.8 kB / 403.4 MB, free: 4.449 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.47e-05/0.4524, allocations: 21.41 kB / 403.4 MB, free: 4.449 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.606e-05/0.4524, allocations: 26.16 kB / 403.4 MB, free: 4.445 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.89e-05/0.4525, allocations: 51.94 kB / 403.4 MB, free: 4.41 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.4525, allocations: 7.875 kB / 403.5 MB, free: 4.402 MB / 314.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002212/0.4528, allocations: 121.7 kB / 403.6 MB, free: 4.332 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.843e-05/0.4528, allocations: 33.52 kB / 403.6 MB, free: 4.301 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.874e-06/0.4528, allocations: 0 / 403.6 MB, free: 4.301 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.4528, allocations: 0 / 403.6 MB, free: 4.301 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.138e-05/0.4529, allocations: 11.94 kB / 403.6 MB, free: 4.297 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.191e-06/0.4529, allocations: 3.953 kB / 403.6 MB, free: 4.293 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.938e-05/0.453, allocations: 7.062 kB / 403.6 MB, free: 4.293 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.455e-05/0.453, allocations: 7.906 kB / 403.6 MB, free: 4.289 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.205e-05/0.4531, allocations: 108.9 kB / 403.7 MB, free: 4.176 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.188e-05/0.4531, allocations: 7.5 kB / 403.8 MB, free: 4.172 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002083/0.4533, allocations: 89.98 kB / 403.8 MB, free: 4.133 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.035e-06/0.4534, allocations: 0 / 403.8 MB, free: 4.133 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.134e-06/0.4534, allocations: 0 / 403.8 MB, free: 4.133 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.4534, allocations: 11.78 kB / 403.9 MB, free: 4.125 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000329/0.4537, allocations: 347.3 kB / 404.2 MB, free: 3.797 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.14e-06/0.4538, allocations: 0 / 404.2 MB, free: 3.797 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.977e-05/0.4538, allocations: 11.8 kB / 404.2 MB, free: 3.793 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.793e-06/0.4538, allocations: 288 / 404.2 MB, free: 3.793 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.177e-05/0.4539, allocations: 11.78 kB / 404.2 MB, free: 3.785 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.392e-06/0.4539, allocations: 3.953 kB / 404.2 MB, free: 3.781 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.89e-06/0.4539, allocations: 0 / 404.2 MB, free: 3.781 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002937/0.4542, allocations: 171 kB / 404.4 MB, free: 19.64 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7e-05/0.4543, allocations: 92.17 kB / 404.5 MB, free: 19.54 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.656e-05/0.4543, allocations: 3.688 kB / 404.5 MB, free: 19.54 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.337e-05/0.4544, allocations: 0 / 404.5 MB, free: 19.54 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.616e-05/0.4545, allocations: 15.72 kB / 404.5 MB, free: 19.53 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.13e-05/0.4545, allocations: 0 / 404.5 MB, free: 19.53 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001163/0.4546, allocations: 121.8 kB / 404.6 MB, free: 19.45 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.54e-07/0.4546, allocations: 0 / 404.6 MB, free: 19.45 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003693/0.455, allocations: 38.48 kB / 404.6 MB, free: 19.44 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.001068/0.4561, allocations: 357.2 kB / 405 MB, free: 19.2 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002156/0.4563, allocations: 109.6 kB / 405.1 MB, free: 19.13 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.882e-06/0.4563, allocations: 0 / 405.1 MB, free: 19.13 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 5.613e-05/0.4564, allocations: 22.81 kB / 405.1 MB, free: 19.12 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002752/0.4567, allocations: 23.08 kB / 405.2 MB, free: 19.11 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003536/0.4571, allocations: 144 kB / 405.3 MB, free: 19 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003879/0.4575, allocations: 0.6955 MB / 406 MB, free: 18.29 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.577e-05/0.4575, allocations: 15.27 kB / 406 MB, free: 18.28 MB / 330.7 MB Notification: Performance of SimCode: time 1.618e-06/0.4576, allocations: 0 / 406 MB, free: 18.28 MB / 330.7 MB Notification: Performance of Templates: time 0.003434/0.461, allocations: 1.668 MB / 407.7 MB, free: 17.44 MB / 330.7 MB