Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedCurrentTest.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.FixedCurrentTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|line.i.1.|line.i.2.|line.p.1.|line.p.2.|line.v.1.|line.v.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedCurrentTest") translateModel(PowerSystems.Examples.Generic.Test.FixedCurrentTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|line.i.1.|line.i.2.|line.p.1.|line.p.2.|line.v.1.|line.v.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedCurrentTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001132/0.001132, allocations: 111.8 kB / 17.75 MB, free: 5.348 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.001019/0.001019, allocations: 185.8 kB / 18.68 MB, free: 4.426 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.283/1.283, allocations: 222.9 MB / 242.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1638/0.1638, allocations: 38.04 MB / 330.6 MB, free: 8.73 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.882e-05/1.883e-05, allocations: 2.281 kB / 458.8 MB, free: 6.895 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.FixedCurrentTest): time 0.004169/0.004196, allocations: 3.464 MB / 462.2 MB, free: 3.41 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0018/0.006008, allocations: 1.496 MB / 463.7 MB, free: 1.906 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001118/0.006131, allocations: 4 kB / 463.7 MB, free: 1.902 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007341/0.006872, allocations: 266.9 kB / 464 MB, free: 1.641 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005428/0.007433, allocations: 267 kB / 464.3 MB, free: 1.379 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003164/0.007759, allocations: 131.6 kB / 464.4 MB, free: 1.25 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005104/0.008279, allocations: 371 kB / 464.7 MB, free: 0.8867 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002505/0.008539, allocations: 97.42 kB / 464.8 MB, free: 0.793 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003263/0.008874, allocations: 155.4 kB / 465 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002114/0.009094, allocations: 107.5 kB / 465.1 MB, free: 0.5352 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.82e-05/0.00913, allocations: 12 kB / 465.1 MB, free: 0.5234 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005091/0.009645, allocations: 279.3 kB / 465.4 MB, free: 256 kB / 334.1 MB Notification: Performance of combineBinaries: time 0.0002925/0.009946, allocations: 305 kB / 465.7 MB, free: 15.95 MB / 350.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001477/0.0101, allocations: 213.5 kB / 465.9 MB, free: 15.73 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.618e-05/0.01015, allocations: 35.88 kB / 465.9 MB, free: 15.7 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.155e-05/0.01019, allocations: 4 kB / 465.9 MB, free: 15.7 MB / 350.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.0009895/0.01118, allocations: 0.9281 MB / 466.9 MB, free: 14.66 MB / 350.1 MB Notification: Performance of FunctionAlias: time 3.875e-05/0.01123, allocations: 31.73 kB / 466.9 MB, free: 14.64 MB / 350.1 MB Notification: Performance of Early Inline: time 0.0005563/0.01179, allocations: 0.5411 MB / 467.4 MB, free: 14.07 MB / 350.1 MB Notification: Performance of simplify1: time 4.075e-05/0.01184, allocations: 31.95 kB / 467.5 MB, free: 14.04 MB / 350.1 MB Notification: Performance of Alias: time 0.0006178/0.01246, allocations: 0.4991 MB / 468 MB, free: 13.45 MB / 350.1 MB Notification: Performance of simplify2: time 3.695e-05/0.01251, allocations: 39.94 kB / 468 MB, free: 13.41 MB / 350.1 MB Notification: Performance of Events: time 3.986e-05/0.01256, allocations: 35.91 kB / 468 MB, free: 13.38 MB / 350.1 MB Notification: Performance of Detect States: time 0.0001872/0.01275, allocations: 142.3 kB / 468.2 MB, free: 13.23 MB / 350.1 MB Notification: Performance of Partitioning: time 0.0001781/0.01294, allocations: 165 kB / 468.3 MB, free: 13.05 MB / 350.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)