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.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.00179/0.00179, allocations: 105.1 kB / 21.21 MB, free: 0.6523 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.001472/0.001472, allocations: 211.9 kB / 24.51 MB, free: 3.945 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.476/1.476, allocations: 230.6 MB / 258.3 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1852/0.1852, allocations: 38.56 MB / 353.2 MB, free: 12.31 MB / 286.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/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_PowerSystems_Examples_AC3ph_Transmission_DoubleRXlineTG",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Transmission.DoubleRXlineTG,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Transmission_DoubleRXlineTG",fmuType="cs",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.002118/0.002118, allocations: 63.91 kB / 493.3 MB, free: 4.703 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3197/0.3218, allocations: 62.46 MB / 0.5427 GB, free: 260 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.DoubleRXlineTG): time 0.0163/0.3381, allocations: 12.34 MB / 0.5548 GB, free: 6.883 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01794/0.356, allocations: 7.276 MB / 0.5619 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002546/0.3586, allocations: 63.5 kB / 0.5619 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.1769/0.5355, allocations: 103.5 MB / 0.663 GB, free: 8.918 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.004622/0.5401, allocations: 1.498 MB / 0.6644 GB, free: 7.414 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003177/0.5433, allocations: 1.079 MB / 0.6655 GB, free: 6.336 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.02867/0.5719, allocations: 16.03 MB / 0.6812 GB, free: 6.281 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003143/0.5751, allocations: 1.27 MB / 0.6824 GB, free: 4.957 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.04849/0.6236, allocations: 26.59 MB / 0.7084 GB, free: 10.32 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003737/0.6273, allocations: 2.044 MB / 0.7104 GB, free: 8.273 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.000955/0.6283, allocations: 244 kB / 0.7106 GB, free: 8.035 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002955/0.6312, allocations: 1.073 MB / 0.7116 GB, free: 6.961 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.002075/0.6333, allocations: 1.375 MB / 0.713 GB, free: 5.582 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.00307/0.6364, allocations: 1.167 MB / 0.7141 GB, free: 4.41 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.007469/0.6438, allocations: 4.048 MB / 0.7181 GB, free: 356 kB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.6438, allocations: 0 / 0.7181 GB, free: 356 kB / 0.545 GB Notification: Performance of FrontEnd: time 1.774e-06/0.6438, allocations: 0 / 0.7181 GB, free: 356 kB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0001565/0.644, allocations: 0 / 0.7181 GB, free: 356 kB / 0.545 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.009035/0.653, allocations: 3.184 MB / 0.7212 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.887e-05/0.6531, allocations: 15.98 kB / 0.7212 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 8.713e-05/0.6532, allocations: 56.02 kB / 0.7213 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008554/0.654, allocations: 320.8 kB / 0.7216 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003213/0.6572, allocations: 0.53 MB / 0.7221 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004761/0.662, allocations: 1.757 MB / 0.7238 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002267/0.6622, allocations: 155.9 kB / 0.7239 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001099/0.6633, allocations: 251.9 kB / 0.7242 GB, free: 9.965 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009111/0.6724, allocations: 3.304 MB / 0.7274 GB, free: 6.477 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001063/0.6725, allocations: 15.83 kB / 0.7274 GB, free: 6.461 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005105/0.6731, allocations: 95.95 kB / 0.7275 GB, free: 6.367 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007438/0.6738, allocations: 207.8 kB / 0.7277 GB, free: 6.164 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006521/0.6803, allocations: 2.923 MB / 0.7306 GB, free: 3.223 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2569/0.9372, allocations: 10.64 MB / 0.741 GB, free: 176.9 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003022/0.9402, allocations: 2.065 MB / 0.743 GB, free: 176.1 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002082/0.9423, allocations: 1.47 MB / 0.7444 GB, free: 175.4 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001143/0.9424, allocations: 29.72 kB / 0.7444 GB, free: 175.4 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002257/0.9447, allocations: 1.774 MB / 0.7462 GB, free: 174.3 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=247): time 5.901e-06/0.9447, allocations: 0 / 0.7462 GB, free: 174.3 MB / 0.5606 GB Notification: Performance of matching and sorting (n=275): time 0.02374/0.9684, allocations: 13.74 MB / 0.7596 GB, free: 164.5 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001536/0.9686, allocations: 426.6 kB / 0.76 GB, free: 164 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002246/0.9708, allocations: 1.466 MB / 0.7614 GB, free: 162.5 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0003673/0.9712, allocations: 85.69 kB / 0.7615 GB, free: 162.4 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005714/0.9718, allocations: 1.032 MB / 0.7625 GB, free: 161.5 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006086/0.9724, allocations: 0.912 MB / 0.7634 GB, free: 160.7 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006574/0.973, allocations: 0.5399 MB / 0.7639 GB, free: 160.1 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 3.506e-05/0.9731, allocations: 310.1 kB / 0.7642 GB, free: 159.8 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001745/0.9748, allocations: 1.394 MB / 0.7656 GB, free: 158.4 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001982/0.9768, allocations: 2.123 MB / 0.7677 GB, free: 156 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.01433/0.9911, allocations: 7.222 MB / 0.7747 GB, free: 148.5 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.979e-05/0.9912, allocations: 4 kB / 0.7747 GB, free: 148.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=408) (initialization): time 0.009494/1.001, allocations: 5.274 MB / 0.7799 GB, free: 143.1 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.333e-05/1.001, allocations: 72.33 kB / 0.7799 GB, free: 143 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.002213/1.003, allocations: 1.354 MB / 0.7813 GB, free: 141.7 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.5058001689612865] Failed to read output from testmodel.py, exit status != 0: 1.0107953409897164 1.020952724 0.37449916 Calling exit ...