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.0008683/0.0008683, allocations: 92.53 kB / 16.3 MB, free: 5.539 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.001007/0.001007, allocations: 185.8 kB / 17.2 MB, free: 5.473 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.235/1.235, allocations: 223.2 MB / 241.1 MB, free: 14.57 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1587/0.1587, allocations: 38.09 MB / 330.3 MB, free: 8.746 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003081/0.0003082, allocations: 8 kB / 400 MB, free: 34.45 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09236/0.09268, allocations: 59.17 MB / 459.2 MB, free: 7.363 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_PSGI): time 0.01046/0.1032, allocations: 11.12 MB / 470.3 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01026/0.1135, allocations: 7.133 MB / 477.5 MB, free: 5.055 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001508/0.115, allocations: 83.44 kB / 477.5 MB, free: 4.973 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006182/0.1212, allocations: 2.836 MB / 480.4 MB, free: 2.129 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002631/0.1239, allocations: 0.8723 MB / 481.3 MB, free: 1.254 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001828/0.1257, allocations: 0.6627 MB / 481.9 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002084/0.1278, allocations: 1.347 MB / 483.3 MB, free: 15.24 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001709/0.1295, allocations: 1.136 MB / 484.4 MB, free: 14.06 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001286/0.1308, allocations: 0.794 MB / 485.2 MB, free: 13.26 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001292/0.1321, allocations: 0.9735 MB / 486.2 MB, free: 12.29 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001897/0.1323, allocations: 76 kB / 486.2 MB, free: 12.21 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008149/0.1331, allocations: 383.4 kB / 486.6 MB, free: 11.84 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006946/0.1338, allocations: 0.7599 MB / 487.4 MB, free: 11.07 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003799/0.1342, allocations: 360.7 kB / 487.7 MB, free: 10.71 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001825/0.1361, allocations: 1.905 MB / 489.6 MB, free: 8.805 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.354e-06/0.1361, allocations: 0 / 489.6 MB, free: 8.805 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.1361, allocations: 0 / 489.6 MB, free: 8.805 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.855e-05/0.1361, allocations: 0 / 489.6 MB, free: 8.805 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.00358/0.1397, allocations: 1.909 MB / 491.5 MB, free: 6.836 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.877e-05/0.1398, allocations: 8.031 kB / 491.6 MB, free: 6.828 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002675/0.14, allocations: 232.3 kB / 491.8 MB, free: 6.59 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001665/0.1417, allocations: 341.3 kB / 492.1 MB, free: 6.254 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00259/0.1443, allocations: 1.249 MB / 493.4 MB, free: 4.961 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.033e-05/0.1444, allocations: 106.7 kB / 493.5 MB, free: 4.855 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005015/0.1449, allocations: 235.8 kB / 493.7 MB, free: 4.625 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002992/0.1479, allocations: 2.172 MB / 495.9 MB, free: 2.348 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.817e-05/0.148, allocations: 7.906 kB / 495.9 MB, free: 2.34 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000136/0.1481, allocations: 59.98 kB / 495.9 MB, free: 2.281 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005876/0.1487, allocations: 190.8 kB / 496.1 MB, free: 2.094 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002787/0.1515, allocations: 1.826 MB / 497.9 MB, free: 268 kB / 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.0118/0.1633, allocations: 8.579 MB / 0.4947 GB, free: 7.266 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002388/0.1657, allocations: 1.897 MB / 0.4965 GB, free: 5.242 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.926e-05/0.1658, allocations: 29.3 kB / 0.4965 GB, free: 5.215 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.563e-05/0.1659, allocations: 47.88 kB / 0.4966 GB, free: 5.16 MB / 382.1 MB Notification: Performance of pre-optimization done (n=130): time 3.607e-06/0.1659, allocations: 0 / 0.4966 GB, free: 5.16 MB / 382.1 MB Notification: Performance of matching and sorting (n=145): time 0.198/0.3639, allocations: 5.767 MB / 0.5022 GB, free: 53.96 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.134e-05/0.364, allocations: 93.14 kB / 0.5023 GB, free: 53.86 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001633/0.3656, allocations: 1.064 MB / 0.5033 GB, free: 53.72 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002459/0.3659, allocations: 52.3 kB / 0.5034 GB, free: 53.69 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00059/0.3665, allocations: 0.7817 MB / 0.5042 GB, free: 53.57 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004644/0.3669, allocations: 0.5269 MB / 0.5047 GB, free: 53.25 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.913e-05/0.3671, allocations: 34.72 kB / 0.5047 GB, free: 53.25 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000113/0.3672, allocations: 390.2 kB / 0.5051 GB, free: 52.94 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001224/0.3684, allocations: 0.7261 MB / 0.5058 GB, free: 52.83 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001351/0.3698, allocations: 1.217 MB / 0.507 GB, free: 52.02 MB / 382.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.007763/0.3775, allocations: 2.381 MB / 0.5093 GB, free: 51.58 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-05/0.3776, allocations: 6.906 kB / 0.5093 GB, free: 51.58 MB / 382.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