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: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Transmission.DoubleRXlineTG,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Transmission_DoubleRXlineTG",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Transmission.DoubleRXlineTG,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Transmission_DoubleRXlineTG",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00154/0.00154, allocations: 109.7 kB / 17.06 MB, free: 5.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.001639/0.001639, allocations: 200 kB / 18.01 MB, free: 4.941 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.432/1.432, allocations: 222.9 MB / 241.7 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1797/0.1797, allocations: 38.04 MB / 329.9 MB, free: 8.727 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002041/0.002041, allocations: 59.89 kB / 457.7 MB, free: 7.34 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2996/0.3017, allocations: 58.06 MB / 0.5036 GB, free: 7.418 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.DoubleRXlineTG): time 0.01255/0.3143, allocations: 13.32 MB / 0.5166 GB, free: 14.05 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01358/0.3279, allocations: 7.918 MB / 0.5244 GB, free: 8.484 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001648/0.3295, allocations: 51.19 kB / 0.5244 GB, free: 8.465 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.1386/0.4682, allocations: 91.21 MB / 0.6135 GB, free: 8.055 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0052/0.4734, allocations: 1.47 MB / 0.6149 GB, free: 6.578 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003286/0.4767, allocations: 1.05 MB / 0.616 GB, free: 5.527 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.02194/0.4987, allocations: 14.52 MB / 0.6301 GB, free: 6.98 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002558/0.5013, allocations: 1.603 MB / 0.6317 GB, free: 5.332 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0358/0.5371, allocations: 23.51 MB / 0.6547 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003431/0.5406, allocations: 1.892 MB / 0.6565 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0007152/0.5413, allocations: 244 kB / 0.6567 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002282/0.5436, allocations: 1.01 MB / 0.6577 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.001459/0.5451, allocations: 1.344 MB / 0.659 GB, free: 9.297 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001907/0.547, allocations: 1.435 MB / 0.6604 GB, free: 7.855 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.005291/0.5523, allocations: 3.99 MB / 0.6643 GB, free: 3.852 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.5524, allocations: 4 kB / 0.6643 GB, free: 3.848 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.114e-06/0.5524, allocations: 0 / 0.6643 GB, free: 3.848 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.857e-05/0.5524, allocations: 0 / 0.6643 GB, free: 3.848 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.006497/0.5589, allocations: 3.252 MB / 0.6675 GB, free: 0.5039 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.674e-05/0.559, allocations: 15.89 kB / 0.6675 GB, free: 500 kB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003923/0.5594, allocations: 320.7 kB / 0.6678 GB, free: 168 kB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002213/0.5616, allocations: 470.8 kB / 0.6683 GB, free: 15.7 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003694/0.5653, allocations: 1.86 MB / 0.6701 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001541/0.5655, allocations: 159.9 kB / 0.6703 GB, free: 13.63 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005887/0.5661, allocations: 259.8 kB / 0.6705 GB, free: 13.38 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005306/0.5714, allocations: 3.177 MB / 0.6736 GB, free: 10.05 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.765e-05/0.5715, allocations: 7.984 kB / 0.6736 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002218/0.5717, allocations: 95.84 kB / 0.6737 GB, free: 9.945 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006207/0.5724, allocations: 215.7 kB / 0.6739 GB, free: 9.734 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005047/0.5774, allocations: 2.845 MB / 0.6767 GB, free: 6.883 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0178/0.5953, allocations: 11.54 MB / 0.688 GB, free: 10.94 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003776/0.5991, allocations: 2.597 MB / 0.6905 GB, free: 8.211 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002434/0.6015, allocations: 1.522 MB / 0.692 GB, free: 6.684 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001235/0.6017, allocations: 30.06 kB / 0.692 GB, free: 6.652 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002581/0.6043, allocations: 1.69 MB / 0.6937 GB, free: 4.918 MB / 0.545 GB Notification: Performance of pre-optimization done (n=247): time 4.378e-06/0.6043, allocations: 4 kB / 0.6937 GB, free: 4.914 MB / 0.545 GB Notification: Performance of matching and sorting (n=276): time 0.0286/0.6329, allocations: 14.15 MB / 0.7075 GB, free: 6.492 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002652/0.6332, allocations: 421.8 kB / 0.7079 GB, free: 5.996 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002003/0.6352, allocations: 1.473 MB / 0.7093 GB, free: 4.516 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0002103/0.6354, allocations: 89.61 kB / 0.7094 GB, free: 4.422 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009717/0.6364, allocations: 1.027 MB / 0.7104 GB, free: 3.387 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009031/0.6373, allocations: 0.926 MB / 0.7113 GB, free: 2.453 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008302/0.6381, allocations: 0.5304 MB / 0.7118 GB, free: 1.914 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001171/0.6383, allocations: 301.1 kB / 0.7121 GB, free: 1.617 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002255/0.6405, allocations: 1.347 MB / 0.7134 GB, free: 268 kB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2034/0.8439, allocations: 2.016 MB / 0.7154 GB, free: 187 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.01775/0.8617, allocations: 7.241 MB / 0.7225 GB, free: 184.3 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.241e-05/0.8618, allocations: 6.219 kB / 0.7225 GB, free: 184.3 MB / 0.5606 GB Notification: Performance of matching and sorting (n=409) (initialization): time 0.01239/0.8742, allocations: 5.383 MB / 0.7277 GB, free: 182.4 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.781e-05/0.8743, allocations: 73.05 kB / 0.7278 GB, free: 182.3 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.002228/0.8765, allocations: 1.358 MB / 0.7291 GB, free: 181.8 MB / 0.5606 GB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated