Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.InverterToGrid.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001842/0.001842, allocations: 123.9 kB / 17.79 MB, free: 5.285 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00224/0.00224, allocations: 185.3 kB / 20.73 MB, free: 2.355 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.486/1.486, allocations: 225.6 MB / 249.1 MB, free: 3.723 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1814/0.1814, allocations: 38.51 MB / 342.5 MB, free: 8.105 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-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Inverters.InverterToGrid,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Inverters_InverterToGrid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Inverters.InverterToGrid,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Inverters_InverterToGrid",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001947/0.001947, allocations: 66.38 kB / 478.6 MB, free: 33.86 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.115/0.1169, allocations: 61.24 MB / 0.5272 GB, free: 1.375 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.InverterToGrid): time 0.009682/0.1266, allocations: 7.063 MB / 0.5341 GB, free: 10.28 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004278/0.1309, allocations: 2.38 MB / 0.5364 GB, free: 7.895 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004073/0.1313, allocations: 31.81 kB / 0.5365 GB, free: 7.863 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001456/0.1328, allocations: 0.5365 MB / 0.537 GB, free: 7.324 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001261/0.134, allocations: 0.6028 MB / 0.5376 GB, free: 6.719 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001107/0.1351, allocations: 0.5068 MB / 0.5381 GB, free: 6.211 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002143/0.1373, allocations: 1.992 MB / 0.54 GB, free: 4.215 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001074/0.1383, allocations: 0.7638 MB / 0.5408 GB, free: 3.438 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001296/0.1396, allocations: 0.8063 MB / 0.5416 GB, free: 2.629 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001505/0.1411, allocations: 1.001 MB / 0.5425 GB, free: 1.625 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002799/0.1414, allocations: 160 kB / 0.5427 GB, free: 1.469 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001182/0.1426, allocations: 0.6748 MB / 0.5433 GB, free: 0.793 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007086/0.1433, allocations: 0.6625 MB / 0.544 GB, free: 132 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008003/0.1441, allocations: 0.6809 MB / 0.5447 GB, free: 15.44 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002349/0.1465, allocations: 2.075 MB / 0.5467 GB, free: 13.36 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.1465, allocations: 0 / 0.5467 GB, free: 13.36 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.1465, allocations: 0 / 0.5467 GB, free: 13.36 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.424e-05/0.1465, allocations: 0 / 0.5467 GB, free: 13.36 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.004846/0.1513, allocations: 1.911 MB / 0.5485 GB, free: 11.37 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.333e-05/0.1514, allocations: 11.89 kB / 0.5486 GB, free: 11.36 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002493/0.1516, allocations: 176.7 kB / 0.5487 GB, free: 11.17 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008349/0.1525, allocations: 180.1 kB / 0.5489 GB, free: 11 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002182/0.1546, allocations: 0.9364 MB / 0.5498 GB, free: 10.02 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006711/0.1553, allocations: 0.5025 MB / 0.5503 GB, free: 9.441 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002956/0.1556, allocations: 99.98 kB / 0.5504 GB, free: 9.344 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00414/0.1598, allocations: 2.047 MB / 0.5524 GB, free: 7.238 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.35e-05/0.1598, allocations: 7.891 kB / 0.5524 GB, free: 7.23 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001306/0.1599, allocations: 39.98 kB / 0.5524 GB, free: 7.191 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002389/0.1602, allocations: 89.95 kB / 0.5525 GB, free: 7.105 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005279/0.1654, allocations: 2.252 MB / 0.5547 GB, free: 4.852 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01043/0.1759, allocations: 5.751 MB / 0.5603 GB, free: 14.96 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004043/0.1799, allocations: 1.525 MB / 0.5618 GB, free: 13.42 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002518/0.1824, allocations: 1.05 MB / 0.5629 GB, free: 12.36 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.846e-05/0.1825, allocations: 16.94 kB / 0.5629 GB, free: 12.35 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002799/0.1853, allocations: 1.32 MB / 0.5642 GB, free: 11.02 MB / 430.1 MB Notification: Performance of pre-optimization done (n=116): time 2.825e-06/0.1853, allocations: 0 / 0.5642 GB, free: 11.02 MB / 430.1 MB Notification: Performance of matching and sorting (n=118): time 0.02581/0.2111, allocations: 8.598 MB / 0.5726 GB, free: 2.32 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001017/0.2112, allocations: 102 kB / 0.5727 GB, free: 2.203 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007465/0.212, allocations: 0.5106 MB / 0.5732 GB, free: 1.684 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003023/0.2123, allocations: 53.69 kB / 0.5732 GB, free: 1.625 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003748/0.2126, allocations: 417.2 kB / 0.5736 GB, free: 1.211 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004736/0.2131, allocations: 408.5 kB / 0.574 GB, free: 0.8086 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004562/0.2136, allocations: 218.9 kB / 0.5742 GB, free: 0.5859 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002799/0.2139, allocations: 402.7 kB / 0.5746 GB, free: 188 kB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002033/0.2159, allocations: 0.9745 MB / 0.5755 GB, free: 15.21 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00213/0.218, allocations: 1.154 MB / 0.5767 GB, free: 14 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.01228/0.2303, allocations: 5.022 MB / 0.5816 GB, free: 8.902 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.093e-06/0.2303, allocations: 4 kB / 0.5816 GB, free: 8.898 MB / 446.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.0126/0.2429, allocations: 4.34 MB / 0.5858 GB, free: 4.539 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001158/0.243, allocations: 61.67 kB / 0.5859 GB, free: 4.473 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.002274/0.2453, allocations: 1.046 MB / 0.5869 GB, free: 3.414 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: 2.9873922169208527] Failed to read output from testmodel.py, exit status != 0: 0.2516227629967034 0.267036894 0.11721556400000001 Calling exit ...