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.001709/0.001709, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.002157/0.002157, allocations: 212 kB / 23.73 MB, free: 4.387 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.588/1.588, allocations: 230.6 MB / 257.5 MB, free: 7.789 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.55 MB / 352.5 MB, free: 12.31 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.002148/0.002148, allocations: 74.23 kB / 492.5 MB, free: 4.68 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3311/0.3333, allocations: 62.46 MB / 0.5419 GB, free: 236 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.InverterToGrid): time 0.008772/0.3421, allocations: 6.683 MB / 0.5485 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004291/0.3463, allocations: 2.268 MB / 0.5507 GB, free: 9.402 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004173/0.3468, allocations: 37.97 kB / 0.5507 GB, free: 9.383 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001475/0.3482, allocations: 0.5175 MB / 0.5512 GB, free: 8.98 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001321/0.3496, allocations: 0.6092 MB / 0.5518 GB, free: 8.508 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001213/0.3508, allocations: 0.5093 MB / 0.5523 GB, free: 8.113 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002259/0.353, allocations: 1.993 MB / 0.5543 GB, free: 6.945 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000874/0.3539, allocations: 0.5984 MB / 0.5548 GB, free: 6.543 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001403/0.3553, allocations: 0.8361 MB / 0.5557 GB, free: 6.062 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001424/0.3567, allocations: 0.9627 MB / 0.5566 GB, free: 5.203 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002611/0.357, allocations: 164 kB / 0.5568 GB, free: 5.043 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001207/0.3582, allocations: 0.6514 MB / 0.5574 GB, free: 4.391 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006837/0.3589, allocations: 0.6508 MB / 0.558 GB, free: 3.738 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007019/0.3596, allocations: 0.5876 MB / 0.5586 GB, free: 3.148 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002432/0.362, allocations: 2.091 MB / 0.5606 GB, free: 1.051 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.868e-06/0.362, allocations: 0 / 0.5606 GB, free: 1.051 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.362, allocations: 4 kB / 0.5607 GB, free: 1.047 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.3e-05/0.3621, allocations: 0 / 0.5607 GB, free: 1.047 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.00489/0.367, allocations: 1.843 MB / 0.5625 GB, free: 15.14 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.234e-05/0.367, allocations: 11.98 kB / 0.5625 GB, free: 15.12 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002389/0.3672, allocations: 172.7 kB / 0.5626 GB, free: 14.95 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001015/0.3683, allocations: 220.1 kB / 0.5628 GB, free: 14.73 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002337/0.3706, allocations: 0.8565 MB / 0.5637 GB, free: 13.85 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001013/0.3716, allocations: 1.128 MB / 0.5648 GB, free: 12.5 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002966/0.3719, allocations: 104 kB / 0.5649 GB, free: 12.39 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0044/0.3763, allocations: 2.043 MB / 0.5669 GB, free: 10.29 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.948e-05/0.3763, allocations: 4 kB / 0.5669 GB, free: 10.29 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001334/0.3765, allocations: 43.94 kB / 0.5669 GB, free: 10.25 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002412/0.3767, allocations: 85.94 kB / 0.567 GB, free: 10.16 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005252/0.382, allocations: 2.252 MB / 0.5692 GB, free: 7.906 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01091/0.3929, allocations: 5.36 MB / 0.5744 GB, free: 2.418 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004404/0.3973, allocations: 1.519 MB / 0.5759 GB, free: 0.8828 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002747/0.4, allocations: 1.042 MB / 0.5769 GB, free: 15.84 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.046e-05/0.4001, allocations: 20.88 kB / 0.577 GB, free: 15.82 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00307/0.4032, allocations: 1.313 MB / 0.5782 GB, free: 14.48 MB / 430.1 MB Notification: Performance of pre-optimization done (n=116): time 3.486e-06/0.4032, allocations: 0 / 0.5782 GB, free: 14.48 MB / 430.1 MB Notification: Performance of matching and sorting (n=118): time 0.02855/0.4317, allocations: 8.368 MB / 0.5864 GB, free: 6.082 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.903e-05/0.4318, allocations: 98.11 kB / 0.5865 GB, free: 5.965 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007459/0.4326, allocations: 0.5183 MB / 0.587 GB, free: 5.438 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002345/0.4328, allocations: 57.69 kB / 0.5871 GB, free: 5.375 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003735/0.4332, allocations: 417.2 kB / 0.5875 GB, free: 4.961 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004706/0.4336, allocations: 412.5 kB / 0.5879 GB, free: 4.555 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004413/0.4341, allocations: 222.8 kB / 0.5881 GB, free: 4.328 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002175/0.4343, allocations: 394.7 kB / 0.5884 GB, free: 3.934 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00215/0.4365, allocations: 1.019 MB / 0.5894 GB, free: 2.91 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002289/0.4387, allocations: 1.208 MB / 0.5906 GB, free: 1.641 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.0129/0.4516, allocations: 5.01 MB / 0.5955 GB, free: 12.56 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.246e-06/0.4517, allocations: 4 kB / 0.5955 GB, free: 12.55 MB / 446.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.01358/0.4652, allocations: 4.385 MB / 0.5998 GB, free: 8.145 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001168/0.4653, allocations: 56.5 kB / 0.5998 GB, free: 8.086 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.002429/0.4678, allocations: 1.023 MB / 0.6008 GB, free: 7.051 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.2074684160761535] Failed to read output from testmodel.py, exit status != 0: 0.475535589735955 0.490964045 0.125724173 Calling exit ...