Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurboGroupGenerator.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.TurboGroupGenerator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurboGroupGenerator") translateModel(PowerSystems.Examples.AC3ph.Generation.TurboGroupGenerator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurboGroupGenerator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001526/0.001526, allocations: 196.5 kB / 17.29 MB, free: 4.488 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.589/1.589, allocations: 194.2 MB / 212.2 MB, free: 2.375 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.002168/0.002168, allocations: 130 kB / 256.6 MB, free: 4.328 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.203/0.203, allocations: 37.94 MB / 338.8 MB, free: 2.242 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.309e-05/3.312e-05, allocations: 2.281 kB / 401.8 MB, free: 68.82 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.TurboGroupGenerator): time 0.01334/0.01339, allocations: 13.19 MB / 414.9 MB, free: 55.57 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01444/0.02791, allocations: 7.732 MB / 422.7 MB, free: 47.82 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003968/0.03203, allocations: 99.38 kB / 422.8 MB, free: 47.72 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.4325/0.4646, allocations: 118.3 MB / 0.5284 GB, free: 60.37 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004104/0.4687, allocations: 0.776 MB / 0.5292 GB, free: 59.86 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002511/0.4713, allocations: 0.6652 MB / 0.5298 GB, free: 59.25 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.02042/0.4917, allocations: 17.09 MB / 0.5465 GB, free: 43.03 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002591/0.4944, allocations: 1.84 MB / 0.5483 GB, free: 41.23 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.03322/0.5276, allocations: 30.06 MB / 0.5776 GB, free: 12.13 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00188/0.5296, allocations: 0.9406 MB / 0.5786 GB, free: 11.27 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000327/0.5299, allocations: 198.8 kB / 0.5788 GB, free: 11.08 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005811/0.5357, allocations: 2.848 MB / 0.5815 GB, free: 8.461 MB / 346.7 MB Notification: Performance of combineBinaries: time 0.001836/0.5376, allocations: 2.63 MB / 0.5841 GB, free: 5.906 MB / 346.7 MB Notification: Performance of replaceArrayConstructors: time 0.0008801/0.5385, allocations: 1.576 MB / 0.5856 GB, free: 4.355 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006087/0.5391, allocations: 263.3 kB / 0.5859 GB, free: 4.098 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.0004202/0.5395, allocations: 16 kB / 0.5859 GB, free: 4.082 MB / 346.7 MB Notification: Performance of Bindings: time 0.007152/0.5467, allocations: 7.739 MB / 0.5935 GB, free: 12.13 MB / 362.7 MB Notification: Performance of simplify1: time 0.0005678/0.5473, allocations: 287.1 kB / 0.5937 GB, free: 11.86 MB / 362.7 MB Notification: Performance of Alias: time 0.005779/0.5531, allocations: 3.767 MB / 0.5974 GB, free: 7.711 MB / 362.7 MB Notification: Performance of simplify2: time 0.0003929/0.5535, allocations: 230 kB / 0.5976 GB, free: 7.5 MB / 362.7 MB Notification: Performance of Events: time 0.0006607/0.5542, allocations: 0.5733 MB / 0.5982 GB, free: 6.922 MB / 362.7 MB Notification: Performance of DetectStates: time 0.001132/0.5554, allocations: 0.8245 MB / 0.599 GB, free: 6.141 MB / 362.7 MB Notification: Performance of Partitioning: time 0.00291/0.5583, allocations: 1.999 MB / 0.601 GB, free: 4.062 MB / 362.7 MB Error: Internal error NBResolveSingularities.noIndexReduction failed because following variables could not be solved: [DER-] (1) Real $DER.turboGrpGen.turbTorq.phi, [ALGB] (1) flow Real system.receiveFreq.w_H, [ALGB] (2) protected Real[2] turboGrpGen.generator.omega, [DER-] (3) Real[3] $DER.turboGrpGen.generator.i_s, [ALGB] (3) Real[3] turboGrpGen.generator.top.v_term (nominal = {1000.0 for $i1 in 1:3}), [DER-] (2) Real[2] $DER.line.term_p.theta, [DISC] (1) protected Integer relayGrd.cnt (fixed = true, start = 1) Furthermore following equations are unmatched: [SCAL] (1) CAST(Real, turboGrpGen.generator.pp) * turboGrpGen.turboGroup.genRotor.friction.phi = turboGrpGen.generator.phi_el ($RES_SIM_155), [ARRY] (2) turboGrpGen.generator.psi_s = diagonal(turboGrpGen.generator.c.L_s[1:2]) * turboGrpGen.generator.i_s[1:2] + {turboGrpGen.generator.L_md * turboGrpGen.generator.i_rd, turboGrpGen.generator.L_mq * turboGrpGen.generator.i_rq} ($RES_SIM_171), [SCAL] (1) turboGrpGen.turboGroup.blades[1].phi = turboGrpGen.turboGroup.turbine1.friction.phi ($RES_SIM_290), [ARRY] (2) line.term_n.theta = line.term_p.theta ($RES_SIM_51), [SCAL] (1) turboGrpGen.generator.term.theta[2] = turboGrpGen.term.theta[2] ($RES_SIM_269), [SCAL] (1) turboGrpGen.generator.term.theta[1] = turboGrpGen.term.theta[1] ($RES_SIM_271), [ALGO] (2) ($RES_SIM_32) [----] when $SEV_0 then [----] relayGrd.cnt := min(relayGrd.cnt + 1, 2); [----] for k in relayGrd.switched loop [----] relayGrd.y[k] := not relayGrd.y[k]; [----] end for; [----] end when;