Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.Wind.WindTurbine_IG.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_IG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.Wind.WindTurbine_IG") translateModel(PowerSystems.Examples.Wind.WindTurbine_IG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.Wind.WindTurbine_IG") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001208/0.001213, allocations: 173.1 kB / 15.77 MB, free: 6.324 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.575/1.575, allocations: 205.4 MB / 221.9 MB, free: 13.83 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.0007935/0.0007934, allocations: 86.36 kB / 270.3 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1899/0.1899, allocations: 38.06 MB / 356.6 MB, free: 0.8047 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004902/0.0004903, allocations: 12 kB / 422.7 MB, free: 26.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1086/0.1091, allocations: 56.33 MB / 479.1 MB, free: 2.043 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_IG): time 0.008172/0.1173, allocations: 8.344 MB / 487.4 MB, free: 9.664 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.007444/0.1248, allocations: 5.504 MB / 492.9 MB, free: 4.145 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006955/0.1255, allocations: 51.62 kB / 493 MB, free: 4.094 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007103/0.1326, allocations: 4.535 MB / 497.5 MB, free: 15.55 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001758/0.1344, allocations: 0.844 MB / 498.3 MB, free: 14.7 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001113/0.1355, allocations: 467.2 kB / 498.8 MB, free: 14.25 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.003159/0.1387, allocations: 3.029 MB / 0.4901 GB, free: 11.21 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001417/0.1401, allocations: 0.8562 MB / 0.4909 GB, free: 10.31 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001178/0.1413, allocations: 0.6496 MB / 0.4915 GB, free: 9.656 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001475/0.1428, allocations: 1.032 MB / 0.4925 GB, free: 8.621 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002045/0.143, allocations: 52 kB / 0.4926 GB, free: 8.57 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006815/0.1437, allocations: 279.6 kB / 0.4929 GB, free: 8.297 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006359/0.1444, allocations: 0.6234 MB / 0.4935 GB, free: 7.672 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004024/0.1448, allocations: 257.1 kB / 0.4937 GB, free: 7.414 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001277/0.1461, allocations: 1.29 MB / 0.495 GB, free: 6.121 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.1461, allocations: 0 / 0.495 GB, free: 6.121 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.1461, allocations: 0 / 0.495 GB, free: 6.121 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.953e-05/0.1461, allocations: 0 / 0.495 GB, free: 6.121 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: 281 * Number of variables: 281 Notification: Performance of Generate backend data structure: time 0.002841/0.149, allocations: 1.371 MB / 0.4963 GB, free: 4.695 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.282e-05/0.149, allocations: 12.03 kB / 0.4963 GB, free: 4.684 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001228/0.1503, allocations: 214.1 kB / 0.4965 GB, free: 4.473 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001893/0.1522, allocations: 0.8984 MB / 0.4974 GB, free: 3.531 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.143e-05/0.1522, allocations: 73.92 kB / 0.4975 GB, free: 3.461 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004416/0.1527, allocations: 179.8 kB / 0.4976 GB, free: 3.285 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002438/0.1551, allocations: 1.579 MB / 0.4992 GB, free: 1.625 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.514e-05/0.1552, allocations: 4 kB / 0.4992 GB, free: 1.621 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001032/0.1553, allocations: 35.98 kB / 0.4992 GB, free: 1.586 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005539/0.1558, allocations: 145.9 kB / 0.4994 GB, free: 1.441 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002126/0.158, allocations: 1.257 MB / 0.5006 GB, free: 180 kB / 346.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.008275/0.1663, allocations: 6.501 MB / 0.5069 GB, free: 9.305 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001461/0.1677, allocations: 0.9133 MB / 0.5078 GB, free: 8.371 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007385/0.1685, allocations: 0.5083 MB / 0.5083 GB, free: 7.855 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.297e-05/0.1686, allocations: 9 kB / 0.5083 GB, free: 7.848 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.003e-05/0.1686, allocations: 55.42 kB / 0.5084 GB, free: 7.781 MB / 362.7 MB Notification: Performance of pre-optimization done (n=91): time 2.555e-06/0.1686, allocations: 0 / 0.5084 GB, free: 7.781 MB / 362.7 MB Notification: Performance of matching and sorting (n=96): time 0.006609/0.1752, allocations: 3.714 MB / 0.512 GB, free: 3.93 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.762e-05/0.1753, allocations: 90.11 kB / 0.5121 GB, free: 3.824 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008275/0.1762, allocations: 0.7194 MB / 0.5128 GB, free: 3.094 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 7.07e-05/0.1762, allocations: 45.73 kB / 0.5128 GB, free: 3.043 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003642/0.1766, allocations: 0.5574 MB / 0.5134 GB, free: 2.477 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003052/0.1769, allocations: 362.8 kB / 0.5137 GB, free: 2.117 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.491e-05/0.177, allocations: 31.92 kB / 0.5138 GB, free: 2.086 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001804/0.1772, allocations: 418.7 kB / 0.5142 GB, free: 1.668 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008996/0.1781, allocations: 0.5647 MB / 0.5147 GB, free: 1.102 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001083/0.1792, allocations: 0.8892 MB / 0.5156 GB, free: 80 kB / 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.1631/0.3423, allocations: 1.826 MB / 0.5174 GB, free: 52.64 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.768e-06/0.3424, allocations: 2.906 kB / 0.5174 GB, free: 52.64 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