Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGR.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_PSGR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGR") translateModel(PowerSystems.Examples.Wind.WindTurbine_PSGR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007932/0.0007933, allocations: 97.17 kB / 16.96 MB, free: 6.41 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.001122/0.001122, allocations: 179.1 kB / 17.84 MB, free: 5.969 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.654/1.654, allocations: 205.4 MB / 224 MB, free: 13.16 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1786/0.1786, allocations: 38.04 MB / 310.3 MB, free: 6.031 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.000862/0.0008622, allocations: 15.94 kB / 377.1 MB, free: 3.102 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2891/0.2899, allocations: 56.33 MB / 433.5 MB, free: 18.82 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_PSGR): time 0.009532/0.2995, allocations: 11.67 MB / 445.1 MB, free: 7.113 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01065/0.3102, allocations: 7.243 MB / 452.4 MB, free: 15.86 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001771/0.312, allocations: 83.44 kB / 452.5 MB, free: 15.77 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01874/0.3308, allocations: 11.98 MB / 464.4 MB, free: 3.766 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003908/0.3347, allocations: 1.167 MB / 465.6 MB, free: 2.594 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00194/0.3367, allocations: 0.6318 MB / 466.2 MB, free: 1.961 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.006189/0.3429, allocations: 4.565 MB / 470.8 MB, free: 13.38 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002207/0.3451, allocations: 1.194 MB / 472 MB, free: 12.15 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001939/0.3471, allocations: 0.914 MB / 472.9 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001906/0.349, allocations: 1.39 MB / 474.3 MB, free: 9.836 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001649/0.3492, allocations: 76 kB / 474.4 MB, free: 9.762 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001006/0.3502, allocations: 411.3 kB / 474.8 MB, free: 9.359 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008127/0.351, allocations: 0.826 MB / 475.6 MB, free: 8.531 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004722/0.3515, allocations: 344.8 kB / 476 MB, free: 8.188 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001847/0.3533, allocations: 1.867 MB / 477.8 MB, free: 6.316 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.3534, allocations: 3.938 kB / 477.8 MB, free: 6.312 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.3534, allocations: 0 / 477.8 MB, free: 6.312 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.917e-05/0.3534, allocations: 0 / 477.8 MB, free: 6.312 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: 397 * Number of variables: 397 Notification: Performance of Generate backend data structure: time 0.003603/0.357, allocations: 1.858 MB / 479.7 MB, free: 4.395 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.369e-05/0.3571, allocations: 8.031 kB / 479.7 MB, free: 4.387 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001575/0.3586, allocations: 313.5 kB / 480 MB, free: 4.078 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002222/0.3609, allocations: 1.202 MB / 481.2 MB, free: 2.832 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.129e-05/0.361, allocations: 106.6 kB / 481.3 MB, free: 2.727 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005268/0.3615, allocations: 231.7 kB / 481.5 MB, free: 2.5 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003325/0.3648, allocations: 2.133 MB / 483.7 MB, free: 264 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.142e-05/0.3649, allocations: 7.938 kB / 483.7 MB, free: 256 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001348/0.365, allocations: 59.98 kB / 483.7 MB, free: 196 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005275/0.3656, allocations: 186.7 kB / 483.9 MB, free: 8 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002887/0.3685, allocations: 1.756 MB / 485.7 MB, free: 14.25 MB / 366.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.01135/0.3798, allocations: 8.636 MB / 494.3 MB, free: 5.188 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002582/0.3824, allocations: 1.814 MB / 496.1 MB, free: 3.246 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001303/0.3838, allocations: 0.7725 MB / 496.9 MB, free: 2.469 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.943e-05/0.3839, allocations: 21.06 kB / 496.9 MB, free: 2.449 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.075e-05/0.3839, allocations: 51.5 kB / 497 MB, free: 2.391 MB / 366.1 MB Notification: Performance of pre-optimization done (n=122): time 3.426e-06/0.3839, allocations: 3.938 kB / 497 MB, free: 2.387 MB / 366.1 MB Notification: Performance of matching and sorting (n=137): time 0.01133/0.3953, allocations: 5.495 MB / 0.4907 GB, free: 12.73 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.337e-05/0.3954, allocations: 94.42 kB / 0.4908 GB, free: 12.62 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00139/0.3968, allocations: 1.021 MB / 0.4918 GB, free: 11.59 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001052/0.3969, allocations: 53.64 kB / 0.4918 GB, free: 11.53 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006511/0.3976, allocations: 0.7715 MB / 0.4926 GB, free: 10.75 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004397/0.398, allocations: 0.489 MB / 0.493 GB, free: 10.25 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.821e-05/0.3981, allocations: 36 kB / 0.4931 GB, free: 10.21 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001712/0.3983, allocations: 377.9 kB / 0.4934 GB, free: 9.84 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001113/0.3994, allocations: 0.7261 MB / 0.4942 GB, free: 9.113 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001542/0.401, allocations: 1.181 MB / 0.4953 GB, free: 7.734 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.00747/0.4084, allocations: 2.332 MB / 0.4976 GB, free: 5.414 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.544e-05/0.4085, allocations: 4 kB / 0.4976 GB, free: 5.41 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