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.001307/0.001307, allocations: 120.4 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.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.00202/0.00202, allocations: 203.3 kB / 20.74 MB, free: 2.34 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.531/1.531, 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-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.19/0.19, allocations: 38.52 MB / 348.7 MB, free: 2.652 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.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: 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.001984/0.001984, allocations: 67.91 kB / 487.1 MB, free: 22.1 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1166/0.1186, allocations: 62.41 MB / 0.5367 GB, free: 7.566 MB / 398.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.InverterToGrid): time 0.008898/0.1275, allocations: 7.077 MB / 0.5436 GB, free: 468 kB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004326/0.1318, allocations: 2.43 MB / 0.546 GB, free: 14.02 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004036/0.1322, allocations: 35.69 kB / 0.546 GB, free: 13.98 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001481/0.1337, allocations: 0.5283 MB / 0.5465 GB, free: 13.46 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0014/0.1351, allocations: 0.6067 MB / 0.5471 GB, free: 12.85 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001152/0.1363, allocations: 0.5068 MB / 0.5476 GB, free: 12.34 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00222/0.1385, allocations: 1.988 MB / 0.5495 GB, free: 10.35 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001084/0.1396, allocations: 0.7716 MB / 0.5503 GB, free: 9.559 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001246/0.1408, allocations: 0.8219 MB / 0.5511 GB, free: 8.734 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001341/0.1421, allocations: 0.9934 MB / 0.5521 GB, free: 7.738 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002633/0.1424, allocations: 160 kB / 0.5522 GB, free: 7.582 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001187/0.1436, allocations: 0.6826 MB / 0.5529 GB, free: 6.898 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007226/0.1443, allocations: 0.6664 MB / 0.5535 GB, free: 6.23 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00078/0.1451, allocations: 0.6769 MB / 0.5542 GB, free: 5.551 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002457/0.1476, allocations: 2.083 MB / 0.5562 GB, free: 3.461 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.1476, allocations: 0 / 0.5562 GB, free: 3.461 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.1476, allocations: 0 / 0.5562 GB, free: 3.461 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.591e-05/0.1476, allocations: 0 / 0.5562 GB, free: 3.461 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.004863/0.1525, allocations: 1.911 MB / 0.5581 GB, free: 1.465 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.262e-05/0.1525, allocations: 12.03 kB / 0.5581 GB, free: 1.453 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002502/0.1528, allocations: 176.7 kB / 0.5583 GB, free: 1.27 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001062/0.1538, allocations: 212.1 kB / 0.5585 GB, free: 1.062 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002034/0.1559, allocations: 0.9325 MB / 0.5594 GB, free: 92 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006803/0.1566, allocations: 0.5025 MB / 0.5599 GB, free: 15.51 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002771/0.1568, allocations: 107.9 kB / 0.56 GB, free: 15.41 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004422/0.1613, allocations: 2.044 MB / 0.562 GB, free: 13.3 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.291e-05/0.1613, allocations: 7.938 kB / 0.562 GB, free: 13.3 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001404/0.1614, allocations: 36 kB / 0.562 GB, free: 13.26 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002514/0.1617, allocations: 89.94 kB / 0.5621 GB, free: 13.18 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00529/0.167, allocations: 2.256 MB / 0.5643 GB, free: 10.91 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009944/0.1769, allocations: 5.77 MB / 0.5699 GB, free: 5.012 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004654/0.1816, allocations: 1.517 MB / 0.5714 GB, free: 3.477 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002771/0.1843, allocations: 1.043 MB / 0.5724 GB, free: 2.426 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001033/0.1844, allocations: 14.23 kB / 0.5725 GB, free: 2.414 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00303/0.1875, allocations: 1.312 MB / 0.5737 GB, free: 1.082 MB / 430.1 MB Notification: Performance of pre-optimization done (n=116): time 3.106e-06/0.1875, allocations: 0 / 0.5737 GB, free: 1.082 MB / 430.1 MB Notification: Performance of matching and sorting (n=118): time 0.0294/0.2169, allocations: 8.598 MB / 0.5821 GB, free: 8.387 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.826e-05/0.217, allocations: 98.09 kB / 0.5822 GB, free: 8.273 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007208/0.2177, allocations: 0.5144 MB / 0.5827 GB, free: 7.75 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002157/0.2179, allocations: 53.7 kB / 0.5828 GB, free: 7.691 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003867/0.2183, allocations: 417.2 kB / 0.5832 GB, free: 7.277 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004714/0.2188, allocations: 412.5 kB / 0.5836 GB, free: 6.871 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004603/0.2192, allocations: 226.8 kB / 0.5838 GB, free: 6.641 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002171/0.2194, allocations: 390.8 kB / 0.5842 GB, free: 6.25 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00211/0.2215, allocations: 0.9784 MB / 0.5851 GB, free: 5.273 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002226/0.2238, allocations: 1.162 MB / 0.5863 GB, free: 4.055 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.2496/0.4734, allocations: 5.015 MB / 0.5912 GB, free: 49.6 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.01e-05/0.4734, allocations: 4.969 kB / 0.5912 GB, free: 49.6 MB / 446.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.0146/0.488, allocations: 4.336 MB / 0.5954 GB, free: 49.46 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001121/0.4881, allocations: 65.11 kB / 0.5955 GB, free: 49.42 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.002496/0.4906, allocations: 1.048 MB / 0.5965 GB, free: 49.05 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: 3.234915615990758] Failed to read output from testmodel.py, exit status != 0: 0.49694620072841644 0.5102550060000001 0.360218431 Calling exit ...