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.271/2.271, allocations: 258 MB / 271.8 MB, free: 13.64 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.388e-05/3.397e-05, allocations: 7.984 kB / 335.7 MB, free: 2.059 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1051/0.1052, allocations: 60.24 MB / 396 MB, free: 5.691 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3924/0.4976, allocations: 83.4 MB / 479.4 MB, free: 360 kB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001991/0.4978, allocations: 70.78 kB / 479.4 MB, free: 324 kB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/OpenHPL 1.1.1/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.009721/0.5076, allocations: 2.417 MB / 481.8 MB, free: 14.26 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.1e-06/0.5076, allocations: 0 / 481.8 MB, free: 14.26 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.602e-06/0.5076, allocations: 0 / 481.8 MB, free: 14.26 MB / 394.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.000549/0.5082, allocations: 393.7 kB / 482.2 MB, free: 13.84 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/0.5082, allocations: 12.03 kB / 482.2 MB, free: 13.82 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001293/0.5084, allocations: 19.8 kB / 482.3 MB, free: 13.8 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002306/0.5086, allocations: 183.2 kB / 482.4 MB, free: 13.59 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.435e-05/0.5087, allocations: 4 kB / 482.4 MB, free: 13.59 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.921e-05/0.5087, allocations: 11.83 kB / 482.4 MB, free: 13.58 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000183/0.5089, allocations: 75.41 kB / 482.5 MB, free: 13.51 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.262e-05/0.5089, allocations: 3.938 kB / 482.5 MB, free: 13.51 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.312e-05/0.5089, allocations: 0 / 482.5 MB, free: 13.51 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.481e-06/0.509, allocations: 7.984 kB / 482.5 MB, free: 13.5 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00016/0.5091, allocations: 58.52 kB / 482.6 MB, free: 13.46 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000926/0.5101, allocations: 396 kB / 483 MB, free: 13.05 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005443/0.5106, allocations: 90.03 kB / 483.1 MB, free: 12.96 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.288e-05/0.5107, allocations: 0 / 483.1 MB, free: 12.96 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.483e-05/0.5107, allocations: 30.56 kB / 483.1 MB, free: 12.92 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 1.622e-06/0.5107, allocations: 0 / 483.1 MB, free: 12.92 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002361/0.511, allocations: 73.59 kB / 483.2 MB, free: 12.85 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.62e-05/0.511, allocations: 63.14 kB / 483.2 MB, free: 12.78 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001739/0.5112, allocations: 144.1 kB / 483.4 MB, free: 12.63 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.308e-05/0.5113, allocations: 29.33 kB / 483.4 MB, free: 12.6 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.681e-05/0.5114, allocations: 118.7 kB / 483.5 MB, free: 12.49 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.847e-05/0.5114, allocations: 26.19 kB / 483.5 MB, free: 12.47 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.926e-06/0.5114, allocations: 4 kB / 483.5 MB, free: 12.46 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001449/0.5116, allocations: 321 kB / 483.9 MB, free: 12.15 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.844e-05/0.5116, allocations: 11.81 kB / 483.9 MB, free: 12.14 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.632e-05/0.5117, allocations: 66.05 kB / 483.9 MB, free: 12.06 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.968e-05/0.5118, allocations: 22.69 kB / 484 MB, free: 12.04 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.302e-06/0.5118, allocations: 3.938 kB / 484 MB, free: 12.04 MB / 394.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002336/0.5121, allocations: 115.5 kB / 484.1 MB, free: 11.94 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/0.5121, allocations: 4 kB / 484.1 MB, free: 11.93 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.834e-06/0.5121, allocations: 4 kB / 484.1 MB, free: 11.93 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/0.5121, allocations: 0 / 484.1 MB, free: 11.93 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001635/0.5123, allocations: 27.92 kB / 484.1 MB, free: 11.9 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.952e-06/0.5123, allocations: 4 kB / 484.1 MB, free: 11.9 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.326e-05/0.5124, allocations: 11.09 kB / 484.1 MB, free: 11.89 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.646e-05/0.5125, allocations: 12.16 kB / 484.1 MB, free: 11.88 MB / 394.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 0.0001126/0.5126, allocations: 129.2 kB / 484.3 MB, free: 11.75 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.412e-05/0.5127, allocations: 7.906 kB / 484.3 MB, free: 11.74 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001865/0.5129, allocations: 76.42 kB / 484.3 MB, free: 11.67 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.5129, allocations: 0 / 484.3 MB, free: 11.67 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.93e-06/0.5129, allocations: 64 / 484.3 MB, free: 11.67 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.529e-06/0.5129, allocations: 4 kB / 484.3 MB, free: 11.66 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005614/0.5135, allocations: 348.4 kB / 484.7 MB, free: 11.29 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.029e-06/0.5135, allocations: 0 / 484.7 MB, free: 11.29 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005899/0.5141, allocations: 87.83 kB / 484.8 MB, free: 11.2 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.716e-06/0.5141, allocations: 0 / 484.8 MB, free: 11.2 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.032e-05/0.5141, allocations: 0 / 484.8 MB, free: 11.2 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001211/0.5154, allocations: 1.288 MB / 486.1 MB, free: 9.805 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.001e-06/0.5154, allocations: 3.953 kB / 486.1 MB, free: 9.801 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002356/0.5156, allocations: 204.1 kB / 486.3 MB, free: 9.594 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.876e-05/0.5157, allocations: 84.92 kB / 486.3 MB, free: 9.492 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.281e-05/0.5157, allocations: 7 kB / 486.4 MB, free: 9.488 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001099/0.5159, allocations: 3.953 kB / 486.4 MB, free: 9.484 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.678e-05/0.5159, allocations: 7.984 kB / 486.4 MB, free: 9.477 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.448e-06/0.5159, allocations: 0 / 486.4 MB, free: 9.477 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001154/0.516, allocations: 118.1 kB / 486.5 MB, free: 9.371 MB / 394.7 MB Notification: Performance of sort global known variables: time 6.38e-07/0.5161, allocations: 0 / 486.5 MB, free: 9.371 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003768/0.5164, allocations: 27.94 kB / 486.5 MB, free: 9.348 MB / 394.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.0001688/0.5166, allocations: 116.7 kB / 486.6 MB, free: 9.227 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001467/0.5168, allocations: 50.67 kB / 486.7 MB, free: 9.188 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.659e-06/0.5168, allocations: 4 kB / 486.7 MB, free: 9.184 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002357/0.5171, allocations: 39.91 kB / 486.7 MB, free: 9.148 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002678/0.5173, allocations: 18.05 kB / 486.7 MB, free: 9.137 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000558/0.5179, allocations: 253.1 kB / 487 MB, free: 8.875 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003532/0.5183, allocations: 0.7159 MB / 487.7 MB, free: 8.133 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001029/0.5184, allocations: 16.55 kB / 487.7 MB, free: 8.117 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.45e-05/0.5185, allocations: 15.42 kB / 487.7 MB, free: 8.105 MB / 394.7 MB Notification: Performance of SimCode: time 1.049e-06/0.5185, allocations: 0 / 487.7 MB, free: 8.105 MB / 394.7 MB Notification: Performance of Templates: time 0.005079/0.5236, allocations: 1.351 MB / 489.1 MB, free: 6.766 MB / 394.7 MB