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.001641/0.001641, allocations: 109.2 kB / 20.43 MB, free: 1.473 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.001944/0.001944, allocations: 213.7 kB / 23.74 MB, free: 4.688 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.488/1.488, allocations: 230.6 MB / 257.5 MB, free: 8.035 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.1863/0.1863, allocations: 38.53 MB / 352.5 MB, free: 12.58 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: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Inverters.InverterToGrid,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Inverters_InverterToGrid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Inverters.InverterToGrid,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Inverters_InverterToGrid",fmuType="me",version="2.0",platforms={"static"}) [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.002007/0.002007, allocations: 74.66 kB / 492.5 MB, free: 4.91 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.305/0.307, allocations: 62.46 MB / 0.542 GB, free: 476 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.InverterToGrid): time 0.009585/0.3166, allocations: 7.21 MB / 0.549 GB, free: 10.83 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004561/0.3212, allocations: 2.44 MB / 0.5514 GB, free: 8.883 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004479/0.3216, allocations: 42.38 kB / 0.5515 GB, free: 8.859 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001621/0.3233, allocations: 0.5346 MB / 0.552 GB, free: 8.441 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001616/0.3249, allocations: 0.6121 MB / 0.5526 GB, free: 7.965 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001369/0.3262, allocations: 0.5139 MB / 0.5531 GB, free: 7.566 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002532/0.3288, allocations: 1.995 MB / 0.555 GB, free: 6.398 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001018/0.3298, allocations: 0.6135 MB / 0.5556 GB, free: 5.98 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001715/0.3315, allocations: 0.8239 MB / 0.5564 GB, free: 5.512 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001664/0.3332, allocations: 1.006 MB / 0.5574 GB, free: 4.738 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000292/0.3335, allocations: 160 kB / 0.5576 GB, free: 4.582 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001361/0.3348, allocations: 0.6904 MB / 0.5582 GB, free: 3.891 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007457/0.3356, allocations: 0.6509 MB / 0.5589 GB, free: 3.238 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008998/0.3365, allocations: 0.6808 MB / 0.5595 GB, free: 2.555 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002584/0.3391, allocations: 2.095 MB / 0.5616 GB, free: 464 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.3391, allocations: 0 / 0.5616 GB, free: 464 kB / 398.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.3391, allocations: 0 / 0.5616 GB, free: 464 kB / 398.1 MB Notification: Performance of Transformations before backend: time 2.694e-05/0.3391, allocations: 0 / 0.5616 GB, free: 464 kB / 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.004742/0.3438, allocations: 1.837 MB / 0.5634 GB, free: 14.55 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.728e-05/0.3439, allocations: 11.98 kB / 0.5634 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002504/0.3441, allocations: 176.7 kB / 0.5636 GB, free: 14.35 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009941/0.3451, allocations: 216 kB / 0.5638 GB, free: 14.14 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002151/0.3473, allocations: 0.8565 MB / 0.5646 GB, free: 13.25 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001157/0.3484, allocations: 1.124 MB / 0.5657 GB, free: 11.91 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003051/0.3487, allocations: 115.9 kB / 0.5658 GB, free: 11.8 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00426/0.353, allocations: 2.044 MB / 0.5678 GB, free: 9.695 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.984e-05/0.353, allocations: 4 kB / 0.5678 GB, free: 9.691 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001486/0.3532, allocations: 36 kB / 0.5678 GB, free: 9.656 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002279/0.3534, allocations: 89.92 kB / 0.5679 GB, free: 9.57 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005046/0.3585, allocations: 2.26 MB / 0.5701 GB, free: 7.305 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01043/0.3689, allocations: 5.683 MB / 0.5757 GB, free: 1.496 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004058/0.3729, allocations: 1.51 MB / 0.5772 GB, free: 15.96 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002499/0.3754, allocations: 1.047 MB / 0.5782 GB, free: 14.91 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.287e-05/0.3755, allocations: 14.25 kB / 0.5782 GB, free: 14.9 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002869/0.3784, allocations: 1.324 MB / 0.5795 GB, free: 13.56 MB / 430.1 MB Notification: Performance of pre-optimization done (n=116): time 2.906e-06/0.3784, allocations: 0 / 0.5795 GB, free: 13.56 MB / 430.1 MB Notification: Performance of matching and sorting (n=118): time 0.02646/0.4049, allocations: 8.372 MB / 0.5877 GB, free: 5.148 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001053/0.405, allocations: 98.11 kB / 0.5878 GB, free: 5.031 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007754/0.4057, allocations: 0.5105 MB / 0.5883 GB, free: 4.512 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002192/0.406, allocations: 57.69 kB / 0.5883 GB, free: 4.449 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003584/0.4063, allocations: 413.2 kB / 0.5887 GB, free: 4.039 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004251/0.4067, allocations: 412.6 kB / 0.5891 GB, free: 3.633 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003933/0.4071, allocations: 218.8 kB / 0.5893 GB, free: 3.41 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002363/0.4074, allocations: 398.7 kB / 0.5897 GB, free: 3.012 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002029/0.4094, allocations: 0.9745 MB / 0.5906 GB, free: 2.039 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002158/0.4116, allocations: 1.162 MB / 0.5918 GB, free: 0.8203 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.01268/0.4242, allocations: 5.022 MB / 0.5967 GB, free: 11.73 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.644e-06/0.4242, allocations: 3.938 kB / 0.5967 GB, free: 11.72 MB / 446.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.01282/0.4371, allocations: 4.336 MB / 0.6009 GB, free: 7.367 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.965e-05/0.4372, allocations: 65.67 kB / 0.601 GB, free: 7.297 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.002313/0.4395, allocations: 1.05 MB / 0.602 GB, free: 6.234 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.007185410009697] Failed to read output from testmodel.py, exit status != 0: 0.44666092516854405 0.46223379499999995 0.11997273600000001 Calling exit ...