Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Tests.VoltageRegulation2.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.VoltageRegulation2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Tests.VoltageRegulation2") translateModel(PowerSysPro.Tests.VoltageRegulation2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Tests.VoltageRegulation2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001123/0.001123, allocations: 106.5 kB / 17.08 MB, free: 6.074 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.001288/0.001288, allocations: 196.6 kB / 18.02 MB, free: 5.168 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.214/1.214, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.04699/0.04699, allocations: 8.102 MB / 300 MB, free: 6.668 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.706e-05/2.732e-05, allocations: 2.281 kB / 363.1 MB, free: 7.48 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.VoltageRegulation2): time 0.002759/0.002803, allocations: 1.628 MB / 364.7 MB, free: 5.84 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009911/0.003808, allocations: 0.6171 MB / 365.4 MB, free: 5.223 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.044e-05/0.003879, allocations: 3.938 kB / 365.4 MB, free: 5.219 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000108/0.003993, allocations: 27.84 kB / 365.4 MB, free: 5.191 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001367/0.004138, allocations: 39.77 kB / 365.4 MB, free: 5.152 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003489/0.004501, allocations: 119.7 kB / 365.5 MB, free: 5.035 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002423/0.004752, allocations: 207.5 kB / 365.7 MB, free: 4.832 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.302e-05/0.004842, allocations: 8.984 kB / 365.8 MB, free: 4.82 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001107/0.004959, allocations: 75.75 kB / 365.8 MB, free: 4.746 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000141/0.005108, allocations: 83.66 kB / 365.9 MB, free: 4.664 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.648e-05/0.005141, allocations: 12 kB / 365.9 MB, free: 4.652 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001203/0.005268, allocations: 91.92 kB / 366 MB, free: 4.562 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0001693/0.005444, allocations: 206 kB / 366.2 MB, free: 4.359 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 5.679e-05/0.005507, allocations: 110.4 kB / 366.3 MB, free: 4.25 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.884e-05/0.005561, allocations: 27.94 kB / 366.3 MB, free: 4.223 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.276e-05/0.005579, allocations: 0 / 366.3 MB, free: 4.223 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.0006272/0.006211, allocations: 0.6518 MB / 367 MB, free: 3.469 MB / 302.1 MB Notification: Performance of FunctionAlias: time 9.879e-05/0.006317, allocations: 65.47 kB / 367.1 MB, free: 3.406 MB / 302.1 MB Notification: Performance of Early Inline: time 0.0003959/0.00672, allocations: 424.1 kB / 367.5 MB, free: 2.965 MB / 302.1 MB Notification: Performance of simplify1: time 1.952e-05/0.006746, allocations: 8 kB / 367.5 MB, free: 2.957 MB / 302.1 MB Notification: Performance of Alias: time 0.0004194/0.00717, allocations: 330.1 kB / 367.8 MB, free: 2.582 MB / 302.1 MB Notification: Performance of simplify2: time 8.897e-06/0.00719, allocations: 11.98 kB / 367.8 MB, free: 2.57 MB / 302.1 MB Notification: Performance of Events: time 0.0002637/0.007459, allocations: 155.4 kB / 368 MB, free: 2.422 MB / 302.1 MB Notification: Performance of Detect States: time 0.0002647/0.007732, allocations: 239.1 kB / 368.2 MB, free: 2.176 MB / 302.1 MB Notification: Performance of Partitioning: time 0.000174/0.007917, allocations: 152.1 kB / 368.4 MB, free: 2.012 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}