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: "" <> buildModelFMU(PowerSystems.Examples.Wind.WindTurbine_DFIG,fileNamePrefix="PowerSystems_PowerSystems_Examples_Wind_WindTurbine_DFIG",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Wind.WindTurbine_DFIG,fileNamePrefix="PowerSystems_PowerSystems_Examples_Wind_WindTurbine_DFIG",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00163/0.001631, allocations: 88.16 kB / 16.31 MB, free: 5.637 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.001807/0.001807, allocations: 177.8 kB / 17.2 MB, free: 5.555 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.553/1.553, allocations: 205.4 MB / 223.4 MB, free: 5.543 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.3258/0.3258, allocations: 38.06 MB / 309.7 MB, free: 8.879 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.0004976/0.0004977, allocations: 16 kB / 376.6 MB, free: 15.04 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0997/0.1002, allocations: 56.33 MB / 432.9 MB, free: 6.605 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_DFIG): time 0.01103/0.1113, allocations: 11.35 MB / 444.3 MB, free: 11.21 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.009495/0.1208, allocations: 6.477 MB / 450.8 MB, free: 4.719 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001706/0.1226, allocations: 83.44 kB / 450.9 MB, free: 4.637 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.2015/0.324, allocations: 4.682 MB / 455.5 MB, free: 36.58 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003222/0.3273, allocations: 1.124 MB / 456.7 MB, free: 36.57 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001616/0.3289, allocations: 0.6283 MB / 457.3 MB, free: 36.55 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004511/0.3335, allocations: 3.797 MB / 461.1 MB, free: 36.55 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001857/0.3353, allocations: 1.195 MB / 462.3 MB, free: 36.3 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001042/0.3364, allocations: 0.8975 MB / 463.2 MB, free: 36.29 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001314/0.3377, allocations: 1.333 MB / 464.5 MB, free: 36.14 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001464/0.3379, allocations: 74.97 kB / 464.6 MB, free: 36.14 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008024/0.3387, allocations: 319.7 kB / 464.9 MB, free: 36.12 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007062/0.3394, allocations: 0.7845 MB / 465.7 MB, free: 36.07 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002858/0.3397, allocations: 335.5 kB / 466 MB, free: 35.98 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001064/0.3408, allocations: 1.696 MB / 467.7 MB, free: 35.84 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.3408, allocations: 0 / 467.7 MB, free: 35.84 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.3408, allocations: 0 / 467.7 MB, free: 35.84 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.563e-05/0.3408, allocations: 0 / 467.7 MB, free: 35.84 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.002776/0.3436, allocations: 1.768 MB / 469.5 MB, free: 34.91 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.73e-05/0.3436, allocations: 9.812 kB / 469.5 MB, free: 34.91 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002097/0.3439, allocations: 220.3 kB / 469.7 MB, free: 34.86 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001174/0.345, allocations: 277.4 kB / 470 MB, free: 34.76 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001766/0.3468, allocations: 1.12 MB / 471.1 MB, free: 34.37 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.727e-05/0.3469, allocations: 104.3 kB / 471.2 MB, free: 34.37 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003962/0.3473, allocations: 223.3 kB / 471.4 MB, free: 34.36 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002471/0.3498, allocations: 2.099 MB / 473.5 MB, free: 34.06 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.807e-05/0.3498, allocations: 14 kB / 473.5 MB, free: 34.05 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001198/0.3499, allocations: 54.84 kB / 473.6 MB, free: 34.05 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004837/0.3504, allocations: 179 kB / 473.7 MB, free: 34.05 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002269/0.3527, allocations: 1.711 MB / 475.5 MB, free: 34 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.008852/0.3616, allocations: 7.964 MB / 483.4 MB, free: 30.4 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001866/0.3635, allocations: 1.628 MB / 485.1 MB, free: 29.95 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008043/0.3643, allocations: 0.6634 MB / 485.7 MB, free: 29.93 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.293e-05/0.3644, allocations: 16.91 kB / 485.7 MB, free: 29.93 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.51e-05/0.3644, allocations: 52.09 kB / 485.8 MB, free: 29.88 MB / 382.1 MB Notification: Performance of pre-optimization done (n=127): time 3.587e-06/0.3644, allocations: 0 / 485.8 MB, free: 29.88 MB / 382.1 MB Notification: Performance of matching and sorting (n=138): time 0.008633/0.3731, allocations: 5.132 MB / 490.9 MB, free: 28.35 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.475e-05/0.3732, allocations: 91.23 kB / 491 MB, free: 28.26 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001361/0.3745, allocations: 0.9259 MB / 491.9 MB, free: 28 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001159/0.3747, allocations: 50.77 kB / 492 MB, free: 27.95 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005013/0.3752, allocations: 0.7173 MB / 492.7 MB, free: 27.39 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004426/0.3756, allocations: 0.501 MB / 493.2 MB, free: 27 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.514e-05/0.3757, allocations: 37.39 kB / 493.2 MB, free: 26.97 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001742/0.3759, allocations: 375.2 kB / 493.6 MB, free: 26.64 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001315/0.3772, allocations: 0.7029 MB / 494.3 MB, free: 26.42 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001404/0.3786, allocations: 1.154 MB / 495.5 MB, free: 25.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.007202/0.3859, allocations: 2.274 MB / 497.7 MB, free: 25.16 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.78e-05/0.3859, allocations: 8.406 kB / 497.7 MB, free: 25.16 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