Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test2,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.Test2") Notification: Performance of loadModel(ModelicaTest): time 2.182/2.182, allocations: 235 MB / 247.6 MB, free: 14.61 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.184e-05/3.189e-05, allocations: 4 kB / 304.9 MB, free: 5.867 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3199/0.32, allocations: 54.86 MB / 359.8 MB, free: 2.57 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.127/0.447, allocations: 82.02 MB / 441.8 MB, free: 15.01 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000239/0.4473, allocations: 71.97 kB / 441.9 MB, free: 14.94 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.01851/0.4658, allocations: 4.304 MB / 446.2 MB, free: 10.66 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.895e-06/0.4659, allocations: 3.938 kB / 446.2 MB, free: 10.66 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.733e-05/0.4659, allocations: 0 / 446.2 MB, free: 10.66 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.0005738/0.4665, allocations: 453.5 kB / 446.6 MB, free: 10.16 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.127e-05/0.4665, allocations: 11.97 kB / 446.6 MB, free: 10.14 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.006e-05/0.4666, allocations: 7.906 kB / 446.6 MB, free: 10.14 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000333/0.4669, allocations: 195 kB / 446.8 MB, free: 9.906 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.379e-05/0.467, allocations: 11.94 kB / 446.8 MB, free: 9.895 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.804e-05/0.467, allocations: 8 kB / 446.8 MB, free: 9.887 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00014/0.4672, allocations: 57.62 kB / 446.9 MB, free: 9.824 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.4672, allocations: 0 / 446.9 MB, free: 9.824 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.163e-05/0.4672, allocations: 0 / 446.9 MB, free: 9.824 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.087e-06/0.4673, allocations: 4 kB / 446.9 MB, free: 9.82 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.33e-05/0.4673, allocations: 19.98 kB / 446.9 MB, free: 9.801 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00049/0.4678, allocations: 316.8 kB / 447.2 MB, free: 9.441 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001558/0.468, allocations: 66.56 kB / 447.3 MB, free: 9.367 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.873e-05/0.4681, allocations: 16.98 kB / 447.3 MB, free: 9.348 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.072e-05/0.4681, allocations: 0 / 447.3 MB, free: 9.348 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001521/0.4683, allocations: 68.27 kB / 447.4 MB, free: 9.27 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.593e-06/0.4683, allocations: 0 / 447.4 MB, free: 9.27 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005702/0.4689, allocations: 158.3 kB / 447.5 MB, free: 9.109 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.905e-05/0.4689, allocations: 55.41 kB / 447.6 MB, free: 9.043 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001946/0.4691, allocations: 152.4 kB / 447.7 MB, free: 8.887 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.013e-05/0.4692, allocations: 29.7 kB / 447.8 MB, free: 8.852 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.331e-05/0.4693, allocations: 158.6 kB / 447.9 MB, free: 8.695 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.654e-05/0.4693, allocations: 23.64 kB / 447.9 MB, free: 8.672 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.3e-05/0.4694, allocations: 8 kB / 447.9 MB, free: 8.664 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001542/0.4695, allocations: 314.8 kB / 448.3 MB, free: 8.348 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001/0.4696, allocations: 36 kB / 448.3 MB, free: 8.312 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001178/0.4698, allocations: 58.5 kB / 448.3 MB, free: 8.25 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001343/0.4699, allocations: 69.67 kB / 448.4 MB, free: 8.176 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.045e-06/0.4699, allocations: 0.6562 kB / 448.4 MB, free: 8.176 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003576/0.4703, allocations: 171.3 kB / 448.6 MB, free: 7.996 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.814e-05/0.4704, allocations: 39.41 kB / 448.6 MB, free: 7.953 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.917e-06/0.4704, allocations: 1.25 kB / 448.6 MB, free: 7.953 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/0.4704, allocations: 0 / 448.6 MB, free: 7.953 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001254/0.4705, allocations: 23.94 kB / 448.6 MB, free: 7.93 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.604e-06/0.4706, allocations: 1.031 kB / 448.6 MB, free: 7.93 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.139e-05/0.4707, allocations: 12.02 kB / 448.7 MB, free: 7.918 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.069e-05/0.4707, allocations: 4 kB / 448.7 MB, free: 7.914 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.0001057/0.4708, allocations: 115.4 kB / 448.8 MB, free: 7.797 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.147e-05/0.4709, allocations: 15.77 kB / 448.8 MB, free: 7.781 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000297/0.4712, allocations: 114.3 kB / 448.9 MB, free: 7.664 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.4712, allocations: 96 / 448.9 MB, free: 7.664 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.4712, allocations: 3.938 kB / 448.9 MB, free: 7.66 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.571e-06/0.4712, allocations: 0 / 448.9 MB, free: 7.66 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005961/0.4718, allocations: 405.2 kB / 449.3 MB, free: 7.207 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.332e-06/0.4719, allocations: 0 / 449.3 MB, free: 7.207 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.992e-05/0.4719, allocations: 12 kB / 449.3 MB, free: 7.195 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.063e-06/0.4719, allocations: 0 / 449.3 MB, free: 7.195 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.474e-05/0.472, allocations: 3.984 kB / 449.3 MB, free: 7.191 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.688e-06/0.472, allocations: 0 / 449.3 MB, free: 7.191 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.96e-06/0.472, allocations: 4 kB / 449.3 MB, free: 7.188 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003073/0.4723, allocations: 221.9 kB / 449.5 MB, free: 6.945 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.94e-05/0.4724, allocations: 96.91 kB / 449.6 MB, free: 6.832 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.222e-05/0.4725, allocations: 8 kB / 449.6 MB, free: 6.824 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001067/0.4726, allocations: 0 / 449.6 MB, free: 6.824 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.069e-05/0.4726, allocations: 7.984 kB / 449.6 MB, free: 6.816 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.529e-05/0.4727, allocations: 4 kB / 449.6 MB, free: 6.812 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001399/0.4728, allocations: 119.8 kB / 449.8 MB, free: 6.695 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.64e-07/0.4728, allocations: 0 / 449.8 MB, free: 6.695 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003917/0.4732, allocations: 39.92 kB / 449.8 MB, free: 6.656 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.001437/0.4747, allocations: 428.2 kB / 450.2 MB, free: 6.305 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003363/0.475, allocations: 167.3 kB / 450.4 MB, free: 6.129 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.917e-06/0.4751, allocations: 0 / 450.4 MB, free: 6.129 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.259e-05/0.4752, allocations: 28 kB / 450.4 MB, free: 6.102 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003164/0.4755, allocations: 27.11 kB / 450.4 MB, free: 6.078 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004493/0.476, allocations: 165.5 kB / 450.6 MB, free: 5.879 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003978/0.4764, allocations: 0.7083 MB / 451.3 MB, free: 5.145 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.697e-05/0.4765, allocations: 19.42 kB / 451.3 MB, free: 5.129 MB / 378.7 MB Notification: Performance of SimCode: time 1.743e-06/0.4765, allocations: 0 / 451.3 MB, free: 5.129 MB / 378.7 MB Notification: Performance of Templates: time 0.004613/0.4811, allocations: 1.862 MB / 453.2 MB, free: 3.27 MB / 378.7 MB