Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGR.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.Wind.WindTurbine_PSGR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|meter.i.1.|meter.i.2.|meter.i.3.|meter.p.1.|meter.p.2.|meter.p.3.|meter.v.1.|meter.v.2.|meter.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGR") translateModel(PowerSystems.Examples.Wind.WindTurbine_PSGR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|meter.i.1.|meter.i.2.|meter.i.3.|meter.p.1.|meter.p.2.|meter.p.3.|meter.v.1.|meter.v.2.|meter.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001293/0.001293, allocations: 117 kB / 17.76 MB, free: 5.293 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.001396/0.001396, allocations: 184.7 kB / 18.68 MB, free: 4.375 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.29/1.29, allocations: 222.9 MB / 242.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1946/0.1946, allocations: 38.04 MB / 330.6 MB, free: 8.742 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.545e-05/2.544e-05, allocations: 2.281 kB / 458.8 MB, free: 6.914 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_PSGR): time 0.01292/0.01296, allocations: 10.94 MB / 469.7 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01233/0.02533, allocations: 7.09 MB / 476.8 MB, free: 4.82 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001542/0.02691, allocations: 47.69 kB / 476.8 MB, free: 4.773 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02368/0.05061, allocations: 12.91 MB / 489.8 MB, free: 7.844 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003949/0.05464, allocations: 1.104 MB / 490.9 MB, free: 6.734 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002216/0.05687, allocations: 0.6472 MB / 491.5 MB, free: 6.086 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.007653/0.06454, allocations: 4.215 MB / 495.7 MB, free: 1.855 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002325/0.06689, allocations: 0.7979 MB / 496.5 MB, free: 1.043 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002695/0.06961, allocations: 1.101 MB / 497.6 MB, free: 15.94 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002428/0.07206, allocations: 1.055 MB / 498.7 MB, free: 14.88 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005134/0.07259, allocations: 112 kB / 498.8 MB, free: 14.77 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00693/0.07953, allocations: 2.974 MB / 0.49 GB, free: 11.79 MB / 382.1 MB Notification: Performance of combineBinaries: time 0.003642/0.08319, allocations: 2.518 MB / 0.4925 GB, free: 9.246 MB / 382.1 MB Notification: Performance of replaceArrayConstructors: time 0.002125/0.08533, allocations: 1.675 MB / 0.4941 GB, free: 7.551 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001073/0.08642, allocations: 207.4 kB / 0.4943 GB, free: 7.348 MB / 382.1 MB Notification: Performance of FrontEnd: time 0.0005211/0.08695, allocations: 31.88 kB / 0.4943 GB, free: 7.316 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 397 (240) * Number of variables: 397 (221) Notification: Performance of Bindings: time 0.2863/0.3733, allocations: 7.384 MB / 0.5015 GB, free: 30.5 MB / 382.1 MB Notification: Performance of FunctionAlias: time 0.001268/0.3746, allocations: 0.5922 MB / 0.5021 GB, free: 30.39 MB / 382.1 MB Notification: Performance of Early Inline: time 0.003818/0.3784, allocations: 3.476 MB / 0.5055 GB, free: 30.26 MB / 382.1 MB Notification: Performance of simplify1: time 0.0004753/0.3789, allocations: 304.7 kB / 0.5058 GB, free: 30.26 MB / 382.1 MB Notification: Performance of Alias: time 0.004458/0.3833, allocations: 3.459 MB / 0.5092 GB, free: 29.19 MB / 382.1 MB Notification: Performance of simplify2: time 0.00054/0.3839, allocations: 272.2 kB / 0.5094 GB, free: 29.18 MB / 382.1 MB Notification: Performance of Events: time 0.0004384/0.3843, allocations: 410.8 kB / 0.5098 GB, free: 29.14 MB / 382.1 MB Notification: Performance of Detect States: time 0.001346/0.3857, allocations: 0.8712 MB / 0.5107 GB, free: 29.04 MB / 382.1 MB Notification: Performance of Partitioning: time 0.001628/0.3873, allocations: 1.187 MB / 0.5118 GB, free: 28.81 MB / 382.1 MB Error: Internal error NBSlice.resolveDependency (single dependency) failed because list of scalar variables(3) {inverter2.AC.i[1], inverter2.AC.i[2], inverter2.AC.i[3]}, does not fit the equation size 1. Error: Internal error NBSlice.resolveDependency failed for: inverter2.AC.i. Error: Internal error NBAdjacency.Matrix.upgradeRow failed for: [SCAL] (1) inverter2.iAC2 = inverter2.AC.i * inverter2.AC.i ($RES_SIM_82)