Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Wind.WindFarm.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.Wind.WindFarm,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Wind.WindFarm") translateModel(PowerSystems.Examples.Wind.WindFarm,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Wind.WindFarm") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001975/0.001975, 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.726/1.726, 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.001672/0.001672, allocations: 126.1 kB / 256.6 MB, free: 4.32 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1807/0.1807, allocations: 37.95 MB / 338.8 MB, free: 2.223 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.721e-05/2.73e-05, allocations: 2.281 kB / 401.7 MB, free: 68.82 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindFarm): time 0.0416/0.04165, allocations: 47.59 MB / 449.3 MB, free: 21.06 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.04898/0.09069, allocations: 20.43 MB / 469.8 MB, free: 0.5703 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01466/0.1054, allocations: 417.4 kB / 470.2 MB, free: 164 kB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.04778/0.1534, allocations: 23.82 MB / 494 MB, free: 8.301 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01697/0.1704, allocations: 4.623 MB / 498.6 MB, free: 3.66 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009781/0.1802, allocations: 3.023 MB / 0.4899 GB, free: 0.6328 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.2641/0.4444, allocations: 17.19 MB / 0.5067 GB, free: 31.82 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01081/0.4553, allocations: 5.17 MB / 0.5117 GB, free: 31.17 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01438/0.4697, allocations: 5.461 MB / 0.517 GB, free: 30.93 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01298/0.4828, allocations: 4.854 MB / 0.5218 GB, free: 28.64 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.004038/0.4869, allocations: 0.6836 MB / 0.5225 GB, free: 27.96 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01626/0.5032, allocations: 4.39 MB / 0.5267 GB, free: 25.63 MB / 346.7 MB Notification: Performance of combineBinaries: time 0.02386/0.5271, allocations: 12.05 MB / 0.5385 GB, free: 15.5 MB / 346.7 MB Notification: Performance of replaceArrayConstructors: time 0.008895/0.536, allocations: 7.502 MB / 0.5458 GB, free: 8.465 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.006387/0.5425, allocations: 1.063 MB / 0.5469 GB, free: 7.398 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.001546/0.5441, allocations: 56 kB / 0.5469 GB, free: 7.344 MB / 346.7 MB Notification: Performance of Bindings: time 0.05109/0.5952, allocations: 36.02 MB / 0.5821 GB, free: 2.082 MB / 378.7 MB Notification: Performance of simplify1: time 0.003739/0.599, allocations: 1.259 MB / 0.5833 GB, free: 0.9258 MB / 378.7 MB Notification: Performance of Alias: time 0.02005/0.6191, allocations: 11.81 MB / 0.5949 GB, free: 3.992 MB / 394.7 MB Notification: Performance of simplify2: time 0.003145/0.6223, allocations: 1.152 MB / 0.596 GB, free: 2.941 MB / 394.7 MB Notification: Performance of Events: time 0.002827/0.6251, allocations: 2.129 MB / 0.5981 GB, free: 0.9023 MB / 394.7 MB Notification: Performance of DetectStates: time 0.005327/0.6305, allocations: 4.042 MB / 0.602 GB, free: 13.06 MB / 410.7 MB Notification: Performance of Partitioning: time 0.06749/0.698, allocations: 31.53 MB / 0.6328 GB, free: 13.3 MB / 442.7 MB Error: Internal error NBResolveSingularities.noIndexReduction failed because following variables could not be solved: [DER-] (1) Real $DER.wt5.generator.phi_el, [ALGB] (1) output Real wt5.generator.slip, [ALGB] (2) protected Real[2] wt5.generator.omega, [DER-] (3) Real[3] $DER.wt5.generator.i, [DER-] (3) Real[3, 1] $DER.line4.i, [DER-] (6) Real[3, 2] $DER.line4.v, [ALGB] (2) protected Real[2] line4.omega, [ALGB] (2) protected Real[2] wt4.trafo.omega, [ALGB] (1) flow Real wt5.inertia.flange_a.tau, [ALGB] (1) Real wt4.rotor.lambda, [DER-] (1) Real $DER.wt4.generator.phi_el, [DER-] (2) Real[2] $DER.wt4.generator.term.theta, [DER-] (3) Real[3] $DER.wt4.generator.i, [DER-] (3) Real[3, 1] $DER.line3.i, [DER-] (6) Real[3, 2] $DER.line3.v, [ALGB] (2) protected Real[2] line3.omega, [DER-] (3) Real[3, 1] $DER.line2.i, [DER-] (6) Real[3, 2] $DER.line2.v, [ALGB] (2) protected Real[2] line2.omega, [DER-] (3) Real[3, 1] $DER.line1.i, [DER-] (6) Real[3, 2] $DER.line1.v, [ALGB] (2) protected Real[2] line1.omega, [ALGB] (1) output Real meter.cos_phi (StateSelect = never), [ALGB] (1) output Real meter.i_norm (StateSelect = never), [ALGB] (3) output Real[3] meter.p (StateSelect = never), [ALGB] (2) protected Real[2] wt3.trafo.omega, [ALGB] (1) Real wt3.rotor.lambda, [DER-] (1) Real $DER.wt3.generator.phi_el, [DER-] (2) Real[2] $DER.wt3.generator.term.theta, [DER-] (3) Real[3] $DER.wt3.generator.i, [ALGB] (2) protected Real[2] wt2.trafo.omega, [ALGB] (1) Real wt2.rotor.lambda, [DER-] (1) Real $DER.wt2.generator.phi_el, [DER-] (2) Real[2] $DER.wt2.generator.term.theta, [DER-] (3) Real[3] $DER.wt2.generator.i, [ALGB] (2) protected Real[2] wt1.trafo.omega, [ALGB] (2) protected Real[2] wt5.trafo.omega, [DER-] (2) Real[2] $DER.line5.term_p.theta, [DER-] (1) Real $DER.wt1.inertia.w, [DER-] (1) Real $DER.wt1.generator.phi_el, [DER-] (2) Real[2] $DER.wt1.generator.term.theta, [DER-] (3) Real[3] $DER.wt1.generator.i, [DER-] (9) Real[3, 3] $DER.line.i, [ALGB] (2) protected Real[2] line.omega, [DER-] (12) Real[3, 4] $DER.line.v Furthermore following equations are unmatched: [SCAL] (1) CAST(Real, wt5.generator.pp) * wt5.inertia.flange_b.phi = wt5.generator.phi_el ($RES_SIM_160), [ARRY] (2) wt5.generator.psi_s = diagonal(wt5.generator.c.L_s[1:2]) * wt5.generator.i[1:2] + {wt5.generator.L_m * wt5.generator.i_rd, wt5.generator.L_m * wt5.generator.i_rq} ($RES_SIM_172), [ARRY] (2) wt4.trafo.term_n.theta = wt4.term.theta ($RES_SIM_935), [SCAL] (1) wt5.gear.phi_a = wt5.gear.ratio * wt5.gear.phi_b ($RES_SIM_134), [SCAL] (1) wt4.gear.phi_a = wt4.rotor.flange.phi ($RES_SIM_274), [SCAL] (1) CAST(Real, wt4.generator.pp) * wt4.inertia.flange_b.phi = wt4.generator.phi_el ($RES_SIM_298), [SCAL] (1) wt4.inverter2.AC.theta[2] = wt4.generator.term.theta[2] ($RES_SIM_976), [SCAL] (1) wt4.inverter2.AC.theta[1] = wt4.generator.term.theta[1] ($RES_SIM_979), [ARRY] (2) wt4.generator.psi_s = diagonal(wt4.generator.c.L_s[1:2]) * wt4.generator.i[1:2] + {wt4.generator.L_m * wt4.generator.i_rd, wt4.generator.L_m * wt4.generator.i_rq} ($RES_SIM_310), [ARRY] (2) wt3.trafo.term_n.theta = wt3.term.theta ($RES_SIM_988), [SCAL] (1) wt3.gear.phi_a = wt3.rotor.flange.phi ($RES_SIM_443), [SCAL] (1) CAST(Real, wt3.generator.pp) * wt3.inertia.flange_b.phi = wt3.generator.phi_el ($RES_SIM_467), [SCAL] (1) wt3.inverter2.AC.theta[2] = wt3.generator.term.theta[2] ($RES_SIM_1029), [SCAL] (1) wt3.inverter2.AC.theta[1] = wt3.generator.term.theta[1] ($RES_SIM_1032), [ARRY] (2) wt3.generator.psi_s = diagonal(wt3.generator.c.L_s[1:2]) * wt3.generator.i[1:2] + {wt3.generator.L_m * wt3.generator.i_rd, wt3.generator.L_m * wt3.generator.i_rq} ($RES_SIM_479), [ARRY] (2) wt2.trafo.term_n.theta = wt2.term.theta ($RES_SIM_1041), [SCAL] (1) wt2.gear.phi_a = wt2.rotor.flange.phi ($RES_SIM_575), [SCAL] (1) CAST(Real, wt2.generator.pp) * wt2.inertia.flange_b.phi = wt2.generator.phi_el ($RES_SIM_599), [SCAL] (1) wt2.inverter2.AC.theta[2] = wt2.generator.term.theta[2] ($RES_SIM_1082), [SCAL] (1) wt2.inverter2.AC.theta[1] = wt2.generator.term.theta[1] ($RES_SIM_1085), [ARRY] (2) wt2.generator.psi_s = diagonal(wt2.generator.c.L_s[1:2]) * wt2.generator.i[1:2] + {wt2.generator.L_m * wt2.generator.i_rd, wt2.generator.L_m * wt2.generator.i_rq} ($RES_SIM_611), [ARRY] (2) wt1.trafo.term_n.theta = wt1.term.theta ($RES_SIM_1094), [ARRY] (2) wt5.sensor.term_n.theta = wt5.trafo.term_p.theta ($RES_SIM_887), [ARRY] (2) wt5.trafo.term_n.theta = wt5.term.theta ($RES_SIM_882), [SCAL] (1) line5.term_n.theta[2] = line2.term_n.theta[2] ($RES_SIM_857), [SCAL] (1) line5.term_n.theta[2] = line1.term_n.theta[2] ($RES_SIM_858), [SCAL] (1) line5.term_n.theta[2] = line3.term_n.theta[2] ($RES_SIM_859), [SCAL] (1) line5.term_n.theta[2] = line4.term_n.theta[2] ($RES_SIM_860), [SCAL] (1) line5.term_n.theta[1] = line2.term_n.theta[1] ($RES_SIM_863), [SCAL] (1) line5.term_n.theta[1] = line1.term_n.theta[1] ($RES_SIM_864), [SCAL] (1) line5.term_n.theta[1] = line3.term_n.theta[1] ($RES_SIM_865), [SCAL] (1) line5.term_n.theta[1] = line4.term_n.theta[1] ($RES_SIM_866), [SCAL] (1) wt1.gear.phi_b = wt1.inertia.flange_b.phi ($RES_SIM_706), [SCAL] (1) line5.term_n.v[3] = line1.term_n.v[3] ($RES_SIM_840), [SCAL] (1) line5.term_n.v[3] = line3.term_n.v[3] ($RES_SIM_841), [SCAL] (1) line5.term_n.v[3] = line4.term_n.v[3] ($RES_SIM_842), [SCAL] (1) line5.term_n.v[2] = line1.term_n.v[2] ($RES_SIM_846), [SCAL] (1) line5.term_n.v[2] = line3.term_n.v[2] ($RES_SIM_847), [SCAL] (1) line5.term_n.v[2] = line4.term_n.v[2] ($RES_SIM_848), [SCAL] (1) line5.term_n.v[1] = line1.term_n.v[1] ($RES_SIM_852), [SCAL] (1) line5.term_n.v[1] = line3.term_n.v[1] ($RES_SIM_853), [SCAL] (1) line5.term_n.v[1] = line4.term_n.v[1] ($RES_SIM_854), [ARRY] (3) line5.v[:, 2] = line5.term_n.v ($RES_SIM_55), [SCAL] (1) CAST(Real, wt1.generator.pp) * wt1.inertia.flange_b.phi = wt1.generator.phi_el ($RES_SIM_731), [SCAL] (1) wt1.inverter2.AC.theta[2] = wt1.generator.term.theta[2] ($RES_SIM_1135), [SCAL] (1) wt1.inverter2.AC.theta[1] = wt1.generator.term.theta[1] ($RES_SIM_1138), [ARRY] (2) wt1.generator.psi_s = diagonal(wt1.generator.c.L_s[1:2]) * wt1.generator.i[1:2] + {wt1.generator.L_m * wt1.generator.i_rd, wt1.generator.L_m * wt1.generator.i_rq} ($RES_SIM_743), [ARRY] (2) line.term_n.theta = infBus.term.theta ($RES_SIM_877), [ARRY] (2) meter.term_n.theta = line.term_p.theta ($RES_SIM_834), [ARRY] (3) line.v[:, 4] = line.term_n.v ($RES_SIM_774), [ARRY] (3) meter.term_n.v = line.term_p.v ($RES_SIM_833)