Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/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_DFIG,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|meter.i.1.|meter.i.2.|meter.i.3.|meter.p.1.|meter.p.2.|meter.p.3.|meter.v.1.|meter.v.2.|meter.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_DFIG") translateModel(PowerSystems.Examples.Wind.WindTurbine_DFIG,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|meter.i.1.|meter.i.2.|meter.i.3.|meter.p.1.|meter.p.2.|meter.p.3.|meter.v.1.|meter.v.2.|meter.v.3.",fileNamePrefix="PowerSystems_latest_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.000831/0.0008311, allocations: 92.83 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.0009809/0.0009809, allocations: 184 kB / 17.2 MB, free: 5.914 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.211/1.211, allocations: 223.2 MB / 241.1 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.2583/0.2583, allocations: 38.05 MB / 330.3 MB, free: 14.23 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003979/0.0003979, allocations: 8 kB / 400 MB, free: 9.293 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2739/0.2743, allocations: 59.16 MB / 459.1 MB, free: 30.41 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_DFIG): time 0.009296/0.2836, allocations: 10.75 MB / 469.9 MB, free: 22.84 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009578/0.2932, allocations: 6.396 MB / 476.3 MB, free: 18.38 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001924/0.2952, allocations: 85.06 kB / 476.3 MB, free: 18.35 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005416/0.3006, allocations: 1.965 MB / 478.3 MB, free: 17.61 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002958/0.3036, allocations: 0.8511 MB / 479.2 MB, free: 16.98 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001611/0.3052, allocations: 0.6203 MB / 479.8 MB, free: 16.52 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001543/0.3068, allocations: 1.257 MB / 481 MB, free: 15.71 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001614/0.3084, allocations: 1.202 MB / 482.2 MB, free: 14.89 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001109/0.3095, allocations: 0.7579 MB / 483 MB, free: 14.43 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001018/0.3105, allocations: 0.9015 MB / 483.9 MB, free: 13.93 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001618/0.3107, allocations: 74.81 kB / 484 MB, free: 13.93 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006335/0.3113, allocations: 303.3 kB / 484.3 MB, free: 13.81 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005838/0.3119, allocations: 0.7116 MB / 485 MB, free: 13.41 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003584/0.3123, allocations: 335.7 kB / 485.3 MB, free: 13.23 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001584/0.3139, allocations: 1.688 MB / 487 MB, free: 12.08 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.264e-06/0.3139, allocations: 3.938 kB / 487 MB, free: 12.07 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3139, allocations: 0 / 487 MB, free: 12.07 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.9e-05/0.314, allocations: 0 / 487 MB, free: 12.07 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.002908/0.3169, allocations: 1.748 MB / 488.8 MB, free: 10.27 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.368e-05/0.3169, allocations: 16.03 kB / 488.8 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001274/0.3182, allocations: 293.5 kB / 489.1 MB, free: 9.961 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001878/0.3201, allocations: 1.117 MB / 490.2 MB, free: 8.797 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.657e-05/0.3201, allocations: 102.6 kB / 490.3 MB, free: 8.695 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003884/0.3205, allocations: 219.8 kB / 490.5 MB, free: 8.48 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002246/0.3228, allocations: 2.091 MB / 492.6 MB, free: 6.289 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.879e-05/0.3228, allocations: 11.84 kB / 492.6 MB, free: 6.277 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001217/0.323, allocations: 55.98 kB / 492.6 MB, free: 6.223 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005482/0.3235, allocations: 182.6 kB / 492.8 MB, free: 6.043 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002086/0.3256, allocations: 1.701 MB / 494.5 MB, free: 4.336 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.009281/0.3349, allocations: 8.069 MB / 0.4908 GB, free: 11.9 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002064/0.337, allocations: 1.622 MB / 0.4924 GB, free: 10.19 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.98e-05/0.3371, allocations: 25.05 kB / 0.4924 GB, free: 10.17 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.772e-05/0.3371, allocations: 47.56 kB / 0.4925 GB, free: 10.11 MB / 366.1 MB Notification: Performance of pre-optimization done (n=127): time 3.627e-06/0.3372, allocations: 0 / 0.4925 GB, free: 10.11 MB / 366.1 MB Notification: Performance of matching and sorting (n=138): time 0.008058/0.3452, allocations: 5.098 MB / 0.4974 GB, free: 4.836 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.343e-05/0.3453, allocations: 94.42 kB / 0.4975 GB, free: 4.727 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00102/0.3463, allocations: 0.9346 MB / 0.4984 GB, free: 3.773 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.415e-05/0.3464, allocations: 49.7 kB / 0.4985 GB, free: 3.719 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000447/0.3469, allocations: 0.7172 MB / 0.4992 GB, free: 2.988 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003582/0.3472, allocations: 0.5006 MB / 0.4997 GB, free: 2.48 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.539e-05/0.3473, allocations: 36 kB / 0.4997 GB, free: 2.445 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001445/0.3475, allocations: 377.9 kB / 0.5001 GB, free: 2.07 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001005/0.3485, allocations: 0.6988 MB / 0.5008 GB, free: 1.371 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001258/0.3497, allocations: 1.151 MB / 0.5019 GB, free: 40 kB / 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.006584/0.3563, allocations: 2.259 MB / 0.5041 GB, free: 13.79 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.436e-06/0.3564, allocations: 8 kB / 0.5041 GB, free: 13.78 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