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.0009818/0.0009817, allocations: 178.3 kB / 16.38 MB, free: 5.766 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.224/1.224, allocations: 194.5 MB / 211.6 MB, free: 3.059 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.001564/0.001564, allocations: 108.1 kB / 256.9 MB, free: 4.359 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1601/0.1601, allocations: 37.99 MB / 340.1 MB, free: 1.363 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000351/0.000351, allocations: 16 kB / 403.8 MB, free: 68.79 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07511/0.07548, allocations: 53.23 MB / 457 MB, free: 15.56 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.299/0.3746, allocations: 109.9 MB / 0.5536 GB, free: 1.863 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002311/0.3748, allocations: 92.27 kB / 0.5537 GB, free: 1.816 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07854/0.4534, allocations: 28.96 MB / 0.582 GB, free: 8.641 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.934e-06/0.4534, allocations: 0 / 0.582 GB, free: 8.641 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.862e-05/0.4535, allocations: 20 kB / 0.582 GB, free: 8.621 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.0039/0.4574, allocations: 1.746 MB / 0.5837 GB, free: 6.871 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.718e-05/0.4574, allocations: 16.02 kB / 0.5837 GB, free: 6.855 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000838/0.4583, allocations: 178.5 kB / 0.5839 GB, free: 6.68 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004698/0.463, allocations: 1.634 MB / 0.5855 GB, free: 5.277 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006448/0.4637, allocations: 0.5259 MB / 0.586 GB, free: 4.727 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002697/0.464, allocations: 88.31 kB / 0.5861 GB, free: 4.668 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004054/0.468, allocations: 2.127 MB / 0.5882 GB, free: 3.035 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.73e-05/0.4681, allocations: 3.906 kB / 0.5882 GB, free: 3.031 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001322/0.4682, allocations: 42.36 kB / 0.5882 GB, free: 3.016 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001472/0.4684, allocations: 81.78 kB / 0.5883 GB, free: 2.938 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004556/0.4729, allocations: 2.387 MB / 0.5906 GB, free: 1.172 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008643/0.4816, allocations: 5.796 MB / 0.5963 GB, free: 12.54 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003868/0.4855, allocations: 1.755 MB / 0.598 GB, free: 11.2 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001027/0.4856, allocations: 14.3 kB / 0.598 GB, free: 11.18 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002806/0.4884, allocations: 1.442 MB / 0.5994 GB, free: 9.918 MB / 410.7 MB Notification: Performance of pre-optimization done (n=120): time 3.396e-06/0.4885, allocations: 0 / 0.5994 GB, free: 9.918 MB / 410.7 MB Notification: Performance of matching and sorting (n=122): time 0.02685/0.5153, allocations: 10.73 MB / 0.6099 GB, free: 15.02 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.153e-05/0.5155, allocations: 110 kB / 0.61 GB, free: 14.89 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006355/0.5161, allocations: 449.9 kB / 0.6104 GB, free: 14.45 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002594/0.5164, allocations: 57.7 kB / 0.6105 GB, free: 14.39 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003287/0.5167, allocations: 388.4 kB / 0.6108 GB, free: 14 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004779/0.5172, allocations: 410.2 kB / 0.6112 GB, free: 13.59 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.334e-05/0.5173, allocations: 19.98 kB / 0.6112 GB, free: 13.57 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001747/0.5175, allocations: 398.7 kB / 0.6116 GB, free: 13.18 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001993/0.5195, allocations: 1.095 MB / 0.6127 GB, free: 12.08 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002079/0.5216, allocations: 1.244 MB / 0.6139 GB, free: 10.79 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.01282/0.5344, allocations: 4.625 MB / 0.6184 GB, free: 6.152 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.591e-06/0.5344, allocations: 4 kB / 0.6184 GB, free: 6.148 MB / 426.7 MB Notification: Performance of matching and sorting (n=159) (initialization): time 0.01319/0.5476, allocations: 5.277 MB / 0.6236 GB, free: 0.8516 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.38e-05/0.5477, allocations: 69.88 kB / 0.6237 GB, free: 0.7773 MB / 426.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.002158/0.5499, allocations: 1.163 MB / 0.6248 GB, free: 15.61 MB / 442.7 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated