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.001334/0.001334, allocations: 115.8 kB / 20.43 MB, free: 1.449 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.001464/0.001464, allocations: 216.6 kB / 23.74 MB, free: 4.656 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.516/1.516, allocations: 230.6 MB / 257.5 MB, free: 8.023 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.1878/0.1878, allocations: 38.53 MB / 352.4 MB, free: 12.56 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.002042/0.002042, allocations: 67.91 kB / 492.5 MB, free: 4.891 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3393/0.3414, allocations: 62.46 MB / 0.542 GB, free: 464 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.InverterToGrid): time 0.009741/0.3511, allocations: 7.202 MB / 0.549 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005124/0.3562, allocations: 2.441 MB / 0.5514 GB, free: 8.875 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007205/0.357, allocations: 37.81 kB / 0.5515 GB, free: 8.855 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001986/0.359, allocations: 0.5398 MB / 0.552 GB, free: 8.434 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002285/0.3612, allocations: 0.6081 MB / 0.5526 GB, free: 7.961 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001713/0.3629, allocations: 0.5171 MB / 0.5531 GB, free: 7.559 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003394/0.3663, allocations: 1.999 MB / 0.555 GB, free: 6.387 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001156/0.3675, allocations: 0.6091 MB / 0.5556 GB, free: 5.973 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002241/0.3697, allocations: 0.8296 MB / 0.5564 GB, free: 5.5 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002079/0.3718, allocations: 1 MB / 0.5574 GB, free: 4.715 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003407/0.3722, allocations: 160 kB / 0.5576 GB, free: 4.559 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001714/0.3739, allocations: 0.6865 MB / 0.5582 GB, free: 3.871 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009735/0.3748, allocations: 0.6509 MB / 0.5589 GB, free: 3.219 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001235/0.3761, allocations: 0.6847 MB / 0.5595 GB, free: 2.531 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003393/0.3795, allocations: 2.091 MB / 0.5616 GB, free: 444 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.3795, allocations: 0 / 0.5616 GB, free: 444 kB / 398.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.3795, allocations: 0 / 0.5616 GB, free: 444 kB / 398.1 MB Notification: Performance of Transformations before backend: time 4.192e-05/0.3795, allocations: 0 / 0.5616 GB, free: 444 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.004947/0.3845, allocations: 1.845 MB / 0.5634 GB, free: 14.52 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.937e-05/0.3845, allocations: 11.98 kB / 0.5634 GB, free: 14.51 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002529/0.3848, allocations: 172.7 kB / 0.5636 GB, free: 14.33 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001012/0.3858, allocations: 212.1 kB / 0.5638 GB, free: 14.12 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002218/0.388, allocations: 0.872 MB / 0.5646 GB, free: 13.23 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001111/0.3891, allocations: 1.114 MB / 0.5657 GB, free: 11.89 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003308/0.3894, allocations: 107.9 kB / 0.5658 GB, free: 11.79 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00442/0.3939, allocations: 2.044 MB / 0.5678 GB, free: 9.684 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.254e-05/0.3939, allocations: 4 kB / 0.5678 GB, free: 9.68 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001612/0.3941, allocations: 35.98 kB / 0.5678 GB, free: 9.645 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002402/0.3943, allocations: 93.94 kB / 0.5679 GB, free: 9.555 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00514/0.3994, allocations: 2.252 MB / 0.5701 GB, free: 7.297 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01062/0.4101, allocations: 5.691 MB / 0.5757 GB, free: 1.477 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004313/0.4144, allocations: 1.517 MB / 0.5772 GB, free: 15.94 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002672/0.417, allocations: 1.047 MB / 0.5782 GB, free: 14.89 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001052/0.4171, allocations: 18.22 kB / 0.5782 GB, free: 14.87 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002956/0.4201, allocations: 1.312 MB / 0.5795 GB, free: 13.54 MB / 430.1 MB Notification: Performance of pre-optimization done (n=116): time 2.955e-06/0.4201, allocations: 0 / 0.5795 GB, free: 13.54 MB / 430.1 MB Notification: Performance of matching and sorting (n=118): time 0.02716/0.4473, allocations: 8.372 MB / 0.5877 GB, free: 5.129 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001085/0.4474, allocations: 106.1 kB / 0.5878 GB, free: 5.004 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007436/0.4481, allocations: 0.5067 MB / 0.5883 GB, free: 4.488 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000253/0.4484, allocations: 57.69 kB / 0.5883 GB, free: 4.426 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003703/0.4487, allocations: 409.2 kB / 0.5887 GB, free: 4.02 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004574/0.4492, allocations: 408.6 kB / 0.5891 GB, free: 3.617 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004374/0.4496, allocations: 230.8 kB / 0.5893 GB, free: 3.383 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002221/0.4499, allocations: 402.7 kB / 0.5897 GB, free: 2.98 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002091/0.4519, allocations: 0.9745 MB / 0.5906 GB, free: 2.008 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002233/0.4542, allocations: 1.162 MB / 0.5918 GB, free: 0.7891 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.01277/0.4669, allocations: 5.01 MB / 0.5967 GB, free: 11.71 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.951e-06/0.467, allocations: 4 kB / 0.5967 GB, free: 11.7 MB / 446.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.01321/0.4802, allocations: 4.352 MB / 0.6009 GB, free: 7.332 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001021/0.4803, allocations: 57.69 kB / 0.601 GB, free: 7.27 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.002333/0.4826, allocations: 1.054 MB / 0.602 GB, free: 6.203 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.0691017800054397] Failed to read output from testmodel.py, exit status != 0: 0.4911245199982659 0.505865098 0.123025933 Calling exit ...