Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.Wind.WindTurbine_DFIG.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: "" <> buildModelFMU(PowerSystems.Examples.Wind.WindTurbine_DFIG,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_Wind_WindTurbine_DFIG",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Wind.WindTurbine_DFIG,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_Wind_WindTurbine_DFIG",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001541/0.001541, allocations: 190.7 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.988/1.988, allocations: 205.4 MB / 221.9 MB, free: 13.82 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.001188/0.001188, allocations: 98.78 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.2627/0.2627, allocations: 38.05 MB / 356.6 MB, free: 0.7812 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004889/0.0004889, allocations: 12 kB / 422.8 MB, free: 26.35 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1125/0.113, allocations: 56.33 MB / 479.1 MB, free: 1.957 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_DFIG): time 0.01752/0.1306, allocations: 10.75 MB / 489.9 MB, free: 7.164 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.01559/0.1463, allocations: 6.44 MB / 496.3 MB, free: 0.707 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001886/0.1482, allocations: 83.44 kB / 496.4 MB, free: 0.625 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008164/0.1564, allocations: 1.96 MB / 498.4 MB, free: 14.66 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004123/0.1606, allocations: 0.849 MB / 499.2 MB, free: 13.8 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002961/0.1636, allocations: 0.616 MB / 499.8 MB, free: 13.19 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.00321/0.1668, allocations: 1.265 MB / 0.4893 GB, free: 11.92 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003025/0.1699, allocations: 1.202 MB / 0.4905 GB, free: 10.67 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002061/0.172, allocations: 0.7513 MB / 0.4913 GB, free: 9.918 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002397/0.1744, allocations: 0.9034 MB / 0.4921 GB, free: 9.012 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004371/0.1749, allocations: 76 kB / 0.4922 GB, free: 8.938 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001223/0.1761, allocations: 299.6 kB / 0.4925 GB, free: 8.645 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001211/0.1774, allocations: 0.7131 MB / 0.4932 GB, free: 7.93 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007335/0.1781, allocations: 340.8 kB / 0.4935 GB, free: 7.59 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003252/0.1814, allocations: 1.687 MB / 0.4952 GB, free: 5.898 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.1815, allocations: 0 / 0.4952 GB, free: 5.898 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.106e-06/0.1815, allocations: 0 / 0.4952 GB, free: 5.898 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.092e-05/0.1816, allocations: 0 / 0.4952 GB, free: 5.898 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: 392 * Number of variables: 392 Notification: Performance of Generate backend data structure: time 0.006259/0.1878, allocations: 1.756 MB / 0.4969 GB, free: 4.082 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.109e-05/0.1879, allocations: 11.97 kB / 0.4969 GB, free: 4.07 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006552/0.1886, allocations: 227.8 kB / 0.4971 GB, free: 3.836 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002646/0.1912, allocations: 289.5 kB / 0.4974 GB, free: 3.551 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004202/0.1955, allocations: 1.113 MB / 0.4985 GB, free: 2.391 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001419/0.1957, allocations: 106.6 kB / 0.4986 GB, free: 2.285 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001038/0.1967, allocations: 231.7 kB / 0.4988 GB, free: 2.059 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005983/0.2027, allocations: 2.084 MB / 0.5008 GB, free: 15.87 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.134e-05/0.2029, allocations: 15.84 kB / 0.5008 GB, free: 15.86 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002182/0.2031, allocations: 51.98 kB / 0.5009 GB, free: 15.8 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001215/0.2043, allocations: 186.7 kB / 0.5011 GB, free: 15.62 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005585/0.2099, allocations: 1.701 MB / 0.5027 GB, free: 13.91 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.02009/0.2301, allocations: 8.065 MB / 0.5106 GB, free: 5.488 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004081/0.2342, allocations: 1.616 MB / 0.5122 GB, free: 3.785 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001641/0.2344, allocations: 24.31 kB / 0.5122 GB, free: 3.766 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.388e-05/0.2345, allocations: 47.56 kB / 0.5123 GB, free: 3.711 MB / 362.7 MB Notification: Performance of pre-optimization done (n=127): time 4.588e-06/0.2345, allocations: 0 / 0.5123 GB, free: 3.711 MB / 362.7 MB Notification: Performance of matching and sorting (n=138): time 0.3158/0.5504, allocations: 5.1 MB / 0.5172 GB, free: 51.29 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.476e-05/0.5505, allocations: 93.39 kB / 0.5173 GB, free: 51.19 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001918/0.5524, allocations: 0.9324 MB / 0.5182 GB, free: 51.04 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000306/0.5527, allocations: 47.48 kB / 0.5183 GB, free: 51 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005951/0.5533, allocations: 0.7119 MB / 0.519 GB, free: 50.5 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006522/0.554, allocations: 0.4988 MB / 0.5195 GB, free: 50.11 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001268/0.5542, allocations: 30.81 kB / 0.5195 GB, free: 50.09 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001535/0.5543, allocations: 385.3 kB / 0.5199 GB, free: 49.75 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001982/0.5563, allocations: 0.7048 MB / 0.5205 GB, free: 49.53 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002504/0.5589, allocations: 1.147 MB / 0.5217 GB, free: 48.78 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.01337/0.5723, allocations: 2.206 MB / 0.5238 GB, free: 48.34 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.312e-05/0.5723, allocations: 3.562 kB / 0.5238 GB, free: 48.34 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