Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test60,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.Test60") Notification: Performance of loadModel(ModelicaTest): time 2.244/2.244, allocations: 235 MB / 247.6 MB, free: 14.34 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.226e-05/3.246e-05, allocations: 4 kB / 304.9 MB, free: 5.641 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3214/0.3214, allocations: 54.84 MB / 359.8 MB, free: 2.664 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1292/0.4507, allocations: 82.28 MB / 442 MB, free: 14.71 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002472/0.451, allocations: 71.97 kB / 442.1 MB, free: 14.64 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.0209/0.4719, allocations: 4.913 MB / 447 MB, free: 9.758 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.843e-06/0.4719, allocations: 0 / 447 MB, free: 9.758 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.247e-05/0.4719, allocations: 0 / 447 MB, free: 9.758 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.0005936/0.4726, allocations: 449.6 kB / 447.5 MB, free: 9.262 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.482e-05/0.4726, allocations: 11.97 kB / 447.5 MB, free: 9.25 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.098e-05/0.4727, allocations: 7.906 kB / 447.5 MB, free: 9.242 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003516/0.473, allocations: 200.3 kB / 447.7 MB, free: 9.008 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.203e-05/0.4731, allocations: 8 kB / 447.7 MB, free: 9 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.86e-05/0.4731, allocations: 4 kB / 447.7 MB, free: 8.996 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001685/0.4733, allocations: 71.39 kB / 447.8 MB, free: 8.914 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/0.4733, allocations: 0 / 447.8 MB, free: 8.914 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.552e-05/0.4733, allocations: 3.953 kB / 447.8 MB, free: 8.91 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.27e-06/0.4734, allocations: 0 / 447.8 MB, free: 8.91 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.493e-05/0.4734, allocations: 19.94 kB / 447.8 MB, free: 8.891 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004748/0.4739, allocations: 309.6 kB / 448.1 MB, free: 8.539 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001628/0.4741, allocations: 59.52 kB / 448.1 MB, free: 8.473 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.495e-05/0.4742, allocations: 16.98 kB / 448.2 MB, free: 8.453 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.711e-05/0.4742, allocations: 3.953 kB / 448.2 MB, free: 8.449 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001635/0.4744, allocations: 75.33 kB / 448.2 MB, free: 8.363 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.488e-06/0.4744, allocations: 4 kB / 448.2 MB, free: 8.359 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005566/0.475, allocations: 150.3 kB / 448.4 MB, free: 8.207 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.474e-05/0.4751, allocations: 81.11 kB / 448.5 MB, free: 8.109 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001796/0.4753, allocations: 135 kB / 448.6 MB, free: 7.969 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.468e-05/0.4753, allocations: 29.7 kB / 448.6 MB, free: 7.934 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.665e-05/0.4754, allocations: 163 kB / 448.8 MB, free: 7.773 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.879e-05/0.4755, allocations: 27.64 kB / 448.8 MB, free: 7.746 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.141e-05/0.4755, allocations: 0 / 448.8 MB, free: 7.746 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001608/0.4757, allocations: 322.8 kB / 449.1 MB, free: 7.422 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.862e-05/0.4758, allocations: 31.94 kB / 449.2 MB, free: 7.391 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001091/0.4759, allocations: 56.53 kB / 449.2 MB, free: 7.328 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001232/0.476, allocations: 66.72 kB / 449.3 MB, free: 7.258 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.559e-06/0.476, allocations: 3.953 kB / 449.3 MB, free: 7.254 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003216/0.4764, allocations: 147.3 kB / 449.4 MB, free: 7.098 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.233e-05/0.4764, allocations: 41.69 kB / 449.5 MB, free: 7.051 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.27e-06/0.4765, allocations: 4.062 kB / 449.5 MB, free: 7.047 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/0.4765, allocations: 0 / 449.5 MB, free: 7.047 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00012/0.4766, allocations: 12 kB / 449.5 MB, free: 7.035 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.01e-05/0.4766, allocations: 4 kB / 449.5 MB, free: 7.031 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.524e-05/0.4767, allocations: 7.984 kB / 449.5 MB, free: 7.023 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.076e-05/0.4768, allocations: 4 kB / 449.5 MB, free: 7.02 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.0001046/0.4769, allocations: 111 kB / 449.6 MB, free: 6.906 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.404e-05/0.4769, allocations: 11.86 kB / 449.6 MB, free: 6.895 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003266/0.4773, allocations: 126.3 kB / 449.7 MB, free: 6.766 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.46e-06/0.4773, allocations: 0 / 449.7 MB, free: 6.766 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.963e-06/0.4773, allocations: 0 / 449.7 MB, free: 6.766 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.116e-06/0.4773, allocations: 0 / 449.7 MB, free: 6.766 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006159/0.4779, allocations: 399.2 kB / 450.1 MB, free: 6.316 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.524e-06/0.4779, allocations: 0 / 450.1 MB, free: 6.316 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.927e-05/0.478, allocations: 11.98 kB / 450.1 MB, free: 6.305 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.88e-06/0.478, allocations: 7.938 kB / 450.2 MB, free: 6.297 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.598e-05/0.4781, allocations: 8.969 kB / 450.2 MB, free: 6.289 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.89e-06/0.4781, allocations: 0 / 450.2 MB, free: 6.289 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.506e-06/0.4781, allocations: 4 kB / 450.2 MB, free: 6.285 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003064/0.4784, allocations: 213.9 kB / 450.4 MB, free: 6.051 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.875e-05/0.4785, allocations: 97.84 kB / 450.5 MB, free: 5.938 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.951e-05/0.4786, allocations: 0 / 450.5 MB, free: 5.938 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001232/0.4787, allocations: 11.98 kB / 450.5 MB, free: 5.926 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.758e-05/0.4788, allocations: 4 kB / 450.5 MB, free: 5.922 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.107e-05/0.4788, allocations: 11.98 kB / 450.5 MB, free: 5.91 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001225/0.4789, allocations: 110.5 kB / 450.6 MB, free: 5.805 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.68e-07/0.4789, allocations: 0 / 450.6 MB, free: 5.805 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004221/0.4794, allocations: 55.86 kB / 450.7 MB, free: 5.75 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.001744/0.4811, allocations: 0.5003 MB / 451.2 MB, free: 5.328 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003211/0.4815, allocations: 147.3 kB / 451.3 MB, free: 5.172 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.328e-06/0.4815, allocations: 0 / 451.3 MB, free: 5.172 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.11e-05/0.4816, allocations: 31.94 kB / 451.3 MB, free: 5.141 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003026/0.4819, allocations: 15.98 kB / 451.3 MB, free: 5.125 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004194/0.4823, allocations: 153.5 kB / 451.5 MB, free: 4.941 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003896/0.4828, allocations: 0.7045 MB / 452.2 MB, free: 4.211 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.49e-05/0.4828, allocations: 23.42 kB / 452.2 MB, free: 4.191 MB / 378.7 MB Notification: Performance of SimCode: time 1.374e-06/0.4829, allocations: 0 / 452.2 MB, free: 4.191 MB / 378.7 MB Notification: Performance of Templates: time 0.005063/0.4879, allocations: 2.105 MB / 454.3 MB, free: 2.09 MB / 378.7 MB