Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterToGrid.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo", uses=false) Using package PowerSystems with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Inverters.InverterToGrid,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterToGrid") translateModel(PowerSystems.Examples.AC3ph.Inverters.InverterToGrid,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterToGrid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001071/0.001071, allocations: 191.9 kB / 17.27 MB, free: 4.5 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.252/1.252, allocations: 194.2 MB / 212.2 MB, free: 2.367 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.00173/0.00173, allocations: 126.1 kB / 256.6 MB, free: 4.301 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1633/0.1633, allocations: 37.95 MB / 338.8 MB, free: 2.219 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001149/0.001149, allocations: 68.17 kB / 401.8 MB, free: 68.76 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07822/0.07938, allocations: 52.19 MB / 454 MB, free: 16.58 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.InverterToGrid): time 0.006583/0.08601, allocations: 8.245 MB / 462.2 MB, free: 8.297 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.003955/0.09, allocations: 2.813 MB / 465 MB, free: 5.473 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007614/0.09079, allocations: 51.69 kB / 465.1 MB, free: 5.422 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001172/0.09197, allocations: 498 kB / 465.6 MB, free: 4.934 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001097/0.09308, allocations: 0.5565 MB / 466.1 MB, free: 4.375 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008946/0.09399, allocations: 459.4 kB / 466.6 MB, free: 3.926 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.00167/0.09567, allocations: 2.514 MB / 469.1 MB, free: 1.406 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008418/0.09653, allocations: 0.7798 MB / 469.9 MB, free: 0.6094 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000973/0.09751, allocations: 0.6851 MB / 470.6 MB, free: 15.92 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001228/0.09875, allocations: 0.935 MB / 471.5 MB, free: 14.98 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001843/0.09895, allocations: 87.94 kB / 471.6 MB, free: 14.9 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001214/0.1002, allocations: 0.6317 MB / 472.2 MB, free: 14.26 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006899/0.1009, allocations: 0.569 MB / 472.8 MB, free: 13.69 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008637/0.1017, allocations: 0.626 MB / 473.4 MB, free: 13.06 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002026/0.1038, allocations: 1.979 MB / 475.4 MB, free: 11.08 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.1038, allocations: 0 / 475.4 MB, free: 11.08 MB / 330.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.1038, allocations: 0 / 475.4 MB, free: 11.08 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.731e-05/0.1038, allocations: 4 kB / 475.4 MB, free: 11.07 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 264 * Number of variables: 264 Notification: Performance of Generate backend data structure: time 0.004136/0.108, allocations: 1.881 MB / 477.3 MB, free: 9.113 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.458e-05/0.108, allocations: 8.031 kB / 477.3 MB, free: 9.105 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007869/0.1088, allocations: 179.5 kB / 477.5 MB, free: 8.93 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001866/0.1107, allocations: 0.8853 MB / 478.3 MB, free: 8 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005641/0.1113, allocations: 0.5064 MB / 478.9 MB, free: 7.422 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002508/0.1115, allocations: 104 kB / 479 MB, free: 7.32 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003717/0.1153, allocations: 2.051 MB / 481 MB, free: 5.211 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.392e-05/0.1153, allocations: 4 kB / 481 MB, free: 5.207 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001198/0.1154, allocations: 36 kB / 481 MB, free: 5.172 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002076/0.1157, allocations: 89.94 kB / 481.1 MB, free: 5.082 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004586/0.1202, allocations: 2.256 MB / 483.4 MB, free: 2.824 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00858/0.1288, allocations: 5.773 MB / 489.2 MB, free: 12.91 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00397/0.1328, allocations: 1.599 MB / 490.8 MB, free: 11.29 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002359/0.1352, allocations: 1.109 MB / 491.9 MB, free: 10.18 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.818e-05/0.1353, allocations: 12.98 kB / 491.9 MB, free: 10.16 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002601/0.1379, allocations: 1.317 MB / 493.2 MB, free: 8.828 MB / 346.7 MB Notification: Performance of pre-optimization done (n=116): time 2.665e-06/0.1379, allocations: 0 / 493.2 MB, free: 8.828 MB / 346.7 MB Notification: Performance of matching and sorting (n=118): time 0.02662/0.1646, allocations: 8.583 MB / 0.49 GB, free: 148 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.096e-05/0.1647, allocations: 98.09 kB / 0.4901 GB, free: 32 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007597/0.1655, allocations: 0.5144 MB / 0.4906 GB, free: 15.5 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002543/0.1657, allocations: 53.7 kB / 0.4907 GB, free: 15.45 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003341/0.1661, allocations: 408.1 kB / 0.4911 GB, free: 15.04 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004032/0.1665, allocations: 394.5 kB / 0.4914 GB, free: 14.65 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004269/0.1669, allocations: 222.8 kB / 0.4917 GB, free: 14.43 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001776/0.1671, allocations: 390.8 kB / 0.492 GB, free: 14.04 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001966/0.1691, allocations: 0.9745 MB / 0.493 GB, free: 13.06 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002006/0.1711, allocations: 1.162 MB / 0.4941 GB, free: 11.85 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.01148/0.1826, allocations: 5.026 MB / 0.499 GB, free: 6.75 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.711e-06/0.1826, allocations: 4 kB / 0.499 GB, free: 6.746 MB / 362.7 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.01223/0.1949, allocations: 4.344 MB / 0.5033 GB, free: 2.375 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.077e-05/0.195, allocations: 65.61 kB / 0.5033 GB, free: 2.305 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. Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002008/0.197, allocations: 1.062 MB / 0.5044 GB, free: 1.238 MB / 362.7 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated