Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test47,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.Test47") Notification: Performance of loadModel(ModelicaTest): time 2.161/2.161, allocations: 235 MB / 247.6 MB, free: 14.39 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.691e-05/3.715e-05, allocations: 4 kB / 304.9 MB, free: 5.656 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3222/0.3223, allocations: 54.85 MB / 359.8 MB, free: 2.652 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1261/0.4484, allocations: 82.06 MB / 441.8 MB, free: 14.95 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002287/0.4487, allocations: 76.55 kB / 441.9 MB, free: 14.88 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.01974/0.4685, allocations: 4.824 MB / 446.7 MB, free: 10.09 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.404e-06/0.4685, allocations: 0 / 446.7 MB, free: 10.09 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.309e-05/0.4685, allocations: 0 / 446.7 MB, free: 10.09 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.0005987/0.4691, allocations: 473.4 kB / 447.2 MB, free: 9.57 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.427e-05/0.4692, allocations: 11.97 kB / 447.2 MB, free: 9.559 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.109e-05/0.4693, allocations: 15.81 kB / 447.2 MB, free: 9.543 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003861/0.4697, allocations: 223.4 kB / 447.4 MB, free: 9.285 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.465e-05/0.4697, allocations: 4 kB / 447.4 MB, free: 9.281 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.399e-05/0.4698, allocations: 4 kB / 447.4 MB, free: 9.277 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001389/0.4699, allocations: 57.67 kB / 447.5 MB, free: 9.215 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.678e-05/0.4699, allocations: 7.906 kB / 447.5 MB, free: 9.207 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.795e-05/0.47, allocations: 7.953 kB / 447.5 MB, free: 9.199 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.564e-06/0.47, allocations: 0.5625 kB / 447.5 MB, free: 9.199 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.639e-05/0.4701, allocations: 23.92 kB / 447.5 MB, free: 9.176 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005189/0.4706, allocations: 320.9 kB / 447.8 MB, free: 8.812 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001601/0.4708, allocations: 54.69 kB / 447.9 MB, free: 8.75 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.444e-05/0.4709, allocations: 16.98 kB / 447.9 MB, free: 8.73 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.776e-05/0.4709, allocations: 3.953 kB / 447.9 MB, free: 8.727 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001691/0.4711, allocations: 81.66 kB / 448 MB, free: 8.637 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.763e-06/0.4711, allocations: 0 / 448 MB, free: 8.637 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005684/0.4717, allocations: 169.1 kB / 448.2 MB, free: 8.465 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.145e-05/0.4717, allocations: 51.41 kB / 448.2 MB, free: 8.402 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003486/0.4721, allocations: 233.8 kB / 448.4 MB, free: 8.164 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.441e-05/0.4721, allocations: 33.64 kB / 448.5 MB, free: 8.125 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001093/0.4723, allocations: 170.5 kB / 448.6 MB, free: 7.957 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.664e-05/0.4723, allocations: 23.66 kB / 448.7 MB, free: 7.934 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.959e-06/0.4723, allocations: 0 / 448.7 MB, free: 7.934 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001611/0.4725, allocations: 326.8 kB / 449 MB, free: 7.605 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.929e-05/0.4726, allocations: 32 kB / 449 MB, free: 7.574 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001172/0.4727, allocations: 58.48 kB / 449.1 MB, free: 7.512 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001376/0.4729, allocations: 69.69 kB / 449.1 MB, free: 7.438 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.811e-06/0.4729, allocations: 0 / 449.1 MB, free: 7.438 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003866/0.4733, allocations: 171.3 kB / 449.3 MB, free: 7.258 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.068e-05/0.4734, allocations: 39.41 kB / 449.3 MB, free: 7.215 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.216e-06/0.4734, allocations: 5.438 kB / 449.3 MB, free: 7.211 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.4734, allocations: 0 / 449.3 MB, free: 7.211 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000133/0.4736, allocations: 19.98 kB / 449.4 MB, free: 7.191 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.995e-06/0.4736, allocations: 0 / 449.4 MB, free: 7.191 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.112e-05/0.4737, allocations: 8 kB / 449.4 MB, free: 7.184 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.122e-05/0.4737, allocations: 4 kB / 449.4 MB, free: 7.18 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.0001089/0.4738, allocations: 109.5 kB / 449.5 MB, free: 7.066 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.979e-05/0.4739, allocations: 23.7 kB / 449.5 MB, free: 7.043 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003171/0.4742, allocations: 123.2 kB / 449.6 MB, free: 6.91 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.033e-06/0.4742, allocations: 1.312 kB / 449.6 MB, free: 6.91 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.671e-06/0.4743, allocations: 0 / 449.6 MB, free: 6.91 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.806e-06/0.4743, allocations: 7.969 kB / 449.6 MB, free: 6.902 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006792/0.475, allocations: 439.2 kB / 450.1 MB, free: 6.414 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.219e-06/0.475, allocations: 0 / 450.1 MB, free: 6.414 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.711e-05/0.4751, allocations: 11.94 kB / 450.1 MB, free: 6.402 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.779e-06/0.4751, allocations: 4 kB / 450.1 MB, free: 6.398 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.251e-05/0.4751, allocations: 0 / 450.1 MB, free: 6.398 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.742e-06/0.4751, allocations: 4.031 kB / 450.1 MB, free: 6.395 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.281e-06/0.4751, allocations: 4 kB / 450.1 MB, free: 6.391 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003177/0.4755, allocations: 223.2 kB / 450.3 MB, free: 6.148 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001215/0.4756, allocations: 105 kB / 450.4 MB, free: 6.027 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.914e-05/0.4757, allocations: 8 kB / 450.4 MB, free: 6.02 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001195/0.4758, allocations: 4 kB / 450.4 MB, free: 6.016 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.099e-05/0.4758, allocations: 7.984 kB / 450.4 MB, free: 6.008 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.527e-05/0.4759, allocations: 4 kB / 450.4 MB, free: 6.004 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002511/0.4761, allocations: 192 kB / 450.6 MB, free: 5.816 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.96e-07/0.4761, allocations: 0 / 450.6 MB, free: 5.816 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004009/0.4765, allocations: 43.94 kB / 450.7 MB, free: 5.773 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.001446/0.478, allocations: 422.9 kB / 451.1 MB, free: 5.434 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003286/0.4784, allocations: 159.3 kB / 451.2 MB, free: 5.266 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.079e-06/0.4784, allocations: 0 / 451.2 MB, free: 5.266 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.482e-05/0.4785, allocations: 35.92 kB / 451.3 MB, free: 5.23 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003104/0.4788, allocations: 31.31 kB / 451.3 MB, free: 5.199 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000592/0.4794, allocations: 252.3 kB / 451.5 MB, free: 4.922 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004243/0.4799, allocations: 0.7199 MB / 452.3 MB, free: 4.176 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.827e-05/0.4799, allocations: 15.44 kB / 452.3 MB, free: 4.16 MB / 378.7 MB Notification: Performance of SimCode: time 3.825e-06/0.4799, allocations: 0 / 452.3 MB, free: 4.16 MB / 378.7 MB Notification: Performance of Templates: time 0.00509/0.485, allocations: 2.157 MB / 454.4 MB, free: 2.004 MB / 378.7 MB