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.001425/0.001425, allocations: 116.3 kB / 17.07 MB, free: 5.973 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.001395/0.001395, allocations: 198.8 kB / 18.01 MB, free: 5.055 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.522/1.522, allocations: 222.9 MB / 241.7 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.1704/0.1704, allocations: 38.04 MB / 329.9 MB, free: 8.746 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001346/0.001346, allocations: 63.89 kB / 458.2 MB, free: 6.832 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4256/0.4269, allocations: 58.05 MB / 0.5041 GB, free: 7.848 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.DoubleRXline): time 0.01369/0.4407, allocations: 10.19 MB / 0.5141 GB, free: 0.6992 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.008991/0.4497, allocations: 3.711 MB / 0.5177 GB, free: 14.1 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001528/0.4513, allocations: 35.44 kB / 0.5177 GB, free: 14.09 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003853/0.4552, allocations: 1.217 MB / 0.5189 GB, free: 13.36 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004655/0.4599, allocations: 1.148 MB / 0.52 GB, free: 12.77 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002841/0.4627, allocations: 0.7223 MB / 0.5207 GB, free: 12.43 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.005188/0.4679, allocations: 2.429 MB / 0.5231 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002505/0.4704, allocations: 1.045 MB / 0.5241 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002813/0.4733, allocations: 1.067 MB / 0.5252 GB, free: 10.47 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003371/0.4767, allocations: 1.377 MB / 0.5265 GB, free: 9.977 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009972/0.4777, allocations: 167.6 kB / 0.5267 GB, free: 9.977 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002569/0.4803, allocations: 0.709 MB / 0.5274 GB, free: 9.816 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002487/0.4828, allocations: 0.9665 MB / 0.5283 GB, free: 9.492 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003379/0.4862, allocations: 1.011 MB / 0.5293 GB, free: 8.883 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005225/0.4914, allocations: 2.597 MB / 0.5318 GB, free: 7.172 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.555e-06/0.4914, allocations: 3.938 kB / 0.5318 GB, free: 7.168 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.4914, allocations: 0 / 0.5318 GB, free: 7.168 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.69e-05/0.4915, allocations: 0 / 0.5318 GB, free: 7.168 MB / 398.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.005538/0.4971, allocations: 2.319 MB / 0.5341 GB, free: 5.5 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.785e-05/0.4971, allocations: 12.48 kB / 0.5341 GB, free: 5.496 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001929/0.4991, allocations: 334.9 kB / 0.5344 GB, free: 5.336 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002254/0.5014, allocations: 1.137 MB / 0.5355 GB, free: 4.527 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000125/0.5015, allocations: 120.6 kB / 0.5357 GB, free: 4.473 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004655/0.502, allocations: 195.6 kB / 0.5358 GB, free: 4.402 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004087/0.5061, allocations: 2.469 MB / 0.5383 GB, free: 2.859 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.121e-05/0.5061, allocations: 12.27 kB / 0.5383 GB, free: 2.852 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001681/0.5063, allocations: 65.45 kB / 0.5383 GB, free: 2.805 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005036/0.5068, allocations: 158.9 kB / 0.5385 GB, free: 2.762 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00393/0.5108, allocations: 2.17 MB / 0.5406 GB, free: 1.746 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01333/0.5241, allocations: 9.199 MB / 0.5496 GB, free: 9.402 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002732/0.5269, allocations: 2.125 MB / 0.5517 GB, free: 7.148 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001688/0.5286, allocations: 1.185 MB / 0.5528 GB, free: 5.961 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001014/0.5287, allocations: 21.3 kB / 0.5528 GB, free: 5.938 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001961/0.5307, allocations: 1.403 MB / 0.5542 GB, free: 4.5 MB / 414.1 MB Notification: Performance of pre-optimization done (n=205): time 5.631e-06/0.5307, allocations: 4 kB / 0.5542 GB, free: 4.496 MB / 414.1 MB Notification: Performance of matching and sorting (n=213): time 0.01198/0.5427, allocations: 6.881 MB / 0.5609 GB, free: 13.51 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001468/0.5429, allocations: 273.3 kB / 0.5612 GB, free: 13.18 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001229/0.5441, allocations: 0.9276 MB / 0.5621 GB, free: 12.23 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001558/0.5443, allocations: 69.7 kB / 0.5622 GB, free: 12.16 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006549/0.5449, allocations: 0.7335 MB / 0.5629 GB, free: 11.41 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006531/0.5456, allocations: 0.6589 MB / 0.5635 GB, free: 10.75 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006217/0.5462, allocations: 424.5 kB / 0.5639 GB, free: 10.32 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001157/0.5463, allocations: 301.1 kB / 0.5642 GB, free: 10.03 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001579/0.5479, allocations: 0.9651 MB / 0.5652 GB, free: 9.059 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001895/0.5498, allocations: 1.517 MB / 0.5666 GB, free: 7.316 MB / 430.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.5631, allocations: 6.237 MB / 0.5727 GB, free: 0.8281 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.338e-05/0.5631, allocations: 4 kB / 0.5727 GB, free: 0.8242 MB / 430.1 MB Notification: Performance of matching and sorting (n=317) (initialization): time 0.008034/0.5712, allocations: 4.108 MB / 0.5767 GB, free: 12.69 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.937e-05/0.5713, allocations: 63.41 kB / 0.5768 GB, free: 12.61 MB / 446.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.001709/0.573, allocations: 0.9755 MB / 0.5778 GB, free: 11.64 MB / 446.1 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated