Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Wind.WindTurbine_IG.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_IG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Wind.WindTurbine_IG") translateModel(PowerSystems.Examples.Wind.WindTurbine_IG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Wind.WindTurbine_IG") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009567/0.0009567, allocations: 98.83 kB / 16.31 MB, free: 5.992 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.0009583/0.0009583, allocations: 187.3 kB / 17.2 MB, free: 5.91 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.535/1.535, allocations: 205.4 MB / 223.4 MB, free: 5.551 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.3283/0.3283, allocations: 38.06 MB / 309.7 MB, free: 8.863 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.0005391/0.0005392, allocations: 18.19 kB / 376.5 MB, free: 15.18 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1153/0.1159, allocations: 56.34 MB / 432.8 MB, free: 6.734 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_IG): time 0.008299/0.1242, allocations: 7.922 MB / 440.7 MB, free: 14.78 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.008722/0.133, allocations: 5.454 MB / 446.2 MB, free: 9.312 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001117/0.1342, allocations: 47.69 kB / 446.2 MB, free: 9.266 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004622/0.1388, allocations: 1.816 MB / 448.1 MB, free: 7.445 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002133/0.1409, allocations: 0.6114 MB / 448.7 MB, free: 6.832 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001132/0.1421, allocations: 463 kB / 449.1 MB, free: 6.379 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001078/0.1432, allocations: 0.9057 MB / 450 MB, free: 5.473 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001321/0.1445, allocations: 0.8484 MB / 450.9 MB, free: 4.574 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006479/0.1452, allocations: 0.5371 MB / 451.4 MB, free: 4.035 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007994/0.146, allocations: 0.6854 MB / 452.1 MB, free: 3.348 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001141/0.1461, allocations: 56 kB / 452.2 MB, free: 3.293 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005074/0.1466, allocations: 271.6 kB / 452.4 MB, free: 3.027 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004794/0.1471, allocations: 0.5534 MB / 453 MB, free: 2.473 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002333/0.1473, allocations: 265 kB / 453.2 MB, free: 2.207 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001132/0.1485, allocations: 1.286 MB / 454.5 MB, free: 0.918 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.495e-06/0.1485, allocations: 0 / 454.5 MB, free: 0.918 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.1485, allocations: 0 / 454.5 MB, free: 0.918 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.209e-05/0.1485, allocations: 0 / 454.5 MB, free: 0.918 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: 281 * Number of variables: 281 Notification: Performance of Generate backend data structure: time 0.2015/0.3501, allocations: 1.365 MB / 455.9 MB, free: 51.7 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.658e-05/0.3501, allocations: 7.859 kB / 455.9 MB, free: 51.7 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001947/0.3521, allocations: 227.1 kB / 456.1 MB, free: 51.62 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002647/0.3548, allocations: 0.8936 MB / 457 MB, free: 51.31 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.633e-05/0.3549, allocations: 76.12 kB / 457.1 MB, free: 51.31 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006401/0.3555, allocations: 181.8 kB / 457.3 MB, free: 51.3 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002869/0.3584, allocations: 1.558 MB / 458.8 MB, free: 51.07 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.42e-05/0.3585, allocations: 7.156 kB / 458.8 MB, free: 51.07 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001281/0.3586, allocations: 41.45 kB / 458.9 MB, free: 51.06 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005807/0.3592, allocations: 146.1 kB / 459 MB, free: 51.06 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002151/0.3614, allocations: 1.245 MB / 460.3 MB, free: 51.03 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.009101/0.3705, allocations: 6.595 MB / 466.8 MB, free: 47.5 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00153/0.3721, allocations: 0.9202 MB / 467.8 MB, free: 47.16 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.07e-05/0.3722, allocations: 10.78 kB / 467.8 MB, free: 47.16 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.792e-05/0.3722, allocations: 44.19 kB / 467.8 MB, free: 47.11 MB / 382.1 MB Notification: Performance of pre-optimization done (n=91): time 3.536e-06/0.3722, allocations: 4 kB / 467.8 MB, free: 47.11 MB / 382.1 MB Notification: Performance of matching and sorting (n=96): time 0.006472/0.3787, allocations: 3.679 MB / 471.5 MB, free: 45.17 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.253e-05/0.3788, allocations: 92.36 kB / 471.6 MB, free: 45.07 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009104/0.3797, allocations: 0.7216 MB / 472.3 MB, free: 44.77 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.388e-05/0.3798, allocations: 40.86 kB / 472.4 MB, free: 44.73 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003406/0.3801, allocations: 0.562 MB / 472.9 MB, free: 44.29 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002593/0.3804, allocations: 365.2 kB / 473.3 MB, free: 44.01 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.5e-05/0.3805, allocations: 29.61 kB / 473.3 MB, free: 43.99 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001347/0.3806, allocations: 410.8 kB / 473.7 MB, free: 43.64 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000819/0.3815, allocations: 0.5655 MB / 474.3 MB, free: 43.46 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009989/0.3825, allocations: 0.8862 MB / 475.2 MB, free: 42.9 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.005747/0.3882, allocations: 1.821 MB / 477 MB, free: 42.52 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.528e-05/0.3883, allocations: 5.781 kB / 477 MB, free: 42.52 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