Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test38") Notification: Performance of loadModel(ModelicaTest): time 2.268/2.268, allocations: 235 MB / 247.6 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.517e-05/4.532e-05, allocations: 8 kB / 304.9 MB, free: 5.652 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3259/0.3259, allocations: 54.85 MB / 359.8 MB, free: 2.645 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1291/0.4551, allocations: 81.89 MB / 441.7 MB, free: 15.11 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00023/0.4554, allocations: 71.91 kB / 441.7 MB, free: 15.04 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2331:7-2332:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableValueNoDer. [/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.01828/0.4737, allocations: 4.346 MB / 446.1 MB, free: 10.72 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.785e-06/0.4737, allocations: 0 / 446.1 MB, free: 10.72 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.333e-05/0.4737, allocations: 0 / 446.1 MB, free: 10.72 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005714/0.4743, allocations: 445.6 kB / 446.5 MB, free: 10.23 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.229e-05/0.4744, allocations: 8.031 kB / 446.5 MB, free: 10.22 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.656e-05/0.4744, allocations: 11.91 kB / 446.5 MB, free: 10.21 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003542/0.4748, allocations: 202.9 kB / 446.7 MB, free: 9.973 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.208e-05/0.4748, allocations: 4 kB / 446.7 MB, free: 9.969 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.166e-05/0.4749, allocations: 4 kB / 446.7 MB, free: 9.965 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001294/0.475, allocations: 41.69 kB / 446.8 MB, free: 9.918 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.475, allocations: 3.984 kB / 446.8 MB, free: 9.914 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.561e-05/0.4751, allocations: 3.953 kB / 446.8 MB, free: 9.91 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.217e-06/0.4751, allocations: 0 / 446.8 MB, free: 9.91 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.36e-05/0.4752, allocations: 20 kB / 446.8 MB, free: 9.891 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002601/0.4754, allocations: 201.6 kB / 447 MB, free: 9.645 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001459/0.4756, allocations: 57.28 kB / 447.1 MB, free: 9.582 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.796e-05/0.4757, allocations: 16.86 kB / 447.1 MB, free: 9.562 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.568e-05/0.4757, allocations: 4 kB / 447.1 MB, free: 9.559 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001616/0.4759, allocations: 71.48 kB / 447.1 MB, free: 9.477 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 2.802e-06/0.4759, allocations: 0 / 447.1 MB, free: 9.477 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002681/0.4762, allocations: 89.44 kB / 447.2 MB, free: 9.383 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.902e-05/0.4762, allocations: 51.41 kB / 447.3 MB, free: 9.32 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002273/0.4765, allocations: 165.3 kB / 447.4 MB, free: 9.148 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.783e-05/0.4765, allocations: 29.64 kB / 447.5 MB, free: 9.113 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.636e-05/0.4766, allocations: 162.6 kB / 447.6 MB, free: 8.953 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.315e-05/0.4767, allocations: 15.8 kB / 447.6 MB, free: 8.938 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.166e-05/0.4767, allocations: 8 kB / 447.7 MB, free: 8.93 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001576/0.4768, allocations: 310.8 kB / 448 MB, free: 8.617 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.801e-05/0.4769, allocations: 32 kB / 448 MB, free: 8.586 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001/0.4771, allocations: 41.7 kB / 448 MB, free: 8.539 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001201/0.4772, allocations: 61.69 kB / 448.1 MB, free: 8.473 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.657e-06/0.4772, allocations: 0 / 448.1 MB, free: 8.473 MB / 378.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003225/0.4775, allocations: 144.2 kB / 448.2 MB, free: 8.32 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.477e-05/0.4776, allocations: 51.38 kB / 448.3 MB, free: 8.266 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.928e-06/0.4776, allocations: 0 / 448.3 MB, free: 8.266 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.4777, allocations: 0 / 448.3 MB, free: 8.266 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001048/0.4778, allocations: 8.938 kB / 448.3 MB, free: 8.258 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.293e-05/0.4778, allocations: 7.953 kB / 448.3 MB, free: 8.25 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.194e-05/0.4779, allocations: 15.83 kB / 448.3 MB, free: 8.234 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.889e-05/0.4779, allocations: 4 kB / 448.3 MB, free: 8.23 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 (8): * Single equations (assignments): 7 * 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.0001024/0.478, allocations: 113.8 kB / 448.4 MB, free: 8.113 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.84e-05/0.4781, allocations: 8.656 kB / 448.4 MB, free: 8.105 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002418/0.4783, allocations: 94.64 kB / 448.5 MB, free: 8.004 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.109e-06/0.4784, allocations: 0 / 448.5 MB, free: 8.004 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.055e-06/0.4784, allocations: 0 / 448.5 MB, free: 8.004 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.593e-06/0.4784, allocations: 8.969 kB / 448.5 MB, free: 7.996 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002127/0.4786, allocations: 185.6 kB / 448.7 MB, free: 7.766 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.448e-06/0.4786, allocations: 0 / 448.7 MB, free: 7.766 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.08e-05/0.4787, allocations: 6.125 kB / 448.7 MB, free: 7.762 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.6e-06/0.4787, allocations: 4 kB / 448.7 MB, free: 7.758 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.073e-05/0.4787, allocations: 0 / 448.7 MB, free: 7.758 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.952e-06/0.4787, allocations: 3.984 kB / 448.7 MB, free: 7.754 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.831e-06/0.4787, allocations: 4 kB / 448.7 MB, free: 7.75 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002285/0.479, allocations: 116.8 kB / 448.9 MB, free: 7.617 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001097/0.4791, allocations: 97 kB / 448.9 MB, free: 7.504 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.747e-05/0.4791, allocations: 0 / 448.9 MB, free: 7.504 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.72e-05/0.4792, allocations: 9.391 kB / 449 MB, free: 7.496 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.296e-05/0.4793, allocations: 0 / 449 MB, free: 7.496 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.591e-05/0.4793, allocations: 4 kB / 449 MB, free: 7.492 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001606/0.4795, allocations: 135.2 kB / 449.1 MB, free: 7.359 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.62e-07/0.4795, allocations: 0 / 449.1 MB, free: 7.359 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003224/0.4798, allocations: 35.94 kB / 449.1 MB, free: 7.324 MB / 378.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: 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 (6): * Single equations (assignments): 4 * 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.001297/0.4811, allocations: 379.6 kB / 449.5 MB, free: 7.023 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000308/0.4815, allocations: 147.3 kB / 449.6 MB, free: 6.867 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.4815, allocations: 0 / 449.6 MB, free: 6.867 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.711e-05/0.4815, allocations: 20 kB / 449.7 MB, free: 6.848 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002639/0.4818, allocations: 19.92 kB / 449.7 MB, free: 6.828 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004318/0.4823, allocations: 168.8 kB / 449.8 MB, free: 6.637 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003881/0.4827, allocations: 0.7097 MB / 450.6 MB, free: 5.902 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.684e-05/0.4827, allocations: 11.44 kB / 450.6 MB, free: 5.891 MB / 378.7 MB Notification: Performance of SimCode: time 2e-06/0.4828, allocations: 0 / 450.6 MB, free: 5.891 MB / 378.7 MB Notification: Performance of Templates: time 0.004416/0.4872, allocations: 1.702 MB / 452.3 MB, free: 4.191 MB / 378.7 MB