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.0007582/0.0007582, allocations: 87.62 kB / 21.44 MB, free: 3.125 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.003076/0.003076, allocations: 158.7 kB / 24.7 MB, free: 8.91 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.8484/0.8484, allocations: 177.1 MB / 205 MB, free: 5.711 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.2221/0.2221, allocations: 29.41 MB / 290.8 MB, free: 2.418 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: translateModel(PowerSystems.Examples.AC3ph.Inverters.InverterToGrid,tolerance=1e-05,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterToGrid") translateModel(PowerSystems.Examples.AC3ph.Inverters.InverterToGrid,tolerance=1e-05,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterToGrid") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 431.5 MB, free: 13.09 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.372e-05/1.514e-05, allocations: 6.281 kB / 431.5 MB, free: 13.08 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.InverterToGrid): time 0.005346/0.005361, allocations: 6.655 MB / 438.1 MB, free: 6.395 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00237/0.007731, allocations: 2.282 MB / 440.4 MB, free: 4.105 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002416/0.007972, allocations: 35.69 kB / 440.4 MB, free: 4.07 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008161/0.008788, allocations: 0.513 MB / 441 MB, free: 3.555 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009482/0.009737, allocations: 0.6216 MB / 441.6 MB, free: 2.93 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005787/0.01032, allocations: 0.5417 MB / 442.1 MB, free: 2.387 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001096/0.01141, allocations: 1.995 MB / 444.1 MB, free: 396 kB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1697/0.1811, allocations: 0.5921 MB / 444.7 MB, free: 44.2 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001384/0.1825, allocations: 1.076 MB / 445.8 MB, free: 44.2 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007282/0.1832, allocations: 0.921 MB / 446.7 MB, free: 44.2 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001303/0.1833, allocations: 162.1 kB / 446.9 MB, free: 44.2 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006468/0.184, allocations: 0.6553 MB / 447.5 MB, free: 44.2 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003188/0.1843, allocations: 0.6752 MB / 448.2 MB, free: 44.2 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003069/0.1846, allocations: 0.5069 MB / 448.7 MB, free: 44.18 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00121/0.1858, allocations: 2.236 MB / 450.9 MB, free: 44.08 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.936e-06/0.1858, allocations: 0 / 450.9 MB, free: 44.08 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.1858, allocations: 0 / 450.9 MB, free: 44.08 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.216e-05/0.1858, allocations: 0 / 450.9 MB, free: 44.08 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.002113/0.1879, allocations: 1.828 MB / 452.8 MB, free: 43.29 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.092e-05/0.188, allocations: 11.39 kB / 452.8 MB, free: 43.29 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005263/0.1885, allocations: 224.2 kB / 453 MB, free: 43.22 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009639/0.1895, allocations: 0.8594 MB / 453.9 MB, free: 42.97 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003242/0.1898, allocations: 1.126 MB / 455 MB, free: 41.84 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001761/0.19, allocations: 104.9 kB / 455.1 MB, free: 41.84 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00195/0.1919, allocations: 2.04 MB / 457.1 MB, free: 41.45 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.415e-05/0.1919, allocations: 10.53 kB / 457.1 MB, free: 41.45 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.231e-05/0.192, allocations: 43.94 kB / 457.2 MB, free: 41.42 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001062/0.1921, allocations: 91.28 kB / 457.3 MB, free: 41.41 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002399/0.1945, allocations: 2.241 MB / 459.5 MB, free: 40.77 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004337/0.1988, allocations: 5.243 MB / 464.7 MB, free: 38.03 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001963/0.2008, allocations: 1.527 MB / 466.3 MB, free: 37.58 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001185/0.202, allocations: 1.032 MB / 467.3 MB, free: 37.26 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.039e-05/0.2021, allocations: 24.61 kB / 467.3 MB, free: 37.25 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001343/0.2034, allocations: 1.307 MB / 468.6 MB, free: 36.84 MB / 410.7 MB Notification: Performance of pre-optimization done (n=116): time 2.204e-06/0.2034, allocations: 4 kB / 468.6 MB, free: 36.84 MB / 410.7 MB Notification: Performance of matching and sorting (n=118): time 0.01287/0.2163, allocations: 8.35 MB / 477 MB, free: 34.78 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.972e-05/0.2163, allocations: 105 kB / 477.1 MB, free: 34.68 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003102/0.2166, allocations: 470.1 kB / 477.6 MB, free: 34.46 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.146e-05/0.2167, allocations: 52.86 kB / 477.6 MB, free: 34.41 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001571/0.2169, allocations: 417.9 kB / 478 MB, free: 34.09 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001812/0.217, allocations: 409.1 kB / 478.4 MB, free: 33.78 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000265/0.2173, allocations: 228.5 kB / 478.6 MB, free: 33.68 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.408e-05/0.2174, allocations: 393.4 kB / 479 MB, free: 33.33 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001224/0.2186, allocations: 1.021 MB / 480 MB, free: 32.99 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001342/0.22, allocations: 1.207 MB / 481.3 MB, free: 32.46 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.007225/0.2272, allocations: 5.012 MB / 486.3 MB, free: 31 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/0.2272, allocations: 0.9062 kB / 486.3 MB, free: 31 MB / 410.7 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.007324/0.2345, allocations: 4.377 MB / 490.6 MB, free: 29.99 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.467e-05/0.2346, allocations: 61.89 kB / 490.7 MB, free: 29.95 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.001285/0.2359, allocations: 1.015 MB / 491.7 MB, free: 29.59 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: 1.8748229397460818] Failed to read output from testmodel.py, exit status != 0: 0.24057447910308838 0.24778940700000002 0.060507022 Calling exit ...