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.001529/0.001529, allocations: 106.4 kB / 17.06 MB, free: 6.027 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.001678/0.001678, allocations: 195 kB / 18 MB, free: 5.105 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.423/1.423, allocations: 222.9 MB / 241.7 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1802/0.1802, allocations: 38.05 MB / 329.9 MB, free: 8.773 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001267/0.001267, allocations: 59.89 kB / 458.2 MB, free: 6.867 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4395/0.4408, allocations: 58.05 MB / 0.5041 GB, free: 7.727 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.DoubleRXlineTG): time 0.01421/0.455, allocations: 13.32 MB / 0.5171 GB, free: 14.36 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01723/0.4723, allocations: 7.916 MB / 0.5249 GB, free: 8.793 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00376/0.4762, allocations: 46.94 kB / 0.5249 GB, free: 8.777 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.13/0.6062, allocations: 91.22 MB / 0.614 GB, free: 8.039 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006248/0.6124, allocations: 1.466 MB / 0.6154 GB, free: 6.566 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003547/0.616, allocations: 1.049 MB / 0.6164 GB, free: 5.516 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.02338/0.6394, allocations: 14.52 MB / 0.6306 GB, free: 6.969 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003087/0.6426, allocations: 1.599 MB / 0.6322 GB, free: 5.324 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.03408/0.6767, allocations: 23.54 MB / 0.6552 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00398/0.6807, allocations: 1.892 MB / 0.657 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.001213/0.682, allocations: 244 kB / 0.6572 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003153/0.6851, allocations: 1.006 MB / 0.6582 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.002172/0.6873, allocations: 1.348 MB / 0.6595 GB, free: 9.258 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.003467/0.6908, allocations: 1.431 MB / 0.6609 GB, free: 7.82 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.006658/0.6975, allocations: 3.972 MB / 0.6648 GB, free: 3.836 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 8.506e-06/0.6975, allocations: 7.984 kB / 0.6648 GB, free: 3.828 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.304e-06/0.6976, allocations: 0 / 0.6648 GB, free: 3.828 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.000173/0.6977, allocations: 0 / 0.6648 GB, free: 3.828 MB / 0.5137 GB 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.009806/0.7075, allocations: 3.181 MB / 0.6679 GB, free: 0.5586 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.965e-05/0.7076, allocations: 11.89 kB / 0.6679 GB, free: 0.5469 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003056/0.7107, allocations: 461.2 kB / 0.6684 GB, free: 96 kB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005109/0.7158, allocations: 1.843 MB / 0.6702 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001942/0.716, allocations: 159.9 kB / 0.6703 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009234/0.717, allocations: 255.8 kB / 0.6706 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00688/0.7239, allocations: 3.18 MB / 0.6737 GB, free: 10.45 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.789e-05/0.724, allocations: 19.83 kB / 0.6737 GB, free: 10.43 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000366/0.7243, allocations: 83.92 kB / 0.6738 GB, free: 10.35 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000673/0.725, allocations: 215.7 kB / 0.674 GB, free: 10.14 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005759/0.7308, allocations: 2.857 MB / 0.6768 GB, free: 7.277 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0213/0.7521, allocations: 11.51 MB / 0.688 GB, free: 11.36 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004554/0.7568, allocations: 2.593 MB / 0.6905 GB, free: 8.641 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002631/0.7595, allocations: 1.522 MB / 0.692 GB, free: 7.113 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001474/0.7596, allocations: 34 kB / 0.6921 GB, free: 7.078 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002855/0.7625, allocations: 1.694 MB / 0.6937 GB, free: 5.34 MB / 0.545 GB Notification: Performance of pre-optimization done (n=247): time 8.917e-06/0.7625, allocations: 0 / 0.6937 GB, free: 5.34 MB / 0.545 GB Notification: Performance of matching and sorting (n=276): time 0.03118/0.7937, allocations: 13.97 MB / 0.7074 GB, free: 7.074 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002242/0.794, allocations: 421.8 kB / 0.7078 GB, free: 6.578 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002495/0.7965, allocations: 1.469 MB / 0.7092 GB, free: 5.102 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0003946/0.7969, allocations: 81.69 kB / 0.7093 GB, free: 5.016 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009841/0.7979, allocations: 1.005 MB / 0.7103 GB, free: 4 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001093/0.799, allocations: 0.8784 MB / 0.7111 GB, free: 3.109 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001177/0.8002, allocations: 0.5418 MB / 0.7117 GB, free: 2.559 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001069/0.8003, allocations: 301.1 kB / 0.7119 GB, free: 2.262 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002387/0.8027, allocations: 1.351 MB / 0.7133 GB, free: 0.9023 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3056/1.108, allocations: 2.011 MB / 0.7152 GB, free: 187.1 MB / 0.5606 GB 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.01914/1.128, allocations: 7.237 MB / 0.7223 GB, free: 184.7 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.55e-05/1.128, allocations: 5.5 kB / 0.7223 GB, free: 184.7 MB / 0.5606 GB Notification: Performance of matching and sorting (n=409) (initialization): time 0.01236/1.14, allocations: 5.377 MB / 0.7275 GB, free: 182.7 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.1e-05/1.14, allocations: 66.58 kB / 0.7276 GB, free: 182.7 MB / 0.5606 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.002578/1.143, allocations: 1.366 MB / 0.7289 GB, free: 182.1 MB / 0.5606 GB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated