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/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/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001571/0.001571, allocations: 110.3 kB / 16.92 MB, free: 5.785 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.001867/0.001867, allocations: 191.3 kB / 17.85 MB, free: 5.164 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.361/1.361, allocations: 222.9 MB / 241.5 MB, free: 15.24 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1769/0.1769, allocations: 38.03 MB / 329.7 MB, free: 8.719 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001364/0.001364, allocations: 66.44 kB / 398.8 MB, free: 34.03 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1154/0.1168, allocations: 58.06 MB / 456.9 MB, free: 8.055 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.InverterToGrid): time 0.008925/0.1258, allocations: 6.99 MB / 463.8 MB, free: 1.027 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004137/0.1299, allocations: 2.364 MB / 466.2 MB, free: 14.66 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005806/0.1306, allocations: 31.81 kB / 466.2 MB, free: 14.62 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001695/0.1323, allocations: 0.5283 MB / 466.8 MB, free: 14.1 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001522/0.1338, allocations: 0.5989 MB / 467.4 MB, free: 13.5 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001129/0.1349, allocations: 0.5029 MB / 467.9 MB, free: 12.99 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002159/0.1371, allocations: 1.988 MB / 469.9 MB, free: 11 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001231/0.1384, allocations: 0.9238 MB / 470.8 MB, free: 10.06 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001199/0.1396, allocations: 0.7789 MB / 471.6 MB, free: 9.281 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001343/0.1409, allocations: 0.9312 MB / 472.5 MB, free: 8.348 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002814/0.1412, allocations: 160 kB / 472.7 MB, free: 8.191 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001179/0.1424, allocations: 0.6982 MB / 473.3 MB, free: 7.492 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006629/0.1431, allocations: 0.6548 MB / 474 MB, free: 6.836 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006906/0.1438, allocations: 0.6808 MB / 474.7 MB, free: 6.152 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001992/0.1458, allocations: 2.034 MB / 476.7 MB, free: 4.113 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.163e-06/0.1458, allocations: 7.938 kB / 476.7 MB, free: 4.105 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1458, allocations: 0 / 476.7 MB, free: 4.105 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.079e-05/0.1458, allocations: 0 / 476.7 MB, free: 4.105 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: 264 * Number of variables: 264 Notification: Performance of Generate backend data structure: time 0.004572/0.1504, allocations: 1.877 MB / 478.6 MB, free: 2.148 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.99e-05/0.1505, allocations: 15.89 kB / 478.6 MB, free: 2.133 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009679/0.1515, allocations: 175.5 kB / 478.8 MB, free: 1.961 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001922/0.1534, allocations: 0.893 MB / 479.7 MB, free: 1.027 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005988/0.154, allocations: 0.495 MB / 480.2 MB, free: 472 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002683/0.1543, allocations: 107.9 kB / 480.3 MB, free: 364 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004234/0.1585, allocations: 2.047 MB / 482.3 MB, free: 14.25 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.955e-05/0.1586, allocations: 4 kB / 482.3 MB, free: 14.25 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001391/0.1587, allocations: 39.97 kB / 482.4 MB, free: 14.21 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002337/0.159, allocations: 85.95 kB / 482.5 MB, free: 14.12 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004966/0.1639, allocations: 2.256 MB / 484.7 MB, free: 11.87 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009176/0.1731, allocations: 5.77 MB / 490.5 MB, free: 5.949 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004256/0.1774, allocations: 1.603 MB / 492.1 MB, free: 4.324 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00261/0.18, allocations: 1.117 MB / 493.2 MB, free: 3.199 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.015e-05/0.1801, allocations: 14.23 kB / 493.2 MB, free: 3.188 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002756/0.1829, allocations: 1.32 MB / 494.5 MB, free: 1.848 MB / 366.1 MB Notification: Performance of pre-optimization done (n=116): time 3.587e-06/0.1829, allocations: 0 / 494.5 MB, free: 1.848 MB / 366.1 MB Notification: Performance of matching and sorting (n=118): time 0.0279/0.2108, allocations: 8.583 MB / 0.4913 GB, free: 9.168 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001164/0.211, allocations: 102.1 kB / 0.4914 GB, free: 9.047 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006929/0.2117, allocations: 0.5105 MB / 0.4919 GB, free: 8.527 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002506/0.2119, allocations: 61.67 kB / 0.492 GB, free: 8.461 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003154/0.2123, allocations: 400.2 kB / 0.4924 GB, free: 8.062 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003516/0.2126, allocations: 398.4 kB / 0.4927 GB, free: 7.668 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003824/0.213, allocations: 222.8 kB / 0.493 GB, free: 7.441 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002143/0.2132, allocations: 394.7 kB / 0.4933 GB, free: 7.047 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002021/0.2153, allocations: 0.9745 MB / 0.4943 GB, free: 6.074 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002035/0.2173, allocations: 1.158 MB / 0.4954 GB, free: 4.859 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.2435/0.4608, allocations: 5.014 MB / 0.5003 GB, free: 55.86 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.207e-06/0.4609, allocations: 1.125 kB / 0.5003 GB, free: 55.86 MB / 382.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.01452/0.4754, allocations: 4.364 MB / 0.5046 GB, free: 55.58 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001135/0.4756, allocations: 61.34 kB / 0.5046 GB, free: 55.54 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. Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002369/0.4779, allocations: 1.05 MB / 0.5057 GB, free: 55.17 MB / 382.1 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated