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.001684/0.001689, allocations: 182.7 kB / 13.64 MB, free: 1.676 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.788/1.788, allocations: 194.3 MB / 208.4 MB, free: 6.699 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.00183/0.00183, allocations: 120.7 kB / 253.5 MB, free: 9.57 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1705/0.1705, allocations: 37.9 MB / 336.4 MB, free: 14.25 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 3.894e-05/3.898e-05, allocations: 0 / 397.5 MB, free: 1.031 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.329/0.3291, allocations: 53.21 MB / 450.8 MB, free: 13.48 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4106/0.7397, allocations: 109.8 MB / 0.5474 GB, free: 29.05 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002257/0.74, allocations: 91.45 kB / 0.5475 GB, free: 29.05 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07289/0.8129, allocations: 28.96 MB / 0.5758 GB, free: 21.51 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.445e-06/0.8129, allocations: 0 / 0.5758 GB, free: 21.51 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.562e-05/0.813, allocations: 19.38 kB / 0.5758 GB, free: 21.51 MB / 378.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.003979/0.817, allocations: 1.647 MB / 0.5774 GB, free: 20.46 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.258e-05/0.817, allocations: 7.75 kB / 0.5774 GB, free: 20.46 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001001/0.8181, allocations: 183.7 kB / 0.5776 GB, free: 20.38 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004642/0.8227, allocations: 1.62 MB / 0.5792 GB, free: 19.66 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005993/0.8233, allocations: 0.5175 MB / 0.5797 GB, free: 19.25 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002696/0.8236, allocations: 99.95 kB / 0.5798 GB, free: 19.24 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00258/0.8262, allocations: 1.789 MB / 0.5815 GB, free: 18.73 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.58e-05/0.8263, allocations: 3.5 kB / 0.5815 GB, free: 18.73 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001287/0.8264, allocations: 36.72 kB / 0.5816 GB, free: 18.73 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001333/0.8265, allocations: 86.53 kB / 0.5816 GB, free: 18.71 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002249/0.8288, allocations: 1.819 MB / 0.5834 GB, free: 18.49 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00811/0.8369, allocations: 5.798 MB / 0.5891 GB, free: 15.79 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001624/0.8386, allocations: 1.24 MB / 0.5903 GB, free: 15.6 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001035/0.8396, allocations: 0.911 MB / 0.5912 GB, free: 15.5 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.741e-05/0.8397, allocations: 10.41 kB / 0.5912 GB, free: 15.5 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001259/0.841, allocations: 1.109 MB / 0.5923 GB, free: 15.19 MB / 378.7 MB Notification: Performance of pre-optimization done (n=120): time 3.406e-06/0.841, allocations: 0 / 0.5923 GB, free: 15.19 MB / 378.7 MB Notification: Performance of matching and sorting (n=122): time 0.01181/0.8528, allocations: 5.866 MB / 0.598 GB, free: 13.5 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.537e-05/0.8529, allocations: 101.7 kB / 0.5981 GB, free: 13.4 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005351/0.8535, allocations: 445.9 kB / 0.5985 GB, free: 13.18 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001609/0.8536, allocations: 59.25 kB / 0.5986 GB, free: 13.14 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002331/0.8539, allocations: 392.3 kB / 0.5989 GB, free: 12.84 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002891/0.8542, allocations: 411.2 kB / 0.5993 GB, free: 12.5 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.837e-05/0.8543, allocations: 21.62 kB / 0.5994 GB, free: 12.5 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001044/0.8544, allocations: 395.2 kB / 0.5997 GB, free: 12.13 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00104/0.8554, allocations: 0.8533 MB / 0.6006 GB, free: 11.59 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001153/0.8566, allocations: 1.012 MB / 0.6016 GB, free: 10.87 MB / 378.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.01088/0.8675, allocations: 4.249 MB / 0.6057 GB, free: 7.047 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.07e-06/0.8675, allocations: 4 kB / 0.6057 GB, free: 7.043 MB / 378.7 MB Notification: Performance of matching and sorting (n=159) (initialization): time 0.01058/0.8781, allocations: 4.586 MB / 0.6102 GB, free: 2.551 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001043/0.8782, allocations: 61.67 kB / 0.6103 GB, free: 2.484 MB / 378.7 MB Error: Internal error IndexReduction.pantelidesIndexReduction failed! System is structurally singulare and cannot handled because number of unassigned equations is larger than number of states. Use -d=bltdump to get more information. Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001265/0.8795, allocations: 0.9325 MB / 0.6112 GB, free: 1.539 MB / 378.7 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated