Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test22") Notification: Performance of loadModel(ModelicaTest): time 2.158/2.158, allocations: 235 MB / 247.6 MB, free: 14.41 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.832e-05/3.839e-05, allocations: 4.938 kB / 304.9 MB, free: 5.66 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.322/0.322, allocations: 54.86 MB / 359.8 MB, free: 2.168 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1268/0.4488, allocations: 82.06 MB / 441.8 MB, free: 14.81 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000229/0.4491, allocations: 72.77 kB / 441.9 MB, free: 14.74 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2312:7-2313:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableValue. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2358:7-2359:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableTimeTmin. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2369:7-2370:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableTimeTmax. Notification: Performance of FrontEnd - DAE generated: time 0.01871/0.4678, allocations: 4.493 MB / 446.4 MB, free: 10.27 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.012e-06/0.4679, allocations: 0 / 446.4 MB, free: 10.27 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.495e-05/0.4679, allocations: 8 kB / 446.4 MB, free: 10.27 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005748/0.4685, allocations: 449.6 kB / 446.8 MB, free: 9.77 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/0.4685, allocations: 11.97 kB / 446.9 MB, free: 9.758 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.072e-05/0.4686, allocations: 11.91 kB / 446.9 MB, free: 9.746 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003477/0.469, allocations: 206.9 kB / 447.1 MB, free: 9.504 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.233e-05/0.469, allocations: 4 kB / 447.1 MB, free: 9.5 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.86e-05/0.469, allocations: 4 kB / 447.1 MB, free: 9.496 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001471/0.4692, allocations: 61.61 kB / 447.1 MB, free: 9.43 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.4692, allocations: 4 kB / 447.1 MB, free: 9.426 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.572e-05/0.4692, allocations: 3.953 kB / 447.1 MB, free: 9.422 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.616e-06/0.4693, allocations: 4 kB / 447.1 MB, free: 9.418 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.395e-05/0.4693, allocations: 20 kB / 447.2 MB, free: 9.398 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004819/0.4698, allocations: 308.8 kB / 447.5 MB, free: 9.047 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001556/0.47, allocations: 54.69 kB / 447.5 MB, free: 8.984 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.351e-05/0.4701, allocations: 24.98 kB / 447.5 MB, free: 8.957 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.671e-05/0.4701, allocations: 7.891 kB / 447.6 MB, free: 8.949 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001491/0.4703, allocations: 64.33 kB / 447.6 MB, free: 8.875 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.642e-06/0.4703, allocations: 0 / 447.6 MB, free: 8.875 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005537/0.4709, allocations: 158.2 kB / 447.8 MB, free: 8.715 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.114e-05/0.4709, allocations: 51.41 kB / 447.8 MB, free: 8.652 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002277/0.4712, allocations: 169.2 kB / 448 MB, free: 8.477 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.111e-05/0.4712, allocations: 37.7 kB / 448 MB, free: 8.434 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001085/0.4713, allocations: 166.5 kB / 448.2 MB, free: 8.27 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.594e-05/0.4714, allocations: 23.7 kB / 448.2 MB, free: 8.246 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.181e-05/0.4714, allocations: 4 kB / 448.2 MB, free: 8.242 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001528/0.4716, allocations: 310.8 kB / 448.5 MB, free: 7.93 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.751e-05/0.4717, allocations: 36.94 kB / 448.5 MB, free: 7.895 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001164/0.4718, allocations: 59.61 kB / 448.6 MB, free: 7.832 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000136/0.472, allocations: 69.69 kB / 448.7 MB, free: 7.758 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.938e-06/0.472, allocations: 0 / 448.7 MB, free: 7.758 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003642/0.4723, allocations: 179.2 kB / 448.9 MB, free: 7.57 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.495e-05/0.4724, allocations: 33.7 kB / 448.9 MB, free: 7.531 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.416e-06/0.4724, allocations: 0 / 448.9 MB, free: 7.531 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.186e-05/0.4725, allocations: 4 kB / 448.9 MB, free: 7.527 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001144/0.4726, allocations: 15.98 kB / 448.9 MB, free: 7.512 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.517e-06/0.4726, allocations: 1.812 kB / 448.9 MB, free: 7.512 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.406e-05/0.4727, allocations: 8 kB / 448.9 MB, free: 7.504 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.328e-05/0.4727, allocations: 12.59 kB / 448.9 MB, free: 7.492 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * 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.0001142/0.4729, allocations: 113.9 kB / 449 MB, free: 7.375 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.383e-05/0.4729, allocations: 15.84 kB / 449.1 MB, free: 7.359 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002934/0.4732, allocations: 111.8 kB / 449.2 MB, free: 7.25 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.619e-06/0.4732, allocations: 4 kB / 449.2 MB, free: 7.246 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.4732, allocations: 0 / 449.2 MB, free: 7.246 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.149e-05/0.4733, allocations: 7.969 kB / 449.2 MB, free: 7.238 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006079/0.4739, allocations: 411.2 kB / 449.6 MB, free: 6.781 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.08e-06/0.4739, allocations: 0 / 449.6 MB, free: 6.781 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.353e-05/0.474, allocations: 11.94 kB / 449.6 MB, free: 6.77 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.133e-05/0.474, allocations: 7.984 kB / 449.6 MB, free: 6.762 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.725e-05/0.474, allocations: 4 kB / 449.6 MB, free: 6.758 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.906e-06/0.4741, allocations: 0 / 449.6 MB, free: 6.758 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.48e-06/0.4741, allocations: 4 kB / 449.6 MB, free: 6.754 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003169/0.4744, allocations: 226.8 kB / 449.8 MB, free: 6.508 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001008/0.4745, allocations: 93 kB / 449.9 MB, free: 6.398 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.992e-05/0.4746, allocations: 4 kB / 449.9 MB, free: 6.395 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001136/0.4747, allocations: 4 kB / 449.9 MB, free: 6.391 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.944e-05/0.4747, allocations: 7.984 kB / 449.9 MB, free: 6.383 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.485e-05/0.4748, allocations: 4.562 kB / 449.9 MB, free: 6.379 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001617/0.4749, allocations: 135.2 kB / 450.1 MB, free: 6.246 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.77e-07/0.475, allocations: 0 / 450.1 MB, free: 6.246 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003821/0.4754, allocations: 40 kB / 450.1 MB, free: 6.207 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001441/0.4768, allocations: 421.1 kB / 450.5 MB, free: 5.867 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003226/0.4771, allocations: 155.4 kB / 450.7 MB, free: 5.703 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.69e-06/0.4772, allocations: 0 / 450.7 MB, free: 5.703 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.911e-05/0.4773, allocations: 39.98 kB / 450.7 MB, free: 5.664 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002951/0.4776, allocations: 20.28 kB / 450.7 MB, free: 5.645 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004598/0.4781, allocations: 185.8 kB / 450.9 MB, free: 5.434 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003983/0.4785, allocations: 0.7043 MB / 451.6 MB, free: 4.703 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.771e-05/0.4785, allocations: 19.44 kB / 451.6 MB, free: 4.684 MB / 378.7 MB Notification: Performance of SimCode: time 1.578e-06/0.4786, allocations: 4.062 kB / 451.6 MB, free: 4.68 MB / 378.7 MB Notification: Performance of Templates: time 0.004681/0.4833, allocations: 1.938 MB / 453.6 MB, free: 2.746 MB / 378.7 MB