Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Tests.VoltageRegulation1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSysPro.Tests.VoltageRegulation1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Tests.VoltageRegulation1") translateModel(PowerSysPro.Tests.VoltageRegulation1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Tests.VoltageRegulation1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009447/0.0009447, allocations: 105.7 kB / 17.08 MB, free: 6.078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009273/0.0009273, allocations: 195.5 kB / 18.03 MB, free: 5.164 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.22/1.22, allocations: 222.9 MB / 241.7 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.04377/0.04377, allocations: 8.107 MB / 300 MB, free: 6.664 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.491e-05/2.504e-05, allocations: 2.281 kB / 363.1 MB, free: 7.477 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.VoltageRegulation1): time 0.002778/0.002815, allocations: 1.624 MB / 364.7 MB, free: 5.84 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001034/0.003861, allocations: 0.6248 MB / 365.4 MB, free: 5.215 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.535e-05/0.003927, allocations: 7.938 kB / 365.4 MB, free: 5.207 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001706/0.004104, allocations: 115.8 kB / 365.5 MB, free: 5.094 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000193/0.004304, allocations: 147.5 kB / 365.6 MB, free: 4.949 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003176/0.004638, allocations: 111.7 kB / 365.7 MB, free: 4.84 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002943/0.004942, allocations: 251.5 kB / 366 MB, free: 4.594 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.593e-05/0.005025, allocations: 20.98 kB / 366 MB, free: 4.57 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001228/0.005153, allocations: 115.7 kB / 366.1 MB, free: 4.457 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001649/0.005325, allocations: 147.7 kB / 366.3 MB, free: 4.312 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.671e-05/0.00536, allocations: 19.88 kB / 366.3 MB, free: 4.293 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001191/0.005484, allocations: 87.92 kB / 366.4 MB, free: 4.207 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0002406/0.005732, allocations: 221.9 kB / 366.6 MB, free: 3.988 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 5.594e-05/0.005795, allocations: 114.4 kB / 366.7 MB, free: 3.875 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.776e-05/0.005839, allocations: 23.94 kB / 366.7 MB, free: 3.852 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.718e-06/0.005853, allocations: 0 / 366.7 MB, free: 3.852 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 (5) * Number of variables: 15 (15) Notification: Performance of Bindings: time 0.0006789/0.006537, allocations: 0.6635 MB / 367.4 MB, free: 3.086 MB / 302.1 MB Notification: Performance of FunctionAlias: time 9.526e-05/0.006638, allocations: 63.89 kB / 367.4 MB, free: 3.023 MB / 302.1 MB Notification: Performance of Early Inline: time 0.000372/0.007017, allocations: 432.1 kB / 367.9 MB, free: 2.574 MB / 302.1 MB Notification: Performance of simplify1: time 1.242e-05/0.007036, allocations: 0 / 367.9 MB, free: 2.574 MB / 302.1 MB Notification: Performance of Alias: time 0.0003891/0.007429, allocations: 334.1 kB / 368.2 MB, free: 2.195 MB / 302.1 MB Notification: Performance of simplify2: time 5.831e-06/0.007444, allocations: 0 / 368.2 MB, free: 2.195 MB / 302.1 MB Notification: Performance of Events: time 0.0002322/0.007681, allocations: 159.3 kB / 368.3 MB, free: 2.043 MB / 302.1 MB Notification: Performance of Detect States: time 0.0002536/0.007942, allocations: 243.9 kB / 368.6 MB, free: 1.789 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0002547/0.008204, allocations: 148.1 kB / 368.7 MB, free: 1.629 MB / 302.1 MB Error: Internal error NBResolveSingularities.noIndexReduction failed. (2|2) Unmatched Variables *************************** [DISC] (1) protected Boolean tapChanger.normalU (start = false) slice: {} [DISC] (1) protected Real tapChanger.abnormalUTime slice: {} (1|2) Unmatched Equations *************************** [ALGO] (7) ($RES_SIM_1) [----] tapChanger.normalU := voltage.y >= tapChanger.underMinU and voltage.y <= tapChanger.aboveMaxU; [----] tapChanger.increaseEvent := voltage.y < tapChanger.underMinU; [----] tapChanger.decreaseEvent := voltage.y > tapChanger.aboveMaxU; [----] when voltage.y < tapChanger.underMinU or voltage.y > tapChanger.aboveMaxU then [----] tapChanger.abnormalUTime := time; [----] elsewhen not (voltage.y < tapChanger.underMinU or voltage.y > tapChanger.aboveMaxU) then [----] tapChanger.abnormalUTime := 1e60; [----] end when; [----] when not tapChanger.normalU and time > (tapChanger.abnormalUTime + tapChanger.firstTapChangeTimeout) then [----] tapChanger.furtherTapChangeTimeout := tapChanger.nextTapChangeTimeout; [----] tapChanger.tap := if tapChanger.decreaseEvent then if $PRE.tapChanger.tap > tapChanger.tapMin then $PRE.tapChanger.tap - 1 else $PRE.tapChanger.tap else if $PRE.tapChanger.tap < tapChanger.tapMax then $PRE.tapChanger.tap + 1 else $PRE.tapChanger.tap; [----] elsewhen not tapChanger.normalU and time > (tapChanger.firstTapChangeTimeout + tapChanger.abnormalUTime + $PRE.tapChanger.furtherTapChangeTimeout) then [----] tapChanger.furtherTapChangeTimeout := $PRE.tapChanger.furtherTapChangeTimeout + tapChanger.nextTapChangeTimeout; [----] tapChanger.tap := if tapChanger.decreaseEvent then if $PRE.tapChanger.tap > tapChanger.tapMin then $PRE.tapChanger.tap - 1 else $PRE.tapChanger.tap else if $PRE.tapChanger.tap < tapChanger.tapMax then $PRE.tapChanger.tap + 1 else $PRE.tapChanger.tap; [----] end when; [----] tapChanger.varRatio := 1.0 + $PRE.tapChanger.tap - tapChanger.startTap * tapChanger.deltaTapRatio; slice: {5, 6}