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.0007767/0.0007768, allocations: 91.31 kB / 16.65 MB, free: 6.598 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.0009007/0.0009008, allocations: 184 kB / 17.57 MB, free: 6.199 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.282/1.282, allocations: 223.3 MB / 241.6 MB, free: 14.36 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1687/0.1687, allocations: 38.09 MB / 330.8 MB, free: 8.492 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003018/0.0003018, allocations: 8 kB / 400.7 MB, free: 34.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.107/0.1073, allocations: 59.17 MB / 459.9 MB, free: 7.027 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.DoubleRXline): time 0.01019/0.1176, allocations: 11.08 MB / 471 MB, free: 11.9 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00682/0.1244, allocations: 4.156 MB / 475.1 MB, free: 7.734 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001417/0.1259, allocations: 59.62 kB / 475.2 MB, free: 7.676 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001172/0.1271, allocations: 345.9 kB / 475.5 MB, free: 7.336 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002703/0.1298, allocations: 1.063 MB / 476.6 MB, free: 6.27 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00174/0.1316, allocations: 0.6513 MB / 477.2 MB, free: 5.617 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003896/0.1355, allocations: 3.786 MB / 481 MB, free: 1.82 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002424/0.1379, allocations: 1.515 MB / 482.5 MB, free: 260 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001572/0.1395, allocations: 0.8283 MB / 483.4 MB, free: 15.42 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002037/0.1415, allocations: 1.379 MB / 484.7 MB, free: 14.04 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001937/0.1418, allocations: 83.98 kB / 484.8 MB, free: 13.96 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001419/0.1432, allocations: 0.6746 MB / 485.5 MB, free: 13.28 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008671/0.1441, allocations: 0.8766 MB / 486.4 MB, free: 12.4 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000852/0.1449, allocations: 0.9149 MB / 487.3 MB, free: 11.48 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002244/0.1472, allocations: 2.456 MB / 489.7 MB, free: 9.012 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.1472, allocations: 0 / 489.7 MB, free: 9.012 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.365e-06/0.1472, allocations: 0 / 489.7 MB, free: 9.012 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.733e-05/0.1472, allocations: 0 / 489.7 MB, free: 9.012 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.003604/0.1509, allocations: 1.979 MB / 491.7 MB, free: 6.949 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.097e-05/0.1509, allocations: 16.03 kB / 491.7 MB, free: 6.934 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001646/0.1526, allocations: 342.2 kB / 492.1 MB, free: 6.598 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001627/0.1542, allocations: 1.083 MB / 493.2 MB, free: 5.469 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001178/0.1543, allocations: 127.1 kB / 493.3 MB, free: 5.344 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004151/0.1548, allocations: 195.8 kB / 493.5 MB, free: 5.152 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003321/0.1581, allocations: 2.469 MB / 495.9 MB, free: 2.555 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.187e-05/0.1581, allocations: 7.938 kB / 495.9 MB, free: 2.547 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001518/0.1583, allocations: 63.98 kB / 496 MB, free: 2.484 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004445/0.1587, allocations: 162.9 kB / 496.2 MB, free: 2.324 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00298/0.1617, allocations: 2.17 MB / 498.3 MB, free: 152 kB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01105/0.1728, allocations: 9.284 MB / 0.4957 GB, free: 6.539 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002466/0.1753, allocations: 2.121 MB / 0.4978 GB, free: 4.285 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001504/0.1768, allocations: 1.189 MB / 0.499 GB, free: 3.094 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.172e-05/0.1769, allocations: 29.36 kB / 0.499 GB, free: 3.062 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001757/0.1787, allocations: 1.399 MB / 0.5004 GB, free: 1.625 MB / 382.1 MB Notification: Performance of pre-optimization done (n=205): time 3.337e-06/0.1787, allocations: 4 kB / 0.5004 GB, free: 1.621 MB / 382.1 MB Notification: Performance of matching and sorting (n=213): time 0.2298/0.4085, allocations: 6.87 MB / 0.5071 GB, free: 48.88 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001041/0.4086, allocations: 272.4 kB / 0.5073 GB, free: 48.6 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001445/0.4101, allocations: 0.93 MB / 0.5082 GB, free: 48.43 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001384/0.4103, allocations: 74.97 kB / 0.5083 GB, free: 48.4 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005844/0.4108, allocations: 0.7272 MB / 0.509 GB, free: 48.02 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005815/0.4114, allocations: 0.6613 MB / 0.5097 GB, free: 47.62 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003234/0.4118, allocations: 209.5 kB / 0.5099 GB, free: 47.61 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.733e-05/0.4118, allocations: 301.9 kB / 0.5101 GB, free: 47.31 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001602/0.4134, allocations: 0.9699 MB / 0.5111 GB, free: 47.3 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001864/0.4153, allocations: 1.516 MB / 0.5126 GB, free: 46.53 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.01306/0.4284, allocations: 6.233 MB / 0.5187 GB, free: 44.07 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.916e-05/0.4284, allocations: 4.812 kB / 0.5187 GB, free: 44.07 MB / 382.1 MB Notification: Performance of matching and sorting (n=317) (initialization): time 0.008158/0.4366, allocations: 4.116 MB / 0.5227 GB, free: 42.72 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.963e-05/0.4367, allocations: 63.78 kB / 0.5227 GB, free: 42.66 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.001395/0.4381, allocations: 1.004 MB / 0.5237 GB, free: 42.24 MB / 382.1 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated