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.001017/0.001017, allocations: 107.8 kB / 17.16 MB, free: 6.328 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.0009863/0.0009863, allocations: 202.9 kB / 18.08 MB, free: 5.422 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.321/1.321, allocations: 222.9 MB / 241.7 MB, free: 15.51 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1696/0.1696, allocations: 38.04 MB / 329.9 MB, free: 9.117 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001051/0.001051, allocations: 55.42 kB / 398.7 MB, free: 34.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1244/0.1255, allocations: 58.06 MB / 456.8 MB, free: 8.578 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.DoubleRXline): time 0.01114/0.1367, allocations: 11.6 MB / 468.4 MB, free: 12.93 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007239/0.144, allocations: 4.214 MB / 472.6 MB, free: 8.699 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001367/0.1454, allocations: 63.62 kB / 472.7 MB, free: 8.637 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002662/0.1481, allocations: 1.134 MB / 473.8 MB, free: 7.5 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002794/0.1509, allocations: 1.07 MB / 474.9 MB, free: 6.426 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001561/0.1525, allocations: 0.6396 MB / 475.5 MB, free: 5.785 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003644/0.1561, allocations: 3.806 MB / 479.3 MB, free: 1.969 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001386/0.1575, allocations: 0.9805 MB / 480.3 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001551/0.1591, allocations: 0.8947 MB / 481.2 MB, free: 68 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001732/0.1608, allocations: 1.437 MB / 482.6 MB, free: 14.62 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001937/0.161, allocations: 100 kB / 482.7 MB, free: 14.53 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001264/0.1623, allocations: 0.6942 MB / 483.4 MB, free: 13.83 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007651/0.1631, allocations: 0.9155 MB / 484.3 MB, free: 12.91 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008907/0.164, allocations: 0.9249 MB / 485.3 MB, free: 11.98 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001626/0.1656, allocations: 1.961 MB / 487.2 MB, free: 10.02 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.364e-06/0.1657, allocations: 4 kB / 487.2 MB, free: 10.02 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1657, allocations: 0 / 487.2 MB, free: 10.02 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.905e-05/0.1657, allocations: 0 / 487.2 MB, free: 10.02 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.003902/0.1696, allocations: 2.321 MB / 489.6 MB, free: 7.609 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.088e-05/0.1696, allocations: 12.03 kB / 489.6 MB, free: 7.598 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001626/0.1713, allocations: 342.2 kB / 489.9 MB, free: 7.262 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001631/0.1729, allocations: 1.083 MB / 491 MB, free: 6.133 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.601e-05/0.173, allocations: 123.1 kB / 491.1 MB, free: 6.012 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003673/0.1734, allocations: 195.8 kB / 491.3 MB, free: 5.82 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003253/0.1767, allocations: 2.469 MB / 493.8 MB, free: 3.223 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.849e-05/0.1767, allocations: 7.938 kB / 493.8 MB, free: 3.215 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000152/0.1769, allocations: 63.98 kB / 493.8 MB, free: 3.152 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004721/0.1774, allocations: 158.9 kB / 494 MB, free: 2.996 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003179/0.1805, allocations: 2.178 MB / 496.2 MB, free: 0.8125 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01151/0.1921, allocations: 9.257 MB / 0.4936 GB, free: 7.23 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002605/0.1947, allocations: 2.133 MB / 0.4957 GB, free: 4.965 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001565/0.1963, allocations: 1.185 MB / 0.4968 GB, free: 3.777 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.095e-05/0.1964, allocations: 17.31 kB / 0.4968 GB, free: 3.758 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001822/0.1982, allocations: 1.403 MB / 0.4982 GB, free: 2.316 MB / 382.1 MB Notification: Performance of pre-optimization done (n=205): time 3.377e-06/0.1982, allocations: 0 / 0.4982 GB, free: 2.316 MB / 382.1 MB Notification: Performance of matching and sorting (n=213): time 0.2483/0.4466, allocations: 6.872 MB / 0.5049 GB, free: 54.8 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001772/0.4468, allocations: 282.1 kB / 0.5052 GB, free: 54.51 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00168/0.4485, allocations: 0.9281 MB / 0.5061 GB, free: 54.14 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001346/0.4486, allocations: 73.22 kB / 0.5062 GB, free: 54.08 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006147/0.4493, allocations: 0.7259 MB / 0.5069 GB, free: 53.52 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000602/0.4499, allocations: 0.6681 MB / 0.5075 GB, free: 53.02 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006586/0.4505, allocations: 406.1 kB / 0.5079 GB, free: 52.84 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.606e-05/0.4506, allocations: 302.9 kB / 0.5082 GB, free: 52.54 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00171/0.4523, allocations: 0.9658 MB / 0.5091 GB, free: 52.22 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001946/0.4543, allocations: 1.521 MB / 0.5106 GB, free: 51.26 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.01398/0.4683, allocations: 6.226 MB / 0.5167 GB, free: 48.77 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.761e-05/0.4683, allocations: 7.656 kB / 0.5167 GB, free: 48.77 MB / 382.1 MB Notification: Performance of matching and sorting (n=317) (initialization): time 0.008163/0.4765, allocations: 4.113 MB / 0.5207 GB, free: 47.28 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.7e-05/0.4766, allocations: 69.66 kB / 0.5208 GB, free: 47.21 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.001539/0.4782, allocations: 0.9919 MB / 0.5218 GB, free: 46.8 MB / 382.1 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated