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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001291/0.001291, allocations: 123 kB / 17.79 MB, free: 5.246 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001409/0.001409, allocations: 211.2 kB / 20.75 MB, free: 2.293 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.463/1.463, allocations: 230.6 MB / 254.1 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1886/0.1886, allocations: 38.52 MB / 348.7 MB, free: 2.652 MB / 270.1 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00205/0.00205, allocations: 67.89 kB / 487.2 MB, free: 22.09 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1076/0.1096, allocations: 62.42 MB / 0.5367 GB, free: 7.551 MB / 398.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.DoubleRXlineTG): time 0.01573/0.1254, allocations: 13.48 MB / 0.5499 GB, free: 10.02 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01294/0.1383, allocations: 7.994 MB / 0.5577 GB, free: 2 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001013/0.1393, allocations: 67.44 kB / 0.5577 GB, free: 1.934 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.3534/0.4927, allocations: 91.64 MB / 0.6472 GB, free: 408 kB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003749/0.4965, allocations: 1.496 MB / 0.6487 GB, free: 15.36 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002931/0.4994, allocations: 1.062 MB / 0.6497 GB, free: 14.41 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.02306/0.5225, allocations: 14.56 MB / 0.6639 GB, free: 0.7969 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003142/0.5256, allocations: 1.273 MB / 0.6652 GB, free: 15.51 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.03553/0.5611, allocations: 23.65 MB / 0.6883 GB, free: 8.715 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003438/0.5646, allocations: 2.039 MB / 0.6903 GB, free: 6.844 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007719/0.5653, allocations: 244 kB / 0.6905 GB, free: 6.605 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002405/0.5677, allocations: 1.073 MB / 0.6916 GB, free: 5.566 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001721/0.5695, allocations: 1.365 MB / 0.6929 GB, free: 4.207 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002475/0.5719, allocations: 1.432 MB / 0.6943 GB, free: 2.777 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005217/0.5772, allocations: 4.012 MB / 0.6982 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.5772, allocations: 4 kB / 0.6982 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.663e-06/0.5772, allocations: 0 / 0.6982 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.836e-05/0.5772, allocations: 4 kB / 0.6982 GB, free: 14.85 MB / 0.4981 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.007078/0.5843, allocations: 3.262 MB / 0.7014 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.535e-05/0.5844, allocations: 12.03 kB / 0.7014 GB, free: 11.51 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004398/0.5848, allocations: 314.3 kB / 0.7017 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002713/0.5875, allocations: 0.5326 MB / 0.7022 GB, free: 10.67 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003959/0.5915, allocations: 1.849 MB / 0.704 GB, free: 8.793 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001625/0.5916, allocations: 164.5 kB / 0.7042 GB, free: 8.641 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006308/0.5923, allocations: 260.4 kB / 0.7044 GB, free: 8.395 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006101/0.5984, allocations: 3.186 MB / 0.7075 GB, free: 5.07 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.468e-05/0.5984, allocations: 11.89 kB / 0.7076 GB, free: 5.059 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002556/0.5987, allocations: 85.16 kB / 0.7076 GB, free: 4.98 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007235/0.5994, allocations: 211.7 kB / 0.7078 GB, free: 4.773 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005607/0.605, allocations: 2.849 MB / 0.7106 GB, free: 1.918 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01893/0.624, allocations: 11.55 MB / 0.7219 GB, free: 6.086 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003822/0.6278, allocations: 2.453 MB / 0.7243 GB, free: 3.508 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002484/0.6303, allocations: 1.4 MB / 0.7257 GB, free: 2.102 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001232/0.6304, allocations: 24.27 kB / 0.7257 GB, free: 2.078 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002681/0.6331, allocations: 1.696 MB / 0.7273 GB, free: 352 kB / 0.5137 GB Notification: Performance of pre-optimization done (n=247): time 4.518e-06/0.6331, allocations: 0 / 0.7273 GB, free: 352 kB / 0.5137 GB Notification: Performance of matching and sorting (n=276): time 0.03058/0.6637, allocations: 14.12 MB / 0.7411 GB, free: 1.969 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002698/0.6639, allocations: 420.4 kB / 0.7415 GB, free: 1.477 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00218/0.6661, allocations: 1.477 MB / 0.743 GB, free: 15.99 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.000335/0.6664, allocations: 77.7 kB / 0.7431 GB, free: 15.91 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009986/0.6674, allocations: 1.034 MB / 0.7441 GB, free: 14.88 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001311/0.6688, allocations: 0.9193 MB / 0.745 GB, free: 13.98 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009513/0.6697, allocations: 0.535 MB / 0.7455 GB, free: 13.44 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001289/0.6698, allocations: 301.1 kB / 0.7458 GB, free: 13.14 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002476/0.6723, allocations: 1.351 MB / 0.7471 GB, free: 11.79 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002939/0.6752, allocations: 2.022 MB / 0.7491 GB, free: 9.5 MB / 0.545 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.01851/0.6938, allocations: 7.238 MB / 0.7561 GB, free: 1.953 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.097e-05/0.6938, allocations: 4 kB / 0.7561 GB, free: 1.949 MB / 0.545 GB Notification: Performance of matching and sorting (n=409) (initialization): time 0.01185/0.7056, allocations: 5.32 MB / 0.7613 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001023/0.7057, allocations: 75.42 kB / 0.7614 GB, free: 12.46 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.00263/0.7084, allocations: 1.356 MB / 0.7627 GB, free: 11.09 MB / 0.5606 GB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated " [Timeout remaining time 659] [Calling sys.exit(0), Time elapsed: 3.3623102041892707] Failed to read output from testmodel.py, exit status != 0: 0.7154071847908199 0.730068708 0.149830498 Calling exit ...