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.001023/0.001023, allocations: 90.69 kB / 16.3 MB, free: 5.629 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.0009972/0.0009974, allocations: 186.3 kB / 17.2 MB, free: 5.562 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.514/1.514, allocations: 205.4 MB / 223.4 MB, free: 5.234 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.3497/0.3497, allocations: 38.04 MB / 309.7 MB, free: 9.062 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005636/0.0005635, allocations: 12 kB / 376.5 MB, free: 15.16 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1359/0.1365, allocations: 56.34 MB / 432.8 MB, free: 6.715 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_PSGI): time 0.01335/0.1499, allocations: 11.11 MB / 443.9 MB, free: 11.57 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01293/0.1629, allocations: 7.175 MB / 451.1 MB, free: 4.379 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002208/0.1651, allocations: 91.38 kB / 451.2 MB, free: 4.289 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007782/0.173, allocations: 2.822 MB / 454 MB, free: 1.461 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003873/0.1768, allocations: 0.8762 MB / 454.9 MB, free: 0.582 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.2762/0.4531, allocations: 0.6486 MB / 455.5 MB, free: 34.7 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003238/0.4563, allocations: 1.351 MB / 456.9 MB, free: 34.7 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001815/0.4582, allocations: 1.135 MB / 458 MB, free: 34.49 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001259/0.4594, allocations: 0.794 MB / 458.8 MB, free: 34.48 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001279/0.4607, allocations: 0.9766 MB / 459.8 MB, free: 34.47 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001614/0.4609, allocations: 77.62 kB / 459.9 MB, free: 34.47 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008979/0.4618, allocations: 387.5 kB / 460.2 MB, free: 34.47 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006385/0.4625, allocations: 0.7575 MB / 461 MB, free: 34.47 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003856/0.4629, allocations: 360.6 kB / 461.4 MB, free: 34.44 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001656/0.4645, allocations: 1.9 MB / 463.3 MB, free: 34.3 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.4645, allocations: 0 / 463.3 MB, free: 34.3 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.735e-06/0.4646, allocations: 7.188 kB / 463.3 MB, free: 34.3 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.984e-05/0.4646, allocations: 0 / 463.3 MB, free: 34.3 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 * Number of variables: 409 Notification: Performance of Generate backend data structure: time 0.003866/0.4685, allocations: 1.91 MB / 465.2 MB, free: 33.31 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.224e-05/0.4685, allocations: 13.62 kB / 465.2 MB, free: 33.31 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001722/0.4703, allocations: 345.2 kB / 465.5 MB, free: 33.21 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002429/0.4727, allocations: 1.23 MB / 466.8 MB, free: 32.85 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.889e-05/0.4728, allocations: 106 kB / 466.9 MB, free: 32.84 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005274/0.4733, allocations: 242.4 kB / 467.1 MB, free: 32.84 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003327/0.4766, allocations: 2.169 MB / 469.3 MB, free: 32.53 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.568e-05/0.4767, allocations: 13.88 kB / 469.3 MB, free: 32.53 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001461/0.4769, allocations: 61.33 kB / 469.3 MB, free: 32.53 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005894/0.4775, allocations: 183.6 kB / 469.5 MB, free: 32.52 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002663/0.4801, allocations: 1.828 MB / 471.3 MB, free: 32.51 MB / 382.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01033/0.4905, allocations: 8.574 MB / 479.9 MB, free: 28.5 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00212/0.4926, allocations: 1.908 MB / 481.8 MB, free: 27.85 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.856e-05/0.4927, allocations: 25.8 kB / 481.8 MB, free: 27.85 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.807e-05/0.4927, allocations: 48.34 kB / 481.9 MB, free: 27.81 MB / 382.1 MB Notification: Performance of pre-optimization done (n=130): time 3.927e-06/0.4928, allocations: 0 / 481.9 MB, free: 27.81 MB / 382.1 MB Notification: Performance of matching and sorting (n=145): time 0.01035/0.5031, allocations: 5.769 MB / 487.7 MB, free: 26.21 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.052e-05/0.5032, allocations: 99.27 kB / 487.8 MB, free: 26.11 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001329/0.5045, allocations: 1.058 MB / 488.8 MB, free: 25.95 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.922e-05/0.5046, allocations: 49.47 kB / 488.9 MB, free: 25.92 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005186/0.5051, allocations: 0.7794 MB / 489.6 MB, free: 25.55 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004057/0.5056, allocations: 0.5249 MB / 490.2 MB, free: 25.21 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.52e-05/0.5057, allocations: 40.31 kB / 490.2 MB, free: 25.21 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001379/0.5058, allocations: 383.1 kB / 490.6 MB, free: 24.91 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001266/0.5071, allocations: 0.7354 MB / 491.3 MB, free: 24.9 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001621/0.5087, allocations: 1.206 MB / 492.5 MB, free: 24.36 MB / 382.1 MB Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 0.008429/0.5171, allocations: 2.393 MB / 494.9 MB, free: 24.26 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.403e-05/0.5172, allocations: 9.453 kB / 494.9 MB, free: 24.26 MB / 382.1 MB Error: Internal error IndexReduction.pantelidesIndexReduction failed! System is structurally singular and cannot be handled because the number of unassigned equations is larger than the number of states. Use -d=bltdump to get more information. Error: No system for the symbolic initialization was generated