Running command: translateModel(OpenHPL.Tests.TorpaHPPAirCushionTest2,tolerance=0.0001,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="OpenHPL_OpenHPL.Tests.TorpaHPPAirCushionTest2") Notification: Performance of loadModel(OpenHPL): time 2.174/2.174, allocations: 258 MB / 271.8 MB, free: 13.63 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.772e-05/3.784e-05, allocations: 4 kB / 335.7 MB, free: 2.035 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1052/0.1053, allocations: 60.24 MB / 396 MB, free: 5.668 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4075/0.5128, allocations: 96.26 MB / 492.2 MB, free: 3.621 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002664/0.5131, allocations: 93.08 kB / 492.3 MB, free: 3.574 MB / 394.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 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.1.1/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.1.1/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.1.1/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.1.1/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.1.1/Waterway/SurgeTank.mo:3:3-3:44:writable] Warning: No corresponding 'inner' declaration found for component .OpenHPL.Data surgeTank.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$surgeTank. 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.1.1/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. Notification: Performance of FrontEnd - DAE generated: time 0.06724/0.5804, allocations: 15.76 MB / 0.4962 GB, free: 5.668 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.385e-06/0.5804, allocations: 0 / 0.4962 GB, free: 5.668 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.892e-05/0.5805, allocations: 16 kB / 0.4962 GB, free: 5.652 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: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.002178/0.5827, allocations: 1.004 MB / 0.4972 GB, free: 4.598 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/0.5827, allocations: 8.031 kB / 0.4972 GB, free: 4.59 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003486/0.5831, allocations: 102.8 kB / 0.4973 GB, free: 4.488 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00103/0.5842, allocations: 0.4991 MB / 0.4978 GB, free: 3.949 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.868e-05/0.5842, allocations: 37 kB / 0.4978 GB, free: 3.914 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001227/0.5844, allocations: 52 kB / 0.4978 GB, free: 3.863 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001314/0.5857, allocations: 0.5181 MB / 0.4984 GB, free: 3.336 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.717e-05/0.5857, allocations: 0 / 0.4984 GB, free: 3.336 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.738e-05/0.5858, allocations: 20 kB / 0.4984 GB, free: 3.316 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.576e-05/0.5858, allocations: 12 kB / 0.4984 GB, free: 3.305 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001389/0.5872, allocations: 491.7 kB / 0.4989 GB, free: 2.82 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004595/0.5919, allocations: 1.736 MB / 0.5005 GB, free: 1.02 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002095/0.594, allocations: 0.5399 MB / 0.5011 GB, free: 480 kB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001097/0.5951, allocations: 0.8588 MB / 0.5019 GB, free: 15.43 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.862e-05/0.5952, allocations: 39 kB / 0.5019 GB, free: 15.38 MB / 426.7 MB Notification: Performance of pre-optimization done (n=50): time 3.612e-06/0.5952, allocations: 0 / 0.5019 GB, free: 15.38 MB / 426.7 MB Notification: Performance of matching and sorting (n=60): time 0.006137/0.6013, allocations: 1.991 MB / 0.5039 GB, free: 13.32 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.913e-05/0.6014, allocations: 59.97 kB / 0.504 GB, free: 13.25 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001308/0.6027, allocations: 0.6879 MB / 0.5046 GB, free: 12.55 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 6.437e-05/0.6028, allocations: 37.7 kB / 0.5047 GB, free: 12.51 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004128/0.6032, allocations: 423.8 kB / 0.5051 GB, free: 12.09 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002184/0.6035, allocations: 209 kB / 0.5053 GB, free: 11.88 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.42e-05/0.6035, allocations: 16 kB / 0.5053 GB, free: 11.86 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001695/0.6037, allocations: 330 kB / 0.5056 GB, free: 11.54 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006567/0.6044, allocations: 233.5 kB / 0.5058 GB, free: 11.31 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007613/0.6052, allocations: 352.1 kB / 0.5062 GB, free: 10.93 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007721/0.606, allocations: 270.1 kB / 0.5064 GB, free: 10.66 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.36e-06/0.606, allocations: 7.938 kB / 0.5064 GB, free: 10.65 MB / 426.7 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.002762/0.6088, allocations: 0.9293 MB / 0.5073 GB, free: 9.715 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.603e-05/0.6088, allocations: 7.953 kB / 0.5073 GB, free: 9.707 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.2e-05/0.6088, allocations: 4 kB / 0.5073 GB, free: 9.703 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009445/0.6098, allocations: 195.3 kB / 0.5075 GB, free: 9.512 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008554/0.6107, allocations: 163.8 kB / 0.5077 GB, free: 9.352 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004976/0.6157, allocations: 2.628 MB / 0.5102 GB, free: 6.594 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007519/0.6164, allocations: 28.06 kB / 0.5103 GB, free: 6.566 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.497e-05/0.6165, allocations: 27.98 kB / 0.5103 GB, free: 6.539 MB / 426.7 MB Warning: Assuming fixed start value for the following 2 variables: penstock.M:VARIABLE(unit = "kg.m/s" fixed = true ) "Water momentum" type: Real intake.M:VARIABLE(unit = "kg.m/s" fixed = true ) "Water momentum" type: Real 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 (79): * Single equations (assignments): 78 * 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.0005527/0.6171, allocations: 229.4 kB / 0.5105 GB, free: 6.305 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001908/0.6173, allocations: 90.83 kB / 0.5106 GB, free: 6.215 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00248/0.6198, allocations: 0.7816 MB / 0.5114 GB, free: 5.418 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.309e-05/0.6198, allocations: 8 kB / 0.5114 GB, free: 5.41 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.59e-06/0.6199, allocations: 0 / 0.5114 GB, free: 5.41 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.196e-05/0.6199, allocations: 3.984 kB / 0.5114 GB, free: 5.406 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004042/0.6239, allocations: 1.522 MB / 0.5129 GB, free: 3.816 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.23e-05/0.624, allocations: 7.953 kB / 0.5129 GB, free: 3.809 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001577/0.6256, allocations: 255.8 kB / 0.5131 GB, free: 3.559 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009423/0.6265, allocations: 188.7 kB / 0.5133 GB, free: 3.371 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.797e-05/0.6266, allocations: 15.94 kB / 0.5133 GB, free: 3.355 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0073/0.6339, allocations: 5.211 MB / 0.5184 GB, free: 13.75 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.793e-06/0.634, allocations: 0 / 0.5184 GB, free: 13.75 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0031/0.6371, allocations: 1.126 MB / 0.5195 GB, free: 12.58 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003158/0.6374, allocations: 168 kB / 0.5197 GB, free: 12.4 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001489/0.6376, allocations: 12 kB / 0.5197 GB, free: 12.39 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000518/0.6381, allocations: 19.98 kB / 0.5197 GB, free: 12.37 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001431/0.6383, allocations: 52.45 kB / 0.5197 GB, free: 12.32 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.62e-05/0.6383, allocations: 16 kB / 0.5198 GB, free: 12.3 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001021/0.6394, allocations: 0.5342 MB / 0.5203 GB, free: 11.77 MB / 442.7 MB Notification: Performance of sort global known variables: time 6.71e-07/0.6394, allocations: 0 / 0.5203 GB, free: 11.77 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001219/0.6406, allocations: 291.9 kB / 0.5206 GB, free: 11.48 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 5 (reservoir.m,intake.M,tail.m,penstock.M,surgeTank.m) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 39 * 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.001386/0.642, allocations: 440.5 kB / 0.521 GB, free: 11.14 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002164/0.6442, allocations: 0.7718 MB / 0.5217 GB, free: 10.36 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.913e-06/0.6442, allocations: 4.062 kB / 0.5217 GB, free: 10.35 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001546/0.6458, allocations: 0.513 MB / 0.5222 GB, free: 9.824 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001011/0.6468, allocations: 157.8 kB / 0.5224 GB, free: 9.676 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003394/0.6502, allocations: 1.755 MB / 0.5241 GB, free: 7.891 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007824/0.651, allocations: 1.001 MB / 0.5251 GB, free: 6.863 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0005871/0.6516, allocations: 85.33 kB / 0.5252 GB, free: 6.777 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002372/0.6519, allocations: 55.42 kB / 0.5252 GB, free: 6.723 MB / 442.7 MB Notification: Performance of SimCode: time 1.421e-06/0.6519, allocations: 4 kB / 0.5252 GB, free: 6.719 MB / 442.7 MB Notification: Performance of Templates: time 0.03114/0.6831, allocations: 12.53 MB / 0.5374 GB, free: 10.2 MB / 458.7 MB