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.001069/0.001069, allocations: 179.4 kB / 17.4 MB, free: 4.418 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.47/1.47, allocations: 194.5 MB / 212.6 MB, free: 2.957 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.001585/0.001585, allocations: 119.9 kB / 257.9 MB, free: 4.289 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1792/0.1792, allocations: 38.01 MB / 341.1 MB, free: 1.219 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003898/0.0003899, allocations: 16 kB / 405 MB, free: 68.51 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09605/0.09645, allocations: 53.23 MB / 458.3 MB, free: 15.27 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3665/0.463, allocations: 109.9 MB / 0.5549 GB, free: 1.426 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002678/0.4633, allocations: 102.1 kB / 0.555 GB, free: 1.375 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1145/0.5778, allocations: 28.95 MB / 0.5832 GB, free: 8.199 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.155e-06/0.5779, allocations: 0 / 0.5832 GB, free: 8.199 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001522/0.578, allocations: 20 kB / 0.5832 GB, free: 8.18 MB / 394.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.008354/0.5864, allocations: 1.729 MB / 0.5849 GB, free: 6.441 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.608e-05/0.5865, allocations: 8.031 kB / 0.5849 GB, free: 6.434 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002182/0.5887, allocations: 179.5 kB / 0.5851 GB, free: 6.258 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006281/0.595, allocations: 1.302 MB / 0.5864 GB, free: 5.125 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001177/0.5962, allocations: 0.5223 MB / 0.5869 GB, free: 4.578 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008083/0.5971, allocations: 97.7 kB / 0.587 GB, free: 4.508 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008106/0.6052, allocations: 2.132 MB / 0.5891 GB, free: 2.867 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.684e-05/0.6053, allocations: 0 / 0.5891 GB, free: 2.867 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004605/0.6058, allocations: 47.55 kB / 0.5891 GB, free: 2.848 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002609/0.6061, allocations: 80.58 kB / 0.5892 GB, free: 2.777 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008739/0.6148, allocations: 2.385 MB / 0.5915 GB, free: 1.004 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01652/0.6314, allocations: 5.802 MB / 0.5972 GB, free: 12.38 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006484/0.638, allocations: 1.751 MB / 0.5989 GB, free: 11.03 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00396/0.642, allocations: 1.238 MB / 0.6001 GB, free: 10.1 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001375/0.6422, allocations: 18.17 kB / 0.6001 GB, free: 10.08 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004411/0.6466, allocations: 1.445 MB / 0.6015 GB, free: 8.617 MB / 410.7 MB Notification: Performance of pre-optimization done (n=120): time 8.796e-06/0.6466, allocations: 0 / 0.6015 GB, free: 8.617 MB / 410.7 MB Notification: Performance of matching and sorting (n=122): time 0.03883/0.6855, allocations: 10.42 MB / 0.6117 GB, free: 14.09 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.508e-05/0.6856, allocations: 102.1 kB / 0.6118 GB, free: 13.98 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007724/0.6864, allocations: 0.4987 MB / 0.6123 GB, free: 13.47 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002786/0.6867, allocations: 61.67 kB / 0.6124 GB, free: 13.4 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003762/0.6871, allocations: 388.4 kB / 0.6127 GB, free: 13.02 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004745/0.6875, allocations: 402.3 kB / 0.6131 GB, free: 12.62 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.843e-05/0.6876, allocations: 27.98 kB / 0.6131 GB, free: 12.59 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002085/0.6878, allocations: 398.7 kB / 0.6135 GB, free: 12.19 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002094/0.6899, allocations: 1.056 MB / 0.6145 GB, free: 11.14 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002163/0.6921, allocations: 1.228 MB / 0.6157 GB, free: 9.863 MB / 426.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.01711/0.7092, allocations: 6.631 MB / 0.6222 GB, free: 3.168 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.845e-06/0.7093, allocations: 4 kB / 0.6222 GB, free: 3.164 MB / 426.7 MB Notification: Performance of matching and sorting (n=159) (initialization): time 0.01416/0.7235, allocations: 5.211 MB / 0.6273 GB, free: 13.93 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001735/0.7237, allocations: 65.86 kB / 0.6274 GB, free: 13.86 MB / 442.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.003286/0.727, allocations: 1.14 MB / 0.6285 GB, free: 12.71 MB / 442.7 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated