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: translateModel(PowerSystems.Examples.Wind.WindTurbine_IG,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|meter.i.1.|meter.i.2.|meter.i.3.|meter.p.1.|meter.p.2.|meter.p.3.|meter.v.1.|meter.v.2.|meter.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_IG") translateModel(PowerSystems.Examples.Wind.WindTurbine_IG,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|meter.i.1.|meter.i.2.|meter.i.3.|meter.p.1.|meter.p.2.|meter.p.3.|meter.v.1.|meter.v.2.|meter.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_IG") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007227/0.0007227, allocations: 93.02 kB / 16.95 MB, free: 5.648 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.0007641/0.0007641, allocations: 186.9 kB / 17.85 MB, free: 5.309 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.321/1.321, allocations: 223.2 MB / 241.9 MB, free: 292 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1679/0.1679, allocations: 38.09 MB / 331.1 MB, free: 8.852 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000288/0.000288, allocations: 11.98 kB / 400.7 MB, free: 34.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1013/0.1016, allocations: 59.17 MB / 459.9 MB, free: 7.422 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_IG): time 0.008521/0.1102, allocations: 8.349 MB / 468.2 MB, free: 15.04 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008769/0.119, allocations: 5.473 MB / 473.7 MB, free: 9.551 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001188/0.1203, allocations: 47.69 kB / 473.7 MB, free: 9.504 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00871/0.129, allocations: 4.519 MB / 478.2 MB, free: 4.977 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002665/0.1317, allocations: 0.8557 MB / 479.1 MB, free: 4.117 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001438/0.1331, allocations: 463.2 kB / 479.6 MB, free: 3.664 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004087/0.1372, allocations: 3.033 MB / 482.6 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001623/0.1389, allocations: 0.8407 MB / 483.4 MB, free: 15.74 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001241/0.1401, allocations: 0.6496 MB / 484.1 MB, free: 15.09 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00146/0.1416, allocations: 1.036 MB / 485.1 MB, free: 14.05 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001224/0.1417, allocations: 59.94 kB / 485.2 MB, free: 13.99 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006824/0.1424, allocations: 279.6 kB / 485.4 MB, free: 13.71 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006456/0.1431, allocations: 0.6234 MB / 486.1 MB, free: 13.09 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003213/0.1434, allocations: 253 kB / 486.3 MB, free: 12.84 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001369/0.1448, allocations: 1.294 MB / 487.6 MB, free: 11.54 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.1448, allocations: 7.938 kB / 487.6 MB, free: 11.53 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.575e-06/0.1448, allocations: 0 / 487.6 MB, free: 11.53 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.894e-05/0.1448, allocations: 0 / 487.6 MB, free: 11.53 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: 281 * Number of variables: 281 Notification: Performance of Generate backend data structure: time 0.002734/0.1476, allocations: 1.374 MB / 489 MB, free: 10.1 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.856e-05/0.1476, allocations: 8.031 kB / 489 MB, free: 10.09 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001038/0.1487, allocations: 218.2 kB / 489.2 MB, free: 9.879 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001554/0.1502, allocations: 0.8906 MB / 490.1 MB, free: 8.945 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.732e-05/0.1503, allocations: 69.98 kB / 490.2 MB, free: 8.879 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004034/0.1507, allocations: 195.7 kB / 490.4 MB, free: 8.688 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002324/0.1531, allocations: 1.56 MB / 491.9 MB, free: 7.047 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.339e-05/0.1531, allocations: 7.906 kB / 491.9 MB, free: 7.039 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001075/0.1532, allocations: 39.98 kB / 492 MB, free: 7 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000479/0.1537, allocations: 153.9 kB / 492.1 MB, free: 6.848 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002026/0.1557, allocations: 1.249 MB / 493.4 MB, free: 5.59 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.008391/0.1641, allocations: 6.497 MB / 499.9 MB, free: 14.71 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001537/0.1657, allocations: 0.9134 MB / 0.489 GB, free: 13.78 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007824/0.1665, allocations: 0.5044 MB / 0.4895 GB, free: 13.27 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.448e-05/0.1666, allocations: 20.98 kB / 0.4896 GB, free: 13.25 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.078e-05/0.1666, allocations: 47.5 kB / 0.4896 GB, free: 13.19 MB / 382.1 MB Notification: Performance of pre-optimization done (n=91): time 3.186e-06/0.1666, allocations: 0 / 0.4896 GB, free: 13.19 MB / 382.1 MB Notification: Performance of matching and sorting (n=96): time 0.00667/0.1733, allocations: 3.714 MB / 0.4932 GB, free: 9.344 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.257e-05/0.1734, allocations: 90.05 kB / 0.4933 GB, free: 9.238 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008758/0.1743, allocations: 0.7196 MB / 0.494 GB, free: 8.508 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.433e-05/0.1744, allocations: 41.7 kB / 0.4941 GB, free: 8.461 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004443/0.1748, allocations: 0.5612 MB / 0.4946 GB, free: 7.891 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003391/0.1752, allocations: 362.8 kB / 0.4949 GB, free: 7.531 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.252e-05/0.1752, allocations: 24.03 kB / 0.495 GB, free: 7.508 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001948/0.1754, allocations: 414.7 kB / 0.4954 GB, free: 7.094 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009027/0.1763, allocations: 0.5647 MB / 0.4959 GB, free: 6.531 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001142/0.1775, allocations: 0.8853 MB / 0.4968 GB, free: 5.508 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.005771/0.1833, allocations: 1.838 MB / 0.4986 GB, free: 3.672 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-05/0.1833, allocations: 4 kB / 0.4986 GB, free: 3.668 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