Running command: translateModel(OpenHPL.Examples.HPSimple_Francis_IPSLGenGov,tolerance=0.0001,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="OpenHPL_OpenHPL.Examples.HPSimple_Francis_IPSLGenGov") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadModel(OpenHPL): time 2.091/2.091, allocations: 258 MB / 265 MB, free: 15.88 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 8.893e-06/8.952e-06, allocations: 4 kB / 327.4 MB, free: 1.418 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2531/0.2531, allocations: 60.22 MB / 387.6 MB, free: 7.008 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1523/0.4054, allocations: 103.5 MB / 491.1 MB, free: 84 kB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002567/0.4057, allocations: 83.95 kB / 491.2 MB, free: 0 / 410.7 MB Notification: Performance of FrontEnd: time 0.1641/0.5698, allocations: 35.37 MB / 0.5142 GB, free: 12.44 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001522/0.57, allocations: 43.94 kB / 0.5143 GB, free: 12.39 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 352 * Number of variables: 352 Notification: Performance of Generate backend data structure: time 0.009871/0.5799, allocations: 2.439 MB / 0.5167 GB, free: 9.906 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.228e-05/0.58, allocations: 8.031 kB / 0.5167 GB, free: 9.898 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008032/0.588, allocations: 0.6843 MB / 0.5173 GB, free: 9.211 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005375/0.5935, allocations: 0.9621 MB / 0.5183 GB, free: 8.195 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008689/0.5944, allocations: 332.3 kB / 0.5186 GB, free: 7.82 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007933/0.5952, allocations: 84 kB / 0.5187 GB, free: 7.738 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008464/0.6037, allocations: 1.458 MB / 0.5201 GB, free: 6.277 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009036/0.6128, allocations: 1.405 MB / 0.5215 GB, free: 4.836 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.452e-05/0.6129, allocations: 3.906 kB / 0.5215 GB, free: 4.832 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002101/0.6131, allocations: 0 / 0.5215 GB, free: 4.832 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.386e-05/0.6132, allocations: 39.98 kB / 0.5215 GB, free: 4.793 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1571/0.7703, allocations: 5.57 MB / 0.5269 GB, free: 157.9 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00394/0.7743, allocations: 1.302 MB / 0.5282 GB, free: 157.9 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001942/0.7763, allocations: 0.8006 MB / 0.529 GB, free: 157.9 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009781/0.7773, allocations: 0.8792 MB / 0.5299 GB, free: 157 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.673e-05/0.7774, allocations: 49.56 kB / 0.5299 GB, free: 156.9 MB / 458.7 MB Notification: Performance of pre-optimization done (n=165): time 5.193e-06/0.7774, allocations: 0 / 0.5299 GB, free: 156.9 MB / 458.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/OpenIPSL 2.0.0-dev/Electrical/Loads/PSAT/BaseClasses/baseLoad.mo:24:3-24:28:writable] Error: Model is structurally singular, error found sorting equations 137: pwLoadPQ1.Q = pwLinewithOpening1.vr.im * pwLoadPQ1.p.ir - pwLinewithOpening1.vr.re * pwLoadPQ1.p.ii; 165: pwLinewithOpening1.ir.re + pwLine4.ir.re + pwLoadPQ1.p.ir = 0.0; 136: pwLoadPQ1.P = pwLinewithOpening1.vr.re * pwLoadPQ1.p.ir + pwLinewithOpening1.vr.im * pwLoadPQ1.p.ii; 108: 0.0 = if time >= pwLinewithOpening1.t1 and time < pwLinewithOpening1.t2 then pwLinewithOpening1.ir.im else pwLinewithOpening1.vr.im - pwLine4.vs.im - (pwLinewithOpening1.Z.re * (pwLinewithOpening1.ir.im + (-pwLinewithOpening1.vr.re) * pwLinewithOpening1.Y.im - pwLinewithOpening1.vr.im * pwLinewithOpening1.Y.re) + pwLinewithOpening1.Z.im * (pwLinewithOpening1.ir.re + pwLinewithOpening1.vr.im * pwLinewithOpening1.Y.im - pwLinewithOpening1.vr.re * pwLinewithOpening1.Y.re)); 164: pwLinewithOpening1.ir.im + pwLine4.ir.im + pwLoadPQ1.p.ii = 0.0; 132: 0.0 = if time >= pwLine4.t1 and time < pwLine4.t2 then pwLine4.ir.im else pwLinewithOpening1.vr.im - pwLine4.vs.im - (pwLine4.Z.re * (pwLine4.ir.im + (-pwLinewithOpening1.vr.re) * pwLine4.Y.im - pwLinewithOpening1.vr.im * pwLine4.Y.re) + pwLine4.Z.im * (pwLine4.ir.re + pwLinewithOpening1.vr.im * pwLine4.Y.im - pwLinewithOpening1.vr.re * pwLine4.Y.re)); 110: 0.0 = if time >= pwLinewithOpening1.t1 and time < pwLinewithOpening1.t2 then pwLinewithOpening1.is.im else pwLine4.vs.im - pwLinewithOpening1.vr.im - (pwLinewithOpening1.Z.re * (pwLinewithOpening1.is.im + (-pwLine4.vs.re) * pwLinewithOpening1.Y.im - pwLine4.vs.im * pwLinewithOpening1.Y.re) + pwLinewithOpening1.Z.im * (pwLinewithOpening1.is.re + pwLine4.vs.im * pwLinewithOpening1.Y.im - pwLine4.vs.re * pwLinewithOpening1.Y.re)); 141: pwLoadPQ2.Q = if time >= pwLoadPQ2.t_start_1 and time < pwLoadPQ2.t_end_1 then (pwLoadPQ2.Q_0 + pwLoadPQ2.dQ1) / pwLoadPQ2.S_b else if time >= pwLoadPQ2.t_start_2 and time < pwLoadPQ2.t_end_2 then (pwLoadPQ2.Q_0 + pwLoadPQ2.dQ2) / pwLoadPQ2.S_b else pwLoadPQ2.Q_0 / pwLoadPQ2.S_b; 140: pwLoadPQ2.P = if time >= pwLoadPQ2.t_start_1 and time < pwLoadPQ2.t_end_1 then (pwLoadPQ2.P_0 + pwLoadPQ2.dP1) / pwLoadPQ2.S_b else if time >= pwLoadPQ2.t_start_2 and time < pwLoadPQ2.t_end_2 then (pwLoadPQ2.P_0 + pwLoadPQ2.dP2) / pwLoadPQ2.S_b else pwLoadPQ2.P_0 / pwLoadPQ2.S_b; 125: 0.0 = if time >= pwLine3.t1 and time < pwLine3.t2 then pwLine3.ir.re else pwLine3.vr.re - pwLine4.vs.re - (pwLine3.Z.re * (pwLine3.ir.re + pwLine3.vr.im * pwLine3.Y.im - pwLine3.vr.re * pwLine3.Y.re) - pwLine3.Z.im * (pwLine3.ir.im + (-pwLine3.vr.re) * pwLine3.Y.im - pwLine3.vr.im * pwLine3.Y.re)); 124: 0.0 = if time >= pwLine3.t1 and time < pwLine3.t2 then pwLine3.ir.im else pwLine3.vr.im - pwLine4.vs.im - (pwLine3.Z.re * (pwLine3.ir.im + (-pwLine3.vr.re) * pwLine3.Y.im - pwLine3.vr.im * pwLine3.Y.re) + pwLine3.Z.im * (pwLine3.ir.re + pwLine3.vr.im * pwLine3.Y.im - pwLine3.vr.re * pwLine3.Y.re)); 143: pwLoadPQ2.Q = pwLine3.vr.re * pwLine3.ir.im - pwLine3.vr.im * pwLine3.ir.re; 142: pwLoadPQ2.P = (-pwLine3.vr.re) * pwLine3.ir.re - pwLine3.vr.im * pwLine3.ir.im; 134: 0.0 = if time >= pwLine4.t1 and time < pwLine4.t2 then pwLine4.is.im else pwLine4.vs.im - pwLinewithOpening1.vr.im - (pwLine4.Z.re * (pwLine4.is.im + (-pwLine4.vs.re) * pwLine4.Y.im - pwLine4.vs.im * pwLine4.Y.re) + pwLine4.Z.im * (pwLine4.is.re + pwLine4.vs.im * pwLine4.Y.im - pwLine4.vs.re * pwLine4.Y.re)); 126: 0.0 = if time >= pwLine3.t1 and time < pwLine3.t2 then pwLine3.is.im else pwLine4.vs.im - pwLine3.vr.im - (pwLine3.Z.re * (pwLine3.is.im + (-pwLine4.vs.re) * pwLine3.Y.im - pwLine4.vs.im * pwLine3.Y.re) + pwLine3.Z.im * (pwLine3.is.re + pwLine4.vs.im * pwLine3.Y.im - pwLine4.vs.re * pwLine3.Y.re)); 133: 0.0 = if time >= pwLine4.t1 and time < pwLine4.t2 then pwLine4.ir.re else pwLinewithOpening1.vr.re - pwLine4.vs.re - (pwLine4.Z.re * (pwLine4.ir.re + pwLinewithOpening1.vr.im * pwLine4.Y.im - pwLinewithOpening1.vr.re * pwLine4.Y.re) - pwLine4.Z.im * (pwLine4.ir.im + (-pwLinewithOpening1.vr.re) * pwLine4.Y.im - pwLinewithOpening1.vr.im * pwLine4.Y.re)); 163: pwLine1.ir.re + pwLinewithOpening1.is.re + pwLine2.ir.re + pwLine3.is.re + pwLine4.is.re = 0.0; 100: 0.0 = if time >= pwLine1.t1 and time < pwLine1.t2 then pwLine1.ir.im else pwLine4.vs.im - pwLine1.vs.im - (pwLine1.Z.re * (pwLine1.ir.im + (-pwLine4.vs.re) * pwLine1.Y.im - pwLine4.vs.im * pwLine1.Y.re) + pwLine1.Z.im * (pwLine1.ir.re + pwLine4.vs.im * pwLine1.Y.im - pwLine4.vs.re * pwLine1.Y.re)); 135: 0.0 = if time >= pwLine4.t1 and time < pwLine4.t2 then pwLine4.is.re else pwLine4.vs.re - pwLinewithOpening1.vr.re - (pwLine4.Z.re * (pwLine4.is.re + pwLine4.vs.im * pwLine4.Y.im - pwLine4.vs.re * pwLine4.Y.re) - pwLine4.Z.im * (pwLine4.is.im + (-pwLine4.vs.re) * pwLine4.Y.im - pwLine4.vs.im * pwLine4.Y.re)); 127: 0.0 = if time >= pwLine3.t1 and time < pwLine3.t2 then pwLine3.is.re else pwLine4.vs.re - pwLine3.vr.re - (pwLine3.Z.re * (pwLine3.is.re + pwLine4.vs.im * pwLine3.Y.im - pwLine4.vs.re * pwLine3.Y.re) - pwLine3.Z.im * (pwLine3.is.im + (-pwLine4.vs.re) * pwLine3.Y.im - pwLine4.vs.im * pwLine3.Y.re)); 111: 0.0 = if time >= pwLinewithOpening1.t1 and time < pwLinewithOpening1.t2 then pwLinewithOpening1.is.re else pwLine4.vs.re - pwLinewithOpening1.vr.re - (pwLinewithOpening1.Z.re * (pwLinewithOpening1.is.re + pwLine4.vs.im * pwLinewithOpening1.Y.im - pwLine4.vs.re * pwLinewithOpening1.Y.re) - pwLinewithOpening1.Z.im * (pwLinewithOpening1.is.im + (-pwLine4.vs.re) * pwLinewithOpening1.Y.im - pwLine4.vs.im * pwLinewithOpening1.Y.re)); 101: 0.0 = if time >= pwLine1.t1 and time < pwLine1.t2 then pwLine1.ir.re else pwLine4.vs.re - pwLine1.vs.re - (pwLine1.Z.re * (pwLine1.ir.re + pwLine4.vs.im * pwLine1.Y.im - pwLine4.vs.re * pwLine1.Y.re) - pwLine1.Z.im * (pwLine1.ir.im + (-pwLine4.vs.re) * pwLine1.Y.im - pwLine4.vs.im * pwLine1.Y.re)); 46: turbine.d0_2 = turbine.l * (turbine.r_v ^ 2.0 - turbine.R_v_ ^ 2.0) / (turbine.l - turbine.R_v_); 47: turbine.theta_0 = turbine.theta0 - acos(0.5 * (turbine.r_v ^ 2.0 + turbine.R_v_ ^ 2.0 - turbine.d0_2) / (turbine.R_v_ * turbine.r_v)); 52: turbine.Wdot_t_n = turbine.W_t1_n + turbine.k_ft3_ * turbine.Vdot_n_ ^ 2.0 - turbine.W_t2_n; 51: turbine.W_t1_n = 0.1047197551196598 * data.rho * turbine.Vdot_n_ ^ 2.0 * turbine.n_n * turbine.R_1_ * turbine.cot_a1_n / turbine.A_1; 53: turbine.alpha1_n = atan(1.0 / turbine.cot_a1_n); 54: turbine.alpha1_n = acos(0.5 * turbine.d_n / turbine.l) - acos(0.5 * (turbine.d_n ^ 2.0 + turbine.R_v_ ^ 2.0 - turbine.r_v ^ 2.0) / (turbine.R_v_ * turbine.d_n)); 55: turbine.theta_n = turbine.theta0 - acos(0.5 * (turbine.r_v ^ 2.0 + turbine.R_v_ ^ 2.0 - turbine.d_n ^ 2.0) / (turbine.R_v_ * turbine.r_v)); 75: turbine.cot_a2 = turbine.cot_b2 + RealizerAng.y * turbine.R_2_ * turbine.A_2 / turbine.Vdot; 61: turbine.W_t2 = penstock.mdot * RealizerAng.y * turbine.R_2_ * (RealizerAng.y * turbine.R_2_ + turbine.Vdot * turbine.cot_b2 / turbine.A_2); 60: turbine.W_t1 = penstock.mdot * RealizerAng.y * turbine.R_1_ * turbine.Vdot * turbine.cot_a1 / turbine.A_1; 27: penstock.v = penstock.Vdot / penstock.A_; 26: penstock.Vdot = penstock.mdot / data.rho; 28: penstock.M = data.rho * penstock.L * penstock.Vdot; 29: penstock.F_f = OpenHPL.Functions.DarcyFriction.Friction(penstock.v, penstock.D_, penstock.L, data.rho, data.mu, penstock.p_eps); 23: der(tail.m) = 0.0; 19: tail.A = tail.H * (tail.w + 2.0 * tail.H * tan(0.0174532925199433 * tail.alpha)); 21: tail.F_f = 0.0; 20: tail.m = data.rho * tail.A * tail.L; 15: discharge.v = discharge.Vdot / discharge.A_; 14: discharge.Vdot = penstock.mdot / data.rho; 22: 0.0 = tail.A * (data.p_a - discharge.p_o) + data.g * data.rho * tail.A * tail.H - tail.F_f; 16: discharge.M = data.rho * discharge.L * discharge.Vdot; 17: discharge.F_f = OpenHPL.Functions.DarcyFriction.Friction(discharge.v, discharge.D_, discharge.L, data.rho, data.mu, discharge.p_eps); 30: 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; 18: 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; 79: turbine.dp_tr = penstock.p_o - discharge.p_i; 62: Normilizer.u = turbine.W_t1 - turbine.W_t2; 77: turbine.dp_tr * turbine.Vdot + 0.5 * penstock.mdot * turbine.Vdot ^ 2.0 * (turbine.A_0 ^ -2.0 - turbine.A_2 ^ -2.0) = turbine.Wdot_t; 65: turbine.Wdot_ft_l = if tGTypeI.pm < turbine.u_min then turbine.k_ft4 * turbine.Vdot ^ 2.0 else turbine.k_ft3_ * turbine.Vdot ^ 2.0; 64: turbine.Wdot_ft_w = if tGTypeI.pm < turbine.u_min then 0.0 else turbine.k_ft2_ * turbine.Vdot * turbine.cot_a2 ^ 2.0; 78: turbine.Wdot_t = Normilizer.u + turbine.Wdot_ft; 66: turbine.Wdot_ft = turbine.Wdot_ft_s + turbine.Wdot_ft_w + turbine.Wdot_ft_l; 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; 9: intake.v = intake.Vdot / intake.A_; 4: 0.0 = reservoir.A * (data.p_a - intake.p_i) + data.g * data.rho * reservoir.A * reservoir.H - reservoir.F_f; 10: intake.M = data.rho * intake.L * intake.Vdot; 11: intake.F_f = OpenHPL.Functions.DarcyFriction.Friction(intake.v, intake.D_, intake.L, data.rho, data.mu, intake.p_eps); 12: 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; 39: surgeTank.Mdot = surgeTank.mdot * surgeTank.v; 37: surgeTank.M = surgeTank.m * surgeTank.v; 42: surgeTank.F_g = surgeTank.m * data.g * surgeTank.cos_theta; 41: surgeTank.F_p = (intake.p_o - data.p_a) * surgeTank.A; 33: der(surgeTank.M) = surgeTank.Mdot + surgeTank.F; 32: der(surgeTank.m) = surgeTank.mdot; 40: surgeTank.F = surgeTank.F_p + (-surgeTank.F_f) - surgeTank.F_g; 34: surgeTank.m = data.rho * surgeTank.A * surgeTank.l; 35: surgeTank.F_f = OpenHPL.Functions.DarcyFriction.Friction(surgeTank.v, surgeTank.D, surgeTank.l, data.rho, data.mu, surgeTank.p_eps); 38: surgeTank.v = surgeTank.Vdot / surgeTank.A; 6: intake.Vdot = data.rho; 36: surgeTank.mdot = data.rho * surgeTank.Vdot; 8: intake.Vdot = intake.mdot / data.rho; 43: surgeTank.mdot = intake.mdot - penstock.mdot; 95: RealizerAng.y = RealizerAng.k * order2_1.w; 63: turbine.Wdot_ft_s = if tGTypeI.pm < turbine.u_min then 0.0 else turbine.k_ft1_ * turbine.Vdot * (turbine.cot_g1 - turbine.cot_b1) ^ 2.0; 57: turbine.Vdot = penstock.mdot / data.rho; 59: turbine.sin_a1 = sin(turbine.alpha1); 76: turbine.cot_g1 = turbine.cot_a1 - RealizerAng.y * turbine.R_1_ * turbine.A_1 / turbine.Vdot; 71: turbine.r_v ^ 2.0 = turbine.d ^ 2.0 + turbine.R_v_ ^ 2.0 + -2.0 * turbine.d * turbine.R_v_ * cos(turbine.psi); 74: turbine.cot_a1 = cos(turbine.alpha1) / turbine.sin_a1; 73: turbine.alpha1 = turbine.phi - turbine.psi; 72: cos(turbine.phi) = 0.5 * turbine.d / turbine.l; 45: turbine.theta0 = acos(turbine.r_Y / turbine.R_Y); 70: turbine.d ^ 2.0 = turbine.r_v ^ 2.0 + turbine.R_v_ ^ 2.0 + -2.0 * turbine.r_v * turbine.R_v_ * cos(turbine.dtheta); 48: turbine.R_Y = 1.8 + turbine.r_Y; 69: turbine.dtheta = turbine.theta - turbine.theta0; 49: turbine.u_start = sqrt(turbine.r_Y ^ 2.0 + turbine.R_Y ^ 2.0 + -2.0 * turbine.r_Y * turbine.R_Y * cos(turbine.theta_0)); 50: turbine.u_end = sqrt(turbine.r_Y ^ 2.0 + turbine.R_Y ^ 2.0 + -2.0 * turbine.r_Y * turbine.R_Y * cos(turbine.theta_n)); 68: turbine.Y ^ 2.0 = turbine.r_Y ^ 2.0 + turbine.R_Y ^ 2.0 + -2.0 * turbine.r_Y * turbine.R_Y * cos(turbine.theta); 67: turbine.Y = turbine.u_start + tGTypeI.pm * (turbine.u_end - turbine.u_start); 159: tGTypeI.pm = tGTypeI.xg3 + (tGTypeI.xg2 + tGTypeI.T3 * tGTypeI.xg1 / tGTypeI.Tc) * tGTypeI.T4 / tGTypeI.T5; 158: der(tGTypeI.xg3) = ((1.0 - tGTypeI.T4 / tGTypeI.T5) * (tGTypeI.xg2 + tGTypeI.T3 * tGTypeI.xg1 / tGTypeI.Tc) - tGTypeI.xg3) / tGTypeI.T5; 157: der(tGTypeI.xg2) = ((1.0 - tGTypeI.T3 / tGTypeI.Tc) * tGTypeI.xg1 - tGTypeI.xg2) / tGTypeI.Tc; 156: der(tGTypeI.xg1) = (tGTypeI.pin - tGTypeI.xg1) / tGTypeI.Ts; 155: tGTypeI.pin = if tGTypeI.pinstar >= tGTypeI.pmin and tGTypeI.pinstar <= tGTypeI.pmax then tGTypeI.pinstar else if tGTypeI.pinstar > tGTypeI.pmax then tGTypeI.pmax else tGTypeI.pmin; 94: Normilizer.y = Normilizer.k * Normilizer.u; 154: tGTypeI.pinstar = tGTypeI.pref + (tGTypeI.wref - order2_1.w) / tGTypeI.R; 86: der(order2_1.w) = (Normilizer.y * order2_1.S_SBtoMB - order2_1.pe) / order2_1.M; 119: 0.0 = if time >= pwLine2.t1 and time < pwLine2.t2 then pwLine2.is.re else pwLine1.vs.re - pwLine4.vs.re - (pwLine2.Z.re * (pwLine2.is.re + pwLine1.vs.im * pwLine2.Y.im - pwLine1.vs.re * pwLine2.Y.re) - pwLine2.Z.im * (pwLine2.is.im + (-pwLine1.vs.re) * pwLine2.Y.im - pwLine1.vs.im * pwLine2.Y.re)); 88: order2_1.p.ii = (cos(order2_1.delta) * order2_1.id - sin(order2_1.delta) * order2_1.iq) * order2_1.I_MBtoSB; 160: order2_1.p.ii + pwLine1.is.im + pwLine2.is.im = 0.0; 89: pwLine1.vs.re = (sin(order2_1.delta) * order2_1.vd + cos(order2_1.delta) * order2_1.vq) * order2_1.V_MBtoSB; 118: 0.0 = if time >= pwLine2.t1 and time < pwLine2.t2 then pwLine2.is.im else pwLine1.vs.im - pwLine4.vs.im - (pwLine2.Z.re * (pwLine2.is.im + (-pwLine1.vs.re) * pwLine2.Y.im - pwLine1.vs.im * pwLine2.Y.re) + pwLine2.Z.im * (pwLine2.is.re + pwLine1.vs.im * pwLine2.Y.im - pwLine1.vs.re * pwLine2.Y.re)); 103: 0.0 = if time >= pwLine1.t1 and time < pwLine1.t2 then pwLine1.is.re else pwLine1.vs.re - pwLine4.vs.re - (pwLine1.Z.re * (pwLine1.is.re + pwLine1.vs.im * pwLine1.Y.im - pwLine1.vs.re * pwLine1.Y.re) - pwLine1.Z.im * (pwLine1.is.im + (-pwLine1.vs.re) * pwLine1.Y.im - pwLine1.vs.im * pwLine1.Y.re)); 81: order2_1.id = order2_1.vf_MB * order2_1.c3 + (-order2_1.c3) * order2_1.vq - order2_1.c1 * order2_1.vd; 161: order2_1.p.ir + pwLine1.is.re + pwLine2.is.re = 0.0; 87: order2_1.p.ir = ((-sin(order2_1.delta)) * order2_1.id - cos(order2_1.delta) * order2_1.iq) * order2_1.I_MBtoSB; 85: der(order2_1.delta) = order2_1.w_b * (-1.0 + order2_1.w); 93: order2_1.pe = (order2_1.vq + order2_1.ra * order2_1.iq) * order2_1.iq + (order2_1.vd + order2_1.ra * order2_1.id) * order2_1.id; 82: order2_1.iq = order2_1.c2 * order2_1.vd + order2_1.vf_MB * order2_1.c1 - order2_1.c1 * order2_1.vq; 102: 0.0 = if time >= pwLine1.t1 and time < pwLine1.t2 then pwLine1.is.im else pwLine1.vs.im - pwLine4.vs.im - (pwLine1.Z.re * (pwLine1.is.im + (-pwLine1.vs.re) * pwLine1.Y.im - pwLine1.vs.im * pwLine1.Y.re) + pwLine1.Z.im * (pwLine1.is.re + pwLine1.vs.im * pwLine1.Y.im - pwLine1.vs.re * pwLine1.Y.re)); 109: 0.0 = if time >= pwLinewithOpening1.t1 and time < pwLinewithOpening1.t2 then pwLinewithOpening1.ir.re else pwLinewithOpening1.vr.re - pwLine4.vs.re - (pwLinewithOpening1.Z.re * (pwLinewithOpening1.ir.re + pwLinewithOpening1.vr.im * pwLinewithOpening1.Y.im - pwLinewithOpening1.vr.re * pwLinewithOpening1.Y.re) - pwLinewithOpening1.Z.im * (pwLinewithOpening1.ir.im + (-pwLinewithOpening1.vr.re) * pwLinewithOpening1.Y.im - pwLinewithOpening1.vr.im * pwLinewithOpening1.Y.re)); 162: pwLine1.ir.im + pwLinewithOpening1.is.im + pwLine2.ir.im + pwLine3.is.im + pwLine4.is.im = 0.0; 117: 0.0 = if time >= pwLine2.t1 and time < pwLine2.t2 then pwLine2.ir.re else pwLine4.vs.re - pwLine1.vs.re - (pwLine2.Z.re * (pwLine2.ir.re + pwLine4.vs.im * pwLine2.Y.im - pwLine4.vs.re * pwLine2.Y.re) - pwLine2.Z.im * (pwLine2.ir.im + (-pwLine4.vs.re) * pwLine2.Y.im - pwLine4.vs.im * pwLine2.Y.re)); 90: pwLine1.vs.im = (sin(order2_1.delta) * order2_1.vq - cos(order2_1.delta) * order2_1.vd) * order2_1.V_MBtoSB; 116: 0.0 = if time >= pwLine2.t1 and time < pwLine2.t2 then pwLine2.ir.im else pwLine4.vs.im - pwLine1.vs.im - (pwLine2.Z.re * (pwLine2.ir.im + (-pwLine4.vs.re) * pwLine2.Y.im - pwLine4.vs.im * pwLine2.Y.re) + pwLine2.Z.im * (pwLine2.ir.re + pwLine4.vs.im * pwLine2.Y.im - pwLine4.vs.re * pwLine2.Y.re)); for variables pwLine4.vs.re(28), tGTypeI.xg2(2), pwLine4.Q12(30), RealizerAng.y(71), tGTypeI.pin(5), pwLine4.P12(32), order2_1.pe(74), pwLoadPQ1.p.ii(19), pwLine2.ir.im(43), pwLine3.Q12(40), pwLine3.P12(42), pwLine4.ir.re(24), pwLoadPQ1.Angle_V(21), pwLine4.is.re(26), pwLine3.P21(41), pwLine3.vr.re(36), Normilizer.y(72), pwLine4.is.im(25), pwLine3.vr.im(35), pwLinewithOpening1.is.re(56), order2_1.Q(80), turbine.W_t1(118), turbine.Wdot_ft_w(115), reservoir.A(165), turbine.psi(108), turbine.alpha1(110), surgeTank.mdot(133), turbine.c_m1(111), turbine.alpha1_n(87), turbine.coef(101), turbine.cot_a2(104), turbine.sin_a1(102), penstock.Vdot(134), turbine.phi(109), surgeTank.M(131), reservoir.m(164), penstock.p_o(136), penstock.v(139), penstock.M(137), tail.H(141), discharge.Vdot(146), penstock.F_f(138), penstock.mdot(140), tail.A(145), surgeTank.Mdot(130), tail.m(144), order2_1.delta(84), turbine.d(100), turbine.u_end(93), turbine.cot_a1_n(90), turbine.cot_g1(103), order2_1.v(82), turbine.d_n(89), intake.p_i(156), intake.v(159), intake.M(157), intake.F_f(158), discharge.F_f(151), intake.p_o(155), discharge.M(150), discharge.p_i(149), discharge.p_o(148), surgeTank.h(123), surgeTank.v(127), turbine.dp_v(120), turbine.dp_tr(121), surgeTank.F_f(125), surgeTank.l(128), surgeTank.Vdot(122), surgeTank.F_g(124), tail.F_f(142), surgeTank.F_p(126), pwLine1.Q21(67), tail.Vdot_i(143), discharge.v(152), reservoir.F_f(162), pwLine2.is.re(46), intake.mdot(160), turbine.theta(107), turbine.cot_a1(105), order2_1.P(81), turbine.d0_2(95), order2_1.p.ir(86), pwLine1.ir.re(62), turbine.theta_0(94), turbine.Wdot_ft(119), turbine.theta0(96), turbine.Wdot_ft_l(114), turbine.Y0(97), turbine.Wdot_t(113), turbine.Vdot(112), turbine.Y(98), turbine.R_Y(99), bus2.angle(9), bus1.angle(11), bus2.V(10), tGTypeI.pinstar(4), bus1.V(12), pwLine2.Q21(47), bus3.angle(7), reservoir.H(161), order2_1.vd(78), pwLinewithOpening1.is.im(55), bus3.V(8), pwLinewithOpening1.vr.re(54), pwLinewithOpening1.P12(60), pwLine1.is.im(63), turbine.W_t1_n(91), tGTypeI.xg3(1), pwLinewithOpening1.vr.im(53), turbine.theta_n(88), pwLine2.P12(50), order2_1.w(83), pwLinewithOpening1.P21(59), Normilizer.u(73), tGTypeI.xg1(3), pwLine1.ir.im(61), pwLinewithOpening1.ir.im(51), pwLine1.vs.re(66), turbine.Wdot_ft_s(116) Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed!