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.001168/0.001168, allocations: 110.5 kB / 17.75 MB, free: 5.34 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.001083/0.001083, allocations: 183.1 kB / 18.69 MB, free: 4.414 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.275/1.275, allocations: 222.9 MB / 242.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1626/0.1626, allocations: 38.03 MB / 330.6 MB, free: 8.711 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.296e-05/2.296e-05, allocations: 6.219 kB / 458.8 MB, free: 6.918 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_PSGR): time 0.01107/0.01109, allocations: 10.96 MB / 469.7 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009711/0.0208, allocations: 7.117 MB / 476.8 MB, free: 4.773 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007277/0.02153, allocations: 43.75 kB / 476.9 MB, free: 4.73 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0199/0.04143, allocations: 12.95 MB / 489.8 MB, free: 7.758 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00285/0.04428, allocations: 1.116 MB / 490.9 MB, free: 6.637 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001732/0.04602, allocations: 0.6511 MB / 491.6 MB, free: 5.984 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.005358/0.05137, allocations: 4.215 MB / 495.8 MB, free: 1.754 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001078/0.05245, allocations: 0.5989 MB / 496.4 MB, free: 1.141 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001864/0.05432, allocations: 1.105 MB / 497.5 MB, free: 32 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001803/0.05612, allocations: 1.059 MB / 498.6 MB, free: 14.97 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003226/0.05644, allocations: 112 kB / 498.7 MB, free: 14.86 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004728/0.06117, allocations: 2.978 MB / 0.4899 GB, free: 11.88 MB / 382.1 MB Notification: Performance of combineBinaries: time 0.002401/0.06357, allocations: 2.518 MB / 0.4924 GB, free: 9.332 MB / 382.1 MB Notification: Performance of replaceArrayConstructors: time 0.001375/0.06495, allocations: 1.683 MB / 0.494 GB, free: 7.629 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005245/0.06547, allocations: 211.4 kB / 0.4942 GB, free: 7.422 MB / 382.1 MB Notification: Performance of FrontEnd: time 0.0002437/0.06571, allocations: 35.81 kB / 0.4942 GB, free: 7.387 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.006042/0.07176, allocations: 5.965 MB / 0.5001 GB, free: 1.207 MB / 382.1 MB Notification: Performance of FunctionAlias: time 0.0008495/0.07261, allocations: 0.7299 MB / 0.5008 GB, free: 440 kB / 382.1 MB Notification: Performance of Early Inline: time 0.2286/0.3012, allocations: 2.659 MB / 0.5034 GB, free: 31.27 MB / 382.1 MB Notification: Performance of simplify1: time 0.00071/0.3019, allocations: 465.2 kB / 0.5038 GB, free: 31.14 MB / 382.1 MB Notification: Performance of Alias: time 0.003752/0.3057, allocations: 2.451 MB / 0.5062 GB, free: 30.32 MB / 382.1 MB Notification: Performance of simplify2: time 0.0006054/0.3063, allocations: 402 kB / 0.5066 GB, free: 30.22 MB / 382.1 MB Notification: Performance of Detect States: time 0.0008891/0.3072, allocations: 0.6594 MB / 0.5072 GB, free: 30.09 MB / 382.1 MB Notification: Performance of Events: time 0.0003713/0.3075, allocations: 274.3 kB / 0.5075 GB, free: 30.08 MB / 382.1 MB Notification: Performance of Partitioning: time 0.001403/0.3089, allocations: 1.179 MB / 0.5087 GB, free: 29.93 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_2. Error: Internal error NBAdjacency.Matrix.upgradeRow failed for: [ARRY] (2) generator.psi_s = $FUN_2 * generator.i_s[1:2] + {generator.L_md * generator.i_rd + generator.c.Psi_pm, generator.L_mq * generator.i_rq} ($RES_SIM_126)