Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test61,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.Test61") Notification: Performance of loadModel(ModelicaTest): time 2.205/2.205, allocations: 235 MB / 247.6 MB, free: 14.37 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.867e-05/3.872e-05, allocations: 12 kB / 304.9 MB, free: 5.656 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3203/0.3204, allocations: 54.86 MB / 359.8 MB, free: 2.668 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1281/0.4485, allocations: 81.89 MB / 441.7 MB, free: 15.11 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002098/0.4487, allocations: 71.97 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.01906/0.4678, allocations: 4.643 MB / 446.4 MB, free: 10.43 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.121e-06/0.4678, allocations: 0 / 446.4 MB, free: 10.43 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.637e-05/0.4679, allocations: 4 kB / 446.4 MB, free: 10.42 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.0005768/0.4685, allocations: 461.4 kB / 446.8 MB, free: 9.914 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.4685, allocations: 8.031 kB / 446.8 MB, free: 9.906 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.669e-05/0.4686, allocations: 15.81 kB / 446.8 MB, free: 9.891 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003807/0.469, allocations: 218.9 kB / 447.1 MB, free: 9.637 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.191e-05/0.469, allocations: 4 kB / 447.1 MB, free: 9.633 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.142e-05/0.469, allocations: 4 kB / 447.1 MB, free: 9.629 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001267/0.4692, allocations: 49.67 kB / 447.1 MB, free: 9.574 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.4692, allocations: 2.5 kB / 447.1 MB, free: 9.574 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.347e-05/0.4692, allocations: 3.953 kB / 447.1 MB, free: 9.57 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.19e-06/0.4692, allocations: 0 / 447.1 MB, free: 9.57 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.142e-05/0.4693, allocations: 16 kB / 447.1 MB, free: 9.555 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002707/0.4696, allocations: 213.5 kB / 447.3 MB, free: 9.297 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001423/0.4698, allocations: 54.62 kB / 447.4 MB, free: 9.234 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.223e-05/0.4698, allocations: 17.8 kB / 447.4 MB, free: 9.215 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.456e-05/0.4698, allocations: 0 / 447.4 MB, free: 9.215 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001533/0.47, allocations: 67.48 kB / 447.5 MB, free: 9.137 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 4.905e-06/0.47, allocations: 3.984 kB / 447.5 MB, free: 9.133 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002486/0.4703, allocations: 97.47 kB / 447.6 MB, free: 9.031 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.472e-05/0.4703, allocations: 51.41 kB / 447.6 MB, free: 8.969 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003467/0.4707, allocations: 233.8 kB / 447.9 MB, free: 8.73 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.512e-05/0.4707, allocations: 25.7 kB / 447.9 MB, free: 8.699 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001222/0.4709, allocations: 174.5 kB / 448.1 MB, free: 8.527 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.458e-05/0.4709, allocations: 15.75 kB / 448.1 MB, free: 8.512 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.851e-06/0.4709, allocations: 4.938 kB / 448.1 MB, free: 8.508 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000159/0.4711, allocations: 314.8 kB / 448.4 MB, free: 8.191 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.484e-05/0.4712, allocations: 28 kB / 448.4 MB, free: 8.164 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.53e-05/0.4713, allocations: 51.67 kB / 448.5 MB, free: 8.109 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001195/0.4715, allocations: 62.25 kB / 448.5 MB, free: 8.043 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.529e-06/0.4715, allocations: 0 / 448.5 MB, free: 8.043 MB / 378.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003102/0.4718, allocations: 144.9 kB / 448.7 MB, free: 7.891 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.751e-05/0.4719, allocations: 37.64 kB / 448.7 MB, free: 7.848 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.256e-06/0.4719, allocations: 7.984 kB / 448.7 MB, free: 7.84 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.25e-05/0.4719, allocations: 0 / 448.7 MB, free: 7.84 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001002/0.472, allocations: 8.031 kB / 448.7 MB, free: 7.832 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.092e-05/0.472, allocations: 11.89 kB / 448.7 MB, free: 7.82 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.041e-05/0.4721, allocations: 11.91 kB / 448.7 MB, free: 7.809 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.872e-05/0.4722, allocations: 4 kB / 448.7 MB, free: 7.805 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 9.94e-05/0.4723, allocations: 113 kB / 448.9 MB, free: 7.688 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.728e-05/0.4723, allocations: 11.91 kB / 448.9 MB, free: 7.676 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002403/0.4726, allocations: 92.3 kB / 449 MB, free: 7.578 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.023e-06/0.4726, allocations: 0 / 449 MB, free: 7.578 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.954e-06/0.4726, allocations: 0 / 449 MB, free: 7.578 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.685e-06/0.4726, allocations: 7.953 kB / 449 MB, free: 7.57 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002306/0.4729, allocations: 209.6 kB / 449.2 MB, free: 7.316 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.617e-06/0.4729, allocations: 4 kB / 449.2 MB, free: 7.312 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.226e-05/0.4729, allocations: 7.938 kB / 449.2 MB, free: 7.305 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.325e-06/0.473, allocations: 0 / 449.2 MB, free: 7.305 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.525e-05/0.473, allocations: 7.984 kB / 449.2 MB, free: 7.297 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.646e-06/0.473, allocations: 0 / 449.2 MB, free: 7.297 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.58e-06/0.473, allocations: 0.5625 kB / 449.2 MB, free: 7.297 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002271/0.4732, allocations: 117 kB / 449.3 MB, free: 7.164 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001204/0.4734, allocations: 104.9 kB / 449.4 MB, free: 7.043 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.121e-05/0.4734, allocations: 0 / 449.4 MB, free: 7.043 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.693e-05/0.4735, allocations: 4 kB / 449.4 MB, free: 7.039 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.746e-05/0.4735, allocations: 8 kB / 449.4 MB, free: 7.031 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.296e-05/0.4736, allocations: 5.391 kB / 449.4 MB, free: 7.027 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002456/0.4738, allocations: 192 kB / 449.6 MB, free: 6.84 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.15e-07/0.4738, allocations: 0 / 449.6 MB, free: 6.84 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000323/0.4742, allocations: 32 kB / 449.6 MB, free: 6.809 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.001275/0.4755, allocations: 390.3 kB / 450 MB, free: 6.496 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002928/0.4758, allocations: 147.4 kB / 450.2 MB, free: 6.34 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.751e-06/0.4758, allocations: 0 / 450.2 MB, free: 6.34 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.714e-05/0.4759, allocations: 19.94 kB / 450.2 MB, free: 6.32 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002541/0.4761, allocations: 19.22 kB / 450.2 MB, free: 6.301 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005358/0.4767, allocations: 235.3 kB / 450.4 MB, free: 6.039 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004106/0.4771, allocations: 0.7161 MB / 451.2 MB, free: 5.297 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.191e-05/0.4772, allocations: 19.42 kB / 451.2 MB, free: 5.277 MB / 378.7 MB Notification: Performance of SimCode: time 1.492e-06/0.4772, allocations: 0 / 451.2 MB, free: 5.277 MB / 378.7 MB Notification: Performance of Templates: time 0.004724/0.4819, allocations: 1.909 MB / 453.1 MB, free: 3.367 MB / 378.7 MB