Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test9,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.Test9") Notification: Performance of loadModel(ModelicaTest): time 2.209/2.209, allocations: 235 MB / 247.6 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.304e-05/3.31e-05, allocations: 4 kB / 304.9 MB, free: 5.652 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3238/0.3239, allocations: 54.85 MB / 359.8 MB, free: 2.656 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1287/0.4526, allocations: 82.02 MB / 441.8 MB, free: 14.98 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002342/0.4529, allocations: 67.97 kB / 441.9 MB, free: 14.91 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.01915/0.4721, allocations: 4.515 MB / 446.4 MB, free: 10.43 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.962e-06/0.4721, allocations: 0 / 446.4 MB, free: 10.43 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.236e-05/0.4721, allocations: 4 kB / 446.4 MB, free: 10.43 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.0006145/0.4728, allocations: 471.9 kB / 446.8 MB, free: 9.91 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.63e-05/0.4728, allocations: 15.97 kB / 446.8 MB, free: 9.895 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.252e-05/0.4729, allocations: 7.906 kB / 446.9 MB, free: 9.887 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000363/0.4733, allocations: 203.6 kB / 447.1 MB, free: 9.645 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.277e-05/0.4733, allocations: 4.844 kB / 447.1 MB, free: 9.641 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.211e-05/0.4733, allocations: 7.906 kB / 447.1 MB, free: 9.633 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000145/0.4735, allocations: 57.61 kB / 447.1 MB, free: 9.57 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/0.4735, allocations: 0 / 447.1 MB, free: 9.57 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.696e-05/0.4736, allocations: 11.95 kB / 447.1 MB, free: 9.559 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.493e-06/0.4736, allocations: 3.984 kB / 447.1 MB, free: 9.555 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.843e-05/0.4737, allocations: 23.98 kB / 447.2 MB, free: 9.531 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005/0.4742, allocations: 320.8 kB / 447.5 MB, free: 9.168 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000154/0.4743, allocations: 50.69 kB / 447.5 MB, free: 9.109 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.215e-05/0.4744, allocations: 25.64 kB / 447.6 MB, free: 9.082 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.373e-05/0.4745, allocations: 7.891 kB / 447.6 MB, free: 9.074 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001542/0.4746, allocations: 63.39 kB / 447.6 MB, free: 9 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.673e-06/0.4746, allocations: 0 / 447.6 MB, free: 9 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005811/0.4752, allocations: 161.8 kB / 447.8 MB, free: 8.836 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.133e-05/0.4753, allocations: 51.41 kB / 447.8 MB, free: 8.773 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00027/0.4756, allocations: 197.9 kB / 448 MB, free: 8.57 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.925e-05/0.4756, allocations: 26.73 kB / 448 MB, free: 8.539 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001008/0.4758, allocations: 166.6 kB / 448.2 MB, free: 8.375 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.561e-05/0.4758, allocations: 23.7 kB / 448.2 MB, free: 8.352 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.38e-05/0.4758, allocations: 8 kB / 448.2 MB, free: 8.344 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001632/0.476, allocations: 314.8 kB / 448.6 MB, free: 8.027 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001026/0.4761, allocations: 39.94 kB / 448.6 MB, free: 7.988 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001152/0.4762, allocations: 46.28 kB / 448.6 MB, free: 7.938 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001382/0.4764, allocations: 73.67 kB / 448.7 MB, free: 7.859 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.4764, allocations: 4 kB / 448.7 MB, free: 7.855 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003665/0.4768, allocations: 171.3 kB / 448.9 MB, free: 7.676 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.171e-05/0.4769, allocations: 39.09 kB / 448.9 MB, free: 7.633 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.277e-06/0.4769, allocations: 0 / 448.9 MB, free: 7.633 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/0.4769, allocations: 0 / 448.9 MB, free: 7.633 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000128/0.477, allocations: 16 kB / 448.9 MB, free: 7.617 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.4771, allocations: 0 / 448.9 MB, free: 7.617 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001059/0.4772, allocations: 12.17 kB / 448.9 MB, free: 7.605 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.406e-05/0.4772, allocations: 8 kB / 449 MB, free: 7.598 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.000113/0.4773, allocations: 125.6 kB / 449.1 MB, free: 7.469 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.246e-05/0.4774, allocations: 15.77 kB / 449.1 MB, free: 7.453 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003187/0.4777, allocations: 121 kB / 449.2 MB, free: 7.324 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.112e-06/0.4778, allocations: 4 kB / 449.2 MB, free: 7.32 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.343e-06/0.4778, allocations: 0 / 449.2 MB, free: 7.32 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.484e-06/0.4778, allocations: 0 / 449.2 MB, free: 7.32 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000644/0.4784, allocations: 411.3 kB / 449.6 MB, free: 6.859 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.648e-06/0.4785, allocations: 4.031 kB / 449.6 MB, free: 6.855 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.54e-05/0.4785, allocations: 19.92 kB / 449.6 MB, free: 6.836 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.999e-06/0.4786, allocations: 0 / 449.6 MB, free: 6.836 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.209e-05/0.4786, allocations: 0 / 449.6 MB, free: 6.836 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.519e-06/0.4786, allocations: 4 kB / 449.6 MB, free: 6.832 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.009e-06/0.4786, allocations: 0 / 449.6 MB, free: 6.832 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003212/0.4789, allocations: 225.8 kB / 449.9 MB, free: 6.586 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001213/0.4791, allocations: 100.9 kB / 450 MB, free: 6.469 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.845e-05/0.4791, allocations: 9.406 kB / 450 MB, free: 6.461 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001142/0.4792, allocations: 3.984 kB / 450 MB, free: 6.457 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.767e-05/0.4793, allocations: 4 kB / 450 MB, free: 6.453 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.582e-05/0.4793, allocations: 4 kB / 450 MB, free: 6.449 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001915/0.4795, allocations: 152.8 kB / 450.1 MB, free: 6.301 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.07e-07/0.4795, allocations: 0 / 450.1 MB, free: 6.301 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003975/0.4799, allocations: 47.86 kB / 450.2 MB, free: 6.254 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.00143/0.4814, allocations: 420.1 kB / 450.6 MB, free: 5.918 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00034/0.4818, allocations: 163.3 kB / 450.7 MB, free: 5.746 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.927e-06/0.4818, allocations: 0 / 450.7 MB, free: 5.746 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.718e-05/0.4819, allocations: 31.94 kB / 450.8 MB, free: 5.715 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000307/0.4822, allocations: 32.06 kB / 450.8 MB, free: 5.684 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005281/0.4827, allocations: 209.7 kB / 451 MB, free: 5.445 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000415/0.4832, allocations: 0.7082 MB / 451.7 MB, free: 4.711 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.52e-05/0.4832, allocations: 19.38 kB / 451.7 MB, free: 4.691 MB / 378.7 MB Notification: Performance of SimCode: time 1.474e-06/0.4833, allocations: 0 / 451.7 MB, free: 4.691 MB / 378.7 MB Notification: Performance of Templates: time 0.004862/0.4881, allocations: 2.012 MB / 453.8 MB, free: 2.684 MB / 378.7 MB