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.001456/0.001456, allocations: 112.8 kB / 17.06 MB, free: 5.969 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.001861/0.001861, allocations: 200 kB / 18.01 MB, free: 5.047 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.327/1.327, allocations: 222.9 MB / 241.7 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1679/0.1679, allocations: 38.05 MB / 329.9 MB, free: 8.727 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002036/0.002036, allocations: 59.89 kB / 457.7 MB, free: 7.344 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3638/0.3659, allocations: 58.06 MB / 0.5036 GB, free: 7.348 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.DoubleRXlineTG): time 0.01311/0.379, allocations: 13.33 MB / 0.5166 GB, free: 13.98 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01385/0.3929, allocations: 7.917 MB / 0.5244 GB, free: 8.406 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001799/0.3947, allocations: 51 kB / 0.5244 GB, free: 8.387 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.1247/0.5195, allocations: 91.22 MB / 0.6135 GB, free: 8.066 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004325/0.5239, allocations: 1.498 MB / 0.615 GB, free: 6.562 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003233/0.5271, allocations: 1.04 MB / 0.616 GB, free: 5.523 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.02203/0.5492, allocations: 14.53 MB / 0.6302 GB, free: 6.965 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00317/0.5524, allocations: 1.599 MB / 0.6317 GB, free: 5.32 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.03188/0.5843, allocations: 23.53 MB / 0.6547 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002919/0.5872, allocations: 1.892 MB / 0.6566 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0007556/0.588, allocations: 244 kB / 0.6568 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002228/0.5903, allocations: 1.006 MB / 0.6578 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.001666/0.592, allocations: 1.352 MB / 0.6591 GB, free: 9.254 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.002513/0.5945, allocations: 1.427 MB / 0.6605 GB, free: 7.82 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.006485/0.601, allocations: 3.99 MB / 0.6644 GB, free: 3.816 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.601, allocations: 0 / 0.6644 GB, free: 3.816 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.553e-06/0.601, allocations: 0 / 0.6644 GB, free: 3.816 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0001362/0.6011, allocations: 0 / 0.6644 GB, free: 3.816 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.008818/0.61, allocations: 3.26 MB / 0.6676 GB, free: 476 kB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 6.587e-05/0.6101, allocations: 15.89 kB / 0.6676 GB, free: 460 kB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009399/0.611, allocations: 316.7 kB / 0.6679 GB, free: 132 kB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002659/0.6137, allocations: 474.8 kB / 0.6683 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004241/0.6179, allocations: 1.856 MB / 0.6702 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001669/0.6181, allocations: 155.9 kB / 0.6703 GB, free: 13.6 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007472/0.6189, allocations: 255.9 kB / 0.6705 GB, free: 13.35 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005669/0.6246, allocations: 3.184 MB / 0.6737 GB, free: 10.01 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-05/0.6246, allocations: 15.92 kB / 0.6737 GB, free: 9.996 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002754/0.6249, allocations: 83.92 kB / 0.6738 GB, free: 9.914 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006516/0.6256, allocations: 211.7 kB / 0.674 GB, free: 9.707 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004938/0.6305, allocations: 2.853 MB / 0.6767 GB, free: 6.848 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01814/0.6487, allocations: 11.54 MB / 0.688 GB, free: 10.91 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00359/0.6523, allocations: 2.605 MB / 0.6906 GB, free: 8.172 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002293/0.6546, allocations: 1.519 MB / 0.692 GB, free: 6.648 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001186/0.6548, allocations: 30 kB / 0.6921 GB, free: 6.617 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002426/0.6572, allocations: 1.702 MB / 0.6937 GB, free: 4.871 MB / 0.545 GB Notification: Performance of pre-optimization done (n=247): time 5.56e-06/0.6572, allocations: 0 / 0.6937 GB, free: 4.871 MB / 0.545 GB Notification: Performance of matching and sorting (n=276): time 0.02961/0.6869, allocations: 14.15 MB / 0.7075 GB, free: 6.445 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002134/0.6871, allocations: 413.8 kB / 0.7079 GB, free: 5.957 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002132/0.6892, allocations: 1.469 MB / 0.7094 GB, free: 4.48 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0003488/0.6896, allocations: 81.69 kB / 0.7095 GB, free: 4.395 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.00101/0.6906, allocations: 1.031 MB / 0.7105 GB, free: 3.355 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001099/0.6917, allocations: 0.9259 MB / 0.7114 GB, free: 2.422 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001017/0.6928, allocations: 0.5343 MB / 0.7119 GB, free: 1.879 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.488e-05/0.6929, allocations: 305.2 kB / 0.7122 GB, free: 1.578 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002242/0.6951, allocations: 1.347 MB / 0.7135 GB, free: 228 kB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2225/0.9176, allocations: 2.014 MB / 0.7155 GB, free: 186.8 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.01801/0.9356, allocations: 7.236 MB / 0.7225 GB, free: 184.2 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.493e-05/0.9357, allocations: 5.688 kB / 0.7225 GB, free: 184.2 MB / 0.5606 GB Notification: Performance of matching and sorting (n=409) (initialization): time 0.01109/0.9468, allocations: 5.391 MB / 0.7278 GB, free: 182.3 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.679e-05/0.9469, allocations: 64.75 kB / 0.7279 GB, free: 182.2 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.002402/0.9493, allocations: 1.365 MB / 0.7292 GB, free: 181.6 MB / 0.5606 GB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated