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.0008681/0.0008681, allocations: 90.12 kB / 16.31 MB, free: 6.461 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.000803/0.0008031, allocations: 180.7 kB / 17.21 MB, free: 6.336 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.377/1.377, allocations: 205.4 MB / 223.4 MB, free: 13.15 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.183/0.183, allocations: 38.03 MB / 309.7 MB, free: 6.039 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.0008741/0.0008742, allocations: 12 kB / 376.5 MB, free: 3.113 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2169/0.2178, allocations: 56.33 MB / 432.8 MB, free: 18.84 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_DFIG): time 0.007544/0.2254, allocations: 11.35 MB / 444.2 MB, free: 7.453 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.007277/0.2327, allocations: 6.47 MB / 450.7 MB, free: 0.9648 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00122/0.2339, allocations: 83.44 kB / 450.7 MB, free: 0.8828 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007892/0.2419, allocations: 4.692 MB / 455.4 MB, free: 12.18 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002456/0.2443, allocations: 1.12 MB / 456.5 MB, free: 11.06 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001623/0.246, allocations: 0.6279 MB / 457.2 MB, free: 10.43 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0046/0.2506, allocations: 3.805 MB / 461 MB, free: 6.617 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002014/0.2526, allocations: 1.195 MB / 462.2 MB, free: 5.375 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001529/0.2542, allocations: 0.8947 MB / 463.1 MB, free: 4.477 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001989/0.2562, allocations: 1.336 MB / 464.4 MB, free: 3.137 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003177/0.2565, allocations: 72 kB / 464.5 MB, free: 3.066 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009222/0.2575, allocations: 323.5 kB / 464.8 MB, free: 2.75 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008109/0.2583, allocations: 0.7832 MB / 465.6 MB, free: 1.965 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004414/0.2587, allocations: 336.7 kB / 465.9 MB, free: 1.629 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00168/0.2604, allocations: 1.695 MB / 467.6 MB, free: 15.93 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.2604, allocations: 0 / 467.6 MB, free: 15.93 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.2605, allocations: 4 kB / 467.6 MB, free: 15.93 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.086e-05/0.2605, allocations: 4 kB / 467.6 MB, free: 15.92 MB / 350.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.003416/0.2639, allocations: 1.752 MB / 469.4 MB, free: 14.11 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.334e-05/0.264, allocations: 8.031 kB / 469.4 MB, free: 14.1 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001272/0.2653, allocations: 277.6 kB / 469.6 MB, free: 13.83 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002063/0.2673, allocations: 1.117 MB / 470.8 MB, free: 12.66 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.525e-05/0.2674, allocations: 102.6 kB / 470.9 MB, free: 12.56 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000467/0.2679, allocations: 239.6 kB / 471.1 MB, free: 12.33 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002957/0.2709, allocations: 2.091 MB / 473.2 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.236e-05/0.2709, allocations: 19.91 kB / 473.2 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001241/0.2711, allocations: 51.98 kB / 473.2 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000513/0.2716, allocations: 174.7 kB / 473.4 MB, free: 9.895 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002603/0.2742, allocations: 1.713 MB / 475.1 MB, free: 8.176 MB / 350.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.009866/0.2841, allocations: 7.969 MB / 483.1 MB, free: 15.87 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002086/0.2862, allocations: 1.628 MB / 484.7 MB, free: 14.16 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009118/0.2871, allocations: 0.6679 MB / 485.4 MB, free: 13.48 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.045e-05/0.2872, allocations: 20.98 kB / 485.4 MB, free: 13.46 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.133e-05/0.2872, allocations: 55.5 kB / 485.5 MB, free: 13.4 MB / 366.1 MB Notification: Performance of pre-optimization done (n=127): time 3.136e-06/0.2873, allocations: 0 / 485.5 MB, free: 13.4 MB / 366.1 MB Notification: Performance of matching and sorting (n=138): time 0.008212/0.2955, allocations: 5.123 MB / 490.6 MB, free: 8.094 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.673e-05/0.2955, allocations: 90.42 kB / 490.7 MB, free: 7.988 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001009/0.2966, allocations: 0.9308 MB / 491.6 MB, free: 7.039 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.811e-05/0.2967, allocations: 53.69 kB / 491.7 MB, free: 6.98 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004515/0.2971, allocations: 0.7172 MB / 492.4 MB, free: 6.25 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003722/0.2975, allocations: 0.5007 MB / 492.9 MB, free: 5.742 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.721e-05/0.2976, allocations: 35.94 kB / 492.9 MB, free: 5.707 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001449/0.2977, allocations: 377.9 kB / 493.3 MB, free: 5.332 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001048/0.2988, allocations: 0.6988 MB / 494 MB, free: 4.633 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001322/0.3001, allocations: 1.155 MB / 495.1 MB, free: 3.289 MB / 366.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.006322/0.3065, allocations: 2.275 MB / 497.4 MB, free: 1.023 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.045e-06/0.3065, allocations: 7.953 kB / 497.4 MB, free: 1.016 MB / 366.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