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.001182/0.001182, allocations: 109.2 kB / 17.06 MB, free: 5.828 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.001338/0.001338, allocations: 195.9 kB / 18 MB, free: 4.965 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.387/1.387, 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.1789/0.1789, allocations: 38.05 MB / 329.9 MB, free: 8.77 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001225, allocations: 63.91 kB / 458.2 MB, free: 6.875 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4245/0.4257, 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.01566/0.4414, allocations: 13.33 MB / 0.5171 GB, free: 14.35 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01594/0.4574, allocations: 7.916 MB / 0.5249 GB, free: 8.781 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002688/0.4602, allocations: 47.28 kB / 0.5249 GB, free: 8.766 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.1342/0.5944, allocations: 91.21 MB / 0.614 GB, free: 8.047 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004673/0.5991, allocations: 1.466 MB / 0.6154 GB, free: 6.574 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002992/0.6021, allocations: 1.054 MB / 0.6164 GB, free: 5.52 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.02166/0.6238, allocations: 14.52 MB / 0.6306 GB, free: 6.977 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003259/0.6271, allocations: 1.611 MB / 0.6322 GB, free: 5.32 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.03494/0.662, allocations: 23.51 MB / 0.6551 GB, free: 13.78 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00304/0.6651, allocations: 1.892 MB / 0.657 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0007757/0.6659, allocations: 244 kB / 0.6572 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002353/0.6683, allocations: 1.006 MB / 0.6582 GB, free: 10.63 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.001743/0.6701, allocations: 1.344 MB / 0.6595 GB, free: 9.285 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.002671/0.6727, allocations: 1.427 MB / 0.6609 GB, free: 7.852 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.005788/0.6785, allocations: 3.993 MB / 0.6648 GB, free: 3.844 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.6786, allocations: 4 kB / 0.6648 GB, free: 3.84 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.653e-06/0.6786, allocations: 4 kB / 0.6648 GB, free: 3.836 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0001194/0.6787, allocations: 0 / 0.6648 GB, free: 3.836 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.006895/0.6856, allocations: 3.258 MB / 0.668 GB, free: 500 kB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.691e-05/0.6856, allocations: 11.89 kB / 0.668 GB, free: 488 kB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002144/0.6878, allocations: 474.8 kB / 0.6685 GB, free: 12 kB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003239/0.691, allocations: 1.856 MB / 0.6703 GB, free: 14.1 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001276/0.6912, allocations: 155.9 kB / 0.6704 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005332/0.6917, allocations: 263.7 kB / 0.6707 GB, free: 13.69 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004704/0.6964, allocations: 3.18 MB / 0.6738 GB, free: 10.36 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.475e-05/0.6965, allocations: 11.94 kB / 0.6738 GB, free: 10.34 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002088/0.6967, allocations: 87.91 kB / 0.6739 GB, free: 10.26 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006155/0.6974, allocations: 211.8 kB / 0.6741 GB, free: 10.05 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004575/0.7019, allocations: 2.849 MB / 0.6769 GB, free: 7.195 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01578/0.7177, allocations: 11.54 MB / 0.6881 GB, free: 11.25 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00339/0.7212, allocations: 2.601 MB / 0.6907 GB, free: 8.516 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00227/0.7235, allocations: 1.515 MB / 0.6922 GB, free: 6.996 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001235/0.7236, allocations: 34.05 kB / 0.6922 GB, free: 6.961 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00237/0.726, allocations: 1.702 MB / 0.6938 GB, free: 5.215 MB / 0.545 GB Notification: Performance of pre-optimization done (n=247): time 4.088e-06/0.726, allocations: 0 / 0.6938 GB, free: 5.215 MB / 0.545 GB Notification: Performance of matching and sorting (n=276): time 0.02736/0.7534, allocations: 14.14 MB / 0.7077 GB, free: 6.801 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001961/0.7536, allocations: 417.8 kB / 0.7081 GB, free: 6.309 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001956/0.7555, allocations: 1.477 MB / 0.7095 GB, free: 4.824 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.00019/0.7557, allocations: 81.69 kB / 0.7096 GB, free: 4.738 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008132/0.7566, allocations: 1.023 MB / 0.7106 GB, free: 3.707 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.000866/0.7574, allocations: 0.9337 MB / 0.7115 GB, free: 2.766 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008725/0.7583, allocations: 0.5383 MB / 0.712 GB, free: 2.219 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.65e-05/0.7584, allocations: 301.1 kB / 0.7123 GB, free: 1.922 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002175/0.7606, allocations: 1.347 MB / 0.7136 GB, free: 0.5664 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2377/0.9983, allocations: 2.011 MB / 0.7156 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.01939/1.018, allocations: 7.236 MB / 0.7226 GB, free: 184.6 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.25e-05/1.018, allocations: 4.25 kB / 0.7226 GB, free: 184.6 MB / 0.5606 GB Notification: Performance of matching and sorting (n=409) (initialization): time 0.01203/1.03, allocations: 5.392 MB / 0.7279 GB, free: 182.6 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001016/1.03, allocations: 73.7 kB / 0.728 GB, free: 182.6 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.002596/1.033, allocations: 1.357 MB / 0.7293 GB, free: 182 MB / 0.5606 GB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated