Running command: translateModel(OpenHPL.Waterway.Reservoir,tolerance=0.0001,outputFormat="empty",numberOfIntervals=7200,variableFilter="",fileNamePrefix="OpenHPL_OpenHPL.Waterway.Reservoir") Notification: Performance of loadModel(OpenHPL): time 2.309/2.309, allocations: 256.4 MB / 268.5 MB, free: 12.27 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.405e-05/3.43e-05, allocations: 7.984 kB / 331.2 MB, free: 13.45 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3507/0.3507, allocations: 59.8 MB / 391 MB, free: 5.453 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1219/0.4727, allocations: 83.16 MB / 474.2 MB, free: 2.176 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000213/0.4729, allocations: 71.91 kB / 474.3 MB, free: 2.105 MB / 394.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/OpenHPL 1.0.2/Waterway/Reservoir.mo:3:3-3:56:writable] Warning: No corresponding 'inner' declaration found for component .OpenHPL.Data data declared as 'outer '. The existing 'inner' components are: There are no 'inner' components defined in the model in any of the parent scopes of 'outer' component's scope: OpenHPL.Waterway.Reservoir. Check if you have not misspelled the 'outer' component name. Please declare an 'inner' component with the same name in the top scope. Continuing flattening by only considering the 'outer' component declaration. Notification: Performance of FrontEnd - DAE generated: time 0.01001/0.4829, allocations: 2.379 MB / 476.6 MB, free: 15.71 MB / 410.7 MB Notification: Performance of FrontEnd: time 6.618e-06/0.483, allocations: 0 / 476.6 MB, free: 15.71 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.206e-05/0.483, allocations: 3.938 kB / 476.6 MB, free: 15.71 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005482/0.4836, allocations: 402.2 kB / 477 MB, free: 15.27 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.24e-05/0.4836, allocations: 12.03 kB / 477 MB, free: 15.26 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001261/0.4838, allocations: 15.89 kB / 477.1 MB, free: 15.25 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002313/0.484, allocations: 187.5 kB / 477.2 MB, free: 15.02 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.448e-05/0.484, allocations: 4 kB / 477.2 MB, free: 15.02 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.343e-05/0.4841, allocations: 15.86 kB / 477.3 MB, free: 15 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001801/0.4843, allocations: 65.67 kB / 477.3 MB, free: 14.93 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.4843, allocations: 3.938 kB / 477.3 MB, free: 14.93 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.625e-05/0.4843, allocations: 3.984 kB / 477.3 MB, free: 14.93 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.297e-06/0.4843, allocations: 8 kB / 477.3 MB, free: 14.92 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001542/0.4845, allocations: 43.98 kB / 477.4 MB, free: 14.88 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009198/0.4854, allocations: 394.4 kB / 477.8 MB, free: 14.43 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000542/0.486, allocations: 94.45 kB / 477.9 MB, free: 14.33 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.272e-05/0.4861, allocations: 17.05 kB / 477.9 MB, free: 14.31 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.254e-05/0.4861, allocations: 0 / 477.9 MB, free: 14.31 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.504e-05/0.4861, allocations: 34.56 kB / 477.9 MB, free: 14.27 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 1.659e-06/0.4862, allocations: 0 / 477.9 MB, free: 14.27 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001954/0.4864, allocations: 61.59 kB / 478 MB, free: 14.2 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.942e-05/0.4864, allocations: 55.41 kB / 478 MB, free: 14.14 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001681/0.4866, allocations: 150.5 kB / 478.2 MB, free: 13.97 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.244e-05/0.4866, allocations: 25.7 kB / 478.2 MB, free: 13.94 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.773e-05/0.4867, allocations: 119.8 kB / 478.3 MB, free: 13.82 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.154e-05/0.4868, allocations: 15.66 kB / 478.3 MB, free: 13.8 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.518e-06/0.4868, allocations: 4 kB / 478.3 MB, free: 13.8 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001498/0.4869, allocations: 322.8 kB / 478.7 MB, free: 13.48 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.741e-05/0.487, allocations: 19.88 kB / 478.7 MB, free: 13.46 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.4e-05/0.4871, allocations: 74.8 kB / 478.7 MB, free: 13.36 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.459e-05/0.4872, allocations: 24.06 kB / 478.8 MB, free: 13.34 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.799e-06/0.4872, allocations: 0 / 478.8 MB, free: 13.34 MB / 410.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002317/0.4874, allocations: 105.4 kB / 478.9 MB, free: 13.23 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.913e-05/0.4875, allocations: 8 kB / 478.9 MB, free: 13.22 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.618e-06/0.4875, allocations: 0 / 478.9 MB, free: 13.22 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.4875, allocations: 4 kB / 478.9 MB, free: 13.21 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001624/0.4877, allocations: 27.98 kB / 478.9 MB, free: 13.19 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.024e-05/0.4877, allocations: 8.156 kB / 478.9 MB, free: 13.18 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.12e-05/0.4878, allocations: 11.86 kB / 478.9 MB, free: 13.17 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.701e-05/0.4878, allocations: 11.98 kB / 478.9 MB, free: 13.16 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * 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 8.643e-05/0.4879, allocations: 112.7 kB / 479.1 MB, free: 13.04 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.799e-05/0.488, allocations: 7.906 kB / 479.1 MB, free: 13.03 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001798/0.4882, allocations: 78.61 kB / 479.1 MB, free: 12.95 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.836e-06/0.4882, allocations: 4 kB / 479.1 MB, free: 12.95 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.993e-06/0.4882, allocations: 0 / 479.1 MB, free: 12.95 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.3e-06/0.4882, allocations: 0 / 479.1 MB, free: 12.95 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000547/0.4888, allocations: 351.2 kB / 479.5 MB, free: 12.54 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.756e-06/0.4888, allocations: 0 / 479.5 MB, free: 12.54 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005832/0.4894, allocations: 79.95 kB / 479.6 MB, free: 12.46 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.946e-06/0.4894, allocations: 4 kB / 479.6 MB, free: 12.46 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.249e-05/0.4895, allocations: 8.031 kB / 479.6 MB, free: 12.45 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001145/0.4906, allocations: 1.291 MB / 480.9 MB, free: 11.03 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.4906, allocations: 0 / 480.9 MB, free: 11.03 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002174/0.4909, allocations: 182 kB / 481 MB, free: 10.83 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.141e-05/0.4909, allocations: 92.94 kB / 481.1 MB, free: 10.72 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.761e-05/0.491, allocations: 11.95 kB / 481.1 MB, free: 10.71 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001065/0.4911, allocations: 0 / 481.1 MB, free: 10.71 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.372e-05/0.4911, allocations: 4.125 kB / 481.1 MB, free: 10.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.158e-06/0.4912, allocations: 7.938 kB / 481.2 MB, free: 10.7 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001139/0.4913, allocations: 119.3 kB / 481.3 MB, free: 10.58 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.08e-07/0.4913, allocations: 0 / 481.3 MB, free: 10.58 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003725/0.4917, allocations: 20 kB / 481.3 MB, free: 10.56 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (m) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001692/0.4919, allocations: 127 kB / 481.4 MB, free: 10.43 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001622/0.492, allocations: 51.86 kB / 481.5 MB, free: 10.38 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.088e-06/0.4921, allocations: 0 / 481.5 MB, free: 10.38 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000233/0.4923, allocations: 40.28 kB / 481.5 MB, free: 10.34 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002686/0.4926, allocations: 19.94 kB / 481.5 MB, free: 10.32 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004907/0.4931, allocations: 202.1 kB / 481.7 MB, free: 10.1 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003449/0.4934, allocations: 0.7199 MB / 482.4 MB, free: 9.355 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 9.099e-05/0.4936, allocations: 8.562 kB / 482.5 MB, free: 9.348 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.95e-05/0.4936, allocations: 19.42 kB / 482.5 MB, free: 9.328 MB / 410.7 MB Notification: Performance of SimCode: time 1.147e-06/0.4936, allocations: 0 / 482.5 MB, free: 9.328 MB / 410.7 MB Notification: Performance of Templates: time 0.004998/0.4986, allocations: 1.354 MB / 483.8 MB, free: 7.98 MB / 410.7 MB