Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.Generic.Test.ImpedanceTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest") translateModel(PowerSystems.Examples.Generic.Test.ImpedanceTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001325/0.001325, allocations: 109.1 kB / 17.75 MB, free: 5.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00115/0.00115, allocations: 196.6 kB / 18.68 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.855/1.855, allocations: 205.1 MB / 224.5 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.2148/0.2148, allocations: 37.99 MB / 309.9 MB, free: 5.945 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.758e-05/4.758e-05, allocations: 2.281 kB / 432.5 MB, free: 15.71 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.ImpedanceTest): time 0.007075/0.007137, allocations: 3.432 MB / 435.9 MB, free: 12.26 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002725/0.0099, allocations: 1.489 MB / 437.4 MB, free: 10.76 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001802/0.0101, allocations: 7.938 kB / 437.4 MB, free: 10.75 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001068/0.01118, allocations: 265.7 kB / 437.7 MB, free: 10.5 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007878/0.01198, allocations: 275 kB / 437.9 MB, free: 10.23 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003486/0.01241, allocations: 111.7 kB / 438 MB, free: 10.12 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005315/0.01295, allocations: 370.9 kB / 438.4 MB, free: 9.754 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003542/0.01332, allocations: 93.42 kB / 438.5 MB, free: 9.664 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002863/0.01362, allocations: 159.4 kB / 438.7 MB, free: 9.508 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002053/0.01384, allocations: 107.5 kB / 438.8 MB, free: 9.402 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.059e-05/0.01389, allocations: 12 kB / 438.8 MB, free: 9.391 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005047/0.0144, allocations: 259.3 kB / 439 MB, free: 9.137 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.0003192/0.01473, allocations: 293 kB / 439.3 MB, free: 8.848 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001525/0.0149, allocations: 209.6 kB / 439.5 MB, free: 8.641 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.261e-05/0.01496, allocations: 27.88 kB / 439.5 MB, free: 8.613 MB / 318.1 MB Notification: Performance of FrontEnd: time 4.453e-05/0.01501, allocations: 4 kB / 439.5 MB, free: 8.609 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 (33) * Number of variables: 49 (32) Notification: Performance of Bindings: time 0.001149/0.01617, allocations: 0.9074 MB / 440.5 MB, free: 7.598 MB / 318.1 MB Notification: Performance of FunctionAlias: time 5.609e-05/0.01624, allocations: 27.95 kB / 440.5 MB, free: 7.57 MB / 318.1 MB Notification: Performance of Early Inline: time 0.0006447/0.01689, allocations: 0.5178 MB / 441 MB, free: 7.023 MB / 318.1 MB Notification: Performance of simplify1: time 4.996e-05/0.01696, allocations: 35.94 kB / 441 MB, free: 6.988 MB / 318.1 MB Notification: Performance of Alias: time 0.0007904/0.01776, allocations: 0.5146 MB / 441.5 MB, free: 6.391 MB / 318.1 MB Notification: Performance of simplify2: time 4.24e-05/0.01781, allocations: 31.95 kB / 441.6 MB, free: 6.359 MB / 318.1 MB Notification: Performance of Events: time 4.736e-05/0.01787, allocations: 31.95 kB / 441.6 MB, free: 6.328 MB / 318.1 MB Notification: Performance of Detect States: time 0.0002601/0.01814, allocations: 124.2 kB / 441.7 MB, free: 6.191 MB / 318.1 MB Notification: Performance of Partitioning: time 0.0002347/0.01839, allocations: 164.2 kB / 441.9 MB, free: 6.016 MB / 318.1 MB Error: Internal error NBSlice.resolveSkips failed because skip of 1 for type Real is invalid. Error: Internal error NBSlice.resolveDependency failed for: source.terminal.theta[1]. Error: Internal error NBAdjacency.Matrix.upgradeRow failed for: [ARRY] (2) source.terminal.v = {source.V * cos(source.terminal.theta[1]), source.V * sin(source.terminal.theta[1])} ($RES_SIM_15)