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: translateModel(PowerSystems.Examples.Wind.WindTurbine_PSGI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.Wind.WindTurbine_PSGI") translateModel(PowerSystems.Examples.Wind.WindTurbine_PSGI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.Wind.WindTurbine_PSGI") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00156/0.001559, allocations: 187.4 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.979/1.979, allocations: 205.4 MB / 221.9 MB, free: 13.81 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.001117/0.001117, allocations: 94.86 kB / 270.2 MB, free: 13.34 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2467/0.2467, allocations: 38.06 MB / 356.6 MB, free: 0.7891 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004392/0.0004392, allocations: 16 kB / 422.7 MB, free: 26.44 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1028/0.1032, allocations: 56.33 MB / 479 MB, free: 2.051 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_PSGI): time 0.01739/0.1207, allocations: 11.11 MB / 490.1 MB, free: 6.898 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.01611/0.1368, allocations: 7.167 MB / 497.3 MB, free: 15.72 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001631/0.1385, allocations: 83.44 kB / 497.4 MB, free: 15.64 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.009716/0.1483, allocations: 2.826 MB / 0.4885 GB, free: 12.8 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00364/0.1519, allocations: 0.8801 MB / 0.4894 GB, free: 11.92 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002589/0.1545, allocations: 0.655 MB / 0.49 GB, free: 11.26 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.002706/0.1573, allocations: 1.351 MB / 0.4913 GB, free: 9.906 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002638/0.1599, allocations: 1.148 MB / 0.4924 GB, free: 8.711 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001744/0.1617, allocations: 0.7979 MB / 0.4932 GB, free: 7.91 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001879/0.1636, allocations: 0.9657 MB / 0.4942 GB, free: 6.941 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002836/0.1639, allocations: 76 kB / 0.4942 GB, free: 6.867 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001193/0.1651, allocations: 391.4 kB / 0.4946 GB, free: 6.484 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001091/0.1662, allocations: 0.7599 MB / 0.4953 GB, free: 5.723 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005364/0.1667, allocations: 360.7 kB / 0.4957 GB, free: 5.363 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002896/0.1697, allocations: 1.894 MB / 0.4975 GB, free: 3.465 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.065e-06/0.1697, allocations: 0 / 0.4975 GB, free: 3.465 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.165e-06/0.1697, allocations: 0 / 0.4975 GB, free: 3.465 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.482e-05/0.1697, allocations: 0 / 0.4975 GB, free: 3.465 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.00606/0.1758, allocations: 1.921 MB / 0.4994 GB, free: 1.484 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.129e-05/0.1759, allocations: 8.031 kB / 0.4994 GB, free: 1.477 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002747/0.1786, allocations: 337.4 kB / 0.4997 GB, free: 1.145 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004084/0.1827, allocations: 1.242 MB / 0.501 GB, free: 15.86 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001216/0.1829, allocations: 106.7 kB / 0.5011 GB, free: 15.75 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009532/0.1838, allocations: 235.7 kB / 0.5013 GB, free: 15.52 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005181/0.189, allocations: 2.168 MB / 0.5034 GB, free: 13.25 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.454e-05/0.1891, allocations: 7.938 kB / 0.5034 GB, free: 13.24 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002342/0.1893, allocations: 59.98 kB / 0.5035 GB, free: 13.18 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001181/0.1905, allocations: 190.8 kB / 0.5036 GB, free: 13 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005081/0.1956, allocations: 1.823 MB / 0.5054 GB, free: 11.17 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.01847/0.2141, allocations: 8.591 MB / 0.5138 GB, free: 2.164 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004172/0.2183, allocations: 1.901 MB / 0.5157 GB, free: 140 kB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001341/0.2185, allocations: 29.41 kB / 0.5157 GB, free: 112 kB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.766e-05/0.2185, allocations: 51.88 kB / 0.5157 GB, free: 52 kB / 362.7 MB Notification: Performance of pre-optimization done (n=130): time 4.529e-06/0.2186, allocations: 0 / 0.5157 GB, free: 52 kB / 362.7 MB Notification: Performance of matching and sorting (n=145): time 0.3147/0.5333, allocations: 5.772 MB / 0.5214 GB, free: 50.23 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.163e-05/0.5334, allocations: 92.05 kB / 0.5215 GB, free: 50.13 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001922/0.5353, allocations: 1.062 MB / 0.5225 GB, free: 49.72 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000207/0.5356, allocations: 52.56 kB / 0.5226 GB, free: 49.67 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005313/0.5361, allocations: 0.766 MB / 0.5233 GB, free: 49.02 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005253/0.5366, allocations: 0.5256 MB / 0.5238 GB, free: 48.62 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00013/0.5368, allocations: 36.61 kB / 0.5239 GB, free: 48.59 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001445/0.5369, allocations: 387.2 kB / 0.5242 GB, free: 48.25 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001926/0.5389, allocations: 0.7309 MB / 0.5249 GB, free: 48.02 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002195/0.5411, allocations: 1.218 MB / 0.5261 GB, free: 47.21 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.01366/0.5548, allocations: 2.333 MB / 0.5284 GB, free: 46.75 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.008e-05/0.5548, allocations: 3.875 kB / 0.5284 GB, free: 46.75 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