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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.001677/0.001677, allocations: 188.9 kB / 17.27 MB, free: 4.504 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.501/1.501, allocations: 205.1 MB / 223.1 MB, free: 8.453 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009329/0.0009328, allocations: 97.72 kB / 270.5 MB, free: 8.422 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1646/0.1646, allocations: 38.01 MB / 355.8 MB, free: 2.918 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001518/0.001518, allocations: 51.92 kB / 421.9 MB, free: 37.75 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3766/0.3781, allocations: 55.23 MB / 477.1 MB, free: 9.902 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.DoubleRXline): time 0.01316/0.3913, allocations: 11.6 MB / 488.7 MB, free: 1.648 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.00857/0.3999, allocations: 4.261 MB / 493 MB, free: 14.66 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001827/0.4018, allocations: 61.19 kB / 493 MB, free: 14.63 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003174/0.405, allocations: 1.146 MB / 494.2 MB, free: 13.96 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003682/0.4087, allocations: 1.068 MB / 495.2 MB, free: 13.43 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002086/0.4108, allocations: 0.6502 MB / 495.9 MB, free: 13.1 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0062/0.4171, allocations: 3.813 MB / 499.7 MB, free: 11.7 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001614/0.4187, allocations: 0.9789 MB / 0.4889 GB, free: 11.18 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001838/0.4205, allocations: 0.8996 MB / 0.4898 GB, free: 10.7 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002195/0.4227, allocations: 1.442 MB / 0.4912 GB, free: 9.906 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002825/0.423, allocations: 101.4 kB / 0.4913 GB, free: 9.906 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001632/0.4247, allocations: 0.6927 MB / 0.492 GB, free: 9.57 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00107/0.4258, allocations: 0.9147 MB / 0.4929 GB, free: 9.016 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001603/0.4274, allocations: 0.9349 MB / 0.4938 GB, free: 8.402 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003487/0.4309, allocations: 2.501 MB / 0.4962 GB, free: 6.734 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.4309, allocations: 0 / 0.4962 GB, free: 6.734 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.4309, allocations: 0 / 0.4962 GB, free: 6.734 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.073e-05/0.431, allocations: 4 kB / 0.4963 GB, free: 6.73 MB / 330.7 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.005671/0.4366, allocations: 2.318 MB / 0.4985 GB, free: 5.062 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.399e-05/0.4367, allocations: 9.406 kB / 0.4985 GB, free: 5.062 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001869/0.4386, allocations: 342.6 kB / 0.4989 GB, free: 4.895 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002353/0.441, allocations: 1.085 MB / 0.4999 GB, free: 3.965 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001095/0.4411, allocations: 123.1 kB / 0.5 GB, free: 3.844 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004035/0.4415, allocations: 191.9 kB / 0.5002 GB, free: 3.656 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003838/0.4453, allocations: 2.469 MB / 0.5026 GB, free: 1.059 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.16e-05/0.4454, allocations: 19.84 kB / 0.5026 GB, free: 1.039 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000158/0.4456, allocations: 63.97 kB / 0.5027 GB, free: 0.9766 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004976/0.4461, allocations: 158.9 kB / 0.5029 GB, free: 0.8203 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003433/0.4495, allocations: 2.17 MB / 0.505 GB, free: 14.64 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01302/0.4625, allocations: 9.25 MB / 0.514 GB, free: 5.066 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002629/0.4652, allocations: 2.125 MB / 0.5161 GB, free: 2.824 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001589/0.4668, allocations: 1.181 MB / 0.5172 GB, free: 1.641 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.617e-05/0.4669, allocations: 25.38 kB / 0.5173 GB, free: 1.617 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001907/0.4688, allocations: 1.411 MB / 0.5186 GB, free: 172 kB / 346.7 MB Notification: Performance of pre-optimization done (n=205): time 3.416e-06/0.4689, allocations: 0 / 0.5186 GB, free: 172 kB / 346.7 MB Notification: Performance of matching and sorting (n=213): time 0.01077/0.4796, allocations: 6.869 MB / 0.5253 GB, free: 9.191 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001233/0.4798, allocations: 277.2 kB / 0.5256 GB, free: 8.867 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001066/0.4809, allocations: 0.9276 MB / 0.5265 GB, free: 7.918 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001196/0.481, allocations: 73.67 kB / 0.5266 GB, free: 7.84 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005471/0.4815, allocations: 0.7296 MB / 0.5273 GB, free: 7.098 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004906/0.482, allocations: 0.6628 MB / 0.5279 GB, free: 6.426 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006029/0.4826, allocations: 412.6 kB / 0.5283 GB, free: 6.016 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.965e-05/0.4827, allocations: 301.1 kB / 0.5286 GB, free: 5.719 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001363/0.4841, allocations: 0.9651 MB / 0.5296 GB, free: 4.75 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001766/0.4859, allocations: 1.524 MB / 0.5311 GB, free: 3 MB / 362.7 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.01329/0.4992, allocations: 6.23 MB / 0.5371 GB, free: 12.52 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.827e-05/0.4992, allocations: 8 kB / 0.5371 GB, free: 12.51 MB / 378.7 MB Notification: Performance of matching and sorting (n=317) (initialization): time 0.007871/0.5071, allocations: 4.096 MB / 0.5411 GB, free: 8.387 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.662e-05/0.5072, allocations: 67.39 kB / 0.5412 GB, free: 8.309 MB / 378.7 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.001482/0.5087, allocations: 0.9996 MB / 0.5422 GB, free: 7.312 MB / 378.7 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated