Notification: Performance of loadModel(PowerSystems): time 1.75/1.75, allocations: 232.6 MB / 238.5 MB, free: 460 kB / 200.6 MB Notification: Performance of FrontEnd - loaded program: time 0.1686/1.918, allocations: 55.02 MB / 293.5 MB, free: 11.37 MB / 248.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07293/1.991, allocations: 53.09 MB / 346.6 MB, free: 6.164 MB / 296.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2766/2.268, allocations: 106 MB / 452.6 MB, free: 412 kB / 376.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002891/2.269, allocations: 92.14 kB / 452.7 MB, free: 316 kB / 376.6 MB Notification: Performance of Generate backend data structure: time 0.1244/2.393, allocations: 29.66 MB / 482.4 MB, free: 2.242 MB / 408.6 MB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/2.393, allocations: 11.94 kB / 482.4 MB, free: 2.23 MB / 408.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00152/2.395, allocations: 194.5 kB / 482.6 MB, free: 2.039 MB / 408.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003418/2.398, allocations: 1.095 MB / 483.7 MB, free: 0.9062 MB / 408.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.561e-05/2.398, allocations: 28 kB / 483.7 MB, free: 0.8789 MB / 408.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002208/2.399, allocations: 59.91 kB / 483.8 MB, free: 0.8203 MB / 408.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00159/2.4, allocations: 0.7458 MB / 484.5 MB, free: 76 kB / 408.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001985/2.402, allocations: 0.999 MB / 485.5 MB, free: 15.03 MB / 424.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.681e-05/2.402, allocations: 3.938 kB / 485.5 MB, free: 15.02 MB / 424.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001018/2.403, allocations: 4 kB / 485.5 MB, free: 15.02 MB / 424.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001275/2.403, allocations: 65.95 kB / 485.6 MB, free: 14.95 MB / 424.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006065/2.409, allocations: 3.934 MB / 489.5 MB, free: 10.82 MB / 424.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005337/2.409, allocations: 293.1 kB / 489.8 MB, free: 10.52 MB / 424.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005744/2.41, allocations: 256.6 kB / 490.1 MB, free: 10.27 MB / 424.6 MB Notification: Performance of preOpt evalFunc (simulation): time 4.596e-05/2.41, allocations: 12.38 kB / 490.1 MB, free: 10.25 MB / 424.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.312e-05/2.41, allocations: 42.92 kB / 490.1 MB, free: 10.2 MB / 424.6 MB Notification: Performance of pre-optimization done (n=47): time 6.007e-06/2.41, allocations: 3.938 kB / 490.1 MB, free: 10.2 MB / 424.6 MB Notification: Performance of matching and sorting (n=59): time 0.005302/2.416, allocations: 2.345 MB / 492.5 MB, free: 7.77 MB / 424.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.668e-05/2.416, allocations: 81.61 kB / 492.5 MB, free: 7.672 MB / 424.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005353/2.416, allocations: 421.8 kB / 493 MB, free: 7.254 MB / 424.6 MB Notification: Performance of collectPreVariables (initialization): time 4.54e-05/2.417, allocations: 25.7 kB / 493 MB, free: 7.223 MB / 424.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001636/2.417, allocations: 448.9 kB / 493.4 MB, free: 6.777 MB / 424.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001641/2.417, allocations: 205 kB / 493.6 MB, free: 6.574 MB / 424.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.203e-05/2.417, allocations: 0 / 493.6 MB, free: 6.574 MB / 424.6 MB Notification: Performance of setup shared object (initialization): time 0.0002257/2.417, allocations: 346.8 kB / 494 MB, free: 6.227 MB / 424.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005354/2.418, allocations: 305.9 kB / 494.3 MB, free: 5.926 MB / 424.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006336/2.419, allocations: 0.5376 MB / 494.8 MB, free: 5.285 MB / 424.6 MB Notification: It was not possible to analyze the given system symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 0.004939/2.424, allocations: 0.9252 MB / 495.7 MB, free: 4.359 MB / 424.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.171e-06/2.424, allocations: 7.938 kB / 495.7 MB, free: 4.352 MB / 424.6 MB [PowerSystems 0.6.0/AC3ph/Sources.mo:128:5-128:17:writable] Error: Initialization problem is structurally singular, error found sorting equations 65: infBus.V = 20000.0 * infBus.v0; 68: generator.omega[1] = 0.0; 39: generator.omega[2] = $DER.Vbus1.theta; 1: generator.w_el = generator.omega[1] + generator.omega[2]; 10: generator.v[2] = infBus.V * sin(infBus.alpha0); 9: generator.v[1] = infBus.V * cos(infBus.alpha0); 12: /*Real*/(powerAngle.pp) * generator.w_el = $DER.powerAngle.phi_el; 16: $DER.generator.v[1] = 0.0; 17: $DER.generator.v[2] = 0.0; 11: $DER.Vbus1.theta = 314.1592653589793; 13: $DER.powerAngle.phi_el = (if noEvent(generator.v[2] == 0.0) then generator.v[2] else (generator.v[1] * $DER.generator.v[2] - $DER.generator.v[1] * generator.v[2]) / (generator.v[2] ^ 2.0 * (1.0 + (generator.v[1] / generator.v[2]) ^ 2.0))) + $DER.Vbus1.theta; for variables RLgen1.i[2](18), RLgen1.omega[2](13), generator.v[1](55), $DER.powerAngle.phi_el(66), Vgen1.neutral.i(25), RLgen1.term_p.v[1](24), RLgen1.i[1](20), Vbus1.theta(7), generator.omega[1](5), sensor.p[1](28), generator.psi_e(6), $DER.RLgen1.i[3](15) Error: No system for the symbolic initialization was generated Error: Internal error SimCode: The model PowerSystems.Examples.AC3ph.Generation.PowerAngle could not be translated to FMU