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: "" <> buildModelFMU(PowerSystems.Examples.Wind.WindTurbine_PSGR,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Wind_WindTurbine_PSGR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Wind.WindTurbine_PSGR,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Wind_WindTurbine_PSGR",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.0009625/0.0009625, allocations: 89.5 kB / 16.31 MB, free: 5.645 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.00126/0.001261, allocations: 178.7 kB / 17.2 MB, free: 5.566 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.444/1.444, allocations: 223.2 MB / 241.2 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.3009/0.3009, allocations: 38.08 MB / 330.4 MB, free: 14.2 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002929/0.0002929, allocations: 8 kB / 400.2 MB, free: 9.184 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3114/0.3117, allocations: 59.16 MB / 459.3 MB, free: 30.36 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_PSGR): time 0.01144/0.3232, allocations: 11.68 MB / 471 MB, free: 22.07 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01111/0.3344, allocations: 7.204 MB / 478.2 MB, free: 16.98 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00192/0.3363, allocations: 80.81 kB / 478.3 MB, free: 16.95 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01662/0.353, allocations: 11.99 MB / 490.3 MB, free: 9.035 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003132/0.3561, allocations: 1.151 MB / 491.4 MB, free: 7.879 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001821/0.358, allocations: 0.6357 MB / 492.1 MB, free: 7.242 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004658/0.3627, allocations: 4.569 MB / 496.6 MB, free: 2.656 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001716/0.3644, allocations: 1.189 MB / 497.8 MB, free: 1.422 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001407/0.3658, allocations: 0.9102 MB / 498.7 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00184/0.3677, allocations: 1.398 MB / 0.4884 GB, free: 15.11 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002034/0.3679, allocations: 76 kB / 0.4885 GB, free: 15.03 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001039/0.3689, allocations: 403.3 kB / 0.4889 GB, free: 14.64 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007634/0.3697, allocations: 0.8299 MB / 0.4897 GB, free: 13.8 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003927/0.3701, allocations: 348.8 kB / 0.49 GB, free: 13.46 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001706/0.3718, allocations: 1.87 MB / 0.4918 GB, free: 11.58 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.3718, allocations: 4 kB / 0.4918 GB, free: 11.58 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.3718, allocations: 0 / 0.4918 GB, free: 11.58 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.391e-05/0.3719, allocations: 4 kB / 0.4918 GB, free: 11.57 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.003412/0.3753, allocations: 1.846 MB / 0.4936 GB, free: 9.668 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.62e-05/0.3753, allocations: 11.97 kB / 0.4937 GB, free: 9.656 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002732/0.3756, allocations: 231.9 kB / 0.4939 GB, free: 9.418 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001454/0.3771, allocations: 329.4 kB / 0.4942 GB, free: 9.094 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002138/0.3792, allocations: 1.183 MB / 0.4953 GB, free: 7.867 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.514e-05/0.3793, allocations: 102.6 kB / 0.4954 GB, free: 7.766 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004768/0.3798, allocations: 239.6 kB / 0.4957 GB, free: 7.531 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002959/0.3828, allocations: 2.147 MB / 0.4978 GB, free: 5.277 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.494e-05/0.3828, allocations: 0 / 0.4978 GB, free: 5.277 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001261/0.383, allocations: 59.98 kB / 0.4978 GB, free: 5.219 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000506/0.3835, allocations: 178.7 kB / 0.498 GB, free: 5.043 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0027/0.3862, allocations: 1.763 MB / 0.4997 GB, free: 3.273 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.01087/0.3971, allocations: 8.636 MB / 0.5081 GB, free: 10.22 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002253/0.3993, allocations: 1.818 MB / 0.5099 GB, free: 8.277 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001273/0.4006, allocations: 0.766 MB / 0.5107 GB, free: 7.508 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.119e-05/0.4007, allocations: 17.06 kB / 0.5107 GB, free: 7.492 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.066e-05/0.4008, allocations: 51.55 kB / 0.5107 GB, free: 7.434 MB / 382.1 MB Notification: Performance of pre-optimization done (n=122): time 3.296e-06/0.4008, allocations: 0 / 0.5107 GB, free: 7.434 MB / 382.1 MB Notification: Performance of matching and sorting (n=137): time 0.0105/0.4113, allocations: 5.51 MB / 0.5161 GB, free: 1.758 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.177e-05/0.4114, allocations: 94.42 kB / 0.5162 GB, free: 1.648 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001368/0.4128, allocations: 1.021 MB / 0.5172 GB, free: 0.6133 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001171/0.4129, allocations: 53.7 kB / 0.5173 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006262/0.4135, allocations: 0.7677 MB / 0.518 GB, free: 15.77 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005602/0.4141, allocations: 0.493 MB / 0.5185 GB, free: 15.27 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001307/0.4142, allocations: 32 kB / 0.5185 GB, free: 15.24 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002698/0.4145, allocations: 377.9 kB / 0.5189 GB, free: 14.86 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001218/0.4157, allocations: 0.7262 MB / 0.5196 GB, free: 14.14 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001586/0.4173, allocations: 1.185 MB / 0.5207 GB, free: 12.76 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.007239/0.4246, allocations: 2.324 MB / 0.523 GB, free: 10.45 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.255e-05/0.4246, allocations: 4 kB / 0.523 GB, free: 10.44 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