Running command: translateModel(OpenHPL.Tests.HPSTAirCushion,tolerance=0.0001,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="OpenHPL_OpenHPL.Tests.HPSTAirCushion") Notification: Performance of loadModel(OpenHPL): time 2.331/2.331, allocations: 256.4 MB / 268.5 MB, free: 12.26 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.687e-05/3.702e-05, allocations: 7.984 kB / 331.2 MB, free: 13.44 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3208/0.3208, allocations: 59.8 MB / 391 MB, free: 5.465 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1447/0.4656, allocations: 96.05 MB / 487.1 MB, free: 5.273 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002841/0.466, allocations: 91.89 kB / 487.2 MB, free: 5.184 MB / 410.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 reservoir.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$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. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/OpenHPL 1.0.2/Waterway/Pipe.mo:3:3-3:44:writable] Warning: No corresponding 'inner' declaration found for component .OpenHPL.Data intake.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.Pipe$intake. 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. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/OpenHPL 1.0.2/Waterway/Pipe.mo:3:3-3:44:writable] Warning: No corresponding 'inner' declaration found for component .OpenHPL.Data discharge.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.Pipe$discharge. 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. [/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 tail.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$tail. 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. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/OpenHPL 1.0.2/Waterway/Pipe.mo:3:3-3:44:writable] Warning: No corresponding 'inner' declaration found for component .OpenHPL.Data penstock.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.Pipe$penstock. 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. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/OpenHPL 1.0.2/ElectroMech/Turbines/Turbine.mo:3:3-3:56:writable] Warning: No corresponding 'inner' declaration found for component .OpenHPL.Data turbine.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.ElectroMech.Turbines.Turbine$turbine. 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. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/OpenHPL 1.0.2/Waterway/SurgeTank.mo:3:3-3:44:writable] Warning: No corresponding 'inner' declaration found for component .OpenHPL.Data STAirCushion.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.SurgeTank$STAirCushion. 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.06947/0.5354, allocations: 15.71 MB / 0.4911 GB, free: 5.438 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.013e-06/0.5355, allocations: 0 / 0.4911 GB, free: 5.438 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.462e-05/0.5356, allocations: 31.88 kB / 0.4911 GB, free: 5.406 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.002313/0.5379, allocations: 1.001 MB / 0.4921 GB, free: 4.359 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.553e-05/0.538, allocations: 8.031 kB / 0.4921 GB, free: 4.352 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003906/0.5384, allocations: 106.7 kB / 0.4922 GB, free: 4.246 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001078/0.5395, allocations: 0.4952 MB / 0.4927 GB, free: 3.711 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.38e-05/0.5395, allocations: 37 kB / 0.4927 GB, free: 3.676 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001263/0.5397, allocations: 63.92 kB / 0.4928 GB, free: 3.613 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001231/0.5409, allocations: 0.4982 MB / 0.4933 GB, free: 3.105 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.333e-05/0.541, allocations: 0 / 0.4933 GB, free: 3.105 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.879e-05/0.5411, allocations: 20 kB / 0.4933 GB, free: 3.086 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.599e-05/0.5411, allocations: 12 kB / 0.4933 GB, free: 3.074 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001256/0.5424, allocations: 443.9 kB / 0.4937 GB, free: 2.637 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004862/0.5472, allocations: 1.755 MB / 0.4954 GB, free: 0.8203 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002016/0.5493, allocations: 0.5203 MB / 0.496 GB, free: 300 kB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004768/0.5498, allocations: 198.1 kB / 0.4961 GB, free: 100 kB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001138/0.551, allocations: 0.8628 MB / 0.497 GB, free: 15.05 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.895e-05/0.551, allocations: 46.94 kB / 0.497 GB, free: 15 MB / 442.7 MB Notification: Performance of pre-optimization done (n=51): time 3.919e-06/0.551, allocations: 3.938 kB / 0.497 GB, free: 14.99 MB / 442.7 MB Notification: Performance of matching and sorting (n=61): time 0.005121/0.5562, allocations: 1.639 MB / 0.4986 GB, free: 13.29 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.199e-05/0.5563, allocations: 59.97 kB / 0.4987 GB, free: 13.22 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001341/0.5576, allocations: 0.6762 MB / 0.4993 GB, free: 12.54 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 9.878e-05/0.5578, allocations: 41.7 kB / 0.4994 GB, free: 12.49 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004229/0.5582, allocations: 427.3 kB / 0.4998 GB, free: 12.07 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002374/0.5584, allocations: 216.8 kB / 0.5 GB, free: 11.86 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.744e-05/0.5585, allocations: 24 kB / 0.5 GB, free: 11.83 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001758/0.5587, allocations: 333.9 kB / 0.5003 GB, free: 11.5 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005944/0.5593, allocations: 213.8 kB / 0.5005 GB, free: 11.29 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006972/0.56, allocations: 336.6 kB / 0.5009 GB, free: 10.92 MB / 442.7 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: STAirCushion.Vdot = $START.STAirCushion.Vdot (STAirCushion.Vdot_0 = $START.STAirCushion.Vdot) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: STAirCushion.h = $START.STAirCushion.h (STAirCushion.h_0 = $START.STAirCushion.h) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: discharge.Vdot = discharge.Vdot_0 (penstock.Vdot_0 * penstock.data.rho / discharge.data.rho = discharge.Vdot_0) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: intake.Vdot = intake.Vdot_0 ((penstock.Vdot_0 * penstock.data.rho + STAirCushion.data.rho * STAirCushion.Vdot_0) / intake.data.rho = intake.Vdot_0) Notification: Performance of analyzeInitialSystem (initialization): time 0.01058/0.5706, allocations: 2.463 MB / 0.5033 GB, free: 8.395 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.234e-06/0.5707, allocations: 0 / 0.5033 GB, free: 8.395 MB / 442.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002698/0.5734, allocations: 0.8981 MB / 0.5042 GB, free: 7.488 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.095e-05/0.5734, allocations: 11.95 kB / 0.5042 GB, free: 7.477 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.348e-05/0.5735, allocations: 7.938 kB / 0.5042 GB, free: 7.469 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009365/0.5744, allocations: 184.8 kB / 0.5043 GB, free: 7.285 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008674/0.5753, allocations: 151.8 kB / 0.5045 GB, free: 7.137 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004963/0.5803, allocations: 2.559 MB / 0.507 GB, free: 4.441 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008237/0.5811, allocations: 35.92 kB / 0.507 GB, free: 4.406 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.041e-05/0.5813, allocations: 24 kB / 0.507 GB, free: 4.383 MB / 442.7 MB Warning: The initial conditions are over specified. The following 4 initial equations are redundant, so they are removed from the initialization sytem: STAirCushion.Vdot = $START.STAirCushion.Vdot STAirCushion.h = $START.STAirCushion.h discharge.Vdot = discharge.Vdot_0 intake.Vdot = intake.Vdot_0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (80): * Single equations (assignments): 79 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 18} Notification: Performance of prepare postOptimizeDAE: time 0.0002496/0.5815, allocations: 168.4 kB / 0.5072 GB, free: 4.211 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002053/0.5817, allocations: 90.83 kB / 0.5073 GB, free: 4.121 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002363/0.5841, allocations: 0.7427 MB / 0.508 GB, free: 3.367 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.063e-05/0.5841, allocations: 4 kB / 0.508 GB, free: 3.363 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.5842, allocations: 4 kB / 0.508 GB, free: 3.359 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.201e-05/0.5842, allocations: 3.984 kB / 0.508 GB, free: 3.355 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004427/0.5886, allocations: 1.503 MB / 0.5095 GB, free: 1.785 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.29e-06/0.5887, allocations: 0 / 0.5095 GB, free: 1.785 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001606/0.5903, allocations: 251.8 kB / 0.5097 GB, free: 1.539 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00102/0.5913, allocations: 200.7 kB / 0.5099 GB, free: 1.34 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.082e-05/0.5914, allocations: 16 kB / 0.5099 GB, free: 1.324 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007197/0.5986, allocations: 5.135 MB / 0.515 GB, free: 11.79 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.511e-06/0.5987, allocations: 4.031 kB / 0.515 GB, free: 11.79 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002909/0.6016, allocations: 1.071 MB / 0.516 GB, free: 10.68 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003709/0.602, allocations: 164 kB / 0.5162 GB, free: 10.5 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001413/0.6022, allocations: 12 kB / 0.5162 GB, free: 10.49 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005346/0.6027, allocations: 20.11 kB / 0.5162 GB, free: 10.47 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001582/0.6029, allocations: 56.39 kB / 0.5163 GB, free: 10.41 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.567e-05/0.603, allocations: 19.98 kB / 0.5163 GB, free: 10.39 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001017/0.604, allocations: 0.5304 MB / 0.5168 GB, free: 9.871 MB / 458.7 MB Notification: Performance of sort global known variables: time 7.14e-07/0.604, allocations: 0 / 0.5168 GB, free: 9.871 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001335/0.6053, allocations: 299.8 kB / 0.5171 GB, free: 9.578 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 5 (reservoir.m,tail.m,penstock.Vdot,STAirCushion.m,STAirCushion.Vdot) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 18} Notification: Performance of Backend phase and start with SimCode phase: time 0.00139/0.6068, allocations: 421.9 kB / 0.5175 GB, free: 9.234 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.002093/0.6089, allocations: 0.7486 MB / 0.5182 GB, free: 8.477 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.916e-06/0.6089, allocations: 0 / 0.5182 GB, free: 8.477 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001526/0.6104, allocations: 0.493 MB / 0.5187 GB, free: 7.973 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001118/0.6116, allocations: 159 kB / 0.5188 GB, free: 7.816 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003144/0.6148, allocations: 1.278 MB / 0.5201 GB, free: 6.504 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000791/0.6156, allocations: 0.9931 MB / 0.5211 GB, free: 5.48 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0006598/0.6163, allocations: 93.27 kB / 0.5211 GB, free: 5.387 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002494/0.6165, allocations: 55.42 kB / 0.5212 GB, free: 5.332 MB / 458.7 MB Notification: Performance of SimCode: time 1.308e-06/0.6166, allocations: 0 / 0.5212 GB, free: 5.332 MB / 458.7 MB Notification: Performance of Templates: time 0.2988/0.9153, allocations: 12.64 MB / 0.5335 GB, free: 125.5 MB / 458.7 MB