Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_IG.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_IG,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Wind_WindTurbine_IG",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Wind.WindTurbine_IG,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Wind_WindTurbine_IG",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.0008587/0.0008588, allocations: 93.2 kB / 16.3 MB, free: 6.133 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.0008473/0.0008477, allocations: 179 kB / 17.2 MB, free: 6.016 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.245/1.245, allocations: 223.2 MB / 241.1 MB, free: 284 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1635/0.1635, allocations: 38.09 MB / 330.3 MB, free: 8.945 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002664/0.0002665, allocations: 4 kB / 400 MB, free: 34.45 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09503/0.09531, allocations: 59.18 MB / 459.2 MB, free: 7.348 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_IG): time 0.007658/0.103, allocations: 7.936 MB / 467.2 MB, free: 15.38 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007734/0.1108, allocations: 5.415 MB / 472.6 MB, free: 9.949 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009168/0.1117, allocations: 47.69 kB / 472.6 MB, free: 9.902 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004256/0.116, allocations: 1.82 MB / 474.4 MB, free: 8.074 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001692/0.1177, allocations: 0.6192 MB / 475.1 MB, free: 7.453 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00113/0.1189, allocations: 459.1 kB / 475.5 MB, free: 7.004 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001063/0.1199, allocations: 0.894 MB / 476.4 MB, free: 6.105 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001278/0.1212, allocations: 0.8523 MB / 477.3 MB, free: 5.215 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007326/0.122, allocations: 0.5294 MB / 477.8 MB, free: 4.684 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008256/0.1228, allocations: 0.6893 MB / 478.5 MB, free: 3.992 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001109/0.1229, allocations: 52 kB / 478.5 MB, free: 3.941 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005941/0.1235, allocations: 271.6 kB / 478.8 MB, free: 3.676 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000482/0.124, allocations: 0.5573 MB / 479.3 MB, free: 3.117 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002305/0.1243, allocations: 253 kB / 479.6 MB, free: 2.863 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001169/0.1254, allocations: 1.29 MB / 480.9 MB, free: 1.57 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.445e-06/0.1254, allocations: 0 / 480.9 MB, free: 1.57 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1255, allocations: 0 / 480.9 MB, free: 1.57 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.873e-05/0.1255, allocations: 4 kB / 480.9 MB, free: 1.566 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 281 * Number of variables: 281 Notification: Performance of Generate backend data structure: time 0.002671/0.1282, allocations: 1.371 MB / 482.3 MB, free: 144 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.951e-05/0.1282, allocations: 8.031 kB / 482.3 MB, free: 136 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002386/0.1285, allocations: 173 kB / 482.4 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001278/0.1298, allocations: 230.2 kB / 482.7 MB, free: 15.73 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002095/0.1319, allocations: 0.8828 MB / 483.5 MB, free: 14.8 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.331e-05/0.1319, allocations: 69.98 kB / 483.6 MB, free: 14.73 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004112/0.1324, allocations: 191.8 kB / 483.8 MB, free: 14.55 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002207/0.1346, allocations: 1.552 MB / 485.3 MB, free: 12.91 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.877e-05/0.1346, allocations: 19.83 kB / 485.4 MB, free: 12.89 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001056/0.1347, allocations: 35.98 kB / 485.4 MB, free: 12.86 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000618/0.1354, allocations: 149.9 kB / 485.6 MB, free: 12.71 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001944/0.1373, allocations: 1.237 MB / 486.8 MB, free: 11.46 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.008588/0.1459, allocations: 6.613 MB / 493.4 MB, free: 4.453 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001437/0.1474, allocations: 0.8993 MB / 494.3 MB, free: 3.523 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.143e-05/0.1475, allocations: 13.06 kB / 494.3 MB, free: 3.512 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.315e-05/0.1475, allocations: 51.48 kB / 494.4 MB, free: 3.453 MB / 366.1 MB Notification: Performance of pre-optimization done (n=91): time 3.246e-06/0.1475, allocations: 4 kB / 494.4 MB, free: 3.449 MB / 366.1 MB Notification: Performance of matching and sorting (n=96): time 0.006339/0.1539, allocations: 3.688 MB / 498.1 MB, free: 15.62 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.298e-05/0.154, allocations: 94.05 kB / 498.1 MB, free: 15.51 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007344/0.1547, allocations: 0.7196 MB / 498.9 MB, free: 14.78 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.642e-05/0.1548, allocations: 41.7 kB / 498.9 MB, free: 14.73 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000359/0.1552, allocations: 0.5573 MB / 499.5 MB, free: 14.17 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000259/0.1554, allocations: 370.8 kB / 499.8 MB, free: 13.8 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.749e-05/0.1555, allocations: 20 kB / 499.8 MB, free: 13.78 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001829/0.1557, allocations: 414.7 kB / 0.4885 GB, free: 13.37 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008642/0.1565, allocations: 0.5647 MB / 0.4891 GB, free: 12.8 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001027/0.1576, allocations: 0.8776 MB / 0.4899 GB, free: 11.79 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.005784/0.1634, allocations: 1.823 MB / 0.4917 GB, free: 9.977 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.5e-06/0.1634, allocations: 4 kB / 0.4917 GB, free: 9.973 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