Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGI.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_PSGI,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Wind_WindTurbine_PSGI",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Wind.WindTurbine_PSGI,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Wind_WindTurbine_PSGI",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.000909/0.0009091, allocations: 94.97 kB / 16.31 MB, free: 5.633 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.000916/0.0009161, allocations: 179.2 kB / 17.2 MB, free: 5.555 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.485/1.485, allocations: 223.2 MB / 241.2 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.3056/0.3056, allocations: 38.07 MB / 330.4 MB, free: 14.19 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003672/0.0003673, allocations: 8 kB / 400.2 MB, free: 9.145 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2827/0.2831, allocations: 59.17 MB / 459.3 MB, free: 30.5 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_PSGI): time 0.0111/0.2942, allocations: 11.74 MB / 471.1 MB, free: 22.16 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01252/0.3068, allocations: 7.214 MB / 478.3 MB, free: 17.07 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002114/0.309, allocations: 89 kB / 478.4 MB, free: 17.03 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01935/0.3283, allocations: 11.98 MB / 490.3 MB, free: 8.934 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004119/0.3325, allocations: 1.171 MB / 491.5 MB, free: 7.758 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002907/0.3354, allocations: 0.6707 MB / 492.2 MB, free: 7.086 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005415/0.3409, allocations: 4.659 MB / 496.8 MB, free: 2.418 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001691/0.3426, allocations: 1.136 MB / 498 MB, free: 1.23 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001321/0.3439, allocations: 0.9568 MB / 498.9 MB, free: 276 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001894/0.3458, allocations: 1.433 MB / 0.4886 GB, free: 14.83 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001793/0.346, allocations: 76 kB / 0.4887 GB, free: 14.76 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001057/0.3471, allocations: 407.4 kB / 0.4891 GB, free: 14.36 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000938/0.348, allocations: 0.8376 MB / 0.4899 GB, free: 13.52 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004112/0.3484, allocations: 360.7 kB / 0.4903 GB, free: 13.16 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001927/0.3504, allocations: 1.902 MB / 0.4921 GB, free: 11.25 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/0.3504, allocations: 3.984 kB / 0.4921 GB, free: 11.25 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3504, allocations: 0 / 0.4921 GB, free: 11.25 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.929e-05/0.3504, allocations: 4 kB / 0.4921 GB, free: 11.25 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: 409 * Number of variables: 409 Notification: Performance of Generate backend data structure: time 0.003511/0.354, allocations: 1.913 MB / 0.494 GB, free: 9.273 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.791e-05/0.354, allocations: 12.03 kB / 0.494 GB, free: 9.262 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002763/0.3543, allocations: 232.3 kB / 0.4942 GB, free: 9.023 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001519/0.3558, allocations: 337.3 kB / 0.4946 GB, free: 8.691 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002242/0.3581, allocations: 1.238 MB / 0.4958 GB, free: 7.41 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.101e-05/0.3582, allocations: 102.7 kB / 0.4959 GB, free: 7.309 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004922/0.3587, allocations: 243.7 kB / 0.4961 GB, free: 7.07 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003198/0.3619, allocations: 2.18 MB / 0.4982 GB, free: 4.785 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.143e-05/0.3619, allocations: 11.94 kB / 0.4982 GB, free: 4.773 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001408/0.3621, allocations: 59.98 kB / 0.4983 GB, free: 4.715 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000517/0.3626, allocations: 182.8 kB / 0.4985 GB, free: 4.535 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00305/0.3656, allocations: 1.834 MB / 0.5003 GB, free: 2.695 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.01191/0.3776, allocations: 8.583 MB / 0.5086 GB, free: 9.695 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002472/0.3801, allocations: 1.907 MB / 0.5105 GB, free: 7.668 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001364/0.3815, allocations: 0.8059 MB / 0.5113 GB, free: 6.859 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.086e-05/0.3816, allocations: 17.3 kB / 0.5113 GB, free: 6.844 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.342e-05/0.3816, allocations: 43.88 kB / 0.5113 GB, free: 6.789 MB / 382.1 MB Notification: Performance of pre-optimization done (n=130): time 3.286e-06/0.3816, allocations: 7.938 kB / 0.5114 GB, free: 6.781 MB / 382.1 MB Notification: Performance of matching and sorting (n=145): time 0.01169/0.3933, allocations: 6.023 MB / 0.5172 GB, free: 0.5625 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.406e-05/0.3934, allocations: 94.42 kB / 0.5173 GB, free: 464 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001408/0.3949, allocations: 1.059 MB / 0.5184 GB, free: 15.38 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001077/0.395, allocations: 53.7 kB / 0.5184 GB, free: 15.32 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006112/0.3956, allocations: 0.7872 MB / 0.5192 GB, free: 14.52 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005822/0.3962, allocations: 0.5239 MB / 0.5197 GB, free: 13.99 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.428e-05/0.3963, allocations: 36 kB / 0.5197 GB, free: 13.96 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001883/0.3965, allocations: 377.9 kB / 0.5201 GB, free: 13.58 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00117/0.3977, allocations: 0.7379 MB / 0.5208 GB, free: 12.84 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001439/0.3991, allocations: 1.23 MB / 0.522 GB, free: 11.41 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.01027/0.4094, allocations: 2.429 MB / 0.5244 GB, free: 9.004 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.168e-05/0.4094, allocations: 4 kB / 0.5244 GB, free: 9 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