Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Generation.PowerAngle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo", uses=false) Using package PowerSystems with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Generation.PowerAngle,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Generation_PowerAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Generation.PowerAngle,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Generation_PowerAngle",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001079/0.001079, allocations: 179.6 kB / 8.352 MB, free: 0.7227 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.54/1.54, allocations: 194.3 MB / 203.1 MB, free: 12.95 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001642/0.001642, allocations: 128.6 kB / 248.1 MB, free: 15.95 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1582/0.1582, allocations: 37.93 MB / 330.9 MB, free: 2.637 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.699e-05/1.702e-05, allocations: 3.938 kB / 390.5 MB, free: 6.973 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2612/0.2612, allocations: 53.22 MB / 443.7 MB, free: 17.66 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4363/0.6976, allocations: 106.4 MB / 0.5372 GB, free: 91.91 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002668/0.6979, allocations: 90.95 kB / 0.5373 GB, free: 91.89 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07091/0.7689, allocations: 29.41 MB / 0.566 GB, free: 62.95 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.7689, allocations: 0 / 0.566 GB, free: 62.95 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.912e-05/0.769, allocations: 20 kB / 0.566 GB, free: 62.93 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.001677/0.7707, allocations: 1.033 MB / 0.567 GB, free: 61.84 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.755e-05/0.7707, allocations: 8.031 kB / 0.567 GB, free: 61.84 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009731/0.7717, allocations: 190.7 kB / 0.5672 GB, free: 61.65 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002515/0.7742, allocations: 1.186 MB / 0.5684 GB, free: 60.42 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.128e-05/0.7743, allocations: 24 kB / 0.5684 GB, free: 60.39 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001462/0.7744, allocations: 51.98 kB / 0.5684 GB, free: 60.34 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000998/0.7754, allocations: 0.7224 MB / 0.5692 GB, free: 59.62 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001213/0.7767, allocations: 0.9716 MB / 0.5701 GB, free: 58.6 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.082e-05/0.7767, allocations: 0 / 0.5701 GB, free: 58.6 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.369e-05/0.7768, allocations: 4 kB / 0.5701 GB, free: 58.59 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.08e-05/0.7769, allocations: 69.97 kB / 0.5702 GB, free: 58.52 MB / 378.7 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.003891/0.7808, allocations: 3.899 MB / 0.574 GB, free: 54.42 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004848/0.7813, allocations: 496.1 kB / 0.5745 GB, free: 53.88 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002695/0.7816, allocations: 258.8 kB / 0.5747 GB, free: 53.62 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.109e-05/0.7816, allocations: 12.38 kB / 0.5747 GB, free: 53.61 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.183e-05/0.7816, allocations: 38.88 kB / 0.5747 GB, free: 53.57 MB / 378.7 MB Notification: Performance of pre-optimization done (n=47): time 1.583e-06/0.7816, allocations: 0 / 0.5747 GB, free: 53.57 MB / 378.7 MB Notification: Performance of matching and sorting (n=59): time 0.003399/0.785, allocations: 2.332 MB / 0.577 GB, free: 51.15 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.413e-05/0.7851, allocations: 85.67 kB / 0.5771 GB, free: 51.05 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000383/0.7855, allocations: 421.9 kB / 0.5775 GB, free: 50.63 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.114e-05/0.7855, allocations: 25.7 kB / 0.5775 GB, free: 50.6 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001815/0.7857, allocations: 478.4 kB / 0.578 GB, free: 50.12 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001189/0.7858, allocations: 209 kB / 0.5782 GB, free: 49.92 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.538e-05/0.7859, allocations: 0 / 0.5782 GB, free: 49.92 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.248e-05/0.786, allocations: 374.8 kB / 0.5785 GB, free: 49.54 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003349/0.7863, allocations: 298.5 kB / 0.5788 GB, free: 49.25 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004206/0.7868, allocations: 0.5243 MB / 0.5793 GB, free: 48.63 MB / 378.7 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.003112/0.7899, allocations: 0.9731 MB / 0.5803 GB, free: 47.65 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.841e-06/0.7899, allocations: 4 kB / 0.5803 GB, free: 47.65 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.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; 26: RLgen1.omega[2] = $DER.Vbus1.theta; 68: generator.omega[1] = 0.0; 39: RLgen1.omega[2] = generator.omega[2]; 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), generator.i_s[2](39), 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