Notification: Performance of loadModel(PowerSystems): time 1.754/1.754, allocations: 232.9 MB / 238.9 MB, free: 108 kB / 200.6 MB Notification: Performance of FrontEnd - loaded program: time 0.1804/1.934, allocations: 55.53 MB / 294.4 MB, free: 10.45 MB / 248.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08377/2.018, allocations: 53.21 MB / 347.6 MB, free: 5.125 MB / 296.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.282/2.3, allocations: 106.1 MB / 453.7 MB, free: 15.09 MB / 392.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002659/2.3, allocations: 91.95 kB / 453.8 MB, free: 15 MB / 392.6 MB Notification: Performance of Generate backend data structure: time 0.1121/2.412, allocations: 29.72 MB / 483.5 MB, free: 0.8672 MB / 408.6 MB Notification: Performance of prepare preOptimizeDAE: time 3.607e-05/2.412, allocations: 8 kB / 483.5 MB, free: 0.8594 MB / 408.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001513/2.414, allocations: 198.6 kB / 483.7 MB, free: 0.6641 MB / 408.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003882/2.418, allocations: 1.103 MB / 484.8 MB, free: 15.52 MB / 424.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.329e-05/2.418, allocations: 32 kB / 484.8 MB, free: 15.49 MB / 424.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002248/2.418, allocations: 51.98 kB / 484.9 MB, free: 15.44 MB / 424.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001642/2.42, allocations: 0.7496 MB / 485.6 MB, free: 14.69 MB / 424.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001911/2.422, allocations: 0.9911 MB / 486.6 MB, free: 13.65 MB / 424.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.569e-05/2.422, allocations: 4 kB / 486.6 MB, free: 13.64 MB / 424.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.112e-05/2.422, allocations: 0 / 486.6 MB, free: 13.64 MB / 424.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001289/2.422, allocations: 69.95 kB / 486.7 MB, free: 13.57 MB / 424.6 MB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006786/2.429, allocations: 3.923 MB / 490.6 MB, free: 9.449 MB / 424.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005709/2.429, allocations: 293.1 kB / 490.9 MB, free: 9.148 MB / 424.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004523/2.43, allocations: 258.4 kB / 491.1 MB, free: 8.891 MB / 424.6 MB Notification: Performance of preOpt evalFunc (simulation): time 4.398e-05/2.43, allocations: 8.375 kB / 491.1 MB, free: 8.883 MB / 424.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.014e-05/2.43, allocations: 34.94 kB / 491.2 MB, free: 8.84 MB / 424.6 MB Notification: Performance of pre-optimization done (n=47): time 3.398e-06/2.43, allocations: 0 / 491.2 MB, free: 8.84 MB / 424.6 MB Notification: Performance of matching and sorting (n=59): time 0.005414/2.435, allocations: 2.341 MB / 493.5 MB, free: 6.418 MB / 424.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.351e-05/2.436, allocations: 93.53 kB / 493.6 MB, free: 6.309 MB / 424.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006354/2.436, allocations: 417.9 kB / 494 MB, free: 5.895 MB / 424.6 MB Notification: Performance of collectPreVariables (initialization): time 5.588e-05/2.436, allocations: 25.7 kB / 494 MB, free: 5.863 MB / 424.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003487/2.437, allocations: 466.4 kB / 494.5 MB, free: 5.398 MB / 424.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002314/2.437, allocations: 209 kB / 494.7 MB, free: 5.191 MB / 424.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.854e-05/2.437, allocations: 0 / 494.7 MB, free: 5.191 MB / 424.6 MB Notification: Performance of setup shared object (initialization): time 0.0001902/2.437, allocations: 374.7 kB / 495.1 MB, free: 4.816 MB / 424.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006181/2.438, allocations: 309.9 kB / 495.4 MB, free: 4.512 MB / 424.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007521/2.439, allocations: 0.5376 MB / 495.9 MB, free: 3.871 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.004491/2.443, allocations: 0.9914 MB / 496.9 MB, free: 2.879 MB / 424.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.014e-06/2.443, allocations: 0 / 496.9 MB, free: 2.879 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