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.318/2.318, allocations: 258 MB / 265.1 MB, free: 5.477 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.386e-05/2.395e-05, allocations: 6.109 kB / 327.7 MB, free: 10.02 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1042/0.1042, allocations: 60.25 MB / 387.9 MB, free: 13.68 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.41/0.5143, allocations: 95.6 MB / 483.5 MB, free: 7.82 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002373/0.5146, allocations: 84.02 kB / 483.6 MB, free: 7.809 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05369/0.5683, allocations: 13.74 MB / 497.3 MB, free: 2.953 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.902e-06/0.5683, allocations: 0 / 497.3 MB, free: 2.953 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.252e-05/0.5684, allocations: 19.05 kB / 497.3 MB, free: 2.949 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.001663/0.5701, allocations: 0.88 MB / 498.2 MB, free: 2.305 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.729e-05/0.5701, allocations: 11.25 kB / 498.2 MB, free: 2.305 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002952/0.5704, allocations: 73.28 kB / 498.3 MB, free: 2.27 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006793/0.5711, allocations: 424.2 kB / 498.7 MB, free: 1.953 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.962e-05/0.5712, allocations: 18.53 kB / 498.7 MB, free: 1.953 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.179e-05/0.5713, allocations: 26.69 kB / 498.8 MB, free: 1.953 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009844/0.5723, allocations: 401.5 kB / 499.2 MB, free: 1.926 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009189/0.5732, allocations: 440.1 kB / 499.6 MB, free: 1.785 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.536e-05/0.5732, allocations: 3.656 kB / 499.6 MB, free: 1.785 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.89e-05/0.5733, allocations: 0 / 499.6 MB, free: 1.785 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.168e-05/0.5733, allocations: 11.62 kB / 499.6 MB, free: 1.785 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00376/0.5771, allocations: 1.552 MB / 0.4894 GB, free: 1.035 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001847/0.579, allocations: 493.6 kB / 0.4899 GB, free: 0.9648 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003753/0.5794, allocations: 172.8 kB / 0.49 GB, free: 0.9531 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008545/0.5803, allocations: 0.8598 MB / 0.4909 GB, free: 15.98 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.166e-05/0.5803, allocations: 34.38 kB / 0.4909 GB, free: 15.95 MB / 394.7 MB Notification: Performance of pre-optimization done (n=51): time 6.04e-06/0.5803, allocations: 0 / 0.4909 GB, free: 15.95 MB / 394.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/OpenHPL 1.1.1/Waterway/Reservoir.mo:71:5-71:18:writable] Error: Model is structurally singular, error found sorting equations 24: der(tail.m) = 0.0; 20: tail.A = tail.H * (tail.w + 2.0 * tail.H * tan(0.0174532925199433 * tail.alpha)); 22: tail.F_f = 0.0; 21: tail.m = data.rho * tail.A * tail.L; 33: turbine.Vdot = if turbine.WaterCompress then penstock.mdot / ((1.0 + data.beta * (penstock.p_o - data.p_a)) * data.rho) else penstock.mdot / data.rho; 7: control.y = control.offset + (if time < control.startTime then 0.0 else if time < control.startTime + control.duration then (time - control.startTime) * control.height / control.duration else control.height); 44: STAirCushion.mdot = data.rho * STAirCushion.Vdot; 46: STAirCushion.v = STAirCushion.Vdot / STAirCushion.A; 47: STAirCushion.Mdot = STAirCushion.mdot * STAirCushion.v; 45: STAirCushion.M = STAirCushion.m * STAirCushion.v; 50: STAirCushion.F_g = STAirCushion.m * data.g * STAirCushion.cos_theta; 43: STAirCushion.F_f = OpenHPL.Functions.DarcyFriction.Friction(STAirCushion.v, STAirCushion.D, STAirCushion.l, data.rho, data.mu, STAirCushion.p_eps); 40: der(STAirCushion.M) = STAirCushion.Mdot + STAirCushion.F; 48: STAirCushion.F = STAirCushion.F_p + (-STAirCushion.F_f) - STAirCushion.F_g; 49: STAirCushion.F_p = (intake.p_o - STAirCushion.p_t) * STAirCushion.A; 42: STAirCushion.p_t = STAirCushion.p_ac * ((STAirCushion.L - STAirCushion.h_0 / STAirCushion.cos_theta) / (STAirCushion.L - STAirCushion.l)) ^ data.gamma_air; 41: STAirCushion.m = data.rho * STAirCushion.A * STAirCushion.l + STAirCushion.m_a; 39: der(STAirCushion.m) = STAirCushion.mdot; 9: intake.Vdot = intake.mdot / data.rho; 51: STAirCushion.mdot = intake.mdot - penstock.mdot; 28: penstock.v = penstock.Vdot / penstock.A_; 5: der(reservoir.m) = 0.0; 1: reservoir.A = reservoir.H * (reservoir.w + 2.0 * reservoir.H * tan(0.0174532925199433 * reservoir.alpha)); 3: reservoir.F_f = 0.0; 2: reservoir.m = data.rho * reservoir.A * reservoir.L; 10: intake.v = intake.Vdot / intake.A_; 6: intake.Vdot = data.rho; 4: 0.0 = reservoir.A * (data.p_a - intake.p_i) + data.g * data.rho * reservoir.A * reservoir.H - reservoir.F_f; 11: intake.M = data.rho * intake.L * intake.Vdot; 12: intake.F_f = OpenHPL.Functions.DarcyFriction.Friction(intake.v, intake.D_, intake.L, data.rho, data.mu, intake.p_eps); 27: penstock.Vdot = penstock.mdot / data.rho; 29: penstock.M = data.rho * penstock.L * penstock.Vdot; 30: penstock.F_f = OpenHPL.Functions.DarcyFriction.Friction(penstock.v, penstock.D_, penstock.L, data.rho, data.mu, penstock.p_eps); 13: der(intake.M) = data.rho * intake.Vdot ^ 2.0 * (1.0 / intake.A_i + (-1.0) / intake.A_o) + intake.p_i * intake.A_i + intake.m * data.g * intake.cos_theta + (-intake.F_f) - intake.p_o * intake.A_o; 34: turbine.dp = turbine.Vdot ^ 2.0 * data.p_a / (turbine.C_v_ * control.y) ^ 2.0; 31: der(penstock.M) = data.rho * penstock.Vdot ^ 2.0 * (1.0 / penstock.A_i + (-1.0) / penstock.A_o) + intake.p_o * penstock.A_i + penstock.m * data.g * penstock.cos_theta + (-penstock.F_f) - penstock.p_o * penstock.A_o; 23: 0.0 = tail.A * (data.p_a - discharge.p_o) + data.g * data.rho * tail.A * tail.H - tail.F_f; 35: turbine.dp = penstock.p_o - discharge.p_i; 17: discharge.M = data.rho * discharge.L * discharge.Vdot; 19: der(discharge.M) = data.rho * discharge.Vdot ^ 2.0 * (1.0 / discharge.A_i + (-1.0) / discharge.A_o) + discharge.p_i * discharge.A_i + discharge.m * data.g * discharge.cos_theta + (-discharge.F_f) - discharge.p_o * discharge.A_o; 15: discharge.Vdot = penstock.mdot / data.rho; 18: discharge.F_f = OpenHPL.Functions.DarcyFriction.Friction(discharge.v, discharge.D_, discharge.L, data.rho, data.mu, discharge.p_eps); 16: discharge.v = discharge.Vdot / discharge.A_; for variables tail.Vdot_i(28), tail.H(26), tail.m(29), discharge.Vdot(31), penstock.F_f(23), control.y(46), STAirCushion.Mdot(10), STAirCushion.v(7), STAirCushion.Vdot(1), STAirCushion.F(9), STAirCushion.F_f(5), STAirCushion.m(12), STAirCushion.mdot(13), STAirCushion.p_t(3), STAirCushion.M(11), STAirCushion.F_g(4), STAirCushion.l(8), intake.p_o(40), STAirCushion.h(2), penstock.mdot(25), intake.F_f(43), intake.v(44), reservoir.Vdot_i(49), intake.Vdot(38), reservoir.H(47), reservoir.F_f(48), reservoir.m(50), intake.mdot(45), intake.p_i(41), penstock.M(22), penstock.v(24), penstock.p_o(21), intake.dp(39), discharge.M(35), turbine.Vdot(15), tail.A(30), turbine.dp(17), discharge.p_i(34), tail.F_f(27), discharge.p_o(33), discharge.v(37), discharge.F_f(36), turbine.Kdot_i_tr(16) Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed!