Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGR.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_PSGR,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Wind_WindTurbine_PSGR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Wind.WindTurbine_PSGR,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Wind_WindTurbine_PSGR",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.0008994/0.0008994, allocations: 96.8 kB / 16.3 MB, free: 5.258 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.000867/0.0008671, allocations: 185.9 kB / 17.2 MB, free: 5.199 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.254/1.254, allocations: 223.2 MB / 241.1 MB, free: 396 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1584/0.1584, allocations: 38.09 MB / 330.3 MB, free: 8.953 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003162/0.0003161, allocations: 8.844 kB / 400 MB, free: 34.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09433/0.09467, allocations: 59.17 MB / 459.2 MB, free: 7.34 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_PSGR): time 0.01033/0.105, allocations: 11.08 MB / 470.3 MB, free: 12.22 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01017/0.1152, allocations: 7.11 MB / 477.4 MB, free: 5.102 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001402/0.1167, allocations: 83.38 kB / 477.5 MB, free: 5.02 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006148/0.1228, allocations: 2.837 MB / 480.3 MB, free: 2.172 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002592/0.1254, allocations: 0.8568 MB / 481.2 MB, free: 1.312 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001536/0.127, allocations: 0.6354 MB / 481.8 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001615/0.1286, allocations: 1.285 MB / 483.1 MB, free: 15.39 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001693/0.1303, allocations: 1.179 MB / 484.3 MB, free: 14.16 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001146/0.1315, allocations: 0.759 MB / 485 MB, free: 13.4 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001195/0.1327, allocations: 0.9345 MB / 486 MB, free: 12.46 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001608/0.1329, allocations: 76 kB / 486 MB, free: 12.39 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007764/0.1336, allocations: 387.5 kB / 486.4 MB, free: 12.01 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006609/0.1343, allocations: 0.7443 MB / 487.2 MB, free: 11.26 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003554/0.1347, allocations: 352.7 kB / 487.5 MB, free: 10.91 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001716/0.1364, allocations: 1.859 MB / 489.4 MB, free: 9.047 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.354e-06/0.1364, allocations: 0 / 489.4 MB, free: 9.047 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.1364, allocations: 0 / 489.4 MB, free: 9.047 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.44e-05/0.1365, allocations: 4 kB / 489.4 MB, free: 9.043 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: 397 * Number of variables: 397 Notification: Performance of Generate backend data structure: time 0.003501/0.14, allocations: 1.854 MB / 491.2 MB, free: 7.129 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.89e-05/0.14, allocations: 8.031 kB / 491.2 MB, free: 7.121 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002757/0.1403, allocations: 231.9 kB / 491.5 MB, free: 6.883 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001637/0.1419, allocations: 325.4 kB / 491.8 MB, free: 6.562 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002441/0.1444, allocations: 1.199 MB / 493 MB, free: 5.32 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.146e-05/0.1445, allocations: 98.66 kB / 493.1 MB, free: 5.223 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005075/0.145, allocations: 239.8 kB / 493.3 MB, free: 4.988 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002916/0.1479, allocations: 2.126 MB / 495.4 MB, free: 2.754 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.499e-05/0.148, allocations: 15.84 kB / 495.4 MB, free: 2.738 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001403/0.1481, allocations: 55.98 kB / 495.5 MB, free: 2.684 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005939/0.1487, allocations: 178.7 kB / 495.7 MB, free: 2.508 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002667/0.1514, allocations: 1.752 MB / 497.4 MB, free: 0.75 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.01233/0.1637, allocations: 8.628 MB / 0.4942 GB, free: 7.703 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003618/0.1674, allocations: 1.817 MB / 0.496 GB, free: 5.762 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.486e-05/0.1675, allocations: 13.06 kB / 0.496 GB, free: 5.75 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.738e-05/0.1675, allocations: 47.56 kB / 0.496 GB, free: 5.695 MB / 382.1 MB Notification: Performance of pre-optimization done (n=122): time 2.976e-06/0.1675, allocations: 0 / 0.496 GB, free: 5.695 MB / 382.1 MB Notification: Performance of matching and sorting (n=137): time 0.01031/0.1779, allocations: 5.458 MB / 0.5014 GB, free: 80 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1886/0.3665, allocations: 90.42 kB / 0.5014 GB, free: 55.69 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002678/0.3692, allocations: 1.021 MB / 0.5024 GB, free: 55.54 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002562/0.3695, allocations: 50.2 kB / 0.5025 GB, free: 55.51 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004617/0.37, allocations: 0.7642 MB / 0.5032 GB, free: 55.4 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004216/0.3704, allocations: 0.4931 MB / 0.5037 GB, free: 55.1 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.027e-05/0.3705, allocations: 34.73 kB / 0.5038 GB, free: 55.1 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001258/0.3706, allocations: 379.2 kB / 0.5041 GB, free: 54.79 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001189/0.3718, allocations: 0.7127 MB / 0.5048 GB, free: 54.78 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001447/0.3733, allocations: 1.166 MB / 0.5059 GB, free: 54.01 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.007902/0.3812, allocations: 2.286 MB / 0.5082 GB, free: 53.57 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.942e-05/0.3812, allocations: 3.781 kB / 0.5082 GB, free: 53.57 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