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.001475/0.001475, allocations: 112.2 kB / 21.19 MB, free: 0.7578 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.001523/0.001523, allocations: 209.8 kB / 24.49 MB, free: 4.133 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.393/1.393, allocations: 230.6 MB / 258.3 MB, free: 8.023 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.1784/0.1784, allocations: 38.52 MB / 353.2 MB, free: 12.66 MB / 286.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.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: 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.001968/0.001968, allocations: 68.17 kB / 493.8 MB, free: 4.406 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3154/0.3174, allocations: 62.46 MB / 0.5432 GB, free: 0.6211 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.InverterToGrid): time 0.009411/0.3268, allocations: 7.188 MB / 0.5503 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005148/0.3319, allocations: 2.445 MB / 0.5526 GB, free: 9.059 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008426/0.3328, allocations: 37.38 kB / 0.5527 GB, free: 9.039 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001767/0.3345, allocations: 0.5402 MB / 0.5532 GB, free: 8.613 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002165/0.3367, allocations: 0.6073 MB / 0.5538 GB, free: 8.141 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001695/0.3384, allocations: 0.5184 MB / 0.5543 GB, free: 7.738 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003126/0.3415, allocations: 2.001 MB / 0.5563 GB, free: 6.562 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001185/0.3427, allocations: 0.6062 MB / 0.5568 GB, free: 6.152 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001981/0.3447, allocations: 0.8242 MB / 0.5577 GB, free: 5.684 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001789/0.3465, allocations: 1.001 MB / 0.5586 GB, free: 4.68 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002807/0.3468, allocations: 160 kB / 0.5588 GB, free: 4.523 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001543/0.3483, allocations: 0.6904 MB / 0.5595 GB, free: 3.832 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008461/0.3492, allocations: 0.6547 MB / 0.5601 GB, free: 3.176 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001/0.3502, allocations: 0.6808 MB / 0.5608 GB, free: 2.492 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002961/0.3531, allocations: 2.091 MB / 0.5628 GB, free: 404 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.3531, allocations: 0 / 0.5628 GB, free: 404 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.3531, allocations: 0 / 0.5628 GB, free: 404 kB / 398.1 MB Notification: Performance of Transformations before backend: time 4.198e-05/0.3532, allocations: 0 / 0.5628 GB, free: 404 kB / 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.005199/0.3584, allocations: 1.842 MB / 0.5646 GB, free: 14.49 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.885e-05/0.3584, allocations: 15.97 kB / 0.5646 GB, free: 14.47 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001068/0.3595, allocations: 208.1 kB / 0.5648 GB, free: 14.27 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002399/0.3619, allocations: 0.8681 MB / 0.5657 GB, free: 13.38 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001376/0.3633, allocations: 1.121 MB / 0.5668 GB, free: 12.03 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003828/0.3636, allocations: 103.9 kB / 0.5669 GB, free: 11.93 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004533/0.3682, allocations: 2.051 MB / 0.5689 GB, free: 9.82 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.218e-05/0.3682, allocations: 4 kB / 0.5689 GB, free: 9.816 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001314/0.3683, allocations: 32 kB / 0.5689 GB, free: 9.785 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003201/0.3687, allocations: 105.9 kB / 0.569 GB, free: 9.684 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0052/0.3739, allocations: 2.252 MB / 0.5712 GB, free: 7.426 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01106/0.3849, allocations: 5.687 MB / 0.5767 GB, free: 1.609 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004102/0.389, allocations: 1.513 MB / 0.5782 GB, free: 76 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002559/0.3916, allocations: 1.047 MB / 0.5792 GB, free: 15.02 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001007/0.3917, allocations: 14 kB / 0.5793 GB, free: 15.01 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002897/0.3946, allocations: 1.312 MB / 0.5805 GB, free: 13.68 MB / 430.1 MB Notification: Performance of pre-optimization done (n=116): time 3.717e-06/0.3946, allocations: 0 / 0.5805 GB, free: 13.68 MB / 430.1 MB Notification: Performance of matching and sorting (n=118): time 0.02641/0.421, allocations: 8.368 MB / 0.5887 GB, free: 5.273 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001221/0.4211, allocations: 102.1 kB / 0.5888 GB, free: 5.152 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000812/0.4219, allocations: 0.5184 MB / 0.5893 GB, free: 4.625 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003009/0.4222, allocations: 53.69 kB / 0.5894 GB, free: 4.566 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004194/0.4226, allocations: 413.2 kB / 0.5898 GB, free: 4.156 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005763/0.4232, allocations: 412.5 kB / 0.5902 GB, free: 3.75 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005117/0.4237, allocations: 226.8 kB / 0.5904 GB, free: 3.52 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002129/0.4239, allocations: 390.8 kB / 0.5907 GB, free: 3.129 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001999/0.4259, allocations: 0.9862 MB / 0.5917 GB, free: 2.145 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002135/0.4281, allocations: 1.162 MB / 0.5928 GB, free: 0.9258 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.01226/0.4403, allocations: 5.018 MB / 0.5977 GB, free: 11.84 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.414e-06/0.4403, allocations: 0 / 0.5977 GB, free: 11.84 MB / 446.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.01258/0.4529, allocations: 4.344 MB / 0.602 GB, free: 7.473 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001165/0.453, allocations: 64.86 kB / 0.602 GB, free: 7.406 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.002455/0.4555, allocations: 1.054 MB / 0.6031 GB, free: 6.34 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.8417159570381045] Failed to read output from testmodel.py, exit status != 0: 0.4647478212136775 0.480541975 0.124128391 Calling exit ...