Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_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 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_PSGR,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_PSGR") translateModel(PowerSystems.Examples.Wind.WindTurbine_PSGR,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_PSGR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007254/0.0007255, allocations: 88.39 kB / 16.31 MB, free: 6.449 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.0007337/0.0007337, allocations: 183.1 kB / 17.21 MB, free: 6.32 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.214/1.214, allocations: 223.3 MB / 241.2 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.2677/0.2677, allocations: 38.08 MB / 330.4 MB, free: 14.23 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002943/0.0002944, allocations: 12 kB / 400.1 MB, free: 9.289 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2433/0.2436, allocations: 59.16 MB / 459.2 MB, free: 30.13 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_PSGR): time 0.009689/0.2533, allocations: 11.68 MB / 470.9 MB, free: 21.84 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009914/0.2633, allocations: 7.212 MB / 478.1 MB, free: 16.75 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001651/0.265, allocations: 80.22 kB / 478.2 MB, free: 16.71 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01653/0.2815, allocations: 11.99 MB / 490.2 MB, free: 8.934 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002826/0.2844, allocations: 1.163 MB / 491.3 MB, free: 7.766 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001648/0.286, allocations: 0.6357 MB / 492 MB, free: 7.129 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003585/0.2896, allocations: 4.565 MB / 496.5 MB, free: 2.547 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001391/0.291, allocations: 1.181 MB / 497.7 MB, free: 1.32 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008248/0.2919, allocations: 0.914 MB / 498.6 MB, free: 412 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00146/0.2933, allocations: 1.394 MB / 0.4883 GB, free: 15 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001502/0.2935, allocations: 76 kB / 0.4884 GB, free: 14.93 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007587/0.2943, allocations: 411.3 kB / 0.4888 GB, free: 14.53 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006514/0.2949, allocations: 0.8221 MB / 0.4896 GB, free: 13.7 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000296/0.2952, allocations: 348.8 kB / 0.4899 GB, free: 13.36 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001432/0.2967, allocations: 1.87 MB / 0.4917 GB, free: 11.48 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.2967, allocations: 4 kB / 0.4917 GB, free: 11.48 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.173e-06/0.2967, allocations: 0 / 0.4917 GB, free: 11.48 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.493e-05/0.2967, allocations: 0 / 0.4917 GB, free: 11.48 MB / 366.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.00332/0.3, allocations: 1.854 MB / 0.4936 GB, free: 9.562 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.849e-05/0.3001, allocations: 12.03 kB / 0.4936 GB, free: 9.551 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001556/0.3017, allocations: 317.4 kB / 0.4939 GB, free: 9.238 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002329/0.304, allocations: 1.195 MB / 0.495 GB, free: 8 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.729e-05/0.3041, allocations: 98.66 kB / 0.4951 GB, free: 7.902 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005456/0.3046, allocations: 251.6 kB / 0.4954 GB, free: 7.656 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002991/0.3076, allocations: 2.139 MB / 0.4975 GB, free: 5.41 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.745e-05/0.3077, allocations: 7.938 kB / 0.4975 GB, free: 5.402 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000131/0.3078, allocations: 55.98 kB / 0.4975 GB, free: 5.348 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004919/0.3083, allocations: 186.6 kB / 0.4977 GB, free: 5.164 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002549/0.3109, allocations: 1.756 MB / 0.4994 GB, free: 3.402 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.009623/0.3205, allocations: 8.632 MB / 0.5078 GB, free: 10.35 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002138/0.3227, allocations: 1.814 MB / 0.5096 GB, free: 8.414 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001156/0.3239, allocations: 0.7798 MB / 0.5104 GB, free: 7.633 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.348e-05/0.3239, allocations: 25 kB / 0.5104 GB, free: 7.609 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.672e-05/0.324, allocations: 51.56 kB / 0.5104 GB, free: 7.551 MB / 382.1 MB Notification: Performance of pre-optimization done (n=122): time 3.697e-06/0.324, allocations: 0 / 0.5104 GB, free: 7.551 MB / 382.1 MB Notification: Performance of matching and sorting (n=137): time 0.009213/0.3332, allocations: 5.496 MB / 0.5158 GB, free: 1.887 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.469e-05/0.3333, allocations: 94.45 kB / 0.5159 GB, free: 1.777 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001101/0.3344, allocations: 1.025 MB / 0.5169 GB, free: 0.7383 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.531e-05/0.3345, allocations: 49.7 kB / 0.517 GB, free: 0.6836 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004884/0.335, allocations: 0.7794 MB / 0.5177 GB, free: 15.89 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003418/0.3353, allocations: 0.489 MB / 0.5182 GB, free: 15.39 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.218e-05/0.3354, allocations: 32 kB / 0.5182 GB, free: 15.36 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001503/0.3356, allocations: 377.9 kB / 0.5186 GB, free: 14.98 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001054/0.3366, allocations: 0.7183 MB / 0.5193 GB, free: 14.27 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001287/0.3379, allocations: 1.181 MB / 0.5204 GB, free: 12.89 MB / 398.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.006675/0.3446, allocations: 2.328 MB / 0.5227 GB, free: 10.57 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.413e-06/0.3446, allocations: 4 kB / 0.5227 GB, free: 10.57 MB / 398.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