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.001589/0.001589, allocations: 108.1 kB / 16.62 MB, free: 6.93 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.001861/0.001861, allocations: 189.8 kB / 17.55 MB, free: 6.043 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.393/1.393, allocations: 222.9 MB / 241.2 MB, free: 15.37 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1701/0.1701, allocations: 38.04 MB / 329.4 MB, free: 9.027 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001419/0.001419, allocations: 66.69 kB / 398.3 MB, free: 34.44 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1128/0.1142, allocations: 58.07 MB / 456.4 MB, free: 8.426 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.DoubleRXline): time 0.01272/0.127, allocations: 11.59 MB / 467.9 MB, free: 12.78 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007304/0.1343, allocations: 4.132 MB / 472.1 MB, free: 8.637 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001294/0.1357, allocations: 59.62 kB / 472.1 MB, free: 8.578 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003067/0.1388, allocations: 1.146 MB / 473.3 MB, free: 7.43 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002814/0.1416, allocations: 1.059 MB / 474.3 MB, free: 6.367 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002131/0.1438, allocations: 0.663 MB / 475 MB, free: 5.703 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003662/0.1474, allocations: 2.437 MB / 477.4 MB, free: 3.258 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001767/0.1492, allocations: 1.098 MB / 478.5 MB, free: 2.137 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001949/0.1512, allocations: 1.059 MB / 479.6 MB, free: 1.074 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002349/0.1536, allocations: 1.476 MB / 481.1 MB, free: 15.59 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003275/0.1539, allocations: 168 kB / 481.2 MB, free: 15.43 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001362/0.1553, allocations: 0.7411 MB / 482 MB, free: 14.69 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008909/0.1562, allocations: 0.9742 MB / 483 MB, free: 13.71 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001047/0.1572, allocations: 1.007 MB / 484 MB, free: 12.7 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002361/0.1596, allocations: 2.559 MB / 486.5 MB, free: 10.13 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.79e-06/0.1596, allocations: 4 kB / 486.5 MB, free: 10.13 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.1596, allocations: 3.938 kB / 486.5 MB, free: 10.12 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.563e-05/0.1597, allocations: 4 kB / 486.5 MB, free: 10.12 MB / 366.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.003937/0.1636, allocations: 2.321 MB / 488.9 MB, free: 7.715 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.691e-05/0.1637, allocations: 11.89 kB / 488.9 MB, free: 7.703 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001704/0.1654, allocations: 350.2 kB / 489.2 MB, free: 7.359 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001685/0.1671, allocations: 1.083 MB / 490.3 MB, free: 6.23 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001043/0.1672, allocations: 127.1 kB / 490.4 MB, free: 6.105 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004117/0.1676, allocations: 191.8 kB / 490.6 MB, free: 5.918 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003639/0.1712, allocations: 2.457 MB / 493.1 MB, free: 3.332 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.531e-05/0.1713, allocations: 15.94 kB / 493.1 MB, free: 3.316 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001603/0.1715, allocations: 63.97 kB / 493.1 MB, free: 3.254 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005166/0.172, allocations: 162.9 kB / 493.3 MB, free: 3.094 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003336/0.1753, allocations: 2.17 MB / 495.5 MB, free: 0.918 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01268/0.188, allocations: 9.249 MB / 0.4929 GB, free: 7.344 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002745/0.1908, allocations: 2.133 MB / 0.495 GB, free: 5.078 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001698/0.1926, allocations: 1.181 MB / 0.4961 GB, free: 3.895 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001048/0.1927, allocations: 29.36 kB / 0.4962 GB, free: 3.863 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001916/0.1946, allocations: 1.399 MB / 0.4975 GB, free: 2.426 MB / 382.1 MB Notification: Performance of pre-optimization done (n=205): time 3.707e-06/0.1946, allocations: 4 kB / 0.4975 GB, free: 2.422 MB / 382.1 MB Notification: Performance of matching and sorting (n=213): time 0.2331/0.4277, allocations: 6.871 MB / 0.5042 GB, free: 54.8 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001134/0.4279, allocations: 271.8 kB / 0.5045 GB, free: 54.52 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001238/0.4291, allocations: 0.9241 MB / 0.5054 GB, free: 54.15 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001171/0.4293, allocations: 78.12 kB / 0.5055 GB, free: 54.09 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005185/0.4298, allocations: 0.724 MB / 0.5062 GB, free: 53.52 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004409/0.4302, allocations: 0.6691 MB / 0.5068 GB, free: 53.03 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005673/0.4308, allocations: 413.8 kB / 0.5072 GB, free: 52.84 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.158e-05/0.4309, allocations: 301.7 kB / 0.5075 GB, free: 52.55 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001453/0.4323, allocations: 0.9719 MB / 0.5085 GB, free: 52.23 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001719/0.434, allocations: 1.516 MB / 0.5099 GB, free: 51.27 MB / 382.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.01294/0.447, allocations: 6.244 MB / 0.516 GB, free: 48.75 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.937e-05/0.447, allocations: 8.219 kB / 0.516 GB, free: 48.75 MB / 382.1 MB Notification: Performance of matching and sorting (n=317) (initialization): time 0.00774/0.4548, allocations: 4.111 MB / 0.5201 GB, free: 47.26 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.432e-05/0.4549, allocations: 64.16 kB / 0.5201 GB, free: 47.2 MB / 382.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.001476/0.4564, allocations: 0.9982 MB / 0.5211 GB, free: 46.79 MB / 382.1 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated