Notification: Performance of loadModel(PowerSystems): time 1.798/1.798, allocations: 232.3 MB / 238.2 MB, free: 0.6094 MB / 200.6 MB Notification: Performance of FrontEnd - loaded program: time 0.2/1.998, allocations: 55.35 MB / 293.5 MB, free: 11.19 MB / 248.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0932/2.091, allocations: 53.05 MB / 346.6 MB, free: 6.031 MB / 296.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2906/2.381, allocations: 106 MB / 452.6 MB, free: 0.5352 MB / 376.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002865/2.382, allocations: 91.95 kB / 452.7 MB, free: 456 kB / 376.6 MB Notification: Performance of Generate backend data structure: time 0.1404/2.522, allocations: 29.64 MB / 482.3 MB, free: 2.395 MB / 408.6 MB Notification: Performance of prepare preOptimizeDAE: time 5.686e-05/2.522, allocations: 8 kB / 482.3 MB, free: 2.387 MB / 408.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002576/2.525, allocations: 194.5 kB / 482.5 MB, free: 2.195 MB / 408.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00602/2.531, allocations: 1.114 MB / 483.6 MB, free: 1.043 MB / 408.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.94e-05/2.531, allocations: 24 kB / 483.6 MB, free: 1.02 MB / 408.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003417/2.531, allocations: 52 kB / 483.7 MB, free: 0.9688 MB / 408.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002644/2.534, allocations: 0.7497 MB / 484.4 MB, free: 224 kB / 408.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003137/2.537, allocations: 0.9912 MB / 485.4 MB, free: 15.18 MB / 424.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.993e-05/2.537, allocations: 11.94 kB / 485.4 MB, free: 15.16 MB / 424.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001515/2.538, allocations: 0 / 485.4 MB, free: 15.16 MB / 424.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001814/2.538, allocations: 73.94 kB / 485.5 MB, free: 15.09 MB / 424.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01161/2.549, allocations: 3.922 MB / 489.4 MB, free: 10.97 MB / 424.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00103/2.55, allocations: 297.1 kB / 489.7 MB, free: 10.66 MB / 424.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000821/2.551, allocations: 258.4 kB / 490 MB, free: 10.41 MB / 424.6 MB Notification: Performance of preOpt evalFunc (simulation): time 6.598e-05/2.551, allocations: 4.375 kB / 490 MB, free: 10.4 MB / 424.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.872e-05/2.552, allocations: 42.94 kB / 490 MB, free: 10.35 MB / 424.6 MB Notification: Performance of pre-optimization done (n=47): time 5.406e-06/2.552, allocations: 0 / 490 MB, free: 10.35 MB / 424.6 MB Notification: Performance of matching and sorting (n=59): time 0.009695/2.561, allocations: 2.341 MB / 492.4 MB, free: 7.93 MB / 424.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.217e-05/2.561, allocations: 85.59 kB / 492.5 MB, free: 7.828 MB / 424.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001065/2.562, allocations: 417.8 kB / 492.9 MB, free: 7.414 MB / 424.6 MB Notification: Performance of collectPreVariables (initialization): time 9.149e-05/2.563, allocations: 25.7 kB / 492.9 MB, free: 7.383 MB / 424.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004357/2.563, allocations: 406.4 kB / 493.3 MB, free: 6.977 MB / 424.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003562/2.563, allocations: 209 kB / 493.5 MB, free: 6.77 MB / 424.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.37e-05/2.563, allocations: 4.031 kB / 493.5 MB, free: 6.766 MB / 424.6 MB Notification: Performance of setup shared object (initialization): time 0.000271/2.564, allocations: 370.8 kB / 493.9 MB, free: 6.395 MB / 424.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001069/2.565, allocations: 305.9 kB / 494.2 MB, free: 6.094 MB / 424.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001344/2.566, allocations: 0.5337 MB / 494.7 MB, free: 5.457 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.007592/2.574, allocations: 0.9485 MB / 495.6 MB, free: 4.508 MB / 424.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.086e-06/2.574, allocations: 0 / 495.6 MB, free: 4.508 MB / 424.6 MB [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/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