Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.DoubleRXlineTG.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.DoubleRXlineTG,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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.DoubleRXlineTG") translateModel(PowerSystems.Examples.AC3ph.Transmission.DoubleRXlineTG,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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.DoubleRXlineTG") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001328/0.001328, allocations: 104.2 kB / 17.59 MB, free: 5.559 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.00153/0.00153, allocations: 191.4 kB / 18.51 MB, free: 4.641 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.331/1.331, allocations: 222.9 MB / 242.2 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1919/0.1919, allocations: 38.04 MB / 330.4 MB, free: 8.832 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001393/0.001393, allocations: 60.02 kB / 399.5 MB, free: 34.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09266/0.09407, allocations: 58.07 MB / 457.5 MB, free: 8.055 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.DoubleRXlineTG): time 0.014/0.1081, allocations: 13.34 MB / 470.9 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01254/0.1207, allocations: 7.904 MB / 478.8 MB, free: 2.73 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001559/0.1223, allocations: 51.69 kB / 478.8 MB, free: 2.68 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.3127/0.4351, allocations: 91.21 MB / 0.5567 GB, free: 5.816 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003655/0.4387, allocations: 1.473 MB / 0.5581 GB, free: 4.805 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00283/0.4416, allocations: 1.052 MB / 0.5591 GB, free: 3.855 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01923/0.4608, allocations: 14.51 MB / 0.5733 GB, free: 6.281 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002986/0.4639, allocations: 1.607 MB / 0.5749 GB, free: 4.707 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.03286/0.4968, allocations: 23.51 MB / 0.5978 GB, free: 14.03 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0031/0.4999, allocations: 1.891 MB / 0.5997 GB, free: 12.28 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00096/0.5009, allocations: 244 kB / 0.5999 GB, free: 12.04 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002615/0.5035, allocations: 1.035 MB / 0.6009 GB, free: 11.04 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001864/0.5054, allocations: 1.351 MB / 0.6022 GB, free: 9.699 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002767/0.5082, allocations: 1.426 MB / 0.6036 GB, free: 8.273 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005525/0.5138, allocations: 3.916 MB / 0.6075 GB, free: 4.453 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.5138, allocations: 4 kB / 0.6075 GB, free: 4.449 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.106e-06/0.5138, allocations: 4 kB / 0.6075 GB, free: 4.445 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001184/0.5139, allocations: 0 / 0.6075 GB, free: 4.445 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 574 * Number of variables: 574 Notification: Performance of Generate backend data structure: time 0.008033/0.522, allocations: 3.179 MB / 0.6106 GB, free: 1.207 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.56e-05/0.522, allocations: 11.89 kB / 0.6106 GB, free: 1.195 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002612/0.5247, allocations: 457.2 kB / 0.611 GB, free: 0.7461 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004726/0.5294, allocations: 1.797 MB / 0.6128 GB, free: 14.93 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002173/0.5297, allocations: 154.9 kB / 0.6129 GB, free: 14.78 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001111/0.5308, allocations: 255.1 kB / 0.6132 GB, free: 14.54 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006631/0.5374, allocations: 3.18 MB / 0.6163 GB, free: 11.22 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001019/0.5376, allocations: 19.84 kB / 0.6163 GB, free: 11.2 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004609/0.5381, allocations: 89.98 kB / 0.6164 GB, free: 11.12 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000702/0.5388, allocations: 213.6 kB / 0.6166 GB, free: 10.91 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005685/0.5445, allocations: 2.857 MB / 0.6194 GB, free: 8.047 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0195/0.564, allocations: 11.58 MB / 0.6307 GB, free: 12.17 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003768/0.5678, allocations: 2.602 MB / 0.6332 GB, free: 9.441 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002595/0.5704, allocations: 1.545 MB / 0.6347 GB, free: 7.891 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001442/0.5706, allocations: 28.97 kB / 0.6348 GB, free: 7.867 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002707/0.5733, allocations: 1.696 MB / 0.6364 GB, free: 6.129 MB / 462.1 MB Notification: Performance of pre-optimization done (n=247): time 6.733e-06/0.5733, allocations: 0 / 0.6364 GB, free: 6.129 MB / 462.1 MB Notification: Performance of matching and sorting (n=267): time 0.02557/0.5989, allocations: 11.51 MB / 0.6477 GB, free: 10.46 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002241/0.5992, allocations: 417.8 kB / 0.6481 GB, free: 9.965 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0022/0.6014, allocations: 1.465 MB / 0.6495 GB, free: 8.492 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004319/0.6018, allocations: 85.69 kB / 0.6496 GB, free: 8.402 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009107/0.6028, allocations: 1.015 MB / 0.6506 GB, free: 7.387 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001009/0.6038, allocations: 0.846 MB / 0.6514 GB, free: 6.559 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001031/0.6048, allocations: 0.524 MB / 0.6519 GB, free: 6.027 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 9.123e-05/0.6049, allocations: 301.1 kB / 0.6522 GB, free: 5.73 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002252/0.6072, allocations: 1.335 MB / 0.6535 GB, free: 4.387 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002703/0.6099, allocations: 1.998 MB / 0.6554 GB, free: 2.129 MB / 478.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.01678/0.6267, allocations: 7.01 MB / 0.6623 GB, free: 10.8 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.608e-05/0.6268, allocations: 8 kB / 0.6623 GB, free: 10.79 MB / 494.1 MB Notification: Performance of matching and sorting (n=402) (initialization): time 0.01158/0.6384, allocations: 5.329 MB / 0.6675 GB, free: 5.383 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.153e-05/0.6385, allocations: 67.41 kB / 0.6676 GB, free: 5.305 MB / 494.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.002414/0.6409, allocations: 1.359 MB / 0.6689 GB, free: 3.906 MB / 494.1 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated