Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source.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.Source,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1480,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Source,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1480,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001365/0.001365, allocations: 192.5 kB / 17.29 MB, free: 4.492 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.893/1.893, allocations: 194.2 MB / 212.2 MB, free: 2.387 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.001819/0.001819, allocations: 124 kB / 256.6 MB, free: 4.324 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.2328/0.2328, allocations: 37.94 MB / 338.8 MB, free: 2.23 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.985e-05/5e-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.Source): time 0.006649/0.006717, allocations: 4.56 MB / 406.3 MB, free: 64.23 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.00261/0.009395, allocations: 1.1 MB / 407.4 MB, free: 63.12 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007389/0.01025, allocations: 23.88 kB / 407.4 MB, free: 63.1 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003772/0.01066, allocations: 31.7 kB / 407.5 MB, free: 63.07 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001116/0.0118, allocations: 147.3 kB / 407.6 MB, free: 62.93 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000419/0.01225, allocations: 71.92 kB / 407.7 MB, free: 62.86 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007633/0.01303, allocations: 370.7 kB / 408 MB, free: 62.49 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003896/0.01345, allocations: 80.06 kB / 408.1 MB, free: 62.41 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005889/0.01406, allocations: 151.2 kB / 408.3 MB, free: 62.27 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004922/0.01457, allocations: 139.4 kB / 408.4 MB, free: 62.13 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 6.672e-05/0.01466, allocations: 16 kB / 408.4 MB, free: 62.11 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001062/0.01478, allocations: 12 kB / 408.4 MB, free: 62.1 MB / 314.7 MB Notification: Performance of combineBinaries: time 0.0004339/0.01522, allocations: 399.6 kB / 408.8 MB, free: 61.71 MB / 314.7 MB Notification: Performance of replaceArrayConstructors: time 0.0002085/0.01544, allocations: 256.4 kB / 409.1 MB, free: 61.45 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001271/0.01558, allocations: 35.88 kB / 409.1 MB, free: 61.42 MB / 314.7 MB Notification: Performance of FrontEnd: time 5.865e-05/0.01565, allocations: 4 kB / 409.1 MB, free: 61.41 MB / 314.7 MB Notification: Performance of Bindings: time 0.0013/0.01696, allocations: 0.9872 MB / 410.1 MB, free: 60.33 MB / 314.7 MB Notification: Performance of simplify1: time 8.294e-05/0.01706, allocations: 27.97 kB / 410.1 MB, free: 60.3 MB / 314.7 MB Notification: Performance of Alias: time 0.0008519/0.01792, allocations: 414.9 kB / 410.5 MB, free: 59.82 MB / 314.7 MB Notification: Performance of simplify2: time 4.92e-05/0.01799, allocations: 23.97 kB / 410.6 MB, free: 59.79 MB / 314.7 MB Notification: Performance of Events: time 6.249e-05/0.01806, allocations: 27.91 kB / 410.6 MB, free: 59.77 MB / 314.7 MB Notification: Performance of DetectStates: time 0.0002133/0.01828, allocations: 63.88 kB / 410.6 MB, free: 59.7 MB / 314.7 MB Notification: Performance of Partitioning: time 0.000434/0.01873, allocations: 183.3 kB / 410.8 MB, free: 59.51 MB / 314.7 MB Notification: Performance of Causalize: time 0.0009077/0.01965, allocations: 0.6255 MB / 411.5 MB, free: 58.88 MB / 314.7 MB Notification: Performance of Partitioning: time 0.0005141/0.02018, allocations: 310.5 kB / 411.8 MB, free: 58.55 MB / 314.7 MB Notification: Performance of Causalize: time 0.0009773/0.02117, allocations: 0.8194 MB / 412.6 MB, free: 57.72 MB / 314.7 MB Notification: Performance of Tearing: time 1.11e-05/0.0212, allocations: 4 kB / 412.6 MB, free: 57.72 MB / 314.7 MB Notification: Performance of Initialization: time 2.134e-06/0.02121, allocations: 0 / 412.6 MB, free: 57.72 MB / 314.7 MB Notification: Performance of Tearing: time 6.452e-06/0.02123, allocations: 7.938 kB / 412.6 MB, free: 57.71 MB / 314.7 MB Notification: Performance of Categorize: time 1.33e-05/0.02125, allocations: 0 / 412.6 MB, free: 57.71 MB / 314.7 MB Error: Internal error NBDifferentiate.differentiateCall failed for: {0.0 for $i1 in 1:2}