Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test53,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.Test53") Notification: Performance of loadModel(ModelicaTest): time 2.314/2.314, allocations: 235 MB / 247.6 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.145e-05/4.168e-05, allocations: 8 kB / 304.9 MB, free: 5.645 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3235/0.3236, allocations: 54.85 MB / 359.8 MB, free: 2.66 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1275/0.4511, allocations: 82.06 MB / 441.8 MB, free: 14.94 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002321/0.4514, allocations: 78.02 kB / 441.9 MB, free: 14.86 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.01946/0.4708, allocations: 4.675 MB / 446.6 MB, free: 10.22 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.186e-06/0.4709, allocations: 0.5625 kB / 446.6 MB, free: 10.22 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.997e-05/0.4709, allocations: 8 kB / 446.6 MB, free: 10.21 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.0006155/0.4715, allocations: 469.5 kB / 447 MB, free: 9.699 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.463e-05/0.4716, allocations: 15.95 kB / 447.1 MB, free: 9.684 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.427e-05/0.4717, allocations: 11.81 kB / 447.1 MB, free: 9.672 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003469/0.472, allocations: 206.8 kB / 447.3 MB, free: 9.43 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.486e-05/0.4721, allocations: 4.562 kB / 447.3 MB, free: 9.426 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.549e-05/0.4721, allocations: 8 kB / 447.3 MB, free: 9.418 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001422/0.4723, allocations: 57.67 kB / 447.3 MB, free: 9.355 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.4723, allocations: 0 / 447.3 MB, free: 9.355 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.424e-05/0.4723, allocations: 3.953 kB / 447.3 MB, free: 9.352 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.291e-06/0.4723, allocations: 0 / 447.3 MB, free: 9.352 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.036e-05/0.4724, allocations: 26.52 kB / 447.4 MB, free: 9.328 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005038/0.4729, allocations: 320.8 kB / 447.7 MB, free: 8.965 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001562/0.4731, allocations: 54.69 kB / 447.7 MB, free: 8.902 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.614e-05/0.4732, allocations: 17.73 kB / 447.7 MB, free: 8.883 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.67e-05/0.4732, allocations: 7.953 kB / 447.8 MB, free: 8.875 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001607/0.4734, allocations: 67.39 kB / 447.8 MB, free: 8.797 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.753e-06/0.4734, allocations: 0 / 447.8 MB, free: 8.797 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005863/0.474, allocations: 173.1 kB / 448 MB, free: 8.621 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.734e-05/0.4741, allocations: 51.41 kB / 448 MB, free: 8.559 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002982/0.4744, allocations: 202.5 kB / 448.2 MB, free: 8.352 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.824e-05/0.4744, allocations: 25.7 kB / 448.3 MB, free: 8.32 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001172/0.4745, allocations: 166.6 kB / 448.4 MB, free: 8.156 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.597e-05/0.4746, allocations: 27.66 kB / 448.5 MB, free: 8.129 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.052e-06/0.4746, allocations: 0 / 448.5 MB, free: 8.129 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001639/0.4748, allocations: 322.8 kB / 448.8 MB, free: 7.805 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.749e-05/0.4749, allocations: 32 kB / 448.8 MB, free: 7.773 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001228/0.475, allocations: 62.42 kB / 448.9 MB, free: 7.707 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001363/0.4752, allocations: 69.69 kB / 448.9 MB, free: 7.633 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.083e-06/0.4752, allocations: 0 / 448.9 MB, free: 7.633 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003631/0.4756, allocations: 171.2 kB / 449.1 MB, free: 7.453 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.999e-05/0.4756, allocations: 39.41 kB / 449.1 MB, free: 7.41 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.825e-06/0.4757, allocations: 0 / 449.1 MB, free: 7.41 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.4757, allocations: 0 / 449.1 MB, free: 7.41 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001218/0.4758, allocations: 19.92 kB / 449.2 MB, free: 7.391 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.917e-06/0.4758, allocations: 4 kB / 449.2 MB, free: 7.387 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.486e-05/0.4759, allocations: 4 kB / 449.2 MB, free: 7.383 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.378e-05/0.476, allocations: 9.781 kB / 449.2 MB, free: 7.375 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.0001005/0.4761, allocations: 105.5 kB / 449.3 MB, free: 7.266 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.179e-05/0.4761, allocations: 23.8 kB / 449.3 MB, free: 7.242 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000312/0.4765, allocations: 123.2 kB / 449.4 MB, free: 7.113 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.066e-06/0.4765, allocations: 4 kB / 449.4 MB, free: 7.109 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.294e-06/0.4765, allocations: 0 / 449.4 MB, free: 7.109 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.117e-06/0.4765, allocations: 3.984 kB / 449.4 MB, free: 7.105 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006605/0.4772, allocations: 419.3 kB / 449.8 MB, free: 6.637 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.75e-06/0.4772, allocations: 0 / 449.8 MB, free: 6.637 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.764e-05/0.4773, allocations: 12.03 kB / 449.8 MB, free: 6.625 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.497e-06/0.4773, allocations: 0 / 449.8 MB, free: 6.625 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.437e-05/0.4773, allocations: 4 kB / 449.8 MB, free: 6.621 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.93e-06/0.4773, allocations: 0 / 449.8 MB, free: 6.621 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.4e-06/0.4773, allocations: 5.391 kB / 449.9 MB, free: 6.617 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003235/0.4777, allocations: 229.8 kB / 450.1 MB, free: 6.367 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001109/0.4778, allocations: 101 kB / 450.2 MB, free: 6.25 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.452e-05/0.4778, allocations: 4 kB / 450.2 MB, free: 6.246 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001144/0.478, allocations: 4 kB / 450.2 MB, free: 6.242 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.163e-05/0.478, allocations: 7.984 kB / 450.2 MB, free: 6.234 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.567e-05/0.478, allocations: 7.938 kB / 450.2 MB, free: 6.227 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000205/0.4783, allocations: 160.3 kB / 450.4 MB, free: 6.07 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.76e-07/0.4783, allocations: 0 / 450.4 MB, free: 6.07 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004075/0.4787, allocations: 48.2 kB / 450.4 MB, free: 6.023 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.00149/0.4802, allocations: 422.9 kB / 450.8 MB, free: 5.68 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003412/0.4806, allocations: 167.3 kB / 451 MB, free: 5.504 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.4806, allocations: 0 / 451 MB, free: 5.504 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.78e-05/0.4807, allocations: 31.94 kB / 451 MB, free: 5.473 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003097/0.481, allocations: 27.25 kB / 451 MB, free: 5.449 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005384/0.4816, allocations: 224.8 kB / 451.3 MB, free: 5.195 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004193/0.482, allocations: 0.7121 MB / 452 MB, free: 4.457 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.909e-05/0.4821, allocations: 19.42 kB / 452 MB, free: 4.438 MB / 378.7 MB Notification: Performance of SimCode: time 1.576e-06/0.4821, allocations: 0 / 452 MB, free: 4.438 MB / 378.7 MB Notification: Performance of Templates: time 0.004953/0.487, allocations: 2.036 MB / 454 MB, free: 2.402 MB / 378.7 MB