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: translateModel(PowerSystems.Examples.AC3ph.Generation.PowerAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.PowerAngle") translateModel(PowerSystems.Examples.AC3ph.Generation.PowerAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.PowerAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001016/0.001016, allocations: 187.5 kB / 8.352 MB, free: 0.707 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.268/1.268, allocations: 194.3 MB / 203.1 MB, free: 9.324 MB / 171.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001649/0.001649, allocations: 122.2 kB / 248.1 MB, free: 6.336 MB / 203.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1672/0.1672, allocations: 37.91 MB / 330.9 MB, free: 7.328 MB / 283.1 MB Notification: Performance of FrontEnd - loaded program: time 1.271e-05/1.272e-05, allocations: 4 kB / 390.4 MB, free: 78.23 MB / 315.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1002/0.1002, allocations: 53.23 MB / 443.6 MB, free: 25.12 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3823/0.4825, allocations: 106.4 MB / 0.5371 GB, free: 2.109 MB / 347.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002604/0.4828, allocations: 87.2 kB / 0.5372 GB, free: 2.066 MB / 347.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.08324/0.5661, allocations: 29.41 MB / 0.5659 GB, free: 9.277 MB / 379.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.5661, allocations: 0 / 0.5659 GB, free: 9.277 MB / 379.1 MB Notification: Performance of Transformations before backend: time 5.785e-05/0.5662, allocations: 16 kB / 0.5659 GB, free: 9.262 MB / 379.1 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.00208/0.5683, allocations: 1.035 MB / 0.5669 GB, free: 8.23 MB / 379.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.803e-05/0.5683, allocations: 8.031 kB / 0.5669 GB, free: 8.223 MB / 379.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001224/0.5696, allocations: 190.3 kB / 0.5671 GB, free: 8.039 MB / 379.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003115/0.5727, allocations: 1.178 MB / 0.5683 GB, free: 7.02 MB / 379.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.07e-05/0.5728, allocations: 24 kB / 0.5683 GB, free: 6.996 MB / 379.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002017/0.573, allocations: 55.89 kB / 0.5683 GB, free: 6.941 MB / 379.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001299/0.5743, allocations: 0.723 MB / 0.569 GB, free: 6.461 MB / 379.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001489/0.5758, allocations: 0.9662 MB / 0.57 GB, free: 5.688 MB / 379.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.226e-05/0.5758, allocations: 4 kB / 0.57 GB, free: 5.684 MB / 379.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.254e-05/0.5759, allocations: 0 / 0.57 GB, free: 5.684 MB / 379.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000117/0.576, allocations: 69.47 kB / 0.5701 GB, free: 5.621 MB / 379.1 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.005243/0.5813, allocations: 3.91 MB / 0.5739 GB, free: 2.098 MB / 379.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000618/0.5819, allocations: 488.9 kB / 0.5743 GB, free: 1.668 MB / 379.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003309/0.5823, allocations: 261.9 kB / 0.5746 GB, free: 1.492 MB / 379.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.367e-05/0.5823, allocations: 12.31 kB / 0.5746 GB, free: 1.48 MB / 379.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.72e-05/0.5824, allocations: 41.75 kB / 0.5746 GB, free: 1.438 MB / 379.1 MB Notification: Performance of pre-optimization done (n=47): time 2.275e-06/0.5824, allocations: 0 / 0.5746 GB, free: 1.438 MB / 379.1 MB Notification: Performance of matching and sorting (n=59): time 0.004245/0.5866, allocations: 2.326 MB / 0.5769 GB, free: 15.49 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.386e-05/0.5867, allocations: 85.67 kB / 0.577 GB, free: 15.39 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005661/0.5873, allocations: 423.7 kB / 0.5774 GB, free: 15.05 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 4.611e-05/0.5873, allocations: 25.7 kB / 0.5774 GB, free: 15.02 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002709/0.5876, allocations: 472.2 kB / 0.5779 GB, free: 14.66 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001673/0.5878, allocations: 210.9 kB / 0.5781 GB, free: 14.47 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.9e-05/0.5878, allocations: 0 / 0.5781 GB, free: 14.47 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001387/0.588, allocations: 377.6 kB / 0.5784 GB, free: 14.12 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000429/0.5884, allocations: 301.5 kB / 0.5787 GB, free: 13.93 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005518/0.589, allocations: 0.526 MB / 0.5792 GB, free: 13.43 MB / 395.1 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.003532/0.5925, allocations: 0.9703 MB / 0.5802 GB, free: 12.62 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.93e-06/0.5925, allocations: 0 / 0.5802 GB, free: 12.62 MB / 395.1 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