Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.DoubleRXline.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Transmission.DoubleRXline,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,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.DoubleRXline") translateModel(PowerSystems.Examples.AC3ph.Transmission.DoubleRXline,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,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.DoubleRXline") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00099/0.00099, allocations: 176.5 kB / 17.39 MB, free: 4.184 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.702/1.702, allocations: 205.4 MB / 223.5 MB, free: 9.027 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008974/0.0008975, allocations: 81.55 kB / 271.9 MB, free: 8.254 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2001/0.2001, allocations: 38.09 MB / 358.3 MB, free: 1.723 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003876/0.0003877, allocations: 12 kB / 425.2 MB, free: 37.36 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3055/0.3059, allocations: 56.31 MB / 481.6 MB, free: 9.578 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1638/0.4698, allocations: 117.6 MB / 0.5851 GB, free: 0.6211 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003066/0.4701, allocations: 103.8 kB / 0.5852 GB, free: 0.5234 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1311/0.6012, allocations: 45.16 MB / 0.6293 GB, free: 2.742 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.715e-06/0.6013, allocations: 0 / 0.6293 GB, free: 2.742 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001796/0.6014, allocations: 39.94 kB / 0.6294 GB, free: 2.703 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 448 * Number of variables: 448 Notification: Performance of Generate backend data structure: time 0.007365/0.6088, allocations: 2.051 MB / 0.6314 GB, free: 0.5586 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.75e-05/0.6089, allocations: 12.03 kB / 0.6314 GB, free: 0.5469 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003271/0.6122, allocations: 398.2 kB / 0.6317 GB, free: 160 kB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005486/0.6177, allocations: 1.625 MB / 0.6333 GB, free: 14.48 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001941/0.6179, allocations: 119.3 kB / 0.6334 GB, free: 14.37 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008672/0.6188, allocations: 160.2 kB / 0.6336 GB, free: 14.21 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00604/0.6249, allocations: 2.415 MB / 0.636 GB, free: 11.67 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.726e-05/0.625, allocations: 11.88 kB / 0.636 GB, free: 11.66 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003799/0.6254, allocations: 67.97 kB / 0.636 GB, free: 11.59 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002239/0.6256, allocations: 134.9 kB / 0.6362 GB, free: 11.46 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004827/0.6304, allocations: 2.092 MB / 0.6382 GB, free: 9.359 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.258/0.8885, allocations: 9.07 MB / 0.6471 GB, free: 121.8 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003301/0.8918, allocations: 1.661 MB / 0.6487 GB, free: 121.7 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001929/0.8938, allocations: 1.197 MB / 0.6499 GB, free: 121.7 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.359e-05/0.8939, allocations: 23.02 kB / 0.6499 GB, free: 121.7 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002146/0.8961, allocations: 1.447 MB / 0.6513 GB, free: 121.5 MB / 474.7 MB Notification: Performance of pre-optimization done (n=213): time 3.536e-06/0.8961, allocations: 0 / 0.6513 GB, free: 121.5 MB / 474.7 MB Notification: Performance of matching and sorting (n=221): time 0.01134/0.9074, allocations: 7.04 MB / 0.6582 GB, free: 120.3 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001072/0.9076, allocations: 276.9 kB / 0.6584 GB, free: 120 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001683/0.9093, allocations: 0.8999 MB / 0.6593 GB, free: 119.8 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001952/0.9095, allocations: 73.59 kB / 0.6594 GB, free: 119.8 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008247/0.9103, allocations: 0.7072 MB / 0.6601 GB, free: 119.5 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007514/0.9111, allocations: 0.6832 MB / 0.6607 GB, free: 119.2 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000123/0.9112, allocations: 45.67 kB / 0.6608 GB, free: 119.2 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002916/0.9115, allocations: 406.9 kB / 0.6612 GB, free: 118.9 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002198/0.9137, allocations: 0.9934 MB / 0.6621 GB, free: 118.9 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003099/0.9168, allocations: 1.512 MB / 0.6636 GB, free: 118.3 MB / 474.7 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.02542/0.9423, allocations: 9.911 MB / 0.6733 GB, free: 116.5 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.287e-05/0.9423, allocations: 3.812 kB / 0.6733 GB, free: 116.5 MB / 474.7 MB Notification: Performance of matching and sorting (n=319) (initialization): time 0.007027/0.9493, allocations: 4.127 MB / 0.6773 GB, free: 115.2 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.847e-05/0.9494, allocations: 72.28 kB / 0.6774 GB, free: 115.1 MB / 474.7 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.001376/0.9508, allocations: 1.027 MB / 0.6784 GB, free: 114.7 MB / 474.7 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated