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.00135/0.00135, allocations: 80.31 kB / 22.21 MB, free: 2.285 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.00163/0.00163, allocations: 168.3 kB / 25.61 MB, free: 8.586 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.9303/0.9303, allocations: 177.2 MB / 206.1 MB, free: 4.461 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.1188/0.1188, allocations: 29.41 MB / 292 MB, free: 2.719 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.223e-06/1.223e-06, allocations: 3.938 kB / 370.9 MB, free: 32.34 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.281e-05/1.404e-05, allocations: 5.906 kB / 370.9 MB, free: 32.33 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.InverterToGrid): time 0.004087/0.004101, allocations: 6.056 MB / 376.9 MB, free: 26.25 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002415/0.006516, allocations: 2.333 MB / 379.3 MB, free: 23.91 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000308/0.006824, allocations: 39.69 kB / 379.3 MB, free: 23.87 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005931/0.007417, allocations: 250.4 kB / 379.5 MB, free: 23.62 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006986/0.008116, allocations: 0.6139 MB / 380.2 MB, free: 23.01 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006481/0.008764, allocations: 0.5339 MB / 380.7 MB, free: 22.47 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008758/0.00964, allocations: 2.003 MB / 382.7 MB, free: 20.46 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004205/0.01006, allocations: 0.5959 MB / 383.3 MB, free: 19.86 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000789/0.01085, allocations: 1.146 MB / 384.4 MB, free: 18.71 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000591/0.01144, allocations: 0.8575 MB / 385.3 MB, free: 17.85 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001123/0.01155, allocations: 140 kB / 385.4 MB, free: 17.71 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005067/0.01206, allocations: 0.6474 MB / 386.1 MB, free: 17.06 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002854/0.01234, allocations: 0.6586 MB / 386.7 MB, free: 16.4 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00027/0.01261, allocations: 498.9 kB / 387.2 MB, free: 15.91 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007804/0.0134, allocations: 1.472 MB / 388.7 MB, free: 14.44 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.623e-06/0.0134, allocations: 0 / 388.7 MB, free: 14.44 MB / 314.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.0134, allocations: 0 / 388.7 MB, free: 14.44 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.236e-06/0.01341, allocations: 0 / 388.7 MB, free: 14.44 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.001666/0.01507, allocations: 1.771 MB / 390.5 MB, free: 12.59 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.814e-05/0.0151, allocations: 8.031 kB / 390.5 MB, free: 12.59 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005866/0.01569, allocations: 316 kB / 390.8 MB, free: 12.28 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00059/0.01628, allocations: 0.7043 MB / 391.5 MB, free: 11.55 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002874/0.01656, allocations: 1.093 MB / 392.6 MB, free: 10.23 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001525/0.01672, allocations: 100.7 kB / 392.7 MB, free: 10.14 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000964/0.01768, allocations: 1.058 MB / 393.7 MB, free: 9.004 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.21e-05/0.0177, allocations: 7.953 kB / 393.7 MB, free: 8.996 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.936e-05/0.01778, allocations: 35.98 kB / 393.8 MB, free: 8.961 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001028/0.01788, allocations: 85.95 kB / 393.9 MB, free: 8.875 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006886/0.01857, allocations: 0.6067 MB / 394.5 MB, free: 8.27 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003355/0.02193, allocations: 4.553 MB / 399 MB, free: 3.582 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006603/0.02259, allocations: 0.5485 MB / 399.6 MB, free: 3.008 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003267/0.02292, allocations: 322.1 kB / 399.9 MB, free: 2.684 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.605e-05/0.02297, allocations: 24.98 kB / 399.9 MB, free: 2.66 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000485/0.02346, allocations: 0.5956 MB / 400.5 MB, free: 2.047 MB / 314.7 MB Notification: Performance of pre-optimization done (n=116): time 2.043e-06/0.02346, allocations: 0 / 400.5 MB, free: 2.047 MB / 314.7 MB Notification: Performance of matching and sorting (n=118): time 0.006477/0.02994, allocations: 3.671 MB / 404.2 MB, free: 14.34 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.388e-05/0.02998, allocations: 102.1 kB / 404.3 MB, free: 14.22 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002736/0.03025, allocations: 486.2 kB / 404.8 MB, free: 13.73 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.579e-05/0.03033, allocations: 53.69 kB / 404.8 MB, free: 13.67 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002065/0.03054, allocations: 475.7 kB / 405.3 MB, free: 13.2 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002389/0.03077, allocations: 420.5 kB / 405.7 MB, free: 12.78 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002542/0.03103, allocations: 228.4 kB / 405.9 MB, free: 12.55 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001558/0.03118, allocations: 0.5819 MB / 406.5 MB, free: 11.96 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003354/0.03152, allocations: 304.1 kB / 406.8 MB, free: 11.65 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004334/0.03195, allocations: 0.5566 MB / 407.3 MB, free: 11.02 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.001051/0.033, allocations: 1.128 MB / 408.5 MB, free: 9.789 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/0.03301, allocations: 8 kB / 408.5 MB, free: 9.781 MB / 330.7 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.00363/0.03664, allocations: 2.183 MB / 410.7 MB, free: 7.578 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.609e-05/0.03668, allocations: 61.67 kB / 410.7 MB, free: 7.512 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.0004342/0.03712, allocations: 379.2 kB / 411.1 MB, free: 7.137 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.7948328349739313]