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.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.0009366/0.0009366, allocations: 83.69 kB / 20.67 MB, free: 3.883 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.0008655/0.0008655, allocations: 174 kB / 23.95 MB, free: 0.6055 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.938/0.938, allocations: 177.1 MB / 204.3 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo): time 0.2283/0.2283, allocations: 29.41 MB / 290.1 MB, free: 2.438 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/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_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 1.513e-06/1.513e-06, allocations: 0 / 430.2 MB, free: 13.61 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.979e-05/2.13e-05, allocations: 6.281 kB / 430.2 MB, free: 13.6 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.InverterToGrid): time 0.00669/0.006711, allocations: 6.644 MB / 436.9 MB, free: 6.918 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003748/0.01046, allocations: 2.278 MB / 439.1 MB, free: 4.633 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004659/0.01093, allocations: 43.62 kB / 439.2 MB, free: 4.59 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001198/0.01212, allocations: 0.5169 MB / 439.7 MB, free: 4.07 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001123/0.01325, allocations: 0.6139 MB / 440.3 MB, free: 3.453 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009456/0.01419, allocations: 0.5455 MB / 440.9 MB, free: 2.906 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001728/0.01592, allocations: 1.991 MB / 442.8 MB, free: 0.9102 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001065/0.01698, allocations: 0.5998 MB / 443.4 MB, free: 304 kB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2078/0.2248, allocations: 1.077 MB / 444.5 MB, free: 44.31 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001248/0.226, allocations: 0.9193 MB / 445.4 MB, free: 44.31 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002113/0.2263, allocations: 158.2 kB / 445.6 MB, free: 44.31 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009329/0.2272, allocations: 0.6568 MB / 446.3 MB, free: 44.31 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004113/0.2276, allocations: 0.6785 MB / 446.9 MB, free: 44.31 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004204/0.228, allocations: 0.5026 MB / 447.4 MB, free: 44.31 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002027/0.23, allocations: 2.242 MB / 449.7 MB, free: 44.23 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.2301, allocations: 0 / 449.7 MB, free: 44.23 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.2301, allocations: 0 / 449.7 MB, free: 44.23 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.13e-05/0.2301, allocations: 0 / 449.7 MB, free: 44.23 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.002695/0.2328, allocations: 1.828 MB / 451.5 MB, free: 43.45 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.405e-05/0.2328, allocations: 13.39 kB / 451.5 MB, free: 43.44 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001583/0.233, allocations: 172.7 kB / 451.7 MB, free: 43.4 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006321/0.2336, allocations: 217.3 kB / 451.9 MB, free: 43.34 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001184/0.2348, allocations: 0.8642 MB / 452.8 MB, free: 43.08 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003924/0.2352, allocations: 1.125 MB / 453.9 MB, free: 41.95 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001923/0.2354, allocations: 107.9 kB / 454 MB, free: 41.95 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002367/0.2377, allocations: 2.039 MB / 456 MB, free: 41.66 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.399e-05/0.2378, allocations: 3.281 kB / 456 MB, free: 41.66 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.527e-05/0.2379, allocations: 43.58 kB / 456.1 MB, free: 41.63 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001191/0.238, allocations: 91.09 kB / 456.2 MB, free: 41.62 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002613/0.2406, allocations: 2.25 MB / 458.4 MB, free: 40.98 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005182/0.2458, allocations: 5.4 MB / 463.8 MB, free: 38.17 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002403/0.2482, allocations: 1.515 MB / 465.3 MB, free: 37.72 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001486/0.2497, allocations: 1.047 MB / 466.4 MB, free: 37.39 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.739e-05/0.2497, allocations: 10.22 kB / 466.4 MB, free: 37.39 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001514/0.2512, allocations: 1.311 MB / 467.7 MB, free: 36.98 MB / 410.7 MB Notification: Performance of pre-optimization done (n=116): time 2.424e-06/0.2512, allocations: 0 / 467.7 MB, free: 36.98 MB / 410.7 MB Notification: Performance of matching and sorting (n=118): time 0.01582/0.2671, allocations: 8.358 MB / 476.1 MB, free: 34.92 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.11e-05/0.2671, allocations: 102.3 kB / 476.2 MB, free: 34.82 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005167/0.2676, allocations: 0.5278 MB / 476.7 MB, free: 34.57 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.722e-05/0.2677, allocations: 59.5 kB / 476.7 MB, free: 34.52 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002447/0.268, allocations: 409.9 kB / 477.1 MB, free: 34.2 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002505/0.2682, allocations: 404.5 kB / 477.5 MB, free: 33.89 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003501/0.2686, allocations: 229.1 kB / 477.8 MB, free: 33.8 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001233/0.2687, allocations: 392 kB / 478.1 MB, free: 33.45 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001492/0.2702, allocations: 1.022 MB / 479.2 MB, free: 33.11 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001399/0.2716, allocations: 1.206 MB / 480.4 MB, free: 32.59 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.007541/0.2791, allocations: 5.018 MB / 485.4 MB, free: 31.12 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.404e-06/0.2791, allocations: 1.156 kB / 485.4 MB, free: 31.12 MB / 410.7 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.008102/0.2872, allocations: 4.382 MB / 489.8 MB, free: 30.11 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.8e-05/0.2873, allocations: 64.97 kB / 489.8 MB, free: 30.06 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.001436/0.2887, allocations: 1.019 MB / 490.9 MB, free: 29.69 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.13554884493351] Failed to read output from testmodel.py, exit status != 0: 0.2951468788087368 0.30472797 0.072317976 Calling exit ...