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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001489/0.001489, allocations: 107.1 kB / 20.44 MB, free: 1.324 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001822/0.001822, allocations: 196.5 kB / 23.72 MB, free: 4.492 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.573/1.573, allocations: 230.6 MB / 257.5 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo): time 0.1848/0.1848, allocations: 38.55 MB / 352.5 MB, free: 12.42 MB / 286.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002251/0.002251, allocations: 79.89 kB / 493 MB, free: 4.215 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3705/0.3727, allocations: 62.46 MB / 0.5424 GB, free: 440 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.InverterToGrid): time 0.01315/0.3859, allocations: 6.673 MB / 0.549 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005948/0.3918, allocations: 2.276 MB / 0.5512 GB, free: 9.609 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008271/0.3926, allocations: 37.28 kB / 0.5512 GB, free: 9.59 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002108/0.3947, allocations: 0.5213 MB / 0.5517 GB, free: 9.184 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002331/0.3971, allocations: 0.6055 MB / 0.5523 GB, free: 8.715 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001669/0.3987, allocations: 0.5138 MB / 0.5528 GB, free: 8.316 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003277/0.402, allocations: 1.997 MB / 0.5548 GB, free: 7.145 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001325/0.4033, allocations: 0.5974 MB / 0.5553 GB, free: 6.742 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002358/0.4057, allocations: 0.8269 MB / 0.5562 GB, free: 6.137 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002321/0.408, allocations: 0.9738 MB / 0.5571 GB, free: 5.16 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006311/0.4087, allocations: 156 kB / 0.5573 GB, free: 5.008 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001937/0.4106, allocations: 0.6514 MB / 0.5579 GB, free: 4.355 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001141/0.4117, allocations: 0.6509 MB / 0.5585 GB, free: 3.703 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001583/0.4133, allocations: 0.5837 MB / 0.5591 GB, free: 3.117 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004171/0.4175, allocations: 2.099 MB / 0.5611 GB, free: 1.012 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.4175, allocations: 4 kB / 0.5611 GB, free: 1.008 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.4175, allocations: 0 / 0.5611 GB, free: 1.008 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.18e-05/0.4176, allocations: 0 / 0.5611 GB, free: 1.008 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.006079/0.4237, allocations: 1.832 MB / 0.5629 GB, free: 15.11 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.722e-05/0.4237, allocations: 15.98 kB / 0.563 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00129/0.425, allocations: 220.1 kB / 0.5632 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00233/0.4273, allocations: 0.8603 MB / 0.564 GB, free: 13.99 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00109/0.4284, allocations: 1.132 MB / 0.5651 GB, free: 12.64 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003368/0.4288, allocations: 107.9 kB / 0.5652 GB, free: 12.53 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004393/0.4332, allocations: 2.044 MB / 0.5672 GB, free: 10.43 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.261e-05/0.4332, allocations: 4 kB / 0.5672 GB, free: 10.43 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001361/0.4333, allocations: 39.98 kB / 0.5673 GB, free: 10.39 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002447/0.4336, allocations: 89.95 kB / 0.5673 GB, free: 10.3 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00518/0.4387, allocations: 2.244 MB / 0.5695 GB, free: 8.051 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009935/0.4487, allocations: 5.224 MB / 0.5746 GB, free: 2.711 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004263/0.4529, allocations: 1.506 MB / 0.5761 GB, free: 1.188 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002588/0.4555, allocations: 1.043 MB / 0.5771 GB, free: 144 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.848e-05/0.4556, allocations: 13 kB / 0.5771 GB, free: 132 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002984/0.4586, allocations: 1.317 MB / 0.5784 GB, free: 14.79 MB / 430.1 MB Notification: Performance of pre-optimization done (n=116): time 3.717e-06/0.4586, allocations: 0 / 0.5784 GB, free: 14.79 MB / 430.1 MB Notification: Performance of matching and sorting (n=118): time 0.02829/0.4869, allocations: 8.356 MB / 0.5866 GB, free: 6.398 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001053/0.487, allocations: 102.1 kB / 0.5867 GB, free: 6.277 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007697/0.4878, allocations: 469.8 kB / 0.5871 GB, free: 5.805 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002551/0.488, allocations: 57.69 kB / 0.5872 GB, free: 5.742 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004609/0.4885, allocations: 421.2 kB / 0.5876 GB, free: 5.324 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004804/0.489, allocations: 412.5 kB / 0.588 GB, free: 4.918 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004389/0.4894, allocations: 218.8 kB / 0.5882 GB, free: 4.699 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002546/0.4897, allocations: 390.7 kB / 0.5886 GB, free: 4.309 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002134/0.4918, allocations: 1.023 MB / 0.5896 GB, free: 3.277 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002277/0.4941, allocations: 1.202 MB / 0.5907 GB, free: 2.016 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.01304/0.5071, allocations: 5.014 MB / 0.5956 GB, free: 12.93 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.7e-06/0.5071, allocations: 0 / 0.5956 GB, free: 12.93 MB / 446.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.01394/0.5211, allocations: 4.377 MB / 0.5999 GB, free: 8.523 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001171/0.5212, allocations: 61.67 kB / 0.6 GB, free: 8.457 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.002449/0.5236, allocations: 1.022 MB / 0.601 GB, free: 7.43 MB / 446.1 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated " [Timeout remaining time 659] [Calling sys.exit(0), Time elapsed: 3.35281004011631] Failed to read output from testmodel.py, exit status != 0: 0.5324713606387377 0.547779128 0.126929584 Calling exit ...