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.00106/0.00106, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.001063/0.001063, allocations: 170 kB / 24.91 MB, free: 9.199 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.9938/0.9938, allocations: 177.1 MB / 205.3 MB, free: 5.504 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.2284/0.2284, allocations: 29.42 MB / 291.2 MB, free: 2.426 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.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: translateModel(PowerSystems.Examples.AC3ph.Inverters.InverterToGrid,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|meterAC.i.[0-9,]+.|meterAC.p.[0-9,]+.|meterAC.v.[0-9,]+.|meterDC.i|meterDC.p|meterDC.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.InverterToGrid") translateModel(PowerSystems.Examples.AC3ph.Inverters.InverterToGrid,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|meterAC.i.[0-9,]+.|meterAC.p.[0-9,]+.|meterAC.v.[0-9,]+.|meterDC.i|meterDC.p|meterDC.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.InverterToGrid") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.814e-06/1.814e-06, allocations: 0 / 316.8 MB, free: 15.98 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.92e-05/2.101e-05, allocations: 5.656 kB / 316.9 MB, free: 15.98 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.InverterToGrid): time 0.006366/0.006387, allocations: 6.088 MB / 322.9 MB, free: 9.855 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003254/0.009641, allocations: 2.364 MB / 325.3 MB, free: 7.484 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003465/0.009987, allocations: 43.62 kB / 325.4 MB, free: 7.441 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008965/0.01088, allocations: 389.9 kB / 325.7 MB, free: 7.059 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009528/0.01184, allocations: 0.6178 MB / 326.3 MB, free: 6.438 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008638/0.0127, allocations: 0.5378 MB / 326.9 MB, free: 5.898 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001457/0.01416, allocations: 1.992 MB / 328.9 MB, free: 3.902 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005885/0.01475, allocations: 0.6271 MB / 329.5 MB, free: 3.258 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001089/0.01583, allocations: 1.134 MB / 330.6 MB, free: 2.121 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007186/0.01655, allocations: 0.8302 MB / 331.5 MB, free: 1.289 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001312/0.01668, allocations: 140 kB / 331.6 MB, free: 1.152 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006787/0.01736, allocations: 0.6512 MB / 332.3 MB, free: 0.4961 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004315/0.01779, allocations: 0.6586 MB / 332.9 MB, free: 15.84 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003686/0.01816, allocations: 495 kB / 333.4 MB, free: 15.35 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001135/0.0193, allocations: 1.472 MB / 334.9 MB, free: 13.88 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.0193, allocations: 4 kB / 334.9 MB, free: 13.87 MB / 314.7 MB Notification: Performance of FrontEnd: time 8.81e-07/0.0193, allocations: 0 / 334.9 MB, free: 13.87 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.276e-06/0.01931, allocations: 0 / 334.9 MB, free: 13.87 MB / 314.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.001967/0.02128, allocations: 1.604 MB / 336.5 MB, free: 12.21 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.639e-05/0.02131, allocations: 15.98 kB / 336.5 MB, free: 12.19 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006096/0.02192, allocations: 284.6 kB / 336.8 MB, free: 11.91 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007013/0.02263, allocations: 0.6547 MB / 337.4 MB, free: 11.23 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004663/0.02309, allocations: 1.093 MB / 338.5 MB, free: 9.918 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001739/0.02327, allocations: 108.7 kB / 338.6 MB, free: 9.812 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001249/0.02451, allocations: 1.032 MB / 339.7 MB, free: 8.719 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.196e-05/0.02454, allocations: 11.89 kB / 339.7 MB, free: 8.707 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.953e-05/0.02462, allocations: 32 kB / 339.7 MB, free: 8.676 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001085/0.02472, allocations: 85.95 kB / 339.8 MB, free: 8.59 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007222/0.02545, allocations: 0.5395 MB / 340.3 MB, free: 8.051 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003821/0.02927, allocations: 3.562 MB / 343.9 MB, free: 4.383 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007626/0.03003, allocations: 0.5367 MB / 344.4 MB, free: 3.824 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003605/0.03039, allocations: 283.4 kB / 344.7 MB, free: 3.539 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.998e-05/0.03045, allocations: 17 kB / 344.7 MB, free: 3.523 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005338/0.03098, allocations: 0.5778 MB / 345.3 MB, free: 2.93 MB / 314.7 MB Notification: Performance of pre-optimization done (n=116): time 2.444e-06/0.03099, allocations: 0 / 345.3 MB, free: 2.93 MB / 314.7 MB Notification: Performance of matching and sorting (n=118): time 0.006429/0.03742, allocations: 3.448 MB / 348.7 MB, free: 15.44 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.612e-05/0.03746, allocations: 98.09 kB / 348.8 MB, free: 15.32 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002311/0.03769, allocations: 422.9 kB / 349.3 MB, free: 14.9 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.576e-05/0.03777, allocations: 57.67 kB / 349.3 MB, free: 14.84 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001529/0.03792, allocations: 366 kB / 349.7 MB, free: 14.47 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002159/0.03814, allocations: 404.5 kB / 350.1 MB, free: 14.07 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002279/0.03837, allocations: 202.8 kB / 350.3 MB, free: 13.87 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001077/0.03847, allocations: 390.6 kB / 350.6 MB, free: 13.48 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003154/0.03879, allocations: 287.1 kB / 350.9 MB, free: 13.19 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003662/0.03915, allocations: 455.9 kB / 351.4 MB, free: 12.69 MB / 330.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.000982/0.04014, allocations: 1.054 MB / 352.4 MB, free: 11.57 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.04014, allocations: 0 / 352.4 MB, free: 11.57 MB / 330.7 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.00356/0.0437, allocations: 1.957 MB / 354.4 MB, free: 9.586 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.718e-05/0.04375, allocations: 61.61 kB / 354.4 MB, free: 9.52 MB / 330.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.0004151/0.04416, allocations: 363.3 kB / 354.8 MB, free: 9.156 MB / 330.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.7896078792400658]