Notification: Performance of loadModel(PowerSystems): time 1.741/1.741, allocations: 232.9 MB / 239.2 MB, free: 112 kB / 200.6 MB Notification: Performance of FrontEnd - loaded program: time 0.1887/1.93, allocations: 55.15 MB / 294.4 MB, free: 10.83 MB / 248.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07961/2.01, allocations: 53.21 MB / 347.6 MB, free: 5.504 MB / 296.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2666/2.276, allocations: 98.02 MB / 445.6 MB, free: 7.488 MB / 376.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000231/2.277, allocations: 88.02 kB / 445.7 MB, free: 7.402 MB / 376.6 MB Notification: Performance of Generate backend data structure: time 0.1035/2.38, allocations: 27.76 MB / 473.4 MB, free: 11.26 MB / 408.6 MB Notification: Performance of prepare preOptimizeDAE: time 3.589e-05/2.38, allocations: 12 kB / 473.4 MB, free: 11.25 MB / 408.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001606/2.382, allocations: 198.6 kB / 473.6 MB, free: 11.05 MB / 408.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004219/2.386, allocations: 1.366 MB / 475 MB, free: 9.648 MB / 408.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.284e-05/2.386, allocations: 32 kB / 475 MB, free: 9.617 MB / 408.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001827/2.386, allocations: 55.94 kB / 475.1 MB, free: 9.562 MB / 408.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001806/2.388, allocations: 0.8472 MB / 475.9 MB, free: 8.715 MB / 408.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002044/2.39, allocations: 1.089 MB / 477 MB, free: 7.555 MB / 408.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.79e-05/2.39, allocations: 4 kB / 477 MB, free: 7.551 MB / 408.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001018/2.39, allocations: 0 / 477 MB, free: 7.551 MB / 408.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.333e-05/2.39, allocations: 61.91 kB / 477.1 MB, free: 7.488 MB / 408.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00708/2.398, allocations: 4.502 MB / 481.6 MB, free: 2.816 MB / 408.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001261/2.399, allocations: 0.6631 MB / 482.3 MB, free: 2.133 MB / 408.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007972/2.4, allocations: 475.2 kB / 482.7 MB, free: 1.664 MB / 408.6 MB Notification: Performance of preOpt evalFunc (simulation): time 5.701e-05/2.4, allocations: 8.656 kB / 482.7 MB, free: 1.656 MB / 408.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008678/2.401, allocations: 0.5255 MB / 483.2 MB, free: 1.098 MB / 408.6 MB Notification: Performance of pre-optimization done (n=75): time 3.631e-06/2.401, allocations: 4 kB / 483.3 MB, free: 1.094 MB / 408.6 MB Notification: Performance of matching and sorting (n=79): time 0.005617/2.406, allocations: 2.589 MB / 485.8 MB, free: 14.44 MB / 424.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001207/2.406, allocations: 226.2 kB / 486.1 MB, free: 14.17 MB / 424.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007218/2.407, allocations: 467.2 kB / 486.5 MB, free: 13.71 MB / 424.6 MB Notification: Performance of collectPreVariables (initialization): time 7.828e-05/2.407, allocations: 25.7 kB / 486.5 MB, free: 13.68 MB / 424.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003925/2.408, allocations: 497.5 kB / 487 MB, free: 13.18 MB / 424.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002794/2.408, allocations: 268.2 kB / 487.3 MB, free: 12.92 MB / 424.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.863e-05/2.408, allocations: 0 / 487.3 MB, free: 12.92 MB / 424.6 MB Notification: Performance of setup shared object (initialization): time 0.0001578/2.408, allocations: 350.8 kB / 487.6 MB, free: 12.57 MB / 424.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007359/2.409, allocations: 385.9 kB / 488 MB, free: 12.19 MB / 424.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009143/2.41, allocations: 0.6187 MB / 488.6 MB, free: 11.47 MB / 424.6 MB Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 0.01018/2.42, allocations: 2.5 MB / 491.1 MB, free: 8.965 MB / 424.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.502e-06/2.42, allocations: 0 / 491.1 MB, free: 8.965 MB / 424.6 MB [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/PowerSystems 0.6.0/AC3ph/Sources.mo:22:5-22:65:writable] Error: Initialization problem is structurally singular, error found sorting equations 72: lineL.term_p.v[2] = voltageL.V * sin(transPh.y[2]); 47: lineL.v[2] = lineL.term_p.v[2] - lineL.term_n.v[2]; 19: $DER.lineR.i[3] + $DER.lineB.i[3] - $DER.lineL.i[3] = 0.0; 5: voltageB.V = 400000.0 * voltageB.v0; 26: lineB.L * $DER.lineB.i[2] + lineB.i[1] * lineB.omega[2] * lineB.L + lineB.i[2] * lineB.R = lineB.v[2]; 23: lineB.term_n.v[2] = voltageB.V * sin(voltageB.alpha0); 51: lineR.L * $DER.lineR.i[2] + lineR.i[1] * lineR.omega[2] * lineR.L + lineR.i[2] * lineR.R = lineR.v[2]; 42: lineR.term_n.v[2] = voltageR.V * sin(voltageR.alpha0); 28: lineB.v[2] = lineB.term_p.v[2] - lineB.term_n.v[2]; 53: lineR.v[2] = lineL.term_n.v[2] - lineR.term_n.v[2]; 35: lineB.i[2] = if switch.closed then switch.s[2] * (switch.r[1] * switch.epsG + switch.r[2]) else switch.s[2] * (switch.r[1] + switch.r[2] * switch.epsG); 32: switch.v[2] = lineL.term_n.v[2] - lineB.term_p.v[2]; 36: lineB.i[1] = if switch.closed then switch.s[1] * (switch.r[1] * switch.epsG + switch.r[2]) else switch.s[1] * (switch.r[1] + switch.r[2] * switch.epsG); 40: switch.r = PowerSystems.AC3ph.Breakers.ForcedSwitch$switch.relaxation(time - switch.t0, switch.t_relax, /*Real*/(switch.p_relax)); 38: switch.v[2] = if switch.closed then switch.s[2] * (switch.r[1] + switch.r[2] * switch.epsR) else switch.s[2] * (switch.r[1] * switch.epsR + switch.r[2]); 39: switch.v[1] = if switch.closed then switch.s[1] * (switch.r[1] + switch.r[2] * switch.epsR) else switch.s[1] * (switch.r[1] * switch.epsR + switch.r[2]); 24: lineB.term_n.v[1] = voltageB.V * cos(voltageB.alpha0); 33: switch.v[1] = lineL.term_n.v[1] - lineB.term_p.v[1]; 30: lineB.omega[2] = $DER.voltageB.theta; 12: lineR.i[1] + lineB.i[1] - lineL.i[1] = 0.0; 29: lineB.v[1] = lineB.term_p.v[1] - lineB.term_n.v[1]; 27: lineB.L * $DER.lineB.i[1] - lineB.i[2] * lineB.omega[2] * lineB.L + lineB.i[1] * lineB.R = lineB.v[1]; 4: lineB.omega[1] = 0.0; 7: lineR.omega[1] = lineB.omega[1]; 77: $DER.voltageB.theta = 314.1592653589793; 49: lineL.omega[2] = $DER.voltageB.theta; 76: transPh.y[1] = 0.5 * (transPh.a_end + transPh.a_start + (transPh.a_end - transPh.a_start) * tanh(transPh.coef * (time - transPh.t_change))); 74: voltageL.V = 400000.0 * transPh.y[1]; 75: transPh.y[2] = 0.5 * (transPh.ph_end + transPh.ph_start + (transPh.ph_end - transPh.ph_start) * tanh(transPh.coef * (time - transPh.t_change))); 46: lineL.L * $DER.lineL.i[1] - lineL.i[2] * lineL.omega[2] * lineL.L + lineL.i[1] * lineL.R = lineL.v[1]; 73: lineL.term_p.v[1] = voltageL.V * cos(transPh.y[2]); 9: voltageR.V = 400000.0 * voltageR.v0; 48: lineL.v[1] = lineL.term_p.v[1] - lineL.term_n.v[1]; 43: lineR.term_n.v[1] = voltageR.V * cos(voltageR.alpha0); 55: lineR.omega[2] = $DER.voltageB.theta; 13: lineR.i[2] + lineB.i[2] - lineL.i[2] = 0.0; 1: {$DER.lineR.i[1], $DER.lineR.i[2], $DER.lineR.i[3]} = {(-lineR.i[2]) * lineR.omega[1], lineR.i[1] * lineR.omega[1], 0.0}; 54: lineR.v[1] = lineL.term_n.v[1] - lineR.term_n.v[1]; 6: {$DER.lineB.i[1], $DER.lineB.i[2], $DER.lineB.i[3]} = {(-lineB.i[2]) * lineB.omega[1], lineB.i[1] * lineB.omega[1], 0.0}; 52: lineR.L * $DER.lineR.i[1] - lineR.i[2] * lineR.omega[2] * lineR.L + lineR.i[1] * lineR.R = lineR.v[1]; 8: lineL.omega[1] = lineB.omega[1]; 20: $DER.lineR.i[2] + $DER.lineB.i[2] - $DER.lineL.i[2] = 0.0; 45: lineL.L * $DER.lineL.i[2] + lineL.i[1] * lineL.omega[2] * lineL.L + lineL.i[2] * lineL.R = lineL.v[2]; 21: $DER.lineR.i[1] + $DER.lineB.i[1] - $DER.lineL.i[1] = 0.0; 2: {$DER.lineL.i[1], $DER.lineL.i[2], $DER.lineL.i[3]} = {(-lineL.i[2]) * lineL.omega[1], lineL.i[1] * lineL.omega[1], 0.0}; for variables $DER.lineR.i[3](86), lineR.v[2](57), $PRE.relayNet.y[1](22), switch.r[1](31), lineL.v[3](46), $DER.lineL.i[2](42), meter.cos_phi(61), lineR.term_n.v[1](60), $PRE.switch.closed(24), lineL.term_n.v[1](50), lineB.term_p.v[1](20), lineL.v[1](48), $PRE.switch.open(26), lineR.i[3](54), lineL.term_p.v[2](51), switch.s[3](27), lineR.omega[1](4), lineL.v[2](47), lineR.i[1](56), voltageR.neutral.i(38), switch.r[2](30), lineL.i[2](43), lineB.v[1](16), switch.open(25), lineB.term_n.v[1](18), $DER.voltageB.theta(87), lineB.omega[1](3), voltageR.V(1), lineR.term_n.v[2](59), voltageB.V(2), meter.alpha_i(62), relayNet.y[1](21), switch.t0(32), lineB.term_p.v[2](19), lineR.i[2](55), meter.i[1](68), switch.control[1](34), $DER.lineB.i[3](8), lineB.i[3](9), lineB.v[2](15), meter.i[2](67), $DER.lineB.i[1](12), $PRE.switch.t0(33), $DER.lineB.i[2](10), lineL.term_n.v[2](49), switch.v[1](37), lineB.omega[2](7), $whenCondition2(83), $DER.lineL.i[3](40), switch.s[2](28), lineB.v[3](14), lineB.i[1](13), lineL.omega[1](5), lineB.i[2](11) Error: No system for the symbolic initialization was generated Error: Internal error SimCode: The model PowerSystems.Examples.Introductory.SimulationSteadyInitial could not be translated to FMU