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.001535/0.001536, allocations: 108.3 kB / 17.68 MB, free: 5.332 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.00174/0.001741, allocations: 192 kB / 18.62 MB, free: 4.41 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.38/1.38, allocations: 222.9 MB / 242.3 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1805/0.1805, allocations: 38.05 MB / 330.5 MB, free: 8.781 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001214/0.001214, allocations: 66.56 kB / 400.3 MB, free: 33.37 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1108/0.112, allocations: 58.06 MB / 458.3 MB, free: 7.336 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.DoubleRXline): time 0.01085/0.1229, allocations: 10.18 MB / 468.5 MB, free: 13.11 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006199/0.1291, allocations: 3.719 MB / 472.2 MB, free: 9.375 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006071/0.1298, allocations: 35.81 kB / 472.2 MB, free: 9.34 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002727/0.1325, allocations: 1.204 MB / 473.5 MB, free: 8.133 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002301/0.1348, allocations: 1.14 MB / 474.6 MB, free: 6.988 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001494/0.1363, allocations: 0.7212 MB / 475.3 MB, free: 6.266 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00229/0.1387, allocations: 2.429 MB / 477.7 MB, free: 3.828 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001231/0.1399, allocations: 1.036 MB / 478.8 MB, free: 2.77 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001278/0.1412, allocations: 1.051 MB / 479.8 MB, free: 1.715 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001543/0.1427, allocations: 1.382 MB / 481.2 MB, free: 336 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002107/0.143, allocations: 164 kB / 481.4 MB, free: 172 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001178/0.1441, allocations: 0.7139 MB / 482.1 MB, free: 15.45 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008007/0.145, allocations: 0.9626 MB / 483 MB, free: 14.49 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001003/0.146, allocations: 1.007 MB / 484.1 MB, free: 13.48 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002628/0.1486, allocations: 2.594 MB / 486.6 MB, free: 10.88 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.1486, allocations: 0 / 486.6 MB, free: 10.88 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.1486, allocations: 0 / 486.6 MB, free: 10.88 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.292e-05/0.1487, allocations: 0 / 486.6 MB, free: 10.88 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.004919/0.1536, allocations: 2.328 MB / 489 MB, free: 8.465 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.108e-05/0.1537, allocations: 11.89 kB / 489 MB, free: 8.453 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001741/0.1554, allocations: 338.3 kB / 489.3 MB, free: 8.121 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002304/0.1577, allocations: 1.133 MB / 490.5 MB, free: 6.941 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001126/0.1579, allocations: 123.1 kB / 490.6 MB, free: 6.82 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005256/0.1584, allocations: 199.8 kB / 490.8 MB, free: 6.625 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003638/0.162, allocations: 2.461 MB / 493.2 MB, free: 4.035 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.244e-05/0.1621, allocations: 7.938 kB / 493.2 MB, free: 4.027 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001552/0.1623, allocations: 71.97 kB / 493.3 MB, free: 3.957 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005038/0.1628, allocations: 158.9 kB / 493.5 MB, free: 3.801 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00355/0.1663, allocations: 2.166 MB / 495.6 MB, free: 1.629 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01336/0.1797, allocations: 9.191 MB / 0.493 GB, free: 8.113 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002657/0.1824, allocations: 2.132 MB / 0.4951 GB, free: 5.848 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001696/0.1841, allocations: 1.185 MB / 0.4962 GB, free: 4.656 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001085/0.1843, allocations: 21.3 kB / 0.4962 GB, free: 4.633 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001966/0.1862, allocations: 1.411 MB / 0.4976 GB, free: 3.184 MB / 382.1 MB Notification: Performance of pre-optimization done (n=205): time 3.376e-06/0.1863, allocations: 0 / 0.4976 GB, free: 3.184 MB / 382.1 MB Notification: Performance of matching and sorting (n=213): time 0.2181/0.4043, allocations: 6.875 MB / 0.5043 GB, free: 54.89 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001006/0.4045, allocations: 280 kB / 0.5046 GB, free: 54.6 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001182/0.4057, allocations: 0.9255 MB / 0.5055 GB, free: 54.23 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001426/0.4058, allocations: 69.61 kB / 0.5056 GB, free: 54.17 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004892/0.4063, allocations: 0.732 MB / 0.5063 GB, free: 53.61 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004616/0.4068, allocations: 0.6602 MB / 0.5069 GB, free: 53.12 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000541/0.4073, allocations: 414.9 kB / 0.5073 GB, free: 52.93 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.02e-05/0.4074, allocations: 301.8 kB / 0.5076 GB, free: 52.63 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001506/0.4089, allocations: 0.9649 MB / 0.5086 GB, free: 52.31 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001723/0.4106, allocations: 1.521 MB / 0.51 GB, free: 51.35 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.0129/0.4235, allocations: 6.226 MB / 0.5161 GB, free: 48.85 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-05/0.4236, allocations: 8.812 kB / 0.5161 GB, free: 48.85 MB / 382.1 MB Notification: Performance of matching and sorting (n=317) (initialization): time 0.007501/0.4311, allocations: 4.108 MB / 0.5201 GB, free: 47.38 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.584e-05/0.4312, allocations: 63.66 kB / 0.5202 GB, free: 47.32 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.001425/0.4326, allocations: 0.9782 MB / 0.5212 GB, free: 46.93 MB / 382.1 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated