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.001349/0.001349, allocations: 123.4 kB / 17.79 MB, free: 5.266 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.001422/0.001422, allocations: 200.3 kB / 20.74 MB, free: 2.32 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.495/1.495, allocations: 230.6 MB / 254.1 MB, free: 15.09 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.1896/0.1896, allocations: 38.51 MB / 348.7 MB, free: 2.613 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="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.002032/0.002032, allocations: 63.91 kB / 487.1 MB, free: 22.1 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1254/0.1274, allocations: 62.41 MB / 0.5367 GB, free: 7.574 MB / 398.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.InverterToGrid): time 0.009962/0.1374, allocations: 7.071 MB / 0.5436 GB, free: 484 kB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005603/0.143, allocations: 2.43 MB / 0.5459 GB, free: 14.04 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006399/0.1436, allocations: 43.62 kB / 0.546 GB, free: 13.99 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001791/0.1454, allocations: 0.5243 MB / 0.5465 GB, free: 13.47 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001804/0.1472, allocations: 0.6028 MB / 0.5471 GB, free: 12.86 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001343/0.1485, allocations: 0.5107 MB / 0.5476 GB, free: 12.35 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002646/0.1512, allocations: 1.992 MB / 0.5495 GB, free: 10.36 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001271/0.1525, allocations: 0.7677 MB / 0.5503 GB, free: 9.57 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001553/0.154, allocations: 0.8218 MB / 0.5511 GB, free: 8.746 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001706/0.1557, allocations: 0.9974 MB / 0.5521 GB, free: 7.746 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003383/0.1561, allocations: 160 kB / 0.5522 GB, free: 7.59 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001401/0.1575, allocations: 0.6826 MB / 0.5529 GB, free: 6.906 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007699/0.1582, allocations: 0.6508 MB / 0.5535 GB, free: 6.254 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009211/0.1591, allocations: 0.6924 MB / 0.5542 GB, free: 5.559 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002981/0.1621, allocations: 2.072 MB / 0.5562 GB, free: 3.48 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.1621, allocations: 0 / 0.5562 GB, free: 3.48 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.1621, allocations: 0 / 0.5562 GB, free: 3.48 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.178e-05/0.1622, allocations: 4 kB / 0.5562 GB, free: 3.477 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.005077/0.1673, allocations: 1.919 MB / 0.5581 GB, free: 1.473 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.38e-05/0.1673, allocations: 8.031 kB / 0.5581 GB, free: 1.465 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002757/0.1676, allocations: 172.7 kB / 0.5583 GB, free: 1.285 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001154/0.1687, allocations: 216.1 kB / 0.5585 GB, free: 1.074 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002181/0.1709, allocations: 0.9325 MB / 0.5594 GB, free: 104 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007431/0.1717, allocations: 0.5103 MB / 0.5599 GB, free: 15.52 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000326/0.172, allocations: 107.9 kB / 0.56 GB, free: 15.41 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004775/0.1768, allocations: 2.044 MB / 0.562 GB, free: 13.31 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.042e-05/0.1768, allocations: 4 kB / 0.562 GB, free: 13.3 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001471/0.1769, allocations: 32 kB / 0.562 GB, free: 13.27 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002605/0.1772, allocations: 93.94 kB / 0.5621 GB, free: 13.18 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005957/0.1831, allocations: 2.252 MB / 0.5643 GB, free: 10.93 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01147/0.1946, allocations: 5.766 MB / 0.5699 GB, free: 5.027 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004756/0.1994, allocations: 1.515 MB / 0.5714 GB, free: 3.496 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002895/0.2023, allocations: 1.039 MB / 0.5724 GB, free: 2.449 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001127/0.2024, allocations: 20.92 kB / 0.5724 GB, free: 2.43 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00328/0.2057, allocations: 1.312 MB / 0.5737 GB, free: 1.098 MB / 430.1 MB Notification: Performance of pre-optimization done (n=116): time 3.607e-06/0.2057, allocations: 0 / 0.5737 GB, free: 1.098 MB / 430.1 MB Notification: Performance of matching and sorting (n=118): time 0.03145/0.2371, allocations: 8.59 MB / 0.5821 GB, free: 8.41 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001072/0.2372, allocations: 106.1 kB / 0.5822 GB, free: 8.289 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000782/0.238, allocations: 0.5144 MB / 0.5827 GB, free: 7.766 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002847/0.2383, allocations: 53.69 kB / 0.5828 GB, free: 7.707 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003673/0.2387, allocations: 417.2 kB / 0.5832 GB, free: 7.293 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004974/0.2392, allocations: 412.5 kB / 0.5836 GB, free: 6.887 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004574/0.2396, allocations: 226.8 kB / 0.5838 GB, free: 6.656 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002457/0.2399, allocations: 394.7 kB / 0.5841 GB, free: 6.262 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0022/0.2421, allocations: 0.9745 MB / 0.5851 GB, free: 5.289 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002382/0.2444, allocations: 1.158 MB / 0.5862 GB, free: 4.074 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.2663/0.5107, allocations: 5.011 MB / 0.5911 GB, free: 49.95 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.869e-06/0.5107, allocations: 1.25 kB / 0.5911 GB, free: 49.95 MB / 446.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.01416/0.5249, allocations: 4.346 MB / 0.5954 GB, free: 49.54 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.41e-05/0.525, allocations: 61.44 kB / 0.5954 GB, free: 49.5 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.002487/0.5275, allocations: 1.052 MB / 0.5965 GB, free: 49.12 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.1515715639980044] Failed to read output from testmodel.py, exit status != 0: 0.5341114550101338 0.547793494 0.382746864 Calling exit ...