Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.PowerWorld.Test.HydroPlantTest2.conf.json 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 3.2.3+maint.om/package.mo", uses=false) 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/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Running command: translateModel(PowerSystems.Examples.PowerWorld.Test.HydroPlantTest2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.PowerWorld.Test.HydroPlantTest2") translateModel(PowerSystems.Examples.PowerWorld.Test.HydroPlantTest2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.PowerWorld.Test.HydroPlantTest2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002327/0.002327, allocations: 189.8 kB / 17.34 MB, free: 6.168 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.879/1.879, allocations: 205.1 MB / 223.2 MB, free: 12.57 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001334/0.001334, allocations: 105.9 kB / 270.6 MB, free: 12.29 MB / 222.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1876/0.1876, allocations: 37.94 MB / 355.9 MB, free: 6.855 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.831e-05/3.831e-05, allocations: 2.281 kB / 421.8 MB, free: 59.87 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.HydroPlantTest2): time 0.007743/0.0078, allocations: 6.26 MB / 428.1 MB, free: 53.58 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005277/0.01315, allocations: 2.821 MB / 430.9 MB, free: 50.75 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001216/0.01443, allocations: 35.81 kB / 430.9 MB, free: 50.71 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001429/0.01587, allocations: 325.9 kB / 431.3 MB, free: 50.39 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001385/0.01726, allocations: 430.2 kB / 431.7 MB, free: 49.97 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001277/0.01855, allocations: 415.3 kB / 432.1 MB, free: 49.57 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001451/0.02002, allocations: 1.061 MB / 433.1 MB, free: 48.5 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001002/0.02103, allocations: 0.5348 MB / 433.7 MB, free: 47.96 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006433/0.02169, allocations: 406.3 kB / 434.1 MB, free: 47.57 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004496/0.02215, allocations: 366.3 kB / 434.4 MB, free: 47.21 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.555e-05/0.02225, allocations: 72 kB / 434.5 MB, free: 47.14 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009591/0.02322, allocations: 431 kB / 434.9 MB, free: 46.71 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.0007945/0.02403, allocations: 1.12 MB / 436 MB, free: 45.58 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.0004261/0.02446, allocations: 0.7117 MB / 436.8 MB, free: 44.86 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001685/0.02464, allocations: 119.6 kB / 436.9 MB, free: 44.75 MB / 318.1 MB Notification: Performance of FrontEnd: time 0.0002141/0.02487, allocations: 15.94 kB / 436.9 MB, free: 44.73 MB / 318.1 MB Notification: Performance of Bindings: time 0.002372/0.02725, allocations: 2.901 MB / 439.8 MB, free: 41.71 MB / 318.1 MB Notification: Performance of simplify1: time 0.0001231/0.02739, allocations: 115.8 kB / 439.9 MB, free: 41.6 MB / 318.1 MB Notification: Performance of Alias: time 0.001984/0.02938, allocations: 2.062 MB / 442 MB, free: 39.25 MB / 318.1 MB Notification: Performance of simplify2: time 7.009e-05/0.02946, allocations: 79.88 kB / 442 MB, free: 39.17 MB / 318.1 MB Notification: Performance of Events: time 0.0002243/0.0297, allocations: 159.7 kB / 442.2 MB, free: 39.02 MB / 318.1 MB Error: Internal error NBDifferentiate.differentiateCall failed because the function is not a builtin function and could not be found in the function tree: PowerSystems.Examples.PowerWorld.Test.HydroPlantTest2.line.PhaseSystem.thetaRef(line.terminal_p.theta)