Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.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.AC1ph_DC.Elementary.ImpedanceOneTerm,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1480,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1480,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001674/0.001674, 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.687/1.687, allocations: 194.2 MB / 212.2 MB, free: 2.371 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.002122/0.002122, allocations: 128.8 kB / 256.6 MB, free: 4.297 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1917/0.1917, allocations: 37.94 MB / 338.8 MB, free: 2.219 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.658e-05/3.661e-05, allocations: 6.109 kB / 401.8 MB, free: 68.81 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm): time 0.006377/0.006429, allocations: 4.716 MB / 406.5 MB, free: 64.07 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002021/0.008479, allocations: 1.127 MB / 407.6 MB, free: 62.93 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003004/0.008794, allocations: 27.81 kB / 407.6 MB, free: 62.91 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000265/0.009103, allocations: 35.7 kB / 407.7 MB, free: 62.87 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005453/0.009656, allocations: 163.2 kB / 407.8 MB, free: 62.71 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002106/0.009877, allocations: 79.91 kB / 407.9 MB, free: 62.63 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003825/0.01027, allocations: 402.5 kB / 408.3 MB, free: 62.24 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002175/0.01049, allocations: 76.69 kB / 408.4 MB, free: 62.16 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002383/0.01074, allocations: 171.2 kB / 408.5 MB, free: 61.99 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002455/0.01099, allocations: 155.3 kB / 408.7 MB, free: 61.84 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.223e-05/0.01103, allocations: 16 kB / 408.7 MB, free: 61.82 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.938e-05/0.01108, allocations: 16 kB / 408.7 MB, free: 61.81 MB / 314.7 MB Notification: Performance of combineBinaries: time 0.00029/0.01138, allocations: 431.1 kB / 409.1 MB, free: 61.38 MB / 314.7 MB Notification: Performance of replaceArrayConstructors: time 0.0001362/0.01152, allocations: 284 kB / 409.4 MB, free: 61.1 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 7.477e-05/0.0116, allocations: 43.88 kB / 409.5 MB, free: 61.06 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.42e-05/0.01164, allocations: 7.938 kB / 409.5 MB, free: 61.05 MB / 314.7 MB Notification: Performance of Bindings: time 0.0009447/0.01259, allocations: 1.084 MB / 410.5 MB, free: 59.87 MB / 314.7 MB Notification: Performance of simplify1: time 3.317e-05/0.01264, allocations: 35.95 kB / 410.6 MB, free: 59.84 MB / 314.7 MB Notification: Performance of Alias: time 0.00058/0.01323, allocations: 419.9 kB / 411 MB, free: 59.34 MB / 314.7 MB Notification: Performance of simplify2: time 2.867e-05/0.01326, allocations: 31.95 kB / 411 MB, free: 59.31 MB / 314.7 MB Notification: Performance of Events: time 4.342e-05/0.01331, allocations: 27.97 kB / 411 MB, free: 59.29 MB / 314.7 MB Notification: Performance of DetectStates: time 0.0001786/0.0135, allocations: 78.48 kB / 411.1 MB, free: 59.21 MB / 314.7 MB Notification: Performance of Partitioning: time 0.0002605/0.01377, allocations: 191.7 kB / 411.3 MB, free: 59.01 MB / 314.7 MB Notification: Performance of Causalize: time 0.0006721/0.01445, allocations: 0.7251 MB / 412 MB, free: 58.29 MB / 314.7 MB Notification: Performance of Partitioning: time 0.0003442/0.0148, allocations: 339.7 kB / 412.4 MB, free: 57.94 MB / 314.7 MB Notification: Performance of Causalize: time 0.0007054/0.01551, allocations: 0.9534 MB / 413.3 MB, free: 56.97 MB / 314.7 MB Notification: Performance of Tearing: time 7.904e-06/0.01553, allocations: 3.938 kB / 413.3 MB, free: 56.96 MB / 314.7 MB Notification: Performance of Initialization: time 5.11e-07/0.01554, allocations: 0 / 413.3 MB, free: 56.96 MB / 314.7 MB Notification: Performance of Tearing: time 9.42e-07/0.01555, allocations: 0 / 413.3 MB, free: 56.96 MB / 314.7 MB Notification: Performance of Categorize: time 9.478e-06/0.01556, allocations: 0 / 413.3 MB, free: 56.96 MB / 314.7 MB Error: Internal error NBDifferentiate.differentiateCall failed for: {0.0 for $i1 in 1:2}