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.001879/0.00188, allocations: 115.1 kB / 16.63 MB, free: 6.812 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.002216/0.002216, allocations: 190 kB / 17.55 MB, free: 5.934 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.391/1.391, allocations: 222.9 MB / 241.2 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1809/0.1809, allocations: 38.04 MB / 329.4 MB, free: 9.016 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001375/0.001375, allocations: 63.72 kB / 398.3 MB, free: 34.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1052/0.1066, allocations: 58.05 MB / 456.3 MB, free: 8.418 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.DoubleRXlineTG): time 0.01778/0.1244, allocations: 15.34 MB / 471.7 MB, free: 9.004 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01502/0.1395, allocations: 8.525 MB / 480.2 MB, free: 468 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002618/0.1421, allocations: 87.44 kB / 480.3 MB, free: 380 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.3081/0.4502, allocations: 98.65 MB / 0.5654 GB, free: 10.55 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003433/0.4537, allocations: 1.37 MB / 0.5667 GB, free: 9.562 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002347/0.4561, allocations: 0.9544 MB / 0.5676 GB, free: 8.688 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01932/0.4754, allocations: 15.49 MB / 0.5828 GB, free: 10.18 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002356/0.4778, allocations: 1.687 MB / 0.5844 GB, free: 8.535 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.03152/0.5093, allocations: 25.44 MB / 0.6093 GB, free: 15.85 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003032/0.5124, allocations: 2.032 MB / 0.6112 GB, free: 13.95 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005061/0.5129, allocations: 246.2 kB / 0.6115 GB, free: 13.71 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001986/0.5149, allocations: 1.042 MB / 0.6125 GB, free: 12.71 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001228/0.5161, allocations: 1.354 MB / 0.6138 GB, free: 11.36 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001658/0.5178, allocations: 1.428 MB / 0.6152 GB, free: 9.938 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004301/0.5221, allocations: 3.92 MB / 0.619 GB, free: 6.113 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.5221, allocations: 0 / 0.619 GB, free: 6.113 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.5222, allocations: 0 / 0.619 GB, free: 6.113 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.058e-05/0.5222, allocations: 0 / 0.619 GB, free: 6.113 MB / 446.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.005898/0.5281, allocations: 3.176 MB / 0.6221 GB, free: 2.879 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/0.5282, allocations: 15.89 kB / 0.6222 GB, free: 2.863 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002145/0.5303, allocations: 453.3 kB / 0.6226 GB, free: 2.418 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003085/0.5334, allocations: 1.787 MB / 0.6243 GB, free: 0.6055 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000123/0.5336, allocations: 154.8 kB / 0.6245 GB, free: 472 kB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005312/0.5341, allocations: 273.7 kB / 0.6247 GB, free: 208 kB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005038/0.5391, allocations: 3.174 MB / 0.6278 GB, free: 12.88 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.279e-05/0.5392, allocations: 15.94 kB / 0.6279 GB, free: 12.87 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002043/0.5394, allocations: 86.17 kB / 0.6279 GB, free: 12.79 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006053/0.54, allocations: 214.2 kB / 0.6281 GB, free: 12.58 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004458/0.5445, allocations: 2.853 MB / 0.6309 GB, free: 9.723 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01603/0.5606, allocations: 11.58 MB / 0.6422 GB, free: 13.84 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003449/0.5641, allocations: 2.609 MB / 0.6448 GB, free: 11.1 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002281/0.5664, allocations: 1.53 MB / 0.6463 GB, free: 9.562 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001291/0.5665, allocations: 31.69 kB / 0.6463 GB, free: 9.539 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002394/0.5689, allocations: 1.712 MB / 0.648 GB, free: 7.789 MB / 478.1 MB Notification: Performance of pre-optimization done (n=247): time 4.268e-06/0.5689, allocations: 0 / 0.648 GB, free: 7.789 MB / 478.1 MB Notification: Performance of matching and sorting (n=267): time 0.02226/0.5912, allocations: 11.51 MB / 0.6592 GB, free: 12.12 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001923/0.5914, allocations: 413.9 kB / 0.6596 GB, free: 11.64 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001887/0.5933, allocations: 1.469 MB / 0.6611 GB, free: 10.16 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002011/0.5935, allocations: 80.36 kB / 0.6611 GB, free: 10.08 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008067/0.5943, allocations: 1.005 MB / 0.6621 GB, free: 9.07 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000792/0.5951, allocations: 0.8598 MB / 0.663 GB, free: 8.227 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007895/0.5959, allocations: 0.5273 MB / 0.6635 GB, free: 7.695 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001744/0.5961, allocations: 309.1 kB / 0.6638 GB, free: 7.391 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001965/0.5981, allocations: 1.327 MB / 0.6651 GB, free: 6.055 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002425/0.6005, allocations: 1.998 MB / 0.667 GB, free: 3.797 MB / 494.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.01587/0.6164, allocations: 7.009 MB / 0.6739 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.125e-05/0.6165, allocations: 4 kB / 0.6739 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of matching and sorting (n=402) (initialization): time 0.01065/0.6271, allocations: 5.333 MB / 0.6791 GB, free: 7.047 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.818e-05/0.6272, allocations: 63.41 kB / 0.6791 GB, free: 6.973 MB / 0.4981 GB 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.002295/0.6296, allocations: 1.36 MB / 0.6805 GB, free: 5.57 MB / 0.4981 GB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated