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.001952/0.001952, allocations: 99.66 kB / 21.18 MB, free: 0.5273 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.002558/0.002558, allocations: 213.2 kB / 24.48 MB, free: 3.84 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.518/1.518, allocations: 230.6 MB / 258.2 MB, free: 7.805 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.1869/0.1869, allocations: 38.55 MB / 353.2 MB, free: 12.32 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.002177/0.002177, allocations: 71.89 kB / 493.7 MB, free: 4.195 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3277/0.3299, allocations: 62.47 MB / 0.5432 GB, free: 424 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.DoubleRXlineTG): time 0.01594/0.3459, allocations: 12.36 MB / 0.5552 GB, free: 7.047 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01463/0.3605, allocations: 7.3 MB / 0.5624 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002031/0.3625, allocations: 63.44 kB / 0.5624 GB, free: 468 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.1609/0.5234, allocations: 102.6 MB / 0.6626 GB, free: 9.75 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.004795/0.5282, allocations: 1.505 MB / 0.664 GB, free: 8.238 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003197/0.5314, allocations: 1.068 MB / 0.6651 GB, free: 7.168 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.02494/0.5563, allocations: 15.92 MB / 0.6806 GB, free: 7.219 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003122/0.5595, allocations: 1.247 MB / 0.6819 GB, free: 5.918 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.04419/0.6036, allocations: 26.38 MB / 0.7076 GB, free: 11.5 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004/0.6076, allocations: 1.958 MB / 0.7095 GB, free: 9.531 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0007583/0.6084, allocations: 244 kB / 0.7098 GB, free: 9.293 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002623/0.611, allocations: 1.053 MB / 0.7108 GB, free: 8.238 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.001781/0.6128, allocations: 1.371 MB / 0.7121 GB, free: 6.863 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.002087/0.6149, allocations: 1.174 MB / 0.7133 GB, free: 5.684 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.006472/0.6214, allocations: 4.04 MB / 0.7172 GB, free: 1.629 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.6214, allocations: 0 / 0.7172 GB, free: 1.629 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.564e-06/0.6214, allocations: 0 / 0.7172 GB, free: 1.629 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0001232/0.6215, allocations: 0 / 0.7172 GB, free: 1.629 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.008417/0.6299, allocations: 3.192 MB / 0.7203 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.766e-05/0.63, allocations: 15.98 kB / 0.7204 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002921/0.6329, allocations: 0.526 MB / 0.7209 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005464/0.6383, allocations: 1.757 MB / 0.7226 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002047/0.6385, allocations: 159.9 kB / 0.7227 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009567/0.6395, allocations: 255.8 kB / 0.723 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00611/0.6456, allocations: 3.3 MB / 0.7262 GB, free: 8.129 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.009e-05/0.6457, allocations: 11.94 kB / 0.7262 GB, free: 8.117 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002338/0.6459, allocations: 91.91 kB / 0.7263 GB, free: 8.027 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006533/0.6466, allocations: 219.7 kB / 0.7265 GB, free: 7.812 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005123/0.6517, allocations: 2.907 MB / 0.7294 GB, free: 4.887 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2812/0.9328, allocations: 10.34 MB / 0.7395 GB, free: 177.8 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003197/0.936, allocations: 2.068 MB / 0.7415 GB, free: 177 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002185/0.9382, allocations: 1.47 MB / 0.7429 GB, free: 176.4 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001155/0.9383, allocations: 30.3 kB / 0.7429 GB, free: 176.4 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002356/0.9407, allocations: 1.777 MB / 0.7447 GB, free: 175.6 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=247): time 5.13e-06/0.9407, allocations: 0 / 0.7447 GB, free: 175.6 MB / 0.5606 GB Notification: Performance of matching and sorting (n=275): time 0.02348/0.9642, allocations: 13.74 MB / 0.7581 GB, free: 167 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001153/0.9643, allocations: 413.1 kB / 0.7585 GB, free: 166.5 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001464/0.9657, allocations: 1.402 MB / 0.7599 GB, free: 165.1 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0002305/0.966, allocations: 85.61 kB / 0.7599 GB, free: 165 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005589/0.9665, allocations: 1.042 MB / 0.761 GB, free: 163.9 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005271/0.9671, allocations: 0.9159 MB / 0.7618 GB, free: 163.1 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005916/0.9677, allocations: 0.5102 MB / 0.7623 GB, free: 162.5 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 3.531e-05/0.9677, allocations: 305.1 kB / 0.7626 GB, free: 162.2 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001686/0.9694, allocations: 1.377 MB / 0.764 GB, free: 160.8 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001934/0.9713, allocations: 2.088 MB / 0.766 GB, free: 158.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.01363/0.9849, allocations: 7.141 MB / 0.773 GB, free: 151 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.616e-05/0.985, allocations: 4 kB / 0.773 GB, free: 151 MB / 0.5606 GB Notification: Performance of matching and sorting (n=396) (initialization): time 0.008875/0.9938, allocations: 5.218 MB / 0.7781 GB, free: 145.7 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.467e-05/0.9939, allocations: 70.59 kB / 0.7782 GB, free: 145.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.001842/0.9957, allocations: 1.33 MB / 0.7795 GB, free: 144.3 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.6753224171698093] Failed to read output from testmodel.py, exit status != 0: 1.0045279231853783 1.013161319 0.38919147699999995 Calling exit ...