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/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.001708/0.001708, allocations: 111.1 kB / 20.44 MB, free: 1.352 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.001785/0.001785, allocations: 213.3 kB / 23.73 MB, free: 4.531 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.514/1.514, allocations: 230.6 MB / 257.5 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1989/0.1989, allocations: 38.57 MB / 352.5 MB, free: 12.28 MB / 286.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/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="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterToGrid") translateModel(PowerSystems.Examples.AC3ph.Inverters.InverterToGrid,tolerance=1e-05,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_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.002357/0.002357, allocations: 78.23 kB / 493 MB, free: 4.156 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3696/0.3719, allocations: 62.45 MB / 0.5424 GB, free: 412 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.InverterToGrid): time 0.009428/0.3814, allocations: 6.677 MB / 0.5489 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005072/0.3864, allocations: 2.271 MB / 0.5512 GB, free: 9.582 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004939/0.3869, allocations: 38.81 kB / 0.5512 GB, free: 9.562 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001682/0.3886, allocations: 0.5219 MB / 0.5517 GB, free: 9.156 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001707/0.3903, allocations: 0.6084 MB / 0.5523 GB, free: 8.684 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001421/0.3917, allocations: 0.5135 MB / 0.5528 GB, free: 8.285 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002734/0.3945, allocations: 1.996 MB / 0.5548 GB, free: 7.113 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000993/0.3955, allocations: 0.5993 MB / 0.5553 GB, free: 6.711 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001726/0.3972, allocations: 0.8222 MB / 0.5561 GB, free: 6.102 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001666/0.3989, allocations: 0.9622 MB / 0.5571 GB, free: 5.137 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002576/0.3991, allocations: 160 kB / 0.5572 GB, free: 4.98 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001283/0.4004, allocations: 0.6553 MB / 0.5579 GB, free: 4.324 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008778/0.4013, allocations: 0.6547 MB / 0.5585 GB, free: 3.668 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009559/0.4022, allocations: 0.5837 MB / 0.5591 GB, free: 3.082 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002688/0.4049, allocations: 2.091 MB / 0.5611 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.4049, allocations: 0 / 0.5611 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.4049, allocations: 4 kB / 0.5611 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.816e-05/0.405, allocations: 0 / 0.5611 GB, free: 0.9805 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.004464/0.4094, allocations: 1.843 MB / 0.5629 GB, free: 15.07 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.345e-05/0.4095, allocations: 19.92 kB / 0.5629 GB, free: 15.05 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001013/0.4105, allocations: 216 kB / 0.5632 GB, free: 14.84 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002106/0.4126, allocations: 0.8604 MB / 0.564 GB, free: 13.95 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00102/0.4136, allocations: 1.121 MB / 0.5651 GB, free: 12.61 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002839/0.4139, allocations: 111.9 kB / 0.5652 GB, free: 12.5 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005757/0.4196, allocations: 2.051 MB / 0.5672 GB, free: 10.39 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.008e-05/0.4197, allocations: 0 / 0.5672 GB, free: 10.39 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001863/0.4199, allocations: 35.98 kB / 0.5672 GB, free: 10.36 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003316/0.4202, allocations: 93.94 kB / 0.5673 GB, free: 10.27 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007421/0.4276, allocations: 2.252 MB / 0.5695 GB, free: 8.008 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0131/0.4407, allocations: 5.216 MB / 0.5746 GB, free: 2.676 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005094/0.4458, allocations: 1.506 MB / 0.5761 GB, free: 1.152 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003966/0.4498, allocations: 1.042 MB / 0.5771 GB, free: 112 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001146/0.4499, allocations: 24.92 kB / 0.5771 GB, free: 88 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004198/0.4541, allocations: 1.314 MB / 0.5784 GB, free: 14.75 MB / 430.1 MB Notification: Performance of pre-optimization done (n=116): time 4.238e-06/0.4541, allocations: 0 / 0.5784 GB, free: 14.75 MB / 430.1 MB Notification: Performance of matching and sorting (n=118): time 0.03405/0.4881, allocations: 8.348 MB / 0.5866 GB, free: 6.367 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001141/0.4883, allocations: 106 kB / 0.5867 GB, free: 6.242 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008193/0.4891, allocations: 473.8 kB / 0.5871 GB, free: 5.766 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003276/0.4894, allocations: 57.69 kB / 0.5872 GB, free: 5.703 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004751/0.4899, allocations: 417.2 kB / 0.5876 GB, free: 5.289 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005086/0.4904, allocations: 412.5 kB / 0.588 GB, free: 4.883 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004413/0.4908, allocations: 226.8 kB / 0.5882 GB, free: 4.656 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002217/0.4911, allocations: 386.8 kB / 0.5885 GB, free: 4.27 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002157/0.4932, allocations: 1.019 MB / 0.5895 GB, free: 3.242 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002264/0.4955, allocations: 1.205 MB / 0.5907 GB, free: 1.98 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.01296/0.5084, allocations: 5.014 MB / 0.5956 GB, free: 12.89 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.452e-06/0.5084, allocations: 4 kB / 0.5956 GB, free: 12.89 MB / 446.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.01372/0.5222, allocations: 4.377 MB / 0.5999 GB, free: 8.484 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001167/0.5223, allocations: 60.19 kB / 0.6 GB, free: 8.422 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.002516/0.5248, allocations: 1.022 MB / 0.601 GB, free: 7.395 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.260767824947834] Failed to read output from testmodel.py, exit status != 0: 0.5343480668962002 0.549679903 0.141299838 Calling exit ...