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 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_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.001039/0.001039, allocations: 111.9 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.001068/0.001068, allocations: 189.8 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.276/1.276, 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/package.mo): time 0.1663/0.1663, allocations: 38.04 MB / 330.6 MB, free: 8.707 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.433e-05/2.433e-05, allocations: 6.219 kB / 458.8 MB, free: 6.922 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_PSGI): time 0.01213/0.01215, allocations: 11.05 MB / 469.8 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01066/0.02281, allocations: 7.102 MB / 476.9 MB, free: 4.699 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001099/0.02391, allocations: 51.69 kB / 477 MB, free: 4.648 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02035/0.04426, allocations: 12.9 MB / 489.9 MB, free: 7.727 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002941/0.0472, allocations: 1.136 MB / 491 MB, free: 6.586 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001805/0.04901, allocations: 0.6901 MB / 491.7 MB, free: 5.895 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.005607/0.05462, allocations: 4.336 MB / 496 MB, free: 1.551 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001092/0.05571, allocations: 0.5757 MB / 496.6 MB, free: 0.9648 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002021/0.05773, allocations: 1.136 MB / 497.7 MB, free: 15.82 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001916/0.05964, allocations: 1.074 MB / 498.8 MB, free: 14.75 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003707/0.06002, allocations: 116 kB / 498.9 MB, free: 14.63 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005081/0.0651, allocations: 2.982 MB / 0.4901 GB, free: 11.64 MB / 382.1 MB Notification: Performance of combineBinaries: time 0.002723/0.06782, allocations: 2.622 MB / 0.4927 GB, free: 8.996 MB / 382.1 MB Notification: Performance of replaceArrayConstructors: time 0.00145/0.06927, allocations: 1.744 MB / 0.4944 GB, free: 7.23 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005649/0.06983, allocations: 211.4 kB / 0.4946 GB, free: 7.023 MB / 382.1 MB Notification: Performance of FrontEnd: time 0.0003028/0.07014, allocations: 39.8 kB / 0.4946 GB, free: 6.984 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.007656/0.07779, allocations: 6.119 MB / 0.5006 GB, free: 0.6484 MB / 382.1 MB Notification: Performance of FunctionAlias: time 0.2404/0.3182, allocations: 0.8624 MB / 0.5015 GB, free: 30.52 MB / 382.1 MB Notification: Performance of Early Inline: time 0.005295/0.3235, allocations: 2.76 MB / 0.5042 GB, free: 30.38 MB / 382.1 MB Notification: Performance of simplify1: time 0.000966/0.3244, allocations: 480.5 kB / 0.5046 GB, free: 30.25 MB / 382.1 MB Notification: Performance of Alias: time 0.004619/0.3291, allocations: 2.582 MB / 0.5071 GB, free: 29.36 MB / 382.1 MB Notification: Performance of simplify2: time 0.0007701/0.3298, allocations: 408.6 kB / 0.5075 GB, free: 29.27 MB / 382.1 MB Notification: Performance of Detect States: time 0.001041/0.3309, allocations: 0.6938 MB / 0.5082 GB, free: 29.13 MB / 382.1 MB Notification: Performance of Events: time 0.0004442/0.3313, allocations: 263.9 kB / 0.5085 GB, free: 29.13 MB / 382.1 MB Notification: Performance of Partitioning: time 0.001701/0.333, allocations: 1.216 MB / 0.5096 GB, free: 28.98 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)