Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_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/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/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_PowerSystems_Examples_AC3ph_Transmission_DoubleRXlineTG",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Transmission.DoubleRXlineTG,fileNamePrefix="PowerSystems_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.001327/0.001327, allocations: 109 kB / 17.06 MB, free: 5.961 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.001117/0.001117, allocations: 200 kB / 18 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.342/1.342, allocations: 222.9 MB / 241.7 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1759/0.1759, allocations: 38.02 MB / 329.9 MB, free: 8.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001306/0.001306, allocations: 75.83 kB / 457.7 MB, free: 7.316 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3271/0.3284, allocations: 58.05 MB / 0.5036 GB, free: 7.445 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.DoubleRXlineTG): time 0.01579/0.3443, allocations: 13.32 MB / 0.5166 GB, free: 14.07 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01452/0.3588, allocations: 7.917 MB / 0.5244 GB, free: 8.504 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002444/0.3613, allocations: 50.44 kB / 0.5244 GB, free: 8.484 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.133/0.4944, allocations: 91.22 MB / 0.6135 GB, free: 8.055 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005179/0.4996, allocations: 1.494 MB / 0.615 GB, free: 6.555 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004916/0.5045, allocations: 1.049 MB / 0.616 GB, free: 5.504 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.02448/0.5291, allocations: 14.52 MB / 0.6302 GB, free: 6.953 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00336/0.5325, allocations: 1.599 MB / 0.6317 GB, free: 5.309 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.03816/0.5707, allocations: 23.53 MB / 0.6547 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003357/0.5741, allocations: 1.896 MB / 0.6566 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.001109/0.5752, allocations: 244 kB / 0.6568 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003206/0.5784, allocations: 1.002 MB / 0.6578 GB, free: 10.6 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.002062/0.5806, allocations: 1.356 MB / 0.6591 GB, free: 9.242 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.002851/0.5834, allocations: 1.431 MB / 0.6605 GB, free: 7.805 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.005678/0.5891, allocations: 3.99 MB / 0.6644 GB, free: 3.801 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.5892, allocations: 0 / 0.6644 GB, free: 3.801 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.864e-06/0.5892, allocations: 0 / 0.6644 GB, free: 3.801 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0001452/0.5893, allocations: 0 / 0.6644 GB, free: 3.801 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.007954/0.5973, allocations: 3.262 MB / 0.6676 GB, free: 460 kB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.691e-05/0.5973, allocations: 11.89 kB / 0.6676 GB, free: 448 kB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007613/0.5981, allocations: 316.8 kB / 0.6679 GB, free: 120 kB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002675/0.6008, allocations: 480.6 kB / 0.6683 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004528/0.6054, allocations: 1.85 MB / 0.6701 GB, free: 13.74 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001792/0.6056, allocations: 155.9 kB / 0.6703 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008769/0.6065, allocations: 267.7 kB / 0.6705 GB, free: 13.33 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007628/0.6141, allocations: 3.18 MB / 0.6737 GB, free: 9.992 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001235/0.6143, allocations: 8 kB / 0.6737 GB, free: 9.984 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006391/0.6149, allocations: 91.86 kB / 0.6737 GB, free: 9.895 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007901/0.6157, allocations: 211.7 kB / 0.674 GB, free: 9.688 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006173/0.6219, allocations: 2.853 MB / 0.6767 GB, free: 6.828 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02159/0.6436, allocations: 11.54 MB / 0.688 GB, free: 10.88 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003904/0.6475, allocations: 2.601 MB / 0.6905 GB, free: 8.152 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002648/0.6502, allocations: 1.522 MB / 0.692 GB, free: 6.625 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001754/0.6504, allocations: 26.06 kB / 0.6921 GB, free: 6.598 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002985/0.6534, allocations: 1.698 MB / 0.6937 GB, free: 4.855 MB / 0.545 GB Notification: Performance of pre-optimization done (n=247): time 7.043e-06/0.6534, allocations: 4 kB / 0.6937 GB, free: 4.852 MB / 0.545 GB Notification: Performance of matching and sorting (n=276): time 0.03284/0.6863, allocations: 14.14 MB / 0.7075 GB, free: 6.434 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002287/0.6865, allocations: 421.8 kB / 0.7079 GB, free: 5.938 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002183/0.6887, allocations: 1.469 MB / 0.7094 GB, free: 4.461 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0004694/0.6892, allocations: 81.7 kB / 0.7094 GB, free: 4.375 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008945/0.6901, allocations: 1.023 MB / 0.7104 GB, free: 3.344 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.00117/0.6913, allocations: 0.9259 MB / 0.7113 GB, free: 2.41 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009033/0.6922, allocations: 0.5421 MB / 0.7119 GB, free: 1.859 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.055e-05/0.6923, allocations: 305.1 kB / 0.7122 GB, free: 1.559 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002192/0.6945, allocations: 1.347 MB / 0.7135 GB, free: 208 kB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.237/0.9316, allocations: 2.011 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.01922/0.9509, allocations: 7.245 MB / 0.7225 GB, free: 184.3 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-05/0.9509, allocations: 4.438 kB / 0.7225 GB, free: 184.3 MB / 0.5606 GB Notification: Performance of matching and sorting (n=409) (initialization): time 0.01251/0.9634, allocations: 5.383 MB / 0.7278 GB, free: 182.4 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.275e-05/0.9636, allocations: 69.5 kB / 0.7278 GB, free: 182.4 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.003759/0.9673, allocations: 1.359 MB / 0.7292 GB, free: 181.8 MB / 0.5606 GB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated