Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_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/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/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="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGR") translateModel(PowerSystems.Examples.Wind.WindTurbine_PSGR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_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.00109/0.00109, allocations: 111.7 kB / 17.75 MB, free: 5.301 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.002075/0.002075, allocations: 190 kB / 18.69 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.48/1.48, allocations: 222.9 MB / 242.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1943/0.1943, allocations: 38.03 MB / 330.6 MB, free: 8.668 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.376e-05/3.379e-05, allocations: 2.281 kB / 458.8 MB, free: 6.891 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_PSGR): time 0.01497/0.01502, allocations: 10.94 MB / 469.7 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01574/0.03083, allocations: 7.101 MB / 476.8 MB, free: 4.785 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002165/0.03304, allocations: 43.75 kB / 476.8 MB, free: 4.742 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0259/0.05897, allocations: 12.92 MB / 489.8 MB, free: 7.809 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004218/0.06322, allocations: 1.116 MB / 490.9 MB, free: 6.688 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002582/0.06588, allocations: 0.6472 MB / 491.5 MB, free: 6.039 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.007591/0.07349, allocations: 4.223 MB / 495.7 MB, free: 1.801 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001778/0.0753, allocations: 0.798 MB / 496.5 MB, free: 0.9883 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002572/0.07789, allocations: 1.109 MB / 497.6 MB, free: 15.88 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002442/0.08035, allocations: 1.047 MB / 498.7 MB, free: 14.82 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005967/0.08096, allocations: 108 kB / 498.8 MB, free: 14.72 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00816/0.08913, allocations: 2.982 MB / 0.49 GB, free: 11.73 MB / 382.1 MB Notification: Performance of combineBinaries: time 0.003593/0.09276, allocations: 2.514 MB / 0.4925 GB, free: 9.191 MB / 382.1 MB Notification: Performance of replaceArrayConstructors: time 0.00187/0.09464, allocations: 1.683 MB / 0.4941 GB, free: 7.488 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001068/0.09573, allocations: 203.4 kB / 0.4943 GB, free: 7.289 MB / 382.1 MB Notification: Performance of FrontEnd: time 0.0005387/0.09628, allocations: 31.88 kB / 0.4943 GB, free: 7.258 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.3409/0.4372, allocations: 7.38 MB / 0.5016 GB, free: 30.63 MB / 382.1 MB Notification: Performance of FunctionAlias: time 0.001334/0.4385, allocations: 0.5897 MB / 0.5021 GB, free: 30.52 MB / 382.1 MB Notification: Performance of Early Inline: time 0.004553/0.4431, allocations: 3.467 MB / 0.5055 GB, free: 30.38 MB / 382.1 MB Notification: Performance of simplify1: time 0.0005923/0.4437, allocations: 305.9 kB / 0.5058 GB, free: 30.38 MB / 382.1 MB Notification: Performance of Alias: time 0.004924/0.4487, allocations: 3.466 MB / 0.5092 GB, free: 29.32 MB / 382.1 MB Notification: Performance of simplify2: time 0.0004639/0.4491, allocations: 276.7 kB / 0.5095 GB, free: 29.31 MB / 382.1 MB Notification: Performance of Detect States: time 0.001233/0.4504, allocations: 0.9959 MB / 0.5104 GB, free: 29.17 MB / 382.1 MB Notification: Performance of Events: time 0.0004409/0.4508, allocations: 268.3 kB / 0.5107 GB, free: 29.16 MB / 382.1 MB Notification: Performance of Partitioning: time 0.001537/0.4524, allocations: 1.188 MB / 0.5118 GB, free: 28.95 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)