Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test5") Notification: Performance of loadModel(ModelicaTest): time 2.172/2.172, allocations: 235 MB / 247.6 MB, free: 14.37 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.669e-05/3.688e-05, allocations: 4.938 kB / 304.9 MB, free: 5.656 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3253/0.3253, allocations: 54.86 MB / 359.8 MB, free: 2.672 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.127/0.4523, allocations: 82.1 MB / 441.9 MB, free: 14.91 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002163/0.4526, allocations: 72.75 kB / 441.9 MB, free: 14.84 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.02073/0.4733, allocations: 5.085 MB / 447 MB, free: 9.785 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.86e-06/0.4734, allocations: 0 / 447 MB, free: 9.785 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.806e-05/0.4734, allocations: 4 kB / 447 MB, free: 9.781 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006307/0.4741, allocations: 473.5 kB / 447.5 MB, free: 9.262 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.235e-05/0.4741, allocations: 15.91 kB / 447.5 MB, free: 9.246 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.376e-05/0.4742, allocations: 15.81 kB / 447.5 MB, free: 9.23 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003809/0.4746, allocations: 222.8 kB / 447.7 MB, free: 8.973 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.486e-05/0.4746, allocations: 4 kB / 447.7 MB, free: 8.969 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.298e-05/0.4747, allocations: 8 kB / 447.7 MB, free: 8.961 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001711/0.4748, allocations: 65.62 kB / 447.8 MB, free: 8.891 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.482e-05/0.4749, allocations: 0 / 447.8 MB, free: 8.891 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.71e-05/0.4749, allocations: 11.94 kB / 447.8 MB, free: 8.879 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.465e-06/0.4749, allocations: 0 / 447.8 MB, free: 8.879 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001186/0.475, allocations: 35.97 kB / 447.9 MB, free: 8.844 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005814/0.4756, allocations: 353.7 kB / 448.2 MB, free: 8.449 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002118/0.4759, allocations: 78.73 kB / 448.3 MB, free: 8.363 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.756e-05/0.476, allocations: 28.86 kB / 448.3 MB, free: 8.332 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.622e-05/0.476, allocations: 3.938 kB / 448.3 MB, free: 8.328 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001818/0.4762, allocations: 80.14 kB / 448.4 MB, free: 8.238 MB / 378.7 MB Notification: Performance of pre-optimization done (n=8): time 2.801e-06/0.4762, allocations: 4 kB / 448.4 MB, free: 8.234 MB / 378.7 MB Notification: Performance of matching and sorting (n=11): time 0.000707/0.4769, allocations: 211 kB / 448.6 MB, free: 8.023 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.337e-05/0.477, allocations: 55.41 kB / 448.6 MB, free: 7.957 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003267/0.4773, allocations: 217.6 kB / 448.9 MB, free: 7.738 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.629e-05/0.4774, allocations: 33.69 kB / 448.9 MB, free: 7.699 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001119/0.4775, allocations: 171.6 kB / 449.1 MB, free: 7.531 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.239e-05/0.4776, allocations: 39.53 kB / 449.1 MB, free: 7.492 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.322e-05/0.4776, allocations: 4 kB / 449.1 MB, free: 7.488 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001616/0.4778, allocations: 318.8 kB / 449.4 MB, free: 7.168 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001286/0.4779, allocations: 47.98 kB / 449.5 MB, free: 7.121 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001408/0.4781, allocations: 61.72 kB / 449.5 MB, free: 7.055 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001726/0.4783, allocations: 90.12 kB / 449.6 MB, free: 6.961 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.263e-06/0.4783, allocations: 4 kB / 449.6 MB, free: 6.957 MB / 378.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004422/0.4787, allocations: 199.9 kB / 449.8 MB, free: 6.75 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.505e-05/0.4788, allocations: 45.62 kB / 449.9 MB, free: 6.699 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.516e-06/0.4788, allocations: 0.5625 kB / 449.9 MB, free: 6.699 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.4788, allocations: 4.031 kB / 449.9 MB, free: 6.695 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001452/0.479, allocations: 20.62 kB / 449.9 MB, free: 6.676 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.882e-06/0.479, allocations: 0 / 449.9 MB, free: 6.676 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.254e-05/0.4791, allocations: 11.92 kB / 449.9 MB, free: 6.664 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.696e-05/0.4792, allocations: 12 kB / 449.9 MB, free: 6.652 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 (14): * Single equations (assignments): 13 * 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.0001091/0.4793, allocations: 111.4 kB / 450 MB, free: 6.539 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.063e-05/0.4793, allocations: 15.81 kB / 450 MB, free: 6.523 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000415/0.4798, allocations: 167.2 kB / 450.2 MB, free: 6.344 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.313e-06/0.4798, allocations: 4 kB / 450.2 MB, free: 6.34 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.442e-06/0.4798, allocations: 0 / 450.2 MB, free: 6.34 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.404e-06/0.4798, allocations: 3.984 kB / 450.2 MB, free: 6.336 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008226/0.4806, allocations: 487.1 kB / 450.7 MB, free: 5.801 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.624e-06/0.4807, allocations: 0 / 450.7 MB, free: 5.801 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.011e-05/0.4808, allocations: 23.94 kB / 450.7 MB, free: 5.777 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.671e-06/0.4808, allocations: 3.938 kB / 450.7 MB, free: 5.773 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.744e-05/0.4808, allocations: 8.031 kB / 450.7 MB, free: 5.766 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.51e-06/0.4808, allocations: 0 / 450.7 MB, free: 5.766 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.853e-06/0.4808, allocations: 8.609 kB / 450.7 MB, free: 5.758 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003933/0.4812, allocations: 246.8 kB / 451 MB, free: 5.492 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001378/0.4814, allocations: 116.8 kB / 451.1 MB, free: 5.359 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.097e-05/0.4815, allocations: 4 kB / 451.1 MB, free: 5.355 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001168/0.4816, allocations: 4 kB / 451.1 MB, free: 5.352 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.135e-05/0.4817, allocations: 20.86 kB / 451.1 MB, free: 5.332 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.894e-05/0.4817, allocations: 4 kB / 451.1 MB, free: 5.328 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002441/0.4819, allocations: 188.2 kB / 451.3 MB, free: 5.145 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.15e-07/0.482, allocations: 0 / 451.3 MB, free: 5.145 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004073/0.4824, allocations: 47.98 kB / 451.3 MB, free: 5.098 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 (13): * Single equations (assignments): 11 * 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.001434/0.4838, allocations: 422.3 kB / 451.7 MB, free: 4.758 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004037/0.4842, allocations: 191.3 kB / 451.9 MB, free: 4.559 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.442e-06/0.4843, allocations: 0 / 451.9 MB, free: 4.559 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001344/0.4844, allocations: 55.91 kB / 452 MB, free: 4.504 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003192/0.4847, allocations: 19.22 kB / 452 MB, free: 4.484 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006435/0.4854, allocations: 266 kB / 452.3 MB, free: 4.191 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004209/0.4858, allocations: 0.7238 MB / 453 MB, free: 3.441 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.971e-05/0.4859, allocations: 19.44 kB / 453 MB, free: 3.426 MB / 378.7 MB Notification: Performance of SimCode: time 1.728e-06/0.4859, allocations: 0 / 453 MB, free: 3.426 MB / 378.7 MB Notification: Performance of Templates: time 0.005537/0.4915, allocations: 2.344 MB / 455.4 MB, free: 1.086 MB / 378.7 MB