Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Wind.WindFarm.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.WindFarm,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.WindFarm") translateModel(PowerSystems.Examples.Wind.WindFarm,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.WindFarm") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001146/0.001146, allocations: 114 kB / 17.75 MB, free: 5.215 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.001797/0.001798, allocations: 196.6 kB / 18.69 MB, free: 4.289 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.315/1.315, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1615/0.1615, allocations: 38.05 MB / 330.6 MB, free: 8.746 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.378e-05/2.379e-05, allocations: 2.281 kB / 458.8 MB, free: 6.891 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindFarm): time 0.04038/0.04041, allocations: 39.08 MB / 497.8 MB, free: 15.67 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2997/0.3402, allocations: 17.32 MB / 0.5031 GB, free: 9.125 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005123/0.3453, allocations: 239.6 kB / 0.5033 GB, free: 9.125 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.03825/0.3836, allocations: 23.19 MB / 0.526 GB, free: 8 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01078/0.3944, allocations: 4.956 MB / 0.5308 GB, free: 6.543 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006839/0.4013, allocations: 3.267 MB / 0.534 GB, free: 4.512 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.02788/0.4292, allocations: 18.6 MB / 0.5522 GB, free: 6.004 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01082/0.4401, allocations: 4.771 MB / 0.5568 GB, free: 1.277 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01423/0.4543, allocations: 5.592 MB / 0.5623 GB, free: 12.06 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01129/0.4657, allocations: 4.914 MB / 0.5671 GB, free: 7.543 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00278/0.4685, allocations: 0.6641 MB / 0.5677 GB, free: 6.879 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01028/0.4788, allocations: 4.477 MB / 0.5721 GB, free: 2.676 MB / 414.1 MB Notification: Performance of combineBinaries: time 0.01404/0.4929, allocations: 11.83 MB / 0.5836 GB, free: 7.281 MB / 430.1 MB Notification: Performance of replaceArrayConstructors: time 0.006827/0.4997, allocations: 7.799 MB / 0.5913 GB, free: 15.72 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002432/0.5022, allocations: 1.048 MB / 0.5923 GB, free: 14.67 MB / 446.1 MB Notification: Performance of FrontEnd: time 0.001014/0.5032, allocations: 147.4 kB / 0.5924 GB, free: 14.53 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1835 (1151) * Number of variables: 1835 (1061) Notification: Performance of Bindings: time 0.03764/0.5408, allocations: 35.51 MB / 0.6271 GB, free: 10.96 MB / 478.1 MB Notification: Performance of FunctionAlias: time 0.004995/0.5458, allocations: 4.67 MB / 0.6317 GB, free: 6.395 MB / 478.1 MB Notification: Performance of Early Inline: time 0.02164/0.5675, allocations: 18.74 MB / 0.65 GB, free: 4.141 MB / 494.1 MB Notification: Performance of simplify1: time 0.002662/0.5702, allocations: 1.399 MB / 0.6513 GB, free: 2.84 MB / 494.1 MB Notification: Performance of Alias: time 0.02462/0.5948, allocations: 19.24 MB / 0.6701 GB, free: 14.33 MB / 0.5137 GB Notification: Performance of simplify2: time 0.002556/0.5974, allocations: 1.276 MB / 0.6714 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of Events: time 0.002573/0.6, allocations: 2.217 MB / 0.6735 GB, free: 11.02 MB / 0.5137 GB Notification: Performance of Detect States: time 0.006714/0.6068, allocations: 5.592 MB / 0.679 GB, free: 5.562 MB / 0.5137 GB Notification: Performance of Partitioning: time 0.00794/0.6147, allocations: 6.465 MB / 0.6853 GB, free: 14.9 MB / 0.5294 GB Error: Internal error NBSlice.resolveDependency failed because subscripts, dimensions and dependencies were not of equal length. variable subscripts(0): {} variable dimensions(2): {3, 3} equation dimensions(2): {3, 1} variable dependencies(2): {true, false} Error: Internal error NBSlice.resolveDependency failed for: $FUN_102. Error: Internal error NBAdjacency.Matrix.upgradeRow failed for: [ARRY] (3) line5.omega[2] * line5.L * {{-line5.i[2, 1]}, {line5.i[1, 1]}, {0.0}} + $FUN_102 * $DER.line5.i + line5.R * line5.i = line5.v[:, 1:1] - line5.v[:, 2:2] ($RES_SIM_53)