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.001386/0.001386, allocations: 120.1 kB / 18.49 MB, free: 4.586 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.001481/0.001481, allocations: 215 kB / 21.45 MB, free: 1.641 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.578/1.578, allocations: 230.6 MB / 254.8 MB, free: 15.1 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.1882/0.1882, allocations: 38.51 MB / 349.4 MB, free: 2.598 MB / 270.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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Inverters.InverterToGrid,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Inverters_InverterToGrid",fmuType="cs",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.002682/0.002682, allocations: 63.89 kB / 487.8 MB, free: 22.09 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1659/0.1686, allocations: 62.41 MB / 0.5374 GB, free: 7.562 MB / 398.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.InverterToGrid): time 0.01368/0.1823, allocations: 7.075 MB / 0.5443 GB, free: 468 kB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006057/0.1883, allocations: 2.426 MB / 0.5466 GB, free: 14.02 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006077/0.1889, allocations: 43.62 kB / 0.5467 GB, free: 13.98 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001893/0.1908, allocations: 0.5206 MB / 0.5472 GB, free: 13.46 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001933/0.1928, allocations: 0.6067 MB / 0.5478 GB, free: 12.85 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001597/0.1943, allocations: 0.5068 MB / 0.5483 GB, free: 12.34 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002983/0.1973, allocations: 1.984 MB / 0.5502 GB, free: 10.36 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001489/0.1988, allocations: 0.7716 MB / 0.551 GB, free: 9.566 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001665/0.2005, allocations: 0.8257 MB / 0.5518 GB, free: 8.738 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001929/0.2024, allocations: 0.9895 MB / 0.5527 GB, free: 7.746 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003552/0.2028, allocations: 160 kB / 0.5529 GB, free: 7.59 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001618/0.2044, allocations: 0.6904 MB / 0.5536 GB, free: 6.898 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000933/0.2053, allocations: 0.6547 MB / 0.5542 GB, free: 6.242 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001086/0.2064, allocations: 0.6885 MB / 0.5549 GB, free: 5.551 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003288/0.2097, allocations: 2.075 MB / 0.5569 GB, free: 3.469 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.2097, allocations: 0 / 0.5569 GB, free: 3.469 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.2097, allocations: 0 / 0.5569 GB, free: 3.469 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.815e-05/0.2097, allocations: 4 kB / 0.5569 GB, free: 3.465 MB / 414.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.00504/0.2148, allocations: 1.915 MB / 0.5588 GB, free: 1.465 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.749e-05/0.2148, allocations: 8.031 kB / 0.5588 GB, free: 1.457 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.033e-05/0.2149, allocations: 26.19 kB / 0.5588 GB, free: 1.434 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002548/0.2151, allocations: 176.7 kB / 0.559 GB, free: 1.25 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001066/0.2162, allocations: 212.1 kB / 0.5592 GB, free: 1.043 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002012/0.2182, allocations: 0.9287 MB / 0.5601 GB, free: 72 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007061/0.2189, allocations: 0.514 MB / 0.5606 GB, free: 15.48 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002829/0.2192, allocations: 103.9 kB / 0.5607 GB, free: 15.38 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004391/0.2236, allocations: 2.044 MB / 0.5627 GB, free: 13.28 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.074e-05/0.2236, allocations: 3.984 kB / 0.5627 GB, free: 13.28 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001435/0.2237, allocations: 40 kB / 0.5627 GB, free: 13.24 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002472/0.224, allocations: 85.95 kB / 0.5628 GB, free: 13.15 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00538/0.2294, allocations: 2.252 MB / 0.565 GB, free: 10.9 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01011/0.2395, allocations: 5.77 MB / 0.5706 GB, free: 4.992 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004742/0.2442, allocations: 1.515 MB / 0.5721 GB, free: 3.461 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002836/0.2471, allocations: 1.043 MB / 0.5731 GB, free: 2.41 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.996e-05/0.2472, allocations: 16.92 kB / 0.5732 GB, free: 2.395 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003209/0.2504, allocations: 1.312 MB / 0.5744 GB, free: 1.062 MB / 430.1 MB Notification: Performance of pre-optimization done (n=116): time 3.506e-06/0.2504, allocations: 4 kB / 0.5744 GB, free: 1.059 MB / 430.1 MB Notification: Performance of matching and sorting (n=118): time 0.02995/0.2803, allocations: 8.594 MB / 0.5828 GB, free: 8.367 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.709e-05/0.2804, allocations: 102.1 kB / 0.5829 GB, free: 8.25 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007896/0.2812, allocations: 0.5105 MB / 0.5834 GB, free: 7.73 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002646/0.2815, allocations: 57.69 kB / 0.5835 GB, free: 7.668 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003935/0.2819, allocations: 413.2 kB / 0.5839 GB, free: 7.258 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005121/0.2824, allocations: 412.5 kB / 0.5843 GB, free: 6.852 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004538/0.2828, allocations: 222.8 kB / 0.5845 GB, free: 6.625 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002408/0.2831, allocations: 394.7 kB / 0.5849 GB, free: 6.23 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002156/0.2852, allocations: 0.9745 MB / 0.5858 GB, free: 5.258 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002269/0.2875, allocations: 1.166 MB / 0.5869 GB, free: 4.035 MB / 446.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.2658/0.5533, allocations: 5.009 MB / 0.5918 GB, free: 49.78 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.256e-06/0.5533, allocations: 1.781 kB / 0.5918 GB, free: 49.78 MB / 446.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.01497/0.5683, allocations: 4.347 MB / 0.5961 GB, free: 49.36 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001775/0.5684, allocations: 63.59 kB / 0.5961 GB, free: 49.32 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.002904/0.5713, allocations: 1.043 MB / 0.5972 GB, free: 48.95 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.3672672969987616] Failed to read output from testmodel.py, exit status != 0: 0.5795017879572697 0.5934901659999999 0.38094237099999995 Calling exit ...