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.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001598/0.001598, allocations: 103.2 kB / 19.61 MB, free: 2.461 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001467/0.001467, allocations: 197.6 kB / 22.75 MB, free: 5.719 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.384/1.384, allocations: 225.6 MB / 251.4 MB, free: 13.42 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1864/0.1864, allocations: 38.53 MB / 345 MB, free: 2.676 MB / 270.1 MB [Timeout remaining time 90] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/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="mat",numberOfIntervals=1000,variableFilter="Time|meterAC.i.1.|meterAC.i.2.|meterAC.i.3.|meterAC.p.1.|meterAC.p.2.|meterAC.p.3.|meterAC.v.1.|meterAC.v.2.|meterAC.v.3.|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.1.|meterAC.i.2.|meterAC.i.3.|meterAC.p.1.|meterAC.p.2.|meterAC.p.3.|meterAC.v.1.|meterAC.v.2.|meterAC.v.3.|meterDC.i|meterDC.p|meterDC.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.InverterToGrid") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.002085/0.002085, allocations: 63.89 kB / 482.4 MB, free: 12.25 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3325/0.3345, allocations: 61.24 MB / 0.5309 GB, free: 5.48 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.InverterToGrid): time 0.007955/0.3425, allocations: 7.105 MB / 0.5379 GB, free: 0.4922 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004984/0.3475, allocations: 2.39 MB / 0.5402 GB, free: 14.59 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007448/0.3482, allocations: 30.53 kB / 0.5402 GB, free: 14.57 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001655/0.3499, allocations: 0.5252 MB / 0.5408 GB, free: 14.16 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001614/0.3515, allocations: 0.612 MB / 0.5414 GB, free: 13.68 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00135/0.3528, allocations: 0.5035 MB / 0.5419 GB, free: 13.29 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002509/0.3554, allocations: 1.988 MB / 0.5438 GB, free: 12.13 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001363/0.3567, allocations: 0.7669 MB / 0.5445 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001485/0.3582, allocations: 0.806 MB / 0.5453 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001558/0.3598, allocations: 0.9998 MB / 0.5463 GB, free: 10.59 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002833/0.36, allocations: 159 kB / 0.5465 GB, free: 10.59 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001479/0.3615, allocations: 0.6847 MB / 0.5471 GB, free: 10.3 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007935/0.3623, allocations: 0.6537 MB / 0.5478 GB, free: 9.859 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009077/0.3632, allocations: 0.6775 MB / 0.5484 GB, free: 9.379 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002797/0.366, allocations: 2.077 MB / 0.5505 GB, free: 7.949 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.366, allocations: 7.938 kB / 0.5505 GB, free: 7.941 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.366, allocations: 0 / 0.5505 GB, free: 7.941 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.481e-05/0.3661, allocations: 0.9375 kB / 0.5505 GB, free: 7.941 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.004833/0.3709, allocations: 1.901 MB / 0.5523 GB, free: 6.594 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.861e-05/0.3709, allocations: 13.11 kB / 0.5523 GB, free: 6.59 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009605/0.3719, allocations: 188.4 kB / 0.5525 GB, free: 6.5 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002114/0.374, allocations: 0.9352 MB / 0.5534 GB, free: 5.543 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006704/0.3747, allocations: 0.5028 MB / 0.5539 GB, free: 4.965 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003003/0.375, allocations: 107.9 kB / 0.554 GB, free: 4.859 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004505/0.3795, allocations: 2.047 MB / 0.556 GB, free: 2.754 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.569e-05/0.3795, allocations: 11.89 kB / 0.556 GB, free: 2.742 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001404/0.3797, allocations: 36 kB / 0.5561 GB, free: 2.707 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002424/0.3799, allocations: 93.94 kB / 0.5562 GB, free: 2.617 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005236/0.3851, allocations: 2.248 MB / 0.5583 GB, free: 376 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01118/0.3963, allocations: 5.747 MB / 0.564 GB, free: 10.48 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004198/0.4005, allocations: 1.522 MB / 0.5654 GB, free: 8.945 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0027/0.4032, allocations: 1.047 MB / 0.5665 GB, free: 7.887 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001028/0.4033, allocations: 17.06 kB / 0.5665 GB, free: 7.871 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003072/0.4064, allocations: 1.316 MB / 0.5678 GB, free: 6.539 MB / 414.1 MB Notification: Performance of pre-optimization done (n=116): time 3.977e-06/0.4064, allocations: 0 / 0.5678 GB, free: 6.539 MB / 414.1 MB Notification: Performance of matching and sorting (n=118): time 0.02844/0.4348, allocations: 8.594 MB / 0.5762 GB, free: 13.85 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001139/0.4349, allocations: 106.1 kB / 0.5763 GB, free: 13.73 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008635/0.4358, allocations: 0.5183 MB / 0.5768 GB, free: 13.2 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.00036/0.4362, allocations: 57.69 kB / 0.5768 GB, free: 13.14 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004523/0.4366, allocations: 417.2 kB / 0.5772 GB, free: 12.72 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006569/0.4373, allocations: 404.6 kB / 0.5776 GB, free: 12.32 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006853/0.438, allocations: 218.9 kB / 0.5778 GB, free: 12.1 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002556/0.4382, allocations: 394.8 kB / 0.5782 GB, free: 11.71 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002158/0.4404, allocations: 0.9745 MB / 0.5791 GB, free: 10.73 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002289/0.4427, allocations: 1.158 MB / 0.5803 GB, free: 9.52 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.0177/0.4604, allocations: 5.018 MB / 0.5852 GB, free: 4.426 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.221e-05/0.4604, allocations: 0 / 0.5852 GB, free: 4.426 MB / 430.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.02066/0.481, allocations: 4.34 MB / 0.5894 GB, free: 68 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000167/0.4812, allocations: 61.67 kB / 0.5895 GB, free: 0 / 430.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.004021/0.4852, allocations: 1.054 MB / 0.5905 GB, free: 14.94 MB / 446.1 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated [Timeout remaining time 660]