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.001392/0.001392, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 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.001602/0.001602, allocations: 170.3 kB / 23.95 MB, free: 0.6094 MB / 18.57 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 0.9432/0.9432, allocations: 177.1 MB / 204.3 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] 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.2511/0.2511, allocations: 29.4 MB / 290.1 MB, free: 2.461 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.984e-06/1.984e-06, allocations: 0 / 430.2 MB, free: 13.62 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.629e-05/1.828e-05, allocations: 4.109 kB / 430.2 MB, free: 13.61 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.InverterToGrid): time 0.005658/0.005676, allocations: 6.644 MB / 436.9 MB, free: 6.934 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003044/0.00872, allocations: 2.278 MB / 439.1 MB, free: 4.648 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003408/0.009061, allocations: 43.62 kB / 439.2 MB, free: 4.605 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00091/0.009971, allocations: 0.5169 MB / 439.7 MB, free: 4.086 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009364/0.01091, allocations: 0.6216 MB / 440.3 MB, free: 3.461 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008602/0.01177, allocations: 0.5339 MB / 440.8 MB, free: 2.926 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001271/0.01304, allocations: 1.999 MB / 442.8 MB, free: 0.9219 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005658/0.0136, allocations: 0.5998 MB / 443.4 MB, free: 316 kB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1741/0.1877, allocations: 1.065 MB / 444.5 MB, free: 43.71 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007996/0.1885, allocations: 0.924 MB / 445.4 MB, free: 43.71 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000135/0.1886, allocations: 162.7 kB / 445.6 MB, free: 43.71 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006905/0.1893, allocations: 0.6565 MB / 446.3 MB, free: 43.71 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000335/0.1897, allocations: 0.6756 MB / 446.9 MB, free: 43.71 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003153/0.19, allocations: 0.5103 MB / 447.4 MB, free: 43.71 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001191/0.1912, allocations: 2.229 MB / 449.7 MB, free: 43.64 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.896e-06/0.1912, allocations: 0.9062 kB / 449.7 MB, free: 43.64 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.1912, allocations: 3.156 kB / 449.7 MB, free: 43.64 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.132e-05/0.1912, allocations: 0 / 449.7 MB, free: 43.64 MB / 410.7 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.002137/0.1933, allocations: 1.83 MB / 451.5 MB, free: 42.85 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.387e-05/0.1934, allocations: 15.14 kB / 451.5 MB, free: 42.84 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001493/0.1935, allocations: 173.2 kB / 451.7 MB, free: 42.8 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005291/0.194, allocations: 217.7 kB / 451.9 MB, free: 42.74 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001005/0.195, allocations: 0.8613 MB / 452.8 MB, free: 42.49 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003266/0.1954, allocations: 1.119 MB / 453.9 MB, free: 41.36 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001845/0.1955, allocations: 109.6 kB / 454 MB, free: 41.36 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00203/0.1976, allocations: 2.05 MB / 456 MB, free: 41.18 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.198e-05/0.1976, allocations: 3.344 kB / 456 MB, free: 41.18 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.097e-05/0.1977, allocations: 36.3 kB / 456.1 MB, free: 41.18 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001111/0.1978, allocations: 96.61 kB / 456.2 MB, free: 41.17 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002547/0.2003, allocations: 2.238 MB / 458.4 MB, free: 40.73 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004625/0.205, allocations: 5.401 MB / 463.8 MB, free: 37.92 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002062/0.207, allocations: 1.516 MB / 465.3 MB, free: 37.47 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00123/0.2083, allocations: 1.053 MB / 466.4 MB, free: 37.14 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.481e-05/0.2083, allocations: 10.59 kB / 466.4 MB, free: 37.14 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001393/0.2097, allocations: 1.308 MB / 467.7 MB, free: 36.73 MB / 410.7 MB Notification: Performance of pre-optimization done (n=116): time 2.224e-06/0.2097, allocations: 6.25 kB / 467.7 MB, free: 36.73 MB / 410.7 MB Notification: Performance of matching and sorting (n=118): time 0.01325/0.223, allocations: 8.362 MB / 476.1 MB, free: 34.67 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.365e-05/0.223, allocations: 101.5 kB / 476.2 MB, free: 34.57 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003995/0.2234, allocations: 0.5239 MB / 476.7 MB, free: 34.32 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.148e-05/0.2235, allocations: 59.95 kB / 476.7 MB, free: 34.27 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001717/0.2237, allocations: 410.1 kB / 477.1 MB, free: 33.95 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001835/0.2238, allocations: 407.7 kB / 477.5 MB, free: 33.64 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002523/0.2241, allocations: 227.2 kB / 477.8 MB, free: 33.55 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.381e-05/0.2242, allocations: 391.8 kB / 478.1 MB, free: 33.2 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001268/0.2254, allocations: 1.025 MB / 479.2 MB, free: 32.86 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001388/0.2268, allocations: 1.206 MB / 480.4 MB, free: 32.33 MB / 410.7 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.007234/0.2341, allocations: 5.004 MB / 485.4 MB, free: 30.88 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.2341, allocations: 6.188 kB / 485.4 MB, free: 30.87 MB / 410.7 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.007682/0.2417, allocations: 4.389 MB / 489.8 MB, free: 29.85 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.694e-05/0.2418, allocations: 66.3 kB / 489.8 MB, free: 29.81 MB / 410.7 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.001308/0.2431, allocations: 1.018 MB / 490.9 MB, free: 29.44 MB / 410.7 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.042793949134648] Failed to read output from testmodel.py, exit status != 0: 0.24802752677351236 0.257795428 0.065180879 Calling exit ...