Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGI") translateModel(PowerSystems.Examples.Wind.WindTurbine_PSGI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_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.001196/0.001196, allocations: 115.3 kB / 17.75 MB, free: 5.195 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.001293/0.001292, allocations: 189.9 kB / 18.68 MB, free: 4.27 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.914/1.914, allocations: 205.1 MB / 224.6 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1952/0.1952, allocations: 37.98 MB / 309.9 MB, free: 5.941 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.145e-05/3.146e-05, allocations: 5.672 kB / 432.5 MB, free: 15.71 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_PSGI): time 0.01055/0.01059, allocations: 11.02 MB / 443.5 MB, free: 4.645 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0136/0.02423, allocations: 7.116 MB / 450.6 MB, free: 13.51 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00238/0.02666, allocations: 51.69 kB / 450.7 MB, free: 13.46 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/package.mo:1895:3-1973:18:writable] Warning: Pure function 'Modelica.Math.Matrices.eigenValues' contains a call to impure function 'Modelica.Math.Matrices.LAPACK.dgeev_eigenValues'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/package.mo:2829:3-2870:10:writable] Warning: Pure function 'Modelica.Math.Matrices.inv' contains a call to impure function 'Modelica.Math.Matrices.LAPACK.dgetrf'. Notification: Performance of NFTyping.typeComponents: time 0.02687/0.05356, allocations: 12.86 MB / 463.5 MB, free: 0.582 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004559/0.05814, allocations: 1.12 MB / 464.6 MB, free: 15.46 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003443/0.06161, allocations: 0.6901 MB / 465.3 MB, free: 14.77 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.008383/0.07002, allocations: 4.336 MB / 469.7 MB, free: 10.42 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001985/0.07204, allocations: 0.7668 MB / 470.4 MB, free: 9.645 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003003/0.07507, allocations: 1.136 MB / 471.6 MB, free: 8.504 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002693/0.07779, allocations: 1.086 MB / 472.7 MB, free: 7.414 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005835/0.07839, allocations: 112 kB / 472.8 MB, free: 7.305 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007774/0.08618, allocations: 2.974 MB / 475.7 MB, free: 4.324 MB / 350.1 MB Notification: Performance of combineBinaries: time 0.004618/0.09083, allocations: 2.61 MB / 478.4 MB, free: 1.688 MB / 350.1 MB Notification: Performance of replaceArrayConstructors: time 0.002402/0.09327, allocations: 1.748 MB / 480.1 MB, free: 15.91 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001257/0.09455, allocations: 211.4 kB / 480.3 MB, free: 15.71 MB / 366.1 MB Notification: Performance of FrontEnd: time 0.000559/0.09513, allocations: 39.75 kB / 480.3 MB, free: 15.67 MB / 366.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.01397/0.1091, allocations: 7.468 MB / 487.8 MB, free: 8.004 MB / 366.1 MB Notification: Performance of FunctionAlias: time 0.002034/0.1112, allocations: 0.9624 MB / 488.8 MB, free: 6.961 MB / 366.1 MB Notification: Performance of Early Inline: time 0.006726/0.1179, allocations: 3.595 MB / 492.4 MB, free: 3.301 MB / 366.1 MB Notification: Performance of simplify1: time 0.0006064/0.1186, allocations: 319.5 kB / 492.7 MB, free: 2.988 MB / 366.1 MB Notification: Performance of Alias: time 0.004872/0.1234, allocations: 3.632 MB / 496.3 MB, free: 14.96 MB / 382.1 MB Notification: Performance of simplify2: time 0.00042/0.1239, allocations: 283.6 kB / 496.6 MB, free: 14.68 MB / 382.1 MB Notification: Performance of Events: time 0.0003332/0.1242, allocations: 294.4 kB / 496.9 MB, free: 14.39 MB / 382.1 MB Notification: Performance of Detect States: time 0.00117/0.1254, allocations: 1.019 MB / 497.9 MB, free: 13.35 MB / 382.1 MB Notification: Performance of Partitioning: time 0.001573/0.127, allocations: 1.226 MB / 499.1 MB, free: 12.06 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)