Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.Wind.WindTurbine_PSGR.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_PSGR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.Wind.WindTurbine_PSGR") translateModel(PowerSystems.Examples.Wind.WindTurbine_PSGR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.Wind.WindTurbine_PSGR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001645/0.001649, allocations: 189.3 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 2.005/2.005, 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.001132/0.001132, allocations: 102.8 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.2628/0.2628, allocations: 38.05 MB / 356.6 MB, free: 0.7969 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004549/0.0004551, allocations: 8 kB / 422.7 MB, free: 26.45 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1069/0.1074, allocations: 56.34 MB / 479 MB, free: 2.055 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_PSGR): time 0.01728/0.1247, allocations: 11.05 MB / 490.1 MB, free: 6.965 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.01607/0.1409, allocations: 7.171 MB / 497.2 MB, free: 15.78 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001735/0.1426, allocations: 79.44 kB / 497.3 MB, free: 15.7 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.009814/0.1525, allocations: 2.837 MB / 0.4884 GB, free: 12.86 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003593/0.1561, allocations: 0.8529 MB / 0.4893 GB, free: 12 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002505/0.1586, allocations: 0.6277 MB / 0.4899 GB, free: 11.37 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.002623/0.1613, allocations: 1.296 MB / 0.4912 GB, free: 10.07 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002632/0.1639, allocations: 1.19 MB / 0.4923 GB, free: 8.84 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001635/0.1656, allocations: 0.759 MB / 0.4931 GB, free: 8.078 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001821/0.1674, allocations: 0.9307 MB / 0.494 GB, free: 7.145 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000267/0.1677, allocations: 76 kB / 0.494 GB, free: 7.07 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001188/0.1689, allocations: 387.4 kB / 0.4944 GB, free: 6.691 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001076/0.17, allocations: 0.7365 MB / 0.4951 GB, free: 5.953 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005423/0.1705, allocations: 348.8 kB / 0.4955 GB, free: 5.605 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00286/0.1734, allocations: 1.863 MB / 0.4973 GB, free: 3.738 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.1734, allocations: 0 / 0.4973 GB, free: 3.738 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.1735, allocations: 4 kB / 0.4973 GB, free: 3.734 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.765e-05/0.1735, allocations: 0 / 0.4973 GB, free: 3.734 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: 397 * Number of variables: 397 Notification: Performance of Generate backend data structure: time 0.005826/0.1793, allocations: 1.854 MB / 0.4991 GB, free: 1.82 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.109e-05/0.1794, allocations: 8.031 kB / 0.4991 GB, free: 1.812 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002646/0.182, allocations: 333.5 kB / 0.4994 GB, free: 1.484 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003825/0.1859, allocations: 1.195 MB / 0.5006 GB, free: 252 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001195/0.186, allocations: 106.6 kB / 0.5007 GB, free: 144 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009736/0.187, allocations: 227.7 kB / 0.5009 GB, free: 15.92 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005089/0.1921, allocations: 2.126 MB / 0.503 GB, free: 13.68 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.071e-05/0.1922, allocations: 7.938 kB / 0.503 GB, free: 13.68 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002282/0.1924, allocations: 59.98 kB / 0.503 GB, free: 13.62 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001178/0.1936, allocations: 182.6 kB / 0.5032 GB, free: 13.44 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005202/0.1989, allocations: 1.76 MB / 0.5049 GB, free: 11.67 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.01975/0.2186, allocations: 8.624 MB / 0.5134 GB, free: 2.625 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004154/0.2228, allocations: 1.813 MB / 0.5151 GB, free: 0.6875 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001684/0.223, allocations: 21.12 kB / 0.5151 GB, free: 0.668 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.895e-05/0.2231, allocations: 51.5 kB / 0.5152 GB, free: 0.6094 MB / 362.7 MB Notification: Performance of pre-optimization done (n=122): time 4.319e-06/0.2231, allocations: 0 / 0.5152 GB, free: 0.6094 MB / 362.7 MB Notification: Performance of matching and sorting (n=137): time 0.318/0.5412, allocations: 5.429 MB / 0.5205 GB, free: 50.45 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.939e-05/0.5413, allocations: 96.41 kB / 0.5206 GB, free: 50.35 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002034/0.5433, allocations: 1.031 MB / 0.5216 GB, free: 49.95 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000259/0.5436, allocations: 47.33 kB / 0.5216 GB, free: 49.9 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005465/0.5442, allocations: 0.7547 MB / 0.5224 GB, free: 49.26 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005637/0.5447, allocations: 0.4958 MB / 0.5229 GB, free: 48.88 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001253/0.5449, allocations: 31.72 kB / 0.5229 GB, free: 48.86 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001445/0.545, allocations: 380.6 kB / 0.5233 GB, free: 48.52 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001939/0.547, allocations: 0.712 MB / 0.524 GB, free: 48.29 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002406/0.5494, allocations: 1.17 MB / 0.5251 GB, free: 47.52 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.01406/0.5635, allocations: 2.223 MB / 0.5273 GB, free: 47.07 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.283e-05/0.5636, allocations: 8.375 kB / 0.5273 GB, free: 47.07 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