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.001607/0.001607, allocations: 111.8 kB / 17.68 MB, free: 5.355 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.001975/0.001975, allocations: 190.9 kB / 18.62 MB, free: 4.434 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.406/1.406, allocations: 222.9 MB / 242.3 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1758/0.1758, allocations: 38.03 MB / 330.5 MB, free: 8.781 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002/0.002, allocations: 74.34 kB / 400.3 MB, free: 33.36 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.143/0.145, allocations: 58.07 MB / 458.3 MB, free: 7.328 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.DoubleRXline): time 0.01686/0.1619, allocations: 10.18 MB / 468.5 MB, free: 13.1 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009467/0.1714, allocations: 3.715 MB / 472.2 MB, free: 9.375 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001061/0.1725, allocations: 35.81 kB / 472.2 MB, free: 9.34 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004153/0.1768, allocations: 1.203 MB / 473.4 MB, free: 8.133 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004503/0.1813, allocations: 1.136 MB / 474.6 MB, free: 6.992 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002688/0.184, allocations: 0.729 MB / 475.3 MB, free: 6.262 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004444/0.1885, allocations: 2.429 MB / 477.7 MB, free: 3.824 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002066/0.1906, allocations: 1.04 MB / 478.8 MB, free: 2.762 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002329/0.1929, allocations: 1.043 MB / 479.8 MB, free: 1.715 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002987/0.1959, allocations: 1.383 MB / 481.2 MB, free: 336 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004642/0.1964, allocations: 167.9 kB / 481.4 MB, free: 168 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002017/0.1984, allocations: 0.7099 MB / 482.1 MB, free: 15.45 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001397/0.1998, allocations: 0.9665 MB / 483 MB, free: 14.48 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001598/0.2015, allocations: 1.003 MB / 484.1 MB, free: 13.48 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003639/0.2051, allocations: 2.594 MB / 486.6 MB, free: 10.88 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.2051, allocations: 4 kB / 486.6 MB, free: 10.87 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.2052, allocations: 0 / 486.6 MB, free: 10.87 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.123e-05/0.2052, allocations: 4 kB / 486.7 MB, free: 10.87 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.006137/0.2114, allocations: 2.321 MB / 489 MB, free: 8.461 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.239e-05/0.2114, allocations: 11.89 kB / 489 MB, free: 8.449 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002965/0.2144, allocations: 342.3 kB / 489.3 MB, free: 8.113 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003403/0.2178, allocations: 1.13 MB / 490.4 MB, free: 6.938 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001766/0.218, allocations: 123.1 kB / 490.6 MB, free: 6.816 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006751/0.2187, allocations: 199.8 kB / 490.8 MB, free: 6.621 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005667/0.2244, allocations: 2.465 MB / 493.2 MB, free: 4.027 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.995e-05/0.2245, allocations: 3.938 kB / 493.2 MB, free: 4.023 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002438/0.2247, allocations: 71.95 kB / 493.3 MB, free: 3.953 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007357/0.2255, allocations: 158.9 kB / 493.5 MB, free: 3.797 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005258/0.2307, allocations: 2.174 MB / 495.6 MB, free: 1.617 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01514/0.2459, allocations: 9.191 MB / 0.493 GB, free: 8.102 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002449/0.2484, allocations: 2.125 MB / 0.4951 GB, free: 5.844 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00151/0.2499, allocations: 1.181 MB / 0.4962 GB, free: 4.656 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.562e-05/0.25, allocations: 25.3 kB / 0.4962 GB, free: 4.629 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00178/0.2518, allocations: 1.411 MB / 0.4976 GB, free: 3.18 MB / 382.1 MB Notification: Performance of pre-optimization done (n=205): time 3.597e-06/0.2518, allocations: 0 / 0.4976 GB, free: 3.18 MB / 382.1 MB Notification: Performance of matching and sorting (n=213): time 0.2036/0.4554, allocations: 6.875 MB / 0.5043 GB, free: 54.88 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.867e-05/0.4556, allocations: 279.7 kB / 0.5046 GB, free: 54.59 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001223/0.4568, allocations: 0.9293 MB / 0.5055 GB, free: 54.22 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001341/0.4569, allocations: 70.66 kB / 0.5056 GB, free: 54.16 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004677/0.4574, allocations: 0.7316 MB / 0.5063 GB, free: 53.6 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004508/0.4579, allocations: 0.6592 MB / 0.5069 GB, free: 53.11 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005423/0.4584, allocations: 414.1 kB / 0.5073 GB, free: 52.92 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.749e-05/0.4585, allocations: 302.6 kB / 0.5076 GB, free: 52.62 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001474/0.46, allocations: 0.9665 MB / 0.5086 GB, free: 52.3 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001713/0.4617, allocations: 1.516 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.01324/0.4749, allocations: 6.229 MB / 0.5161 GB, free: 48.84 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.97e-05/0.475, allocations: 4.438 kB / 0.5161 GB, free: 48.84 MB / 382.1 MB Notification: Performance of matching and sorting (n=317) (initialization): time 0.007438/0.4824, allocations: 4.113 MB / 0.5201 GB, free: 47.37 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.454e-05/0.4825, allocations: 68.12 kB / 0.5202 GB, free: 47.3 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.001331/0.4838, allocations: 0.971 MB / 0.5212 GB, free: 46.92 MB / 382.1 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated