Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.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_dq0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0") translateModel(PowerSystems.Examples.Generic.Network.NetworkLoop_dq0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.00228/0.00228, allocations: 196.5 kB / 17.29 MB, free: 4.484 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.851/1.851, 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.001984/0.001984, allocations: 123.1 kB / 256.6 MB, free: 4.32 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.2173/0.2173, allocations: 37.95 MB / 338.8 MB, free: 2.227 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.52e-05/3.522e-05, allocations: 2.281 kB / 401.7 MB, free: 68.82 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_dq0): time 0.007859/0.00791, allocations: 7.617 MB / 409.4 MB, free: 61.17 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.005801/0.01376, allocations: 4.605 MB / 414 MB, free: 56.55 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005695/0.01437, allocations: 19.94 kB / 414 MB, free: 56.53 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002231/0.01666, allocations: 0.9872 MB / 415 MB, free: 55.54 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003265/0.01994, allocations: 1.207 MB / 416.2 MB, free: 54.33 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009881/0.02094, allocations: 311.3 kB / 416.5 MB, free: 54.02 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001452/0.02241, allocations: 1.403 MB / 417.9 MB, free: 52.62 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00113/0.02355, allocations: 0.8593 MB / 418.7 MB, free: 51.75 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008835/0.02445, allocations: 0.6264 MB / 419.4 MB, free: 51.12 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005074/0.02497, allocations: 0.5137 MB / 419.9 MB, free: 50.6 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 6.72e-05/0.02504, allocations: 60 kB / 419.9 MB, free: 50.54 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002424/0.02748, allocations: 1.262 MB / 421.2 MB, free: 49.28 MB / 314.7 MB Notification: Performance of combineBinaries: time 0.0007876/0.02828, allocations: 1.165 MB / 422.4 MB, free: 48.1 MB / 314.7 MB Notification: Performance of replaceArrayConstructors: time 0.0004678/0.02876, allocations: 0.7377 MB / 423.1 MB, free: 47.36 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001362/0.0289, allocations: 103.7 kB / 423.2 MB, free: 47.26 MB / 314.7 MB Notification: Performance of FrontEnd: time 9.9e-05/0.029, allocations: 8 kB / 423.2 MB, free: 47.25 MB / 314.7 MB Notification: Performance of Bindings: time 0.002128/0.03114, allocations: 3.022 MB / 426.2 MB, free: 44.1 MB / 314.7 MB Notification: Performance of simplify1: time 0.000125/0.03128, allocations: 147.8 kB / 426.4 MB, free: 43.96 MB / 314.7 MB Notification: Performance of Alias: time 0.0007504/0.03203, allocations: 0.6758 MB / 427.1 MB, free: 43.23 MB / 314.7 MB Notification: Performance of simplify2: time 0.00011/0.03216, allocations: 147.8 kB / 427.2 MB, free: 43.09 MB / 314.7 MB Notification: Performance of Events: time 9.995e-05/0.03226, allocations: 135.8 kB / 427.3 MB, free: 42.96 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_dq0.impedance5.PhaseSystem.thetaRef(impedance5.terminal_p.theta)