Notification: Performance of loadModel(PowerSystems): time 1.768/1.768, allocations: 232.9 MB / 239.2 MB, free: 104 kB / 200.6 MB Notification: Performance of FrontEnd - loaded program: time 0.2128/1.981, allocations: 55.15 MB / 294.4 MB, free: 10.82 MB / 248.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08486/2.065, allocations: 53.22 MB / 347.6 MB, free: 5.492 MB / 296.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2894/2.355, allocations: 106.1 MB / 453.6 MB, free: 15.3 MB / 392.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002619/2.355, allocations: 99.98 kB / 453.7 MB, free: 15.21 MB / 392.6 MB Notification: Performance of Generate backend data structure: time 0.1122/2.467, allocations: 29.72 MB / 483.5 MB, free: 1.074 MB / 408.6 MB Notification: Performance of prepare preOptimizeDAE: time 3.74e-05/2.467, allocations: 12 kB / 483.5 MB, free: 1.062 MB / 408.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001473/2.469, allocations: 190.6 kB / 483.7 MB, free: 0.875 MB / 408.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003663/2.473, allocations: 1.114 MB / 484.8 MB, free: 15.72 MB / 424.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.201e-05/2.473, allocations: 24 kB / 484.8 MB, free: 15.7 MB / 424.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002236/2.473, allocations: 56 kB / 484.9 MB, free: 15.64 MB / 424.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001633/2.475, allocations: 0.7496 MB / 485.6 MB, free: 14.89 MB / 424.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001891/2.476, allocations: 0.9873 MB / 486.6 MB, free: 13.86 MB / 424.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.07e-05/2.477, allocations: 11.98 kB / 486.6 MB, free: 13.84 MB / 424.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.145e-05/2.477, allocations: 4 kB / 486.6 MB, free: 13.84 MB / 424.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00012/2.477, allocations: 65.97 kB / 486.7 MB, free: 13.77 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.006657/2.483, allocations: 3.919 MB / 490.6 MB, free: 9.652 MB / 424.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005659/2.484, allocations: 293.1 kB / 490.9 MB, free: 9.352 MB / 424.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004461/2.484, allocations: 266.1 kB / 491.1 MB, free: 9.09 MB / 424.6 MB Notification: Performance of preOpt evalFunc (simulation): time 4.086e-05/2.485, allocations: 4.375 kB / 491.1 MB, free: 9.086 MB / 424.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.55e-05/2.485, allocations: 46.94 kB / 491.2 MB, free: 9.031 MB / 424.6 MB Notification: Performance of pre-optimization done (n=47): time 4.641e-06/2.485, allocations: 0 / 491.2 MB, free: 9.031 MB / 424.6 MB Notification: Performance of matching and sorting (n=59): time 0.005313/2.49, allocations: 2.341 MB / 493.5 MB, free: 6.609 MB / 424.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.721e-05/2.49, allocations: 85.55 kB / 493.6 MB, free: 6.508 MB / 424.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006125/2.491, allocations: 421.8 kB / 494 MB, free: 6.09 MB / 424.6 MB Notification: Performance of collectPreVariables (initialization): time 5.478e-05/2.491, allocations: 25.7 kB / 494 MB, free: 6.059 MB / 424.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003263/2.491, allocations: 0.4891 MB / 494.5 MB, free: 5.562 MB / 424.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002037/2.491, allocations: 205 kB / 494.7 MB, free: 5.359 MB / 424.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.777e-05/2.491, allocations: 32 / 494.7 MB, free: 5.359 MB / 424.6 MB Notification: Performance of setup shared object (initialization): time 0.0001541/2.491, allocations: 350.8 kB / 495.1 MB, free: 5.008 MB / 424.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005769/2.492, allocations: 305.9 kB / 495.4 MB, free: 4.707 MB / 424.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007374/2.493, allocations: 0.5298 MB / 495.9 MB, free: 4.074 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.004381/2.497, allocations: 0.9797 MB / 496.9 MB, free: 3.094 MB / 424.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.144e-05/2.497, allocations: 4 kB / 496.9 MB, free: 3.09 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