Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Test.GeneratorTest.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.GeneratorTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|generator.p.1.|generator.p.2.|generator.phi",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Test.GeneratorTest") translateModel(PowerSystems.Examples.Generic.Test.GeneratorTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|generator.p.1.|generator.p.2.|generator.phi",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Test.GeneratorTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009399/0.0009399, allocations: 113.1 kB / 17.75 MB, free: 5.324 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.000866/0.0008659, allocations: 192.5 kB / 18.69 MB, free: 4.402 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.123/1.123, allocations: 222.9 MB / 242.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1499/0.1499, allocations: 38.05 MB / 330.6 MB, free: 8.742 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.603e-05/1.612e-05, allocations: 2.281 kB / 458.8 MB, free: 6.906 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.GeneratorTest): time 0.003523/0.003547, allocations: 3.307 MB / 462.1 MB, free: 3.578 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001397/0.004956, allocations: 1.224 MB / 463.3 MB, free: 2.348 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.613e-05/0.005063, allocations: 11.94 kB / 463.3 MB, free: 2.336 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004736/0.005545, allocations: 159.3 kB / 463.5 MB, free: 2.18 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003261/0.005886, allocations: 175.2 kB / 463.6 MB, free: 2.008 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002328/0.006128, allocations: 135.6 kB / 463.8 MB, free: 1.875 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003086/0.006446, allocations: 314.9 kB / 464.1 MB, free: 1.566 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001929/0.006647, allocations: 93.61 kB / 464.2 MB, free: 1.477 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001626/0.006817, allocations: 131.4 kB / 464.3 MB, free: 1.348 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001244/0.00695, allocations: 95.55 kB / 464.4 MB, free: 1.254 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.908e-05/0.006976, allocations: 12 kB / 464.4 MB, free: 1.242 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002282/0.007209, allocations: 191.5 kB / 464.6 MB, free: 1.055 MB / 334.1 MB Notification: Performance of combineBinaries: time 0.0001941/0.007411, allocations: 300.8 kB / 464.9 MB, free: 0.7578 MB / 334.1 MB Notification: Performance of replaceArrayConstructors: time 0.000104/0.007521, allocations: 205.3 kB / 465.1 MB, free: 0.5547 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.438e-05/0.00756, allocations: 35.88 kB / 465.1 MB, free: 0.5195 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.42e-05/0.007591, allocations: 8 kB / 465.1 MB, free: 0.5117 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 44 (37) * Number of variables: 44 (36) Notification: Performance of Bindings: time 0.00079/0.008385, allocations: 0.9022 MB / 466 MB, free: 15.5 MB / 350.1 MB Notification: Performance of FunctionAlias: time 3.162e-05/0.008423, allocations: 35.69 kB / 466.1 MB, free: 15.47 MB / 350.1 MB Notification: Performance of Early Inline: time 0.000447/0.008875, allocations: 0.5266 MB / 466.6 MB, free: 14.91 MB / 350.1 MB Notification: Performance of simplify1: time 3.017e-05/0.008913, allocations: 31.95 kB / 466.6 MB, free: 14.88 MB / 350.1 MB Notification: Performance of Alias: time 0.0007823/0.009701, allocations: 0.7566 MB / 467.4 MB, free: 14 MB / 350.1 MB Notification: Performance of simplify2: time 2.918e-05/0.00974, allocations: 27.95 kB / 467.4 MB, free: 13.98 MB / 350.1 MB Notification: Performance of Events: time 2.414e-05/0.009771, allocations: 27.92 kB / 467.4 MB, free: 13.95 MB / 350.1 MB Notification: Performance of Detect States: time 0.0001471/0.009923, allocations: 128 kB / 467.6 MB, free: 13.81 MB / 350.1 MB Notification: Performance of Partitioning: time 0.0001366/0.01007, allocations: 144.2 kB / 467.7 MB, free: 13.65 MB / 350.1 MB Error: Internal error NBSlice.resolveSkips failed because skip of 2 for type Real is invalid. Error: Internal error NBSlice.resolveDependency failed for: fixedLoad.terminal.v[1]. Error: Internal error NBAdjacency.Matrix.upgradeRow failed for: [ARRY] (2) {fixedLoad.terminal.v * fixedLoad.terminal.i, -{-fixedLoad.terminal.v[2], fixedLoad.terminal.v[1]} * fixedLoad.terminal.i} = {fixedLoad.P, fixedLoad.P * tan(fixedLoad.phi)} ($RES_SIM_6)