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.00153/0.00153, allocations: 112.2 kB / 21.19 MB, free: 0.7617 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.001761/0.001761, allocations: 209.9 kB / 24.49 MB, free: 4.148 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.423/1.423, allocations: 230.6 MB / 258.3 MB, free: 7.988 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.1861/0.1861, allocations: 38.53 MB / 353.2 MB, free: 12.54 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.00218/0.00218, allocations: 67.91 kB / 493.8 MB, free: 4.367 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3267/0.3289, allocations: 62.47 MB / 0.5432 GB, free: 0.5898 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.DoubleRXlineTG): time 0.01679/0.3456, allocations: 13.63 MB / 0.5565 GB, free: 5.855 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01455/0.3602, allocations: 8.024 MB / 0.5644 GB, free: 14.75 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00196/0.3622, allocations: 67.44 kB / 0.5644 GB, free: 14.68 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.168/0.5301, allocations: 103.7 MB / 0.6657 GB, free: 6.871 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.005022/0.5351, allocations: 1.505 MB / 0.6671 GB, free: 5.359 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003449/0.5386, allocations: 1.057 MB / 0.6682 GB, free: 4.301 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.02724/0.5658, allocations: 16.04 MB / 0.6838 GB, free: 4.238 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003221/0.569, allocations: 1.266 MB / 0.6851 GB, free: 2.918 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.04521/0.6142, allocations: 26.59 MB / 0.711 GB, free: 8.285 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003882/0.6181, allocations: 2.056 MB / 0.7131 GB, free: 6.223 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.001237/0.6194, allocations: 244 kB / 0.7133 GB, free: 5.984 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0035/0.6229, allocations: 1.127 MB / 0.7144 GB, free: 4.855 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.002557/0.6254, allocations: 1.375 MB / 0.7157 GB, free: 3.477 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.003751/0.6292, allocations: 1.427 MB / 0.7171 GB, free: 2.043 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.008105/0.6373, allocations: 4.017 MB / 0.721 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/0.6373, allocations: 0 / 0.721 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.623e-06/0.6373, allocations: 0 / 0.721 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.000155/0.6374, allocations: 0 / 0.721 GB, free: 14.01 MB / 0.5606 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.01037/0.6478, allocations: 3.194 MB / 0.7242 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.872e-05/0.6479, allocations: 11.98 kB / 0.7242 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004398/0.6523, allocations: 0.5182 MB / 0.7247 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006921/0.6592, allocations: 1.765 MB / 0.7264 GB, free: 8.402 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003066/0.6595, allocations: 159.9 kB / 0.7266 GB, free: 8.246 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001343/0.6608, allocations: 251.9 kB / 0.7268 GB, free: 8 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01009/0.6709, allocations: 3.18 MB / 0.7299 GB, free: 4.664 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001375/0.6711, allocations: 11.89 kB / 0.7299 GB, free: 4.652 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007368/0.6718, allocations: 95.89 kB / 0.73 GB, free: 4.559 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001006/0.6728, allocations: 211.8 kB / 0.7302 GB, free: 4.352 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007352/0.6802, allocations: 2.853 MB / 0.733 GB, free: 1.492 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2758/0.956, allocations: 11.41 MB / 0.7441 GB, free: 177.2 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003207/0.9592, allocations: 2.009 MB / 0.7461 GB, free: 176.2 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002168/0.9614, allocations: 1.39 MB / 0.7475 GB, free: 175.6 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001336/0.9615, allocations: 37.38 kB / 0.7475 GB, free: 175.6 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002018/0.9635, allocations: 1.699 MB / 0.7492 GB, free: 174.5 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=247): time 4.358e-06/0.9635, allocations: 0 / 0.7492 GB, free: 174.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=276): time 0.02315/0.9867, allocations: 13.6 MB / 0.7624 GB, free: 162.8 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001299/0.9868, allocations: 417.4 kB / 0.7628 GB, free: 162.3 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001657/0.9885, allocations: 1.476 MB / 0.7643 GB, free: 160.8 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0003471/0.9888, allocations: 85.69 kB / 0.7643 GB, free: 160.7 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006411/0.9894, allocations: 1.026 MB / 0.7654 GB, free: 159.8 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007383/0.9902, allocations: 0.9254 MB / 0.7663 GB, free: 159 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006037/0.9908, allocations: 0.5341 MB / 0.7668 GB, free: 158.5 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.156e-05/0.9908, allocations: 308.7 kB / 0.7671 GB, free: 158.2 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001637/0.9925, allocations: 1.343 MB / 0.7684 GB, free: 156.8 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001885/0.9944, allocations: 2.026 MB / 0.7704 GB, free: 154.5 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.01382/1.008, allocations: 7.236 MB / 0.7774 GB, free: 147 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.067e-05/1.008, allocations: 4 kB / 0.7774 GB, free: 147 MB / 0.5606 GB Notification: Performance of matching and sorting (n=409) (initialization): time 0.008966/1.017, allocations: 5.252 MB / 0.7826 GB, free: 141.7 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.923e-05/1.017, allocations: 70.38 kB / 0.7826 GB, free: 141.6 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.002029/1.019, allocations: 1.357 MB / 0.784 GB, free: 140.2 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.596632736036554] Failed to read output from testmodel.py, exit status != 0: 1.028270861133933 1.036794767 0.39692566100000004 Calling exit ...