Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.Wind.WindTurbine_PSGI.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.Wind.WindTurbine_PSGI,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_Wind_WindTurbine_PSGI",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Wind.WindTurbine_PSGI,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_Wind_WindTurbine_PSGI",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001509/0.001515, allocations: 187.8 kB / 15.77 MB, free: 5.988 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.991/1.991, allocations: 205.4 MB / 221.9 MB, free: 13.82 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001121/0.001121, allocations: 94.84 kB / 270.2 MB, free: 13.35 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2636/0.2636, allocations: 38.05 MB / 356.6 MB, free: 0.7852 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004784/0.0004785, allocations: 19.98 kB / 422.8 MB, free: 26.34 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1081/0.1086, allocations: 56.33 MB / 479.1 MB, free: 1.953 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_PSGI): time 0.01786/0.1265, allocations: 11.11 MB / 490.2 MB, free: 6.797 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.01661/0.1432, allocations: 7.167 MB / 497.4 MB, free: 15.62 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00176/0.145, allocations: 87.44 kB / 497.5 MB, free: 15.53 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01029/0.1553, allocations: 2.83 MB / 0.4886 GB, free: 12.69 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004087/0.1595, allocations: 0.8801 MB / 0.4895 GB, free: 11.81 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002981/0.1625, allocations: 0.6511 MB / 0.4901 GB, free: 11.16 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.003346/0.1659, allocations: 1.351 MB / 0.4914 GB, free: 9.801 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002868/0.1688, allocations: 1.136 MB / 0.4925 GB, free: 8.617 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002191/0.171, allocations: 0.8018 MB / 0.4933 GB, free: 7.812 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002276/0.1733, allocations: 0.9657 MB / 0.4942 GB, free: 6.844 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004057/0.1737, allocations: 80 kB / 0.4943 GB, free: 6.766 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00138/0.1751, allocations: 383.5 kB / 0.4947 GB, free: 6.391 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001164/0.1763, allocations: 0.7599 MB / 0.4954 GB, free: 5.629 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006423/0.177, allocations: 364.7 kB / 0.4958 GB, free: 5.266 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003425/0.1804, allocations: 1.894 MB / 0.4976 GB, free: 3.367 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.1805, allocations: 0 / 0.4976 GB, free: 3.367 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.885e-06/0.1805, allocations: 3.938 kB / 0.4976 GB, free: 3.363 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.727e-05/0.1806, allocations: 4 kB / 0.4976 GB, free: 3.359 MB / 346.7 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.006685/0.1873, allocations: 1.909 MB / 0.4995 GB, free: 1.391 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.226e-05/0.1873, allocations: 8.031 kB / 0.4995 GB, free: 1.383 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006607/0.188, allocations: 236.3 kB / 0.4997 GB, free: 1.141 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00294/0.191, allocations: 337.4 kB / 0.5001 GB, free: 0.8086 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004618/0.1956, allocations: 1.242 MB / 0.5013 GB, free: 15.52 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001441/0.1958, allocations: 106.7 kB / 0.5014 GB, free: 15.41 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0011/0.1969, allocations: 239.5 kB / 0.5016 GB, free: 15.18 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005518/0.2025, allocations: 2.172 MB / 0.5037 GB, free: 12.91 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.229e-05/0.2026, allocations: 11.94 kB / 0.5037 GB, free: 12.89 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000228/0.2028, allocations: 55.98 kB / 0.5038 GB, free: 12.84 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001163/0.204, allocations: 186.8 kB / 0.504 GB, free: 12.66 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005611/0.2096, allocations: 1.834 MB / 0.5057 GB, free: 10.82 MB / 362.7 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.02/0.2297, allocations: 8.579 MB / 0.5141 GB, free: 1.824 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3025/0.5322, allocations: 1.904 MB / 0.516 GB, free: 51.11 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000247/0.5325, allocations: 19.7 kB / 0.516 GB, free: 51.11 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.166e-05/0.5326, allocations: 46.72 kB / 0.516 GB, free: 51.07 MB / 362.7 MB Notification: Performance of pre-optimization done (n=130): time 4.559e-06/0.5326, allocations: 1.406 kB / 0.5161 GB, free: 51.07 MB / 362.7 MB Notification: Performance of matching and sorting (n=145): time 0.02002/0.5526, allocations: 5.779 MB / 0.5217 GB, free: 49.14 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.167e-05/0.5527, allocations: 93.55 kB / 0.5218 GB, free: 49.04 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002139/0.5549, allocations: 1.058 MB / 0.5228 GB, free: 48.63 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002999/0.5552, allocations: 52.97 kB / 0.5229 GB, free: 48.59 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005884/0.5558, allocations: 0.7698 MB / 0.5236 GB, free: 47.94 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006876/0.5565, allocations: 0.5245 MB / 0.5241 GB, free: 47.53 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001444/0.5567, allocations: 36.17 kB / 0.5242 GB, free: 47.5 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001529/0.5568, allocations: 391.1 kB / 0.5245 GB, free: 47.16 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002106/0.5589, allocations: 0.7342 MB / 0.5253 GB, free: 46.93 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002355/0.5613, allocations: 1.21 MB / 0.5264 GB, free: 46.12 MB / 362.7 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.0142/0.5756, allocations: 2.332 MB / 0.5287 GB, free: 45.66 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.583e-05/0.5756, allocations: 4.812 kB / 0.5287 GB, free: 45.66 MB / 362.7 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