Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Test.PMeterTest.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.Test.PMeterTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.PMeterTest") translateModel(PowerSystems.Examples.Generic.Test.PMeterTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.PMeterTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.00179/0.00179, 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.931/1.931, allocations: 194.2 MB / 212.2 MB, free: 2.383 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.001766/0.001766, allocations: 132.6 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.186/0.186, allocations: 37.94 MB / 338.8 MB, free: 2.227 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.928e-05/2.944e-05, allocations: 2.281 kB / 401.8 MB, free: 68.82 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.PMeterTest): time 0.005488/0.005536, allocations: 3.668 MB / 405.4 MB, free: 65.13 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002472/0.008036, allocations: 1.611 MB / 407 MB, free: 63.51 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005115/0.008576, allocations: 7.938 kB / 407 MB, free: 63.5 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001052/0.009723, allocations: 259.1 kB / 407.3 MB, free: 63.25 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00102/0.01076, allocations: 255.2 kB / 407.5 MB, free: 63 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004874/0.01126, allocations: 115.7 kB / 407.7 MB, free: 62.88 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005528/0.01183, allocations: 343 kB / 408 MB, free: 62.55 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003736/0.01221, allocations: 121.3 kB / 408.1 MB, free: 62.43 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003906/0.01262, allocations: 139.4 kB / 408.2 MB, free: 62.29 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002368/0.01287, allocations: 111.5 kB / 408.4 MB, free: 62.18 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.513e-05/0.0129, allocations: 12 kB / 408.4 MB, free: 62.17 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005425/0.01345, allocations: 271.2 kB / 408.6 MB, free: 61.91 MB / 314.7 MB Notification: Performance of combineBinaries: time 0.0002586/0.01372, allocations: 301 kB / 408.9 MB, free: 61.61 MB / 314.7 MB Notification: Performance of replaceArrayConstructors: time 0.0001344/0.01386, allocations: 197.6 kB / 409.1 MB, free: 61.41 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 6.058e-05/0.01393, allocations: 27.88 kB / 409.1 MB, free: 61.39 MB / 314.7 MB Notification: Performance of FrontEnd: time 4.716e-05/0.01399, allocations: 4 kB / 409.1 MB, free: 61.38 MB / 314.7 MB Notification: Performance of Bindings: time 0.0008429/0.01484, allocations: 0.8198 MB / 410 MB, free: 60.47 MB / 314.7 MB Notification: Performance of simplify1: time 3.373e-05/0.01489, allocations: 23.95 kB / 410 MB, free: 60.45 MB / 314.7 MB Notification: Performance of Alias: time 0.0004336/0.01533, allocations: 249.4 kB / 410.2 MB, free: 60.16 MB / 314.7 MB Notification: Performance of simplify2: time 2.942e-05/0.01537, allocations: 23.97 kB / 410.3 MB, free: 60.13 MB / 314.7 MB Notification: Performance of Events: time 4.019e-05/0.01542, allocations: 19.97 kB / 410.3 MB, free: 60.11 MB / 314.7 MB Notification: Performance of DetectStates: time 0.0001306/0.01555, allocations: 49.06 kB / 410.3 MB, free: 60.07 MB / 314.7 MB Notification: Performance of Partitioning: time 0.0002436/0.01581, allocations: 183.3 kB / 410.5 MB, free: 59.87 MB / 314.7 MB Notification: Performance of Causalize: time 0.0007969/0.01661, allocations: 0.8259 MB / 411.3 MB, free: 59.04 MB / 314.7 MB Notification: Performance of Partitioning: time 0.0002539/0.01688, allocations: 261.9 kB / 411.6 MB, free: 58.77 MB / 314.7 MB Notification: Performance of Causalize: time 0.0007604/0.01765, allocations: 0.8449 MB / 412.4 MB, free: 57.93 MB / 314.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFType.mo:1112:13-1113:80:writable] Error: Internal error NFType.subscript got unsubscriptable type Real Error: Internal error NBInitialization.main failed to apply modules! Notification: Performance of Initialization: time 0.0001153/0.01778, allocations: 32.23 kB / 412.5 MB, free: 57.88 MB / 314.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFType.mo:1112:13-1113:80:writable] Error: Internal error NFType.subscript got unsubscriptable type Real