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.291/2.291, allocations: 258 MB / 265.1 MB, free: 5.402 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.011e-05/2.018e-05, allocations: 4 kB / 327.7 MB, free: 9.992 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1044/0.1045, allocations: 60.24 MB / 387.9 MB, free: 13.66 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4362/0.5407, allocations: 95.57 MB / 483.5 MB, free: 7.832 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002439/0.541, allocations: 84.58 kB / 483.5 MB, free: 7.82 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/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/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/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/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/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/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.06199/0.603, allocations: 15.42 MB / 499 MB, free: 2.484 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.976e-06/0.603, allocations: 0 / 499 MB, free: 2.484 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.451e-05/0.6031, allocations: 23.36 kB / 499 MB, free: 2.48 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: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.001823/0.6049, allocations: 0.9905 MB / 500 MB, free: 1.77 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.92e-05/0.605, allocations: 11.64 kB / 500 MB, free: 1.766 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00034/0.6054, allocations: 112.3 kB / 0.4884 GB, free: 1.711 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000866/0.6062, allocations: 0.4953 MB / 0.4889 GB, free: 1.367 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.227e-05/0.6063, allocations: 19.36 kB / 0.4889 GB, free: 1.363 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.336e-05/0.6064, allocations: 30.44 kB / 0.4889 GB, free: 1.363 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001051/0.6075, allocations: 409.5 kB / 0.4893 GB, free: 1.332 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009294/0.6084, allocations: 444.3 kB / 0.4897 GB, free: 1.195 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.598e-05/0.6084, allocations: 3.844 kB / 0.4897 GB, free: 1.195 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.161e-05/0.6085, allocations: 0 / 0.4897 GB, free: 1.195 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.225e-05/0.6085, allocations: 11.53 kB / 0.4897 GB, free: 1.195 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003937/0.6125, allocations: 1.647 MB / 0.4914 GB, free: 428 kB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001729/0.6143, allocations: 0.5033 MB / 0.4918 GB, free: 132 kB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003557/0.6146, allocations: 174.2 kB / 0.492 GB, free: 28 kB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001102/0.6158, allocations: 0.8578 MB / 0.4928 GB, free: 14.99 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.211e-05/0.6158, allocations: 42.81 kB / 0.4929 GB, free: 14.94 MB / 394.7 MB Notification: Performance of pre-optimization done (n=50): time 5.85e-06/0.6158, allocations: 0 / 0.4929 GB, free: 14.94 MB / 394.7 MB Notification: Performance of matching and sorting (n=60): time 0.005833/0.6217, allocations: 1.667 MB / 0.4945 GB, free: 13.55 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.355e-05/0.6218, allocations: 60.53 kB / 0.4946 GB, free: 13.48 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001209/0.623, allocations: 0.6419 MB / 0.4952 GB, free: 12.98 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 7.418e-05/0.6231, allocations: 25.7 kB / 0.4952 GB, free: 12.95 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003611/0.6235, allocations: 423.9 kB / 0.4956 GB, free: 12.69 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002318/0.6237, allocations: 202.3 kB / 0.4958 GB, free: 12.52 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.32e-05/0.6238, allocations: 0 / 0.4958 GB, free: 12.52 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001685/0.624, allocations: 336.2 kB / 0.4961 GB, free: 12.19 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004763/0.6244, allocations: 189.1 kB / 0.4963 GB, free: 12.09 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005798/0.625, allocations: 310.9 kB / 0.4966 GB, free: 11.84 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009654/0.626, allocations: 281.2 kB / 0.4969 GB, free: 11.66 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.297e-06/0.626, allocations: 0 / 0.4969 GB, free: 11.66 MB / 394.7 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.002761/0.6288, allocations: 0.8582 MB / 0.4977 GB, free: 10.98 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.88e-05/0.6289, allocations: 7.984 kB / 0.4977 GB, free: 10.97 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.577e-05/0.6289, allocations: 7.953 kB / 0.4977 GB, free: 10.96 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009254/0.6298, allocations: 190.2 kB / 0.4979 GB, free: 10.82 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008148/0.6307, allocations: 148.9 kB / 0.4981 GB, free: 10.68 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004529/0.6352, allocations: 2.521 MB / 0.5005 GB, free: 8.578 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000787/0.636, allocations: 11.98 kB / 0.5005 GB, free: 8.566 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.731e-05/0.6362, allocations: 25.5 kB / 0.5006 GB, free: 8.547 MB / 394.7 MB Warning: Assuming fixed start value for the following 2 variables: surgeTank.Vdot:VARIABLE(start = surgeTank.Vdot_0 unit = "m3/s" ) "Water flow rate" type: Real penstock.Vdot:VARIABLE(start = penstock.Vdot_0 unit = "m3/s" ) "Flow rate" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.surgeTank.v:DUMMY_DER(fixed = false ) "Water velocity" 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.0002911/0.6365, allocations: 134.5 kB / 0.5007 GB, free: 8.414 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001995/0.6367, allocations: 82.97 kB / 0.5008 GB, free: 8.332 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002522/0.6392, allocations: 0.7315 MB / 0.5015 GB, free: 7.777 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.749e-05/0.6393, allocations: 8 kB / 0.5015 GB, free: 7.77 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.836e-06/0.6393, allocations: 7.891 kB / 0.5015 GB, free: 7.762 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.275e-05/0.6393, allocations: 3.984 kB / 0.5015 GB, free: 7.758 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004222/0.6435, allocations: 1.417 MB / 0.5029 GB, free: 6.648 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.981e-06/0.6436, allocations: 0 / 0.5029 GB, free: 6.648 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001526/0.6451, allocations: 247 kB / 0.5031 GB, free: 6.41 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001014/0.6461, allocations: 199.9 kB / 0.5033 GB, free: 6.25 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.979e-05/0.6462, allocations: 0 / 0.5033 GB, free: 6.25 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006769/0.653, allocations: 4.999 MB / 0.5082 GB, free: 1.48 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.259e-06/0.6531, allocations: 3.984 kB / 0.5082 GB, free: 1.477 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002982/0.6561, allocations: 1.051 MB / 0.5092 GB, free: 0.6562 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003702/0.6565, allocations: 163.8 kB / 0.5094 GB, free: 496 kB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000134/0.6566, allocations: 3.953 kB / 0.5094 GB, free: 492 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005191/0.6572, allocations: 15.73 kB / 0.5094 GB, free: 480 kB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001566/0.6573, allocations: 44.28 kB / 0.5094 GB, free: 440 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.009e-05/0.6574, allocations: 15.81 kB / 0.5095 GB, free: 428 kB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0008678/0.6583, allocations: 499.5 kB / 0.5099 GB, free: 72 kB / 394.7 MB Notification: Performance of sort global known variables: time 7.15e-07/0.6583, allocations: 8 kB / 0.5099 GB, free: 64 kB / 394.7 MB Notification: Performance of remove unused functions: time 0.001312/0.6596, allocations: 259.5 kB / 0.5102 GB, free: 15.81 MB / 410.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,surgeTank.m,surgeTank.Vdot) * 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.001305/0.6609, allocations: 414.2 kB / 0.5106 GB, free: 15.48 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001805/0.6628, allocations: 0.6735 MB / 0.5112 GB, free: 14.98 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.172e-06/0.6628, allocations: 4 kB / 0.5112 GB, free: 14.98 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001406/0.6642, allocations: 474.5 kB / 0.5117 GB, free: 14.61 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001084/0.6653, allocations: 141.7 kB / 0.5118 GB, free: 14.5 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003002/0.6683, allocations: 1.254 MB / 0.5131 GB, free: 13.33 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000769/0.6691, allocations: 0.9927 MB / 0.514 GB, free: 12.32 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0006308/0.6698, allocations: 89.33 kB / 0.5141 GB, free: 12.23 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002356/0.67, allocations: 51.42 kB / 0.5142 GB, free: 12.18 MB / 410.7 MB Notification: Performance of SimCode: time 1.525e-06/0.6701, allocations: 4 kB / 0.5142 GB, free: 12.17 MB / 410.7 MB Notification: Performance of Templates: time 0.03073/0.7008, allocations: 11.73 MB / 0.5256 GB, free: 0.5195 MB / 410.7 MB