Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001359/0.001359, allocations: 113 kB / 19.04 MB, free: 3.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001295/0.001295, allocations: 197.9 kB / 22.22 MB, free: 72 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.502/1.502, allocations: 225.6 MB / 250.8 MB, free: 13.35 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1872/0.1872, allocations: 38.53 MB / 344.5 MB, free: 2.578 MB / 270.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/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="mat",numberOfIntervals=1000,variableFilter="Time|meterAC.i.1.|meterAC.i.2.|meterAC.i.3.|meterAC.p.1.|meterAC.p.2.|meterAC.p.3.|meterAC.v.1.|meterAC.v.2.|meterAC.v.3.|meterDC.i|meterDC.p|meterDC.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.InverterToGrid") translateModel(PowerSystems.Examples.AC3ph.Inverters.InverterToGrid,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|meterAC.i.1.|meterAC.i.2.|meterAC.i.3.|meterAC.p.1.|meterAC.p.2.|meterAC.p.3.|meterAC.v.1.|meterAC.v.2.|meterAC.v.3.|meterDC.i|meterDC.p|meterDC.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.InverterToGrid") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001863/0.001863, allocations: 64.09 kB / 482.1 MB, free: 12.09 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3181/0.32, allocations: 61.24 MB / 0.5306 GB, free: 5.508 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.InverterToGrid): time 0.007169/0.3272, allocations: 7.167 MB / 0.5376 GB, free: 448 kB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004512/0.3317, allocations: 2.393 MB / 0.5399 GB, free: 14.53 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000671/0.3323, allocations: 29.56 kB / 0.5399 GB, free: 14.52 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001707/0.334, allocations: 0.5393 MB / 0.5405 GB, free: 14.09 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001822/0.3359, allocations: 0.6078 MB / 0.5411 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001487/0.3374, allocations: 0.5078 MB / 0.5415 GB, free: 13.23 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00262/0.34, allocations: 1.988 MB / 0.5435 GB, free: 12.06 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001009/0.341, allocations: 0.6676 MB / 0.5441 GB, free: 11.6 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001328/0.3423, allocations: 0.8056 MB / 0.5449 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001438/0.3437, allocations: 0.9989 MB / 0.5459 GB, free: 10.54 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002642/0.344, allocations: 159.3 kB / 0.5461 GB, free: 10.54 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0014/0.3454, allocations: 0.6807 MB / 0.5467 GB, free: 10.25 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007905/0.3462, allocations: 0.6587 MB / 0.5474 GB, free: 9.809 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000908/0.3471, allocations: 0.6778 MB / 0.548 GB, free: 9.328 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002804/0.3499, allocations: 2.076 MB / 0.5501 GB, free: 7.898 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.3499, allocations: 4 kB / 0.5501 GB, free: 7.895 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.384e-06/0.3499, allocations: 1.062 kB / 0.5501 GB, free: 7.895 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.555e-05/0.3499, allocations: 0 / 0.5501 GB, free: 7.895 MB / 398.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.00481/0.3548, allocations: 1.903 MB / 0.5519 GB, free: 6.547 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.826e-05/0.3548, allocations: 17.3 kB / 0.5519 GB, free: 6.539 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008703/0.3557, allocations: 184.8 kB / 0.5521 GB, free: 6.453 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002001/0.3577, allocations: 0.9343 MB / 0.553 GB, free: 5.516 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006999/0.3584, allocations: 0.5067 MB / 0.5535 GB, free: 4.934 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002917/0.3587, allocations: 107.9 kB / 0.5536 GB, free: 4.828 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004369/0.363, allocations: 2.047 MB / 0.5556 GB, free: 2.723 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.909e-05/0.3631, allocations: 7.953 kB / 0.5556 GB, free: 2.715 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001477/0.3632, allocations: 36 kB / 0.5557 GB, free: 2.68 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002246/0.3634, allocations: 93.94 kB / 0.5557 GB, free: 2.59 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005232/0.3687, allocations: 2.252 MB / 0.5579 GB, free: 344 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01025/0.3789, allocations: 5.747 MB / 0.5636 GB, free: 10.45 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004111/0.383, allocations: 1.53 MB / 0.5651 GB, free: 8.906 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002539/0.3856, allocations: 1.043 MB / 0.5661 GB, free: 7.852 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.848e-05/0.3857, allocations: 16.98 kB / 0.5661 GB, free: 7.836 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002833/0.3885, allocations: 1.315 MB / 0.5674 GB, free: 6.508 MB / 414.1 MB Notification: Performance of pre-optimization done (n=116): time 2.765e-06/0.3885, allocations: 3.938 kB / 0.5674 GB, free: 6.504 MB / 414.1 MB Notification: Performance of matching and sorting (n=118): time 0.02714/0.4156, allocations: 8.594 MB / 0.5758 GB, free: 13.81 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001144/0.4157, allocations: 110 kB / 0.5759 GB, free: 13.69 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007482/0.4165, allocations: 0.5105 MB / 0.5764 GB, free: 13.17 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002999/0.4168, allocations: 57.69 kB / 0.5764 GB, free: 13.11 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003964/0.4172, allocations: 413.2 kB / 0.5768 GB, free: 12.7 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004849/0.4177, allocations: 408.6 kB / 0.5772 GB, free: 12.29 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004675/0.4181, allocations: 222.9 kB / 0.5774 GB, free: 12.07 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002303/0.4184, allocations: 394.8 kB / 0.5778 GB, free: 11.67 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002068/0.4204, allocations: 0.9745 MB / 0.5788 GB, free: 10.7 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002187/0.4226, allocations: 1.158 MB / 0.5799 GB, free: 9.484 MB / 430.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.01275/0.4354, allocations: 5.022 MB / 0.5848 GB, free: 4.387 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.698e-06/0.4354, allocations: 0 / 0.5848 GB, free: 4.387 MB / 430.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.01351/0.4489, allocations: 4.34 MB / 0.589 GB, free: 28 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001552/0.449, allocations: 61.67 kB / 0.5891 GB, free: 15.96 MB / 446.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.002494/0.4515, allocations: 1.058 MB / 0.5901 GB, free: 14.89 MB / 446.1 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 3.106092520058155]