Running command: "" <> buildModelFMU(OpenHPL.Examples.HPSimple_Francis_IPSLGenGov,fileNamePrefix="OpenHPL_OpenHPL_Examples_HPSimple_Francis_IPSLGenGov",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(OpenHPL): time 2.473/2.473, allocations: 258 MB / 265.1 MB, free: 5.473 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.581e-05/2.591e-05, allocations: 4 kB / 327.7 MB, free: 9.918 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1314/0.1314, allocations: 60.25 MB / 388 MB, free: 13.58 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5158/0.6473, allocations: 103.5 MB / 491.5 MB, free: 5.621 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002796/0.6477, allocations: 79.33 kB / 491.6 MB, free: 5.609 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.17/0.8176, allocations: 35.55 MB / 0.5148 GB, free: 12.77 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.915e-06/0.8177, allocations: 0 / 0.5148 GB, free: 12.77 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002156/0.8179, allocations: 36 kB / 0.5148 GB, free: 12.73 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: 352 * Number of variables: 352 Notification: Performance of Generate backend data structure: time 0.01229/0.8302, allocations: 2.362 MB / 0.5171 GB, free: 10.48 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.06e-05/0.8303, allocations: 12.03 kB / 0.5171 GB, free: 10.47 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006505/0.8368, allocations: 0.659 MB / 0.5178 GB, free: 9.859 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003737/0.8406, allocations: 0.9607 MB / 0.5187 GB, free: 9.035 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006844/0.8414, allocations: 324.3 kB / 0.519 GB, free: 8.668 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007673/0.8422, allocations: 87.72 kB / 0.5191 GB, free: 8.586 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005483/0.8477, allocations: 1.451 MB / 0.5205 GB, free: 7.672 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005635/0.8534, allocations: 1.405 MB / 0.5219 GB, free: 6.672 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.572e-05/0.8535, allocations: 4 kB / 0.5219 GB, free: 6.668 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002321/0.8537, allocations: 3.984 kB / 0.5219 GB, free: 6.664 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.397e-05/0.8538, allocations: 32 kB / 0.5219 GB, free: 6.633 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02155/0.8754, allocations: 5.554 MB / 0.5274 GB, free: 2.395 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005883/0.8813, allocations: 1.625 MB / 0.529 GB, free: 1.016 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002542/0.8839, allocations: 0.8009 MB / 0.5297 GB, free: 224 kB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001683/0.8856, allocations: 0.8831 MB / 0.5306 GB, free: 15.15 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.121e-05/0.8857, allocations: 47.88 kB / 0.5306 GB, free: 15.1 MB / 426.7 MB Notification: Performance of pre-optimization done (n=165): time 7.173e-06/0.8858, allocations: 3.984 kB / 0.5306 GB, free: 15.09 MB / 426.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!