Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.DoubleRXlineTG.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.00175/0.00175, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002188/0.002188, allocations: 218.1 kB / 23.73 MB, free: 4.16 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.605/1.605, allocations: 230.6 MB / 257.5 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] 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.1823/0.1823, allocations: 38.54 MB / 352.5 MB, free: 12.31 MB / 286.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.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.Transmission.DoubleRXlineTG,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|abc.i_abc.1.|abc.i_abc.2.|abc.i_abc.3.|meterF.i.1.|meterF.i.2.|meterF.i.3.|meterF.p.1.|meterF.p.2.|meterF.p.3.|meterF.v.1.|meterF.v.2.|meterF.v.3.|meterL.i.1.|meterL.i.2.|meterL.i.3.|meterL.p.1.|meterL.p.2.|meterL.p.3.|meterL.v.1.|meterL.v.2.|meterL.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.DoubleRXlineTG") translateModel(PowerSystems.Examples.AC3ph.Transmission.DoubleRXlineTG,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|abc.i_abc.1.|abc.i_abc.2.|abc.i_abc.3.|meterF.i.1.|meterF.i.2.|meterF.i.3.|meterF.p.1.|meterF.p.2.|meterF.p.3.|meterF.v.1.|meterF.v.2.|meterF.v.3.|meterL.i.1.|meterL.i.2.|meterL.i.3.|meterL.p.1.|meterL.p.2.|meterL.p.3.|meterL.v.1.|meterL.v.2.|meterL.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.DoubleRXlineTG") [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.002138/0.002138, allocations: 63.89 kB / 493 MB, free: 4.184 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3512/0.3533, allocations: 62.47 MB / 0.5424 GB, free: 412 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.DoubleRXlineTG): time 0.01612/0.3695, allocations: 12.35 MB / 0.5545 GB, free: 7.043 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01533/0.3848, allocations: 7.298 MB / 0.5616 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002093/0.3869, allocations: 71.44 kB / 0.5617 GB, free: 432 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.1726/0.5595, allocations: 102.6 MB / 0.6618 GB, free: 9.723 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.004494/0.564, allocations: 1.498 MB / 0.6633 GB, free: 8.219 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003136/0.5671, allocations: 1.076 MB / 0.6644 GB, free: 7.145 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.02582/0.5929, allocations: 15.92 MB / 0.6799 GB, free: 7.195 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00282/0.5958, allocations: 1.247 MB / 0.6811 GB, free: 5.895 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0437/0.6395, allocations: 26.37 MB / 0.7069 GB, free: 11.48 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003787/0.6432, allocations: 1.966 MB / 0.7088 GB, free: 9.508 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.001199/0.6444, allocations: 244 kB / 0.709 GB, free: 9.27 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003795/0.6482, allocations: 1.049 MB / 0.7101 GB, free: 8.219 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.002972/0.6512, allocations: 1.383 MB / 0.7114 GB, free: 6.832 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.003414/0.6546, allocations: 1.175 MB / 0.7126 GB, free: 5.652 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.008119/0.6627, allocations: 4.036 MB / 0.7165 GB, free: 1.602 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 8.145e-06/0.6627, allocations: 4 kB / 0.7165 GB, free: 1.598 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.613e-06/0.6627, allocations: 3.938 kB / 0.7165 GB, free: 1.594 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0001321/0.6629, allocations: 0 / 0.7165 GB, free: 1.594 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 574 * Number of variables: 574 Notification: Performance of Generate backend data structure: time 0.01129/0.6742, allocations: 3.184 MB / 0.7196 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.617e-05/0.6742, allocations: 11.98 kB / 0.7196 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004195/0.6784, allocations: 0.5338 MB / 0.7201 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004788/0.6832, allocations: 1.753 MB / 0.7219 GB, free: 11.99 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001697/0.6834, allocations: 159.9 kB / 0.722 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006201/0.684, allocations: 263.8 kB / 0.7223 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005669/0.6897, allocations: 3.296 MB / 0.7255 GB, free: 8.098 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.743e-05/0.6897, allocations: 19.88 kB / 0.7255 GB, free: 8.078 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002361/0.69, allocations: 87.92 kB / 0.7256 GB, free: 7.992 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006769/0.6906, allocations: 215.7 kB / 0.7258 GB, free: 7.781 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005044/0.6957, allocations: 2.903 MB / 0.7286 GB, free: 4.859 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2946/0.9903, allocations: 10.34 MB / 0.7387 GB, free: 177.3 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003509/0.9938, allocations: 2.069 MB / 0.7407 GB, free: 176.5 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002295/0.9961, allocations: 1.472 MB / 0.7422 GB, free: 175.9 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001045/0.9962, allocations: 24.33 kB / 0.7422 GB, free: 175.9 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002435/0.9986, allocations: 1.778 MB / 0.7439 GB, free: 175.1 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=247): time 5.38e-06/0.9986, allocations: 0 / 0.7439 GB, free: 175.1 MB / 0.5606 GB Notification: Performance of matching and sorting (n=275): time 0.02356/1.022, allocations: 13.74 MB / 0.7574 GB, free: 166.3 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000122/1.022, allocations: 413.8 kB / 0.7578 GB, free: 165.8 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001466/1.024, allocations: 1.398 MB / 0.7591 GB, free: 164.4 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001695/1.024, allocations: 77.7 kB / 0.7592 GB, free: 164.3 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005885/1.025, allocations: 1.049 MB / 0.7602 GB, free: 163.4 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005727/1.025, allocations: 0.918 MB / 0.7611 GB, free: 162.6 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005876/1.026, allocations: 0.5104 MB / 0.7616 GB, free: 162.1 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.025e-05/1.026, allocations: 301.1 kB / 0.7619 GB, free: 161.8 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001661/1.027, allocations: 1.381 MB / 0.7632 GB, free: 160.4 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001945/1.029, allocations: 2.087 MB / 0.7653 GB, free: 158 MB / 0.5606 GB 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.01362/1.043, allocations: 7.131 MB / 0.7722 GB, free: 150.5 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-05/1.043, allocations: 8 kB / 0.7723 GB, free: 150.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=396) (initialization): time 0.008943/1.052, allocations: 5.219 MB / 0.7774 GB, free: 145.2 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.838e-05/1.052, allocations: 71.39 kB / 0.7774 GB, free: 145.2 MB / 0.5606 GB 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.001817/1.054, allocations: 1.323 MB / 0.7787 GB, free: 143.8 MB / 0.5606 GB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated " [Timeout remaining time 659] [Calling sys.exit(0), Time elapsed: 3.8731252644211054] Failed to read output from testmodel.py, exit status != 0: 1.062562732025981 1.071879874 0.406538621 Calling exit ...