Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Wind.WindTurbine_DFIG.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_DFIG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Wind.WindTurbine_DFIG") translateModel(PowerSystems.Examples.Wind.WindTurbine_DFIG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Wind.WindTurbine_DFIG") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009895/0.0009896, allocations: 94.14 kB / 16.3 MB, free: 5.996 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.001074/0.001074, allocations: 183.6 kB / 17.2 MB, free: 5.914 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.502/1.502, allocations: 205.4 MB / 223.3 MB, free: 5.547 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.2948/0.2948, allocations: 38.05 MB / 309.7 MB, free: 8.836 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.0005424/0.0005425, allocations: 20 kB / 376.5 MB, free: 15.17 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1186/0.1192, allocations: 56.33 MB / 432.8 MB, free: 6.734 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_DFIG): time 0.01328/0.1325, allocations: 10.75 MB / 443.6 MB, free: 11.95 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01167/0.1442, allocations: 6.436 MB / 450 MB, free: 5.492 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002425/0.1467, allocations: 83.44 kB / 450.1 MB, free: 5.41 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006563/0.1533, allocations: 1.972 MB / 452.1 MB, free: 3.434 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003875/0.1572, allocations: 0.8489 MB / 452.9 MB, free: 2.582 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002505/0.1597, allocations: 0.616 MB / 453.5 MB, free: 1.965 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002829/0.1625, allocations: 1.253 MB / 454.8 MB, free: 0.707 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2318/0.3944, allocations: 1.205 MB / 456 MB, free: 33.97 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001622/0.3961, allocations: 0.7544 MB / 456.7 MB, free: 33.97 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001046/0.3971, allocations: 0.8994 MB / 457.6 MB, free: 33.96 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001494/0.3973, allocations: 74.34 kB / 457.7 MB, free: 33.96 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006319/0.3979, allocations: 314.4 kB / 458 MB, free: 33.96 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000511/0.3985, allocations: 0.71 MB / 458.7 MB, free: 33.96 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003503/0.3988, allocations: 334.7 kB / 459 MB, free: 33.93 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001319/0.4001, allocations: 1.686 MB / 460.7 MB, free: 33.8 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.856e-06/0.4002, allocations: 0 / 460.7 MB, free: 33.8 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.4002, allocations: 0 / 460.7 MB, free: 33.8 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.058e-05/0.4002, allocations: 0 / 460.7 MB, free: 33.8 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: 392 * Number of variables: 392 Notification: Performance of Generate backend data structure: time 0.003216/0.4034, allocations: 1.761 MB / 462.5 MB, free: 32.88 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.623e-05/0.4035, allocations: 9.594 kB / 462.5 MB, free: 32.88 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001404/0.4049, allocations: 283.8 kB / 462.8 MB, free: 32.78 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002276/0.4072, allocations: 1.12 MB / 463.9 MB, free: 32.43 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.08e-05/0.4073, allocations: 102.9 kB / 464 MB, free: 32.42 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004727/0.4078, allocations: 234.3 kB / 464.2 MB, free: 32.41 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002938/0.4107, allocations: 2.085 MB / 466.3 MB, free: 32.12 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.481e-05/0.4108, allocations: 8.219 kB / 466.3 MB, free: 32.12 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001534/0.4109, allocations: 58.7 kB / 466.4 MB, free: 32.12 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006018/0.4115, allocations: 178 kB / 466.6 MB, free: 32.11 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002526/0.4141, allocations: 1.715 MB / 468.3 MB, free: 32.09 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.009588/0.4237, allocations: 8.054 MB / 476.3 MB, free: 28.44 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002081/0.4258, allocations: 1.621 MB / 477.9 MB, free: 27.99 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.011e-05/0.4259, allocations: 18.42 kB / 478 MB, free: 27.99 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.654e-05/0.4259, allocations: 45.64 kB / 478 MB, free: 27.95 MB / 382.1 MB Notification: Performance of pre-optimization done (n=127): time 3.346e-06/0.4259, allocations: 0 / 478 MB, free: 27.95 MB / 382.1 MB Notification: Performance of matching and sorting (n=138): time 0.007888/0.4338, allocations: 5.094 MB / 483.1 MB, free: 26.44 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.95e-05/0.4339, allocations: 100.8 kB / 483.2 MB, free: 26.34 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001169/0.4351, allocations: 0.9299 MB / 484.1 MB, free: 26.18 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.329e-05/0.4351, allocations: 51.52 kB / 484.2 MB, free: 26.14 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000379/0.4355, allocations: 0.7098 MB / 484.9 MB, free: 25.8 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003193/0.4359, allocations: 0.5064 MB / 485.4 MB, free: 25.48 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.572e-05/0.4359, allocations: 34.97 kB / 485.4 MB, free: 25.47 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001139/0.4361, allocations: 380 kB / 485.8 MB, free: 25.17 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009628/0.437, allocations: 0.7027 MB / 486.5 MB, free: 25.16 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001171/0.4382, allocations: 1.14 MB / 487.6 MB, free: 24.66 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.006647/0.4449, allocations: 2.272 MB / 489.9 MB, free: 24.57 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.163e-05/0.4449, allocations: 4.938 kB / 489.9 MB, free: 24.57 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