Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.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.AC1ph_DC.Elementary.Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=15000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=15000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001376/0.001376, allocations: 192.5 kB / 17.29 MB, free: 4.492 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.891/1.891, allocations: 194.2 MB / 212.2 MB, free: 2.379 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.002044/0.002044, allocations: 123.9 kB / 256.6 MB, free: 4.344 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1771/0.1771, allocations: 37.95 MB / 338.9 MB, free: 2.219 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.572e-05/3.574e-05, allocations: 2.281 kB / 401.8 MB, free: 68.81 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Transformer): time 0.008617/0.00867, allocations: 6.55 MB / 408.3 MB, free: 62.23 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.003934/0.01266, allocations: 1.727 MB / 410 MB, free: 60.5 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005731/0.01327, allocations: 39.75 kB / 410.1 MB, free: 60.46 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005345/0.01387, allocations: 119.2 kB / 410.2 MB, free: 60.34 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001156/0.01505, allocations: 346.6 kB / 410.5 MB, free: 60 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004283/0.01549, allocations: 135.8 kB / 410.7 MB, free: 59.87 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008868/0.01639, allocations: 0.7832 MB / 411.4 MB, free: 59.09 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003536/0.01677, allocations: 173.4 kB / 411.6 MB, free: 58.91 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005412/0.01732, allocations: 346.5 kB / 411.9 MB, free: 58.57 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004967/0.01783, allocations: 322.7 kB / 412.3 MB, free: 58.25 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 4.956e-05/0.0179, allocations: 36 kB / 412.3 MB, free: 58.22 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001696/0.01807, allocations: 111.7 kB / 412.4 MB, free: 58.11 MB / 314.7 MB Notification: Performance of combineBinaries: time 0.0006088/0.01869, allocations: 0.8078 MB / 413.2 MB, free: 57.29 MB / 314.7 MB Notification: Performance of replaceArrayConstructors: time 0.0003358/0.01904, allocations: 0.5164 MB / 413.7 MB, free: 56.77 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001255/0.01918, allocations: 75.75 kB / 413.8 MB, free: 56.7 MB / 314.7 MB Notification: Performance of FrontEnd: time 7.848e-05/0.01927, allocations: 8 kB / 413.8 MB, free: 56.69 MB / 314.7 MB Notification: Performance of Bindings: time 0.001969/0.02125, allocations: 2.047 MB / 415.9 MB, free: 54.53 MB / 314.7 MB Notification: Performance of simplify1: time 8.568e-05/0.02136, allocations: 75.91 kB / 415.9 MB, free: 54.46 MB / 314.7 MB Notification: Performance of Alias: time 0.001098/0.02247, allocations: 0.7526 MB / 416.7 MB, free: 53.57 MB / 314.7 MB Notification: Performance of simplify2: time 7.328e-05/0.02256, allocations: 67.91 kB / 416.8 MB, free: 53.5 MB / 314.7 MB Notification: Performance of Events: time 0.0001331/0.0227, allocations: 83.77 kB / 416.8 MB, free: 53.42 MB / 314.7 MB Notification: Performance of DetectStates: time 0.000223/0.02294, allocations: 143.8 kB / 417 MB, free: 53.28 MB / 314.7 MB Notification: Performance of Partitioning: time 0.0007837/0.02373, allocations: 463.5 kB / 417.4 MB, free: 52.81 MB / 314.7 MB Error: Internal error NBResolveSingularities.noIndexReduction failed because following variables could not be solved: [ALGB] (1) Real trafo.v2 (nominal = 1000.0), [DISC] (1) protected Integer tapChanger.cnt_2 (fixed = true, start = 1), [DISC] (1) protected Integer tapChanger.cnt_1 (fixed = true, start = 1) Furthermore following equations are unmatched: [ARRY] (2) voltage.vPhasor_in = voltage.vPhasor_internal ($RES_SIM_81), [ALGO] (4) ($RES_SIM_1) [----] when $SEV_0 then [----] tapChanger.cnt_1 := tapChanger.cnt_1 + 1; [----] tapChanger.tap_1 := tapChanger.preset_1[min(tapChanger.cnt_1, 3)]; [----] end when; [----] when $SEV_1 then [----] tapChanger.cnt_2 := tapChanger.cnt_2 + 1; [----] tapChanger.tap_2 := tapChanger.preset_2[min(tapChanger.cnt_2, 3)]; [----] end when; , [FOR-] (2) ($RES_SIM_75) [----] for $i1 in 1:2 loop [----] [SCAL] (1) voltage.term.i[$i1] + meter1.term_p.i[$i1] = 0.0 ($RES_SIM_76) [----] end for;