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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001646/0.001646, allocations: 114.9 kB / 19.04 MB, free: 3.281 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001997/0.001997, allocations: 190 kB / 22.21 MB, free: 112 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.456/1.456, allocations: 225.6 MB / 250.8 MB, free: 13.42 MB / 206.1 MB " [Timeout remaining time 178] 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.187/0.187, allocations: 38.5 MB / 344.4 MB, free: 2.562 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/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001929/0.001929, allocations: 63.89 kB / 482 MB, free: 12.09 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3206/0.3226, allocations: 61.25 MB / 0.5306 GB, free: 5.5 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.InverterToGrid): time 0.007217/0.3298, allocations: 7.161 MB / 0.5376 GB, free: 448 kB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004282/0.3341, allocations: 2.389 MB / 0.5399 GB, free: 14.54 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003634/0.3344, allocations: 34.53 kB / 0.5399 GB, free: 14.52 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001493/0.3359, allocations: 0.5428 MB / 0.5405 GB, free: 14.09 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001281/0.3372, allocations: 0.5989 MB / 0.541 GB, free: 13.63 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001104/0.3383, allocations: 0.4999 MB / 0.5415 GB, free: 13.24 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00214/0.3405, allocations: 1.996 MB / 0.5435 GB, free: 12.07 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009253/0.3414, allocations: 0.6671 MB / 0.5441 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001109/0.3425, allocations: 0.8066 MB / 0.5449 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001322/0.3438, allocations: 1.003 MB / 0.5459 GB, free: 10.54 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002184/0.344, allocations: 159.2 kB / 0.546 GB, free: 10.54 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001111/0.3451, allocations: 0.6802 MB / 0.5467 GB, free: 10.26 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008367/0.346, allocations: 0.6502 MB / 0.5473 GB, free: 9.82 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001027/0.347, allocations: 0.6938 MB / 0.548 GB, free: 9.324 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002888/0.3499, allocations: 2.065 MB / 0.55 GB, free: 7.906 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.3499, allocations: 3.938 kB / 0.55 GB, free: 7.902 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.3499, allocations: 1.375 kB / 0.55 GB, free: 7.902 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.246e-05/0.3499, allocations: 0 / 0.55 GB, free: 7.902 MB / 398.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.004938/0.3549, allocations: 1.917 MB / 0.5519 GB, free: 6.539 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.917e-05/0.3549, allocations: 12.23 kB / 0.5519 GB, free: 6.535 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008478/0.3558, allocations: 181.5 kB / 0.5521 GB, free: 6.453 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001917/0.3577, allocations: 0.9317 MB / 0.553 GB, free: 5.512 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006479/0.3583, allocations: 0.495 MB / 0.5535 GB, free: 4.941 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003081/0.3586, allocations: 115.8 kB / 0.5536 GB, free: 4.828 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004121/0.3627, allocations: 2.044 MB / 0.5556 GB, free: 2.727 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.143e-05/0.3628, allocations: 3.953 kB / 0.5556 GB, free: 2.723 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000146/0.3629, allocations: 51.97 kB / 0.5557 GB, free: 2.672 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000216/0.3631, allocations: 81.95 kB / 0.5557 GB, free: 2.594 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00491/0.368, allocations: 2.26 MB / 0.5579 GB, free: 340 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00983/0.3779, allocations: 5.751 MB / 0.5636 GB, free: 10.45 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004031/0.3819, allocations: 1.521 MB / 0.565 GB, free: 8.902 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002527/0.3844, allocations: 1.047 MB / 0.5661 GB, free: 7.844 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.375e-05/0.3845, allocations: 10.25 kB / 0.5661 GB, free: 7.836 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002825/0.3874, allocations: 1.324 MB / 0.5674 GB, free: 6.496 MB / 414.1 MB Notification: Performance of pre-optimization done (n=116): time 3.377e-06/0.3874, allocations: 4 kB / 0.5674 GB, free: 6.492 MB / 414.1 MB Notification: Performance of matching and sorting (n=118): time 0.02657/0.4139, allocations: 8.59 MB / 0.5758 GB, free: 13.8 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.047e-05/0.414, allocations: 106.1 kB / 0.5759 GB, free: 13.68 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007094/0.4147, allocations: 0.5105 MB / 0.5764 GB, free: 13.16 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001394/0.4149, allocations: 57.69 kB / 0.5764 GB, free: 13.1 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003856/0.4152, allocations: 413.1 kB / 0.5768 GB, free: 12.69 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004023/0.4157, allocations: 408.6 kB / 0.5772 GB, free: 12.29 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004457/0.4161, allocations: 222.9 kB / 0.5774 GB, free: 12.06 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002085/0.4163, allocations: 394.7 kB / 0.5778 GB, free: 11.67 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002023/0.4183, allocations: 0.9785 MB / 0.5787 GB, free: 10.69 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002182/0.4205, allocations: 1.158 MB / 0.5799 GB, free: 9.477 MB / 430.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.01252/0.433, allocations: 5.007 MB / 0.5848 GB, free: 4.395 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.605e-06/0.433, allocations: 4 kB / 0.5848 GB, free: 4.391 MB / 430.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.01291/0.446, allocations: 4.348 MB / 0.589 GB, free: 24 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001272/0.4461, allocations: 61.67 kB / 0.5891 GB, free: 15.96 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.002489/0.4486, allocations: 1.046 MB / 0.5901 GB, free: 14.9 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: 2.9758184738457203]