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.0007345/0.0007345, allocations: 89.81 kB / 16.31 MB, free: 6.461 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.0008304/0.0008305, allocations: 177.6 kB / 17.21 MB, free: 6.336 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.238/1.238, allocations: 223.3 MB / 241.2 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.2617/0.2617, allocations: 38.07 MB / 330.4 MB, free: 14.21 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002651/0.0002651, allocations: 8 kB / 400.1 MB, free: 9.297 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.236/0.2363, allocations: 59.17 MB / 459.2 MB, free: 29.94 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.DoubleRXline): time 0.007965/0.2443, allocations: 10.4 MB / 469.6 MB, free: 22.57 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006101/0.2504, allocations: 3.932 MB / 473.6 MB, free: 19.79 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007771/0.2512, allocations: 56.91 kB / 473.6 MB, free: 19.77 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007514/0.252, allocations: 349.4 kB / 474 MB, free: 19.59 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002053/0.254, allocations: 1.109 MB / 475.1 MB, free: 19.05 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001501/0.2556, allocations: 0.6433 MB / 475.7 MB, free: 18.77 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002749/0.2583, allocations: 2.951 MB / 478.7 MB, free: 17.45 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001752/0.2601, allocations: 1.387 MB / 480.1 MB, free: 16.54 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001103/0.2612, allocations: 0.8523 MB / 480.9 MB, free: 16.09 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001435/0.2626, allocations: 1.361 MB / 482.3 MB, free: 15.4 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001734/0.2628, allocations: 79.19 kB / 482.3 MB, free: 15.4 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00112/0.264, allocations: 0.6008 MB / 482.9 MB, free: 15.12 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006549/0.2646, allocations: 0.8865 MB / 483.8 MB, free: 14.6 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003093/0.2649, allocations: 357.2 kB / 484.2 MB, free: 14.41 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00125/0.2662, allocations: 1.926 MB / 486.1 MB, free: 12.97 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.2662, allocations: 0 / 486.1 MB, free: 12.97 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.2662, allocations: 0 / 486.1 MB, free: 12.97 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.701e-05/0.2662, allocations: 0 / 486.1 MB, free: 12.97 MB / 350.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.002634/0.2689, allocations: 2.01 MB / 488.1 MB, free: 10.88 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.964e-05/0.2689, allocations: 8.031 kB / 488.1 MB, free: 10.87 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001361/0.2703, allocations: 333.3 kB / 488.4 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001268/0.2716, allocations: 1.063 MB / 489.5 MB, free: 9.434 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.528e-05/0.2716, allocations: 115 kB / 489.6 MB, free: 9.32 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003132/0.272, allocations: 199.8 kB / 489.8 MB, free: 9.125 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002606/0.2746, allocations: 2.46 MB / 492.3 MB, free: 6.539 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.57e-05/0.2746, allocations: 11.94 kB / 492.3 MB, free: 6.527 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001351/0.2748, allocations: 67.97 kB / 492.4 MB, free: 6.461 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003644/0.2751, allocations: 158.9 kB / 492.5 MB, free: 6.305 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002501/0.2776, allocations: 2.166 MB / 494.7 MB, free: 4.133 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009447/0.2871, allocations: 9.269 MB / 0.4921 GB, free: 10.54 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002396/0.2895, allocations: 2.13 MB / 0.4942 GB, free: 8.277 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001524/0.291, allocations: 1.181 MB / 0.4954 GB, free: 7.094 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.76e-05/0.2911, allocations: 17.31 kB / 0.4954 GB, free: 7.078 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001776/0.2929, allocations: 1.426 MB / 0.4968 GB, free: 5.613 MB / 366.1 MB Notification: Performance of pre-optimization done (n=205): time 3.166e-06/0.2929, allocations: 0 / 0.4968 GB, free: 5.613 MB / 366.1 MB Notification: Performance of matching and sorting (n=213): time 0.009773/0.3027, allocations: 6.886 MB / 0.5035 GB, free: 14.62 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001335/0.3029, allocations: 285.3 kB / 0.5038 GB, free: 14.29 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001014/0.3039, allocations: 0.9196 MB / 0.5047 GB, free: 13.34 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001112/0.304, allocations: 73.69 kB / 0.5047 GB, free: 13.27 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005023/0.3045, allocations: 0.7336 MB / 0.5055 GB, free: 12.52 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004894/0.305, allocations: 0.6627 MB / 0.5061 GB, free: 11.85 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001066/0.3051, allocations: 43.98 kB / 0.5061 GB, free: 11.8 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001773/0.3053, allocations: 414.9 kB / 0.5065 GB, free: 11.39 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001388/0.3067, allocations: 0.9533 MB / 0.5075 GB, free: 10.44 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001698/0.3084, allocations: 1.52 MB / 0.509 GB, free: 8.691 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.007304/0.3157, allocations: 2.872 MB / 0.5118 GB, free: 5.809 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.365e-06/0.3157, allocations: 4 kB / 0.5118 GB, free: 5.805 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. Error: No system for the symbolic initialization was generated