Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.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.Generic.Network.NetworkLoop_dq,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq") translateModel(PowerSystems.Examples.Generic.Network.NetworkLoop_dq,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001498/0.001498, 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.72/1.72, 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.002012/0.002012, allocations: 127.5 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.2033/0.2033, allocations: 37.94 MB / 338.8 MB, free: 2.234 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.86e-05/3.886e-05, allocations: 5.781 kB / 401.8 MB, free: 68.8 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_dq): time 0.007666/0.007721, allocations: 7.606 MB / 409.4 MB, free: 61.16 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.006158/0.01394, allocations: 4.535 MB / 413.9 MB, free: 56.61 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000727/0.01471, allocations: 15.94 kB / 413.9 MB, free: 56.59 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002244/0.01705, allocations: 1.007 MB / 414.9 MB, free: 55.59 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003491/0.02055, allocations: 1.122 MB / 416 MB, free: 54.46 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001084/0.02165, allocations: 299.3 kB / 416.3 MB, free: 54.17 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001801/0.02346, allocations: 1.407 MB / 417.7 MB, free: 52.76 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000975/0.02445, allocations: 0.7255 MB / 418.5 MB, free: 52.03 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006766/0.02514, allocations: 0.6147 MB / 419.1 MB, free: 51.41 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004916/0.02564, allocations: 0.4942 MB / 419.6 MB, free: 50.91 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 7.053e-05/0.02572, allocations: 52 kB / 419.6 MB, free: 50.86 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002311/0.02804, allocations: 1.099 MB / 420.7 MB, free: 49.76 MB / 314.7 MB Notification: Performance of combineBinaries: time 0.0008198/0.02887, allocations: 1.154 MB / 421.9 MB, free: 48.6 MB / 314.7 MB Notification: Performance of replaceArrayConstructors: time 0.000468/0.02935, allocations: 0.726 MB / 422.6 MB, free: 47.87 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001342/0.0295, allocations: 107.7 kB / 422.7 MB, free: 47.76 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.0001042/0.02961, allocations: 4 kB / 422.7 MB, free: 47.76 MB / 314.7 MB Notification: Performance of Bindings: time 0.002301/0.03192, allocations: 2.948 MB / 425.7 MB, free: 44.68 MB / 314.7 MB Notification: Performance of simplify1: time 0.0001224/0.03206, allocations: 139.8 kB / 425.8 MB, free: 44.55 MB / 314.7 MB Notification: Performance of Alias: time 0.0007712/0.03284, allocations: 0.6172 MB / 426.4 MB, free: 43.89 MB / 314.7 MB Notification: Performance of simplify2: time 0.0001083/0.03296, allocations: 139.8 kB / 426.5 MB, free: 43.75 MB / 314.7 MB Notification: Performance of Events: time 0.0001067/0.03307, allocations: 123.9 kB / 426.7 MB, free: 43.63 MB / 314.7 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.Generic.Network.NetworkLoop_dq.impedance5.PhaseSystem.thetaRef(impedance5.terminal_p.theta)