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.001511/0.001511, allocations: 114.2 kB / 17.07 MB, free: 5.965 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.001351/0.001351, allocations: 197.3 kB / 18.01 MB, free: 5.051 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.398/1.398, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.181/0.181, allocations: 38.03 MB / 329.9 MB, free: 8.754 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001923/0.001924, allocations: 67.89 kB / 457.7 MB, free: 7.336 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3067/0.3087, allocations: 58.05 MB / 0.5036 GB, free: 7.395 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.DoubleRXlineTG): time 0.0125/0.3212, allocations: 13.33 MB / 0.5167 GB, free: 14.02 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01345/0.3347, allocations: 7.908 MB / 0.5244 GB, free: 8.457 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001556/0.3363, allocations: 50.12 kB / 0.5244 GB, free: 8.438 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.136/0.4723, allocations: 91.22 MB / 0.6135 GB, free: 8.059 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004513/0.4768, allocations: 1.47 MB / 0.6149 GB, free: 6.582 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003185/0.48, allocations: 1.054 MB / 0.616 GB, free: 5.527 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0217/0.5017, allocations: 14.52 MB / 0.6301 GB, free: 6.984 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002552/0.5043, allocations: 1.6 MB / 0.6317 GB, free: 5.34 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.03463/0.539, allocations: 23.51 MB / 0.6547 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003279/0.5423, allocations: 1.896 MB / 0.6565 GB, free: 11.9 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0006535/0.543, allocations: 244 kB / 0.6567 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002151/0.5451, allocations: 1.01 MB / 0.6577 GB, free: 10.65 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.001473/0.5466, allocations: 1.341 MB / 0.659 GB, free: 9.305 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.00183/0.5485, allocations: 1.435 MB / 0.6604 GB, free: 7.863 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.005287/0.5538, allocations: 3.99 MB / 0.6643 GB, free: 3.859 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 7.895e-06/0.5538, allocations: 4 kB / 0.6643 GB, free: 3.855 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.723e-06/0.5538, allocations: 3.938 kB / 0.6643 GB, free: 3.852 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 9.276e-05/0.5539, allocations: 0 / 0.6643 GB, free: 3.852 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.007339/0.5613, allocations: 3.256 MB / 0.6675 GB, free: 0.5039 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.52e-05/0.5613, allocations: 11.89 kB / 0.6675 GB, free: 0.4922 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005293/0.5619, allocations: 320.7 kB / 0.6678 GB, free: 172 kB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002303/0.5642, allocations: 474.8 kB / 0.6683 GB, free: 15.7 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004126/0.5683, allocations: 1.856 MB / 0.6701 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001533/0.5685, allocations: 155.9 kB / 0.6703 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006099/0.5691, allocations: 259.8 kB / 0.6705 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005384/0.5745, allocations: 3.18 MB / 0.6736 GB, free: 10.05 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.011e-05/0.5746, allocations: 4 kB / 0.6736 GB, free: 10.05 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002207/0.5748, allocations: 103.8 kB / 0.6737 GB, free: 9.945 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006152/0.5754, allocations: 207.8 kB / 0.6739 GB, free: 9.742 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004835/0.5803, allocations: 2.849 MB / 0.6767 GB, free: 6.887 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0175/0.5978, allocations: 11.54 MB / 0.688 GB, free: 10.94 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003853/0.6017, allocations: 2.601 MB / 0.6905 GB, free: 8.211 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002623/0.6043, allocations: 1.519 MB / 0.692 GB, free: 6.688 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001246/0.6045, allocations: 34.05 kB / 0.692 GB, free: 6.652 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002596/0.6071, allocations: 1.69 MB / 0.6937 GB, free: 4.918 MB / 0.545 GB Notification: Performance of pre-optimization done (n=247): time 4.188e-06/0.6071, allocations: 0 / 0.6937 GB, free: 4.918 MB / 0.545 GB Notification: Performance of matching and sorting (n=276): time 0.02968/0.6368, allocations: 14.16 MB / 0.7075 GB, free: 6.488 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002642/0.6371, allocations: 413.8 kB / 0.7079 GB, free: 6 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002151/0.6393, allocations: 1.477 MB / 0.7093 GB, free: 4.516 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0003547/0.6396, allocations: 85.67 kB / 0.7094 GB, free: 4.426 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009701/0.6406, allocations: 1.027 MB / 0.7104 GB, free: 3.391 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.00102/0.6416, allocations: 0.9298 MB / 0.7113 GB, free: 2.453 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008773/0.6425, allocations: 0.5343 MB / 0.7118 GB, free: 1.91 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001308/0.6427, allocations: 301.1 kB / 0.7121 GB, free: 1.613 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00233/0.645, allocations: 1.347 MB / 0.7134 GB, free: 264 kB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2211/0.8661, allocations: 2.013 MB / 0.7154 GB, free: 186.9 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.01837/0.8845, allocations: 7.233 MB / 0.7225 GB, free: 184.2 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.819e-05/0.8846, allocations: 5.531 kB / 0.7225 GB, free: 184.2 MB / 0.5606 GB Notification: Performance of matching and sorting (n=409) (initialization): time 0.01088/0.8955, allocations: 5.387 MB / 0.7277 GB, free: 182.3 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.041e-05/0.8956, allocations: 66.81 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.002335/0.8979, allocations: 1.364 MB / 0.7291 GB, free: 181.7 MB / 0.5606 GB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated