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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) 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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001363/0.001363, allocations: 114.2 kB / 17.75 MB, free: 5.352 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001474/0.001474, allocations: 185.4 kB / 18.68 MB, free: 4.426 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.308/1.308, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1721/0.1721, allocations: 38.04 MB / 330.6 MB, free: 8.758 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001413/0.001413, allocations: 67.89 kB / 458.8 MB, free: 6.852 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2938/0.2952, allocations: 58.06 MB / 0.5048 GB, free: 7.801 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.DoubleRXline): time 0.009463/0.3047, allocations: 10.18 MB / 0.5147 GB, free: 0.6562 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006738/0.3115, allocations: 3.716 MB / 0.5184 GB, free: 14.04 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001194/0.3127, allocations: 35.44 kB / 0.5184 GB, free: 14.03 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003325/0.316, allocations: 1.206 MB / 0.5196 GB, free: 13.31 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003489/0.3195, allocations: 1.153 MB / 0.5207 GB, free: 12.72 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002345/0.3219, allocations: 0.7254 MB / 0.5214 GB, free: 12.38 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003908/0.3258, allocations: 2.429 MB / 0.5238 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001816/0.3277, allocations: 1.044 MB / 0.5248 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0023/0.33, allocations: 1.068 MB / 0.5258 GB, free: 10.42 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002503/0.3325, allocations: 1.378 MB / 0.5272 GB, free: 9.922 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006607/0.3332, allocations: 165.5 kB / 0.5273 GB, free: 9.922 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002073/0.3353, allocations: 0.7026 MB / 0.528 GB, free: 9.77 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001535/0.3368, allocations: 0.9698 MB / 0.529 GB, free: 9.441 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002368/0.3392, allocations: 1.007 MB / 0.53 GB, free: 8.836 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004004/0.3432, allocations: 2.607 MB / 0.5325 GB, free: 7.156 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.3432, allocations: 0 / 0.5325 GB, free: 7.156 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.3432, allocations: 9.031 kB / 0.5325 GB, free: 7.148 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001017/0.3433, allocations: 0 / 0.5325 GB, free: 7.148 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: 448 * Number of variables: 448 Notification: Performance of Generate backend data structure: time 0.005661/0.349, allocations: 2.362 MB / 0.5348 GB, free: 5.434 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.827e-05/0.3491, allocations: 13.11 kB / 0.5348 GB, free: 5.43 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001966/0.351, allocations: 354.7 kB / 0.5352 GB, free: 5.25 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002313/0.3534, allocations: 1.135 MB / 0.5363 GB, free: 4.445 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001121/0.3535, allocations: 132.3 kB / 0.5364 GB, free: 4.379 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004972/0.354, allocations: 195.1 kB / 0.5366 GB, free: 4.309 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003972/0.358, allocations: 2.467 MB / 0.539 GB, free: 2.77 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.71e-05/0.358, allocations: 15.44 kB / 0.539 GB, free: 2.758 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001821/0.3582, allocations: 61.52 kB / 0.5391 GB, free: 2.715 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004664/0.3587, allocations: 166 kB / 0.5392 GB, free: 2.664 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00348/0.3622, allocations: 2.17 MB / 0.5413 GB, free: 1.648 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01177/0.374, allocations: 9.207 MB / 0.5503 GB, free: 9.328 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002571/0.3766, allocations: 2.134 MB / 0.5524 GB, free: 7.066 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001633/0.3782, allocations: 1.173 MB / 0.5536 GB, free: 5.891 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001095/0.3783, allocations: 33.3 kB / 0.5536 GB, free: 5.855 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001895/0.3802, allocations: 1.408 MB / 0.555 GB, free: 4.414 MB / 414.1 MB Notification: Performance of pre-optimization done (n=205): time 4.738e-05/0.3803, allocations: 3.984 kB / 0.555 GB, free: 4.41 MB / 414.1 MB Notification: Performance of matching and sorting (n=213): time 0.01129/0.3916, allocations: 6.943 MB / 0.5618 GB, free: 13.36 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001376/0.3917, allocations: 277.2 kB / 0.562 GB, free: 13.04 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001153/0.3929, allocations: 0.9354 MB / 0.5629 GB, free: 12.08 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001266/0.393, allocations: 69.69 kB / 0.563 GB, free: 12.01 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005803/0.3936, allocations: 0.7475 MB / 0.5637 GB, free: 11.25 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000564/0.3942, allocations: 0.6936 MB / 0.5644 GB, free: 10.55 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006016/0.3948, allocations: 404.8 kB / 0.5648 GB, free: 10.15 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.92e-05/0.3949, allocations: 309.1 kB / 0.5651 GB, free: 9.844 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001494/0.3964, allocations: 0.969 MB / 0.566 GB, free: 8.871 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001822/0.3982, allocations: 1.52 MB / 0.5675 GB, free: 7.125 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.01284/0.4111, allocations: 6.23 MB / 0.5736 GB, free: 0.6445 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.56e-05/0.4111, allocations: 4 kB / 0.5736 GB, free: 0.6406 MB / 430.1 MB Notification: Performance of matching and sorting (n=317) (initialization): time 0.007926/0.4191, allocations: 4.113 MB / 0.5776 GB, free: 12.5 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.724e-05/0.4191, allocations: 71.62 kB / 0.5777 GB, free: 12.42 MB / 446.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.001528/0.4207, allocations: 0.9872 MB / 0.5787 GB, free: 11.43 MB / 446.1 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated Error: Internal error SimCode DAEmode: The model PowerSystems.Examples.AC3ph.Transmission.DoubleRXline could not be translated