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.001388/0.001388, allocations: 103.3 kB / 17.59 MB, free: 5.562 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.001351/0.001351, allocations: 191.6 kB / 18.52 MB, free: 4.641 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.317/1.317, allocations: 222.9 MB / 242.2 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1729/0.1729, allocations: 38.03 MB / 330.4 MB, free: 8.855 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001363/0.001363, allocations: 68.95 kB / 399.5 MB, free: 34.08 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09144/0.09282, allocations: 58.07 MB / 457.5 MB, free: 8.066 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.DoubleRXline): time 0.01141/0.1043, allocations: 10.18 MB / 467.7 MB, free: 13.84 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006388/0.1107, allocations: 3.715 MB / 471.4 MB, free: 10.12 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009619/0.1117, allocations: 35.81 kB / 471.5 MB, free: 10.08 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003071/0.1148, allocations: 1.2 MB / 472.7 MB, free: 8.879 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002712/0.1175, allocations: 1.147 MB / 473.8 MB, free: 7.727 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001732/0.1193, allocations: 0.7173 MB / 474.5 MB, free: 7.008 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002681/0.122, allocations: 2.429 MB / 477 MB, free: 4.57 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001529/0.1235, allocations: 1.051 MB / 478 MB, free: 3.496 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001697/0.1252, allocations: 1.047 MB / 479.1 MB, free: 2.445 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00218/0.1274, allocations: 1.379 MB / 480.4 MB, free: 1.062 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005082/0.1279, allocations: 164 kB / 480.6 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001652/0.1296, allocations: 0.7372 MB / 481.3 MB, free: 168 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001188/0.1308, allocations: 0.9704 MB / 482.3 MB, free: 15.19 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001605/0.1324, allocations: 1.011 MB / 483.3 MB, free: 14.18 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002841/0.1353, allocations: 2.555 MB / 485.9 MB, free: 11.61 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.1353, allocations: 0 / 485.9 MB, free: 11.61 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.146e-06/0.1353, allocations: 4 kB / 485.9 MB, free: 11.61 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.64e-05/0.1354, allocations: 0 / 485.9 MB, free: 11.61 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.005003/0.1404, allocations: 2.314 MB / 488.2 MB, free: 9.211 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.098e-05/0.1404, allocations: 11.89 kB / 488.2 MB, free: 9.199 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001988/0.1424, allocations: 346.2 kB / 488.5 MB, free: 8.859 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002046/0.1445, allocations: 1.075 MB / 489.6 MB, free: 7.738 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001103/0.1446, allocations: 127.1 kB / 489.7 MB, free: 7.613 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004742/0.1451, allocations: 199.8 kB / 489.9 MB, free: 7.418 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003795/0.1489, allocations: 2.461 MB / 492.4 MB, free: 4.828 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.256e-05/0.149, allocations: 7.938 kB / 492.4 MB, free: 4.82 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000174/0.1492, allocations: 67.97 kB / 492.5 MB, free: 4.754 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005035/0.1497, allocations: 154.9 kB / 492.6 MB, free: 4.602 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003582/0.1533, allocations: 2.174 MB / 494.8 MB, free: 2.422 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01279/0.1661, allocations: 9.253 MB / 0.4922 GB, free: 8.844 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002622/0.1687, allocations: 2.129 MB / 0.4943 GB, free: 6.582 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001657/0.1704, allocations: 1.181 MB / 0.4955 GB, free: 5.395 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.903e-05/0.1705, allocations: 21.36 kB / 0.4955 GB, free: 5.371 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001901/0.1724, allocations: 1.407 MB / 0.4969 GB, free: 3.926 MB / 382.1 MB Notification: Performance of pre-optimization done (n=205): time 4.128e-06/0.1725, allocations: 0 / 0.4969 GB, free: 3.926 MB / 382.1 MB Notification: Performance of matching and sorting (n=213): time 0.1982/0.3706, allocations: 6.873 MB / 0.5036 GB, free: 55.04 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001184/0.3708, allocations: 278.8 kB / 0.5038 GB, free: 54.76 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001329/0.3721, allocations: 0.9302 MB / 0.5048 GB, free: 54.39 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001726/0.3723, allocations: 70.3 kB / 0.5048 GB, free: 54.33 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004929/0.3728, allocations: 0.7281 MB / 0.5055 GB, free: 53.77 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005502/0.3734, allocations: 0.6602 MB / 0.5062 GB, free: 53.27 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006021/0.374, allocations: 409.4 kB / 0.5066 GB, free: 53.09 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.05e-05/0.374, allocations: 304.5 kB / 0.5069 GB, free: 52.79 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001497/0.3755, allocations: 0.9697 MB / 0.5078 GB, free: 52.47 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001934/0.3775, allocations: 1.517 MB / 0.5093 GB, free: 51.52 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.01362/0.3911, allocations: 6.247 MB / 0.5154 GB, free: 49 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.283e-05/0.3911, allocations: 4 kB / 0.5154 GB, free: 49 MB / 382.1 MB Notification: Performance of matching and sorting (n=317) (initialization): time 0.007715/0.3989, allocations: 4.123 MB / 0.5194 GB, free: 47.51 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.761e-05/0.399, allocations: 64.03 kB / 0.5195 GB, free: 47.45 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.001376/0.4003, allocations: 0.9972 MB / 0.5205 GB, free: 47.04 MB / 382.1 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated