Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGI.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_PSGI,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_PSGI") translateModel(PowerSystems.Examples.Wind.WindTurbine_PSGI,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_PSGI") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001242/0.001242, allocations: 118.4 kB / 17.76 MB, free: 5.168 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.00126/0.00126, allocations: 192.5 kB / 18.69 MB, free: 4.242 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.233/1.233, 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.158/0.158, allocations: 38.04 MB / 330.6 MB, free: 8.742 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.114e-05/2.116e-05, allocations: 2.281 kB / 458.8 MB, free: 6.918 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_PSGI): time 0.01219/0.01222, allocations: 11.02 MB / 469.8 MB, free: 11.85 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01204/0.02431, allocations: 7.09 MB / 476.9 MB, free: 4.738 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00129/0.02565, allocations: 55.69 kB / 476.9 MB, free: 4.684 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02078/0.04644, allocations: 12.87 MB / 489.8 MB, free: 7.789 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003256/0.04976, allocations: 1.136 MB / 490.9 MB, free: 6.648 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002115/0.0519, allocations: 0.694 MB / 491.6 MB, free: 5.953 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.006288/0.0582, allocations: 4.332 MB / 496 MB, free: 1.613 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001484/0.0597, allocations: 0.7552 MB / 496.7 MB, free: 0.8477 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002205/0.06193, allocations: 1.144 MB / 497.9 MB, free: 15.7 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002061/0.064, allocations: 1.078 MB / 498.9 MB, free: 14.62 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004051/0.06442, allocations: 112 kB / 499.1 MB, free: 14.51 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00556/0.06999, allocations: 2.978 MB / 0.4903 GB, free: 11.52 MB / 382.1 MB Notification: Performance of combineBinaries: time 0.002995/0.07301, allocations: 2.618 MB / 0.4928 GB, free: 8.883 MB / 382.1 MB Notification: Performance of replaceArrayConstructors: time 0.001607/0.07463, allocations: 1.733 MB / 0.4945 GB, free: 7.129 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000735/0.07538, allocations: 215.4 kB / 0.4947 GB, free: 6.918 MB / 382.1 MB Notification: Performance of FrontEnd: time 0.0003855/0.07577, allocations: 35.81 kB / 0.4948 GB, free: 6.883 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: 409 (244) * Number of variables: 409 (232) Notification: Performance of Bindings: time 0.1935/0.2693, allocations: 7.455 MB / 0.502 GB, free: 30.59 MB / 382.1 MB Notification: Performance of FunctionAlias: time 0.0009575/0.2703, allocations: 0.9534 MB / 0.503 GB, free: 30.38 MB / 382.1 MB Notification: Performance of Early Inline: time 0.003079/0.2733, allocations: 3.606 MB / 0.5065 GB, free: 30.22 MB / 382.1 MB Notification: Performance of simplify1: time 0.0003803/0.2737, allocations: 319.1 kB / 0.5068 GB, free: 30.22 MB / 382.1 MB Notification: Performance of Alias: time 0.003454/0.2772, allocations: 3.631 MB / 0.5103 GB, free: 29.05 MB / 382.1 MB Notification: Performance of simplify2: time 0.0003204/0.2775, allocations: 281.1 kB / 0.5106 GB, free: 29.05 MB / 382.1 MB Notification: Performance of Detect States: time 0.0008888/0.2784, allocations: 1.032 MB / 0.5116 GB, free: 28.9 MB / 382.1 MB Notification: Performance of Events: time 0.0003089/0.2787, allocations: 279.1 kB / 0.5119 GB, free: 28.89 MB / 382.1 MB Notification: Performance of Partitioning: time 0.001184/0.2799, allocations: 1.221 MB / 0.5131 GB, free: 28.67 MB / 382.1 MB Error: Internal error NBSlice.resolveDependency failed because subscripts, dimensions and dependencies were not of equal length. variable subscripts(0): {} variable dimensions(2): {2, 2} equation dimensions(1): {2} variable dependencies(2): {true, false} Error: Internal error NBSlice.resolveDependency failed for: $FUN_4. Error: Internal error NBAdjacency.Matrix.upgradeRow failed for: [ARRY] (2) generator.psi_s = $FUN_4 * generator.i_s[1:2] + {generator.L_md * generator.i_rd + generator.c.Psi_pm, generator.L_mq * generator.i_rq} ($RES_SIM_121)