Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test49,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.Test49") Notification: Performance of loadModel(ModelicaTest): time 2.228/2.228, allocations: 235 MB / 247.6 MB, free: 14.57 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.543e-05/3.554e-05, allocations: 4 kB / 304.9 MB, free: 5.875 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3251/0.3252, allocations: 54.86 MB / 359.8 MB, free: 2.586 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1277/0.453, allocations: 82.06 MB / 441.8 MB, free: 14.97 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002456/0.4532, allocations: 71.97 kB / 441.9 MB, free: 14.9 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.02013/0.4734, allocations: 4.816 MB / 446.7 MB, free: 10.12 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.165e-06/0.4734, allocations: 0 / 446.7 MB, free: 10.12 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.72e-05/0.4735, allocations: 4 kB / 446.7 MB, free: 10.11 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.0006281/0.4741, allocations: 481.4 kB / 447.2 MB, free: 9.586 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/0.4742, allocations: 11.97 kB / 447.2 MB, free: 9.574 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.883e-05/0.4742, allocations: 15.81 kB / 447.2 MB, free: 9.559 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003737/0.4746, allocations: 214.8 kB / 447.4 MB, free: 9.309 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.241e-05/0.4747, allocations: 4 kB / 447.4 MB, free: 9.305 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.037e-05/0.4747, allocations: 7.984 kB / 447.4 MB, free: 9.297 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001459/0.4749, allocations: 53.69 kB / 447.5 MB, free: 9.238 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.567e-05/0.4749, allocations: 4 kB / 447.5 MB, free: 9.234 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.502e-05/0.4749, allocations: 7.891 kB / 447.5 MB, free: 9.227 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.543e-06/0.4749, allocations: 0 / 447.5 MB, free: 9.227 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.361e-05/0.475, allocations: 23.98 kB / 447.5 MB, free: 9.203 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005182/0.4755, allocations: 328.8 kB / 447.8 MB, free: 8.832 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001564/0.4757, allocations: 54.69 kB / 447.9 MB, free: 8.77 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.679e-05/0.4758, allocations: 16.98 kB / 447.9 MB, free: 8.75 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.461e-05/0.4758, allocations: 0 / 447.9 MB, free: 8.75 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001707/0.476, allocations: 79.28 kB / 448 MB, free: 8.66 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.637e-06/0.476, allocations: 0 / 448 MB, free: 8.66 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005768/0.4766, allocations: 177.1 kB / 448.2 MB, free: 8.48 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.784e-05/0.4767, allocations: 55.34 kB / 448.2 MB, free: 8.414 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003485/0.477, allocations: 229.8 kB / 448.4 MB, free: 8.18 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.692e-05/0.4771, allocations: 26.27 kB / 448.5 MB, free: 8.148 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000127/0.4772, allocations: 174.5 kB / 448.6 MB, free: 7.977 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.008e-05/0.4773, allocations: 27.64 kB / 448.7 MB, free: 7.949 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.028e-06/0.4773, allocations: 0 / 448.7 MB, free: 7.949 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001611/0.4774, allocations: 322.8 kB / 449 MB, free: 7.625 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000104/0.4776, allocations: 35.98 kB / 449 MB, free: 7.59 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001196/0.4777, allocations: 56.38 kB / 449.1 MB, free: 7.531 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001369/0.4778, allocations: 69.69 kB / 449.1 MB, free: 7.457 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.481e-06/0.4779, allocations: 3.984 kB / 449.1 MB, free: 7.453 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003641/0.4782, allocations: 167.3 kB / 449.3 MB, free: 7.277 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.935e-05/0.4783, allocations: 39.42 kB / 449.3 MB, free: 7.234 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.75e-06/0.4783, allocations: 4.031 kB / 449.3 MB, free: 7.23 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/0.4783, allocations: 0 / 449.3 MB, free: 7.23 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001256/0.4785, allocations: 20.17 kB / 449.4 MB, free: 7.211 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.17e-06/0.4785, allocations: 0 / 449.4 MB, free: 7.211 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.032e-05/0.4786, allocations: 8 kB / 449.4 MB, free: 7.203 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.646e-05/0.4786, allocations: 8 kB / 449.4 MB, free: 7.195 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.0001094/0.4788, allocations: 113.5 kB / 449.5 MB, free: 7.078 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.038e-05/0.4788, allocations: 22.3 kB / 449.5 MB, free: 7.059 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003195/0.4791, allocations: 123.2 kB / 449.6 MB, free: 6.926 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.129e-06/0.4792, allocations: 3.938 kB / 449.6 MB, free: 6.922 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.221e-06/0.4792, allocations: 0 / 449.6 MB, free: 6.922 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.966e-06/0.4792, allocations: 0 / 449.6 MB, free: 6.922 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006804/0.4799, allocations: 431.2 kB / 450.1 MB, free: 6.441 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/0.4799, allocations: 0 / 450.1 MB, free: 6.441 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.61e-05/0.48, allocations: 15.94 kB / 450.1 MB, free: 6.426 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.483e-06/0.48, allocations: 4 kB / 450.1 MB, free: 6.422 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.542e-05/0.48, allocations: 3.984 kB / 450.1 MB, free: 6.418 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.467e-06/0.48, allocations: 4.031 kB / 450.1 MB, free: 6.414 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.319e-06/0.4801, allocations: 4 kB / 450.1 MB, free: 6.41 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003169/0.4804, allocations: 217.9 kB / 450.3 MB, free: 6.172 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001212/0.4805, allocations: 104.9 kB / 450.4 MB, free: 6.051 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.949e-05/0.4806, allocations: 4 kB / 450.4 MB, free: 6.047 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001255/0.4807, allocations: 13.11 kB / 450.4 MB, free: 6.035 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.924e-05/0.4808, allocations: 4 kB / 450.4 MB, free: 6.031 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.591e-05/0.4808, allocations: 4 kB / 450.4 MB, free: 6.027 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002557/0.481, allocations: 192 kB / 450.6 MB, free: 5.84 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.97e-07/0.4811, allocations: 0 / 450.6 MB, free: 5.84 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004145/0.4815, allocations: 47.92 kB / 450.7 MB, free: 5.793 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.001438/0.4829, allocations: 417 kB / 451.1 MB, free: 5.457 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003386/0.4833, allocations: 171.3 kB / 451.2 MB, free: 5.277 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.829e-06/0.4833, allocations: 0 / 451.2 MB, free: 5.277 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.173e-05/0.4834, allocations: 31.94 kB / 451.3 MB, free: 5.246 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003179/0.4838, allocations: 27.17 kB / 451.3 MB, free: 5.219 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005788/0.4843, allocations: 248.4 kB / 451.5 MB, free: 4.945 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004258/0.4848, allocations: 0.7199 MB / 452.3 MB, free: 4.199 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.173e-05/0.4849, allocations: 15.44 kB / 452.3 MB, free: 4.184 MB / 378.7 MB Notification: Performance of SimCode: time 1.597e-06/0.4849, allocations: 0 / 452.3 MB, free: 4.184 MB / 378.7 MB Notification: Performance of Templates: time 0.005179/0.4901, allocations: 2.157 MB / 454.4 MB, free: 2.027 MB / 378.7 MB