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.001405/0.001405, allocations: 115.6 kB / 20.43 MB, free: 1.309 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.001537/0.001537, allocations: 212.9 kB / 23.74 MB, free: 4.535 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.448/1.448, allocations: 230.6 MB / 257.5 MB, free: 7.98 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo): time 0.1959/0.1959, allocations: 38.52 MB / 352.5 MB, free: 12.51 MB / 286.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 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.001999/0.001999, allocations: 67.89 kB / 492.6 MB, free: 4.844 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3168/0.3188, allocations: 62.48 MB / 0.542 GB, free: 416 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.DoubleRXlineTG): time 0.01741/0.3362, allocations: 13.62 MB / 0.5553 GB, free: 5.672 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0145/0.3507, allocations: 8.026 MB / 0.5632 GB, free: 14.75 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00155/0.3522, allocations: 63.5 kB / 0.5632 GB, free: 14.69 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.1653/0.5175, allocations: 103.7 MB / 0.6645 GB, free: 6.879 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.004259/0.5218, allocations: 1.501 MB / 0.6659 GB, free: 5.371 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002918/0.5247, allocations: 1.069 MB / 0.667 GB, free: 4.301 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.02691/0.5516, allocations: 16.04 MB / 0.6826 GB, free: 4.238 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002459/0.554, allocations: 1.262 MB / 0.6839 GB, free: 2.922 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.04267/0.5967, allocations: 26.6 MB / 0.7098 GB, free: 8.277 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003465/0.6002, allocations: 2.04 MB / 0.7118 GB, free: 6.23 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0005899/0.6008, allocations: 244 kB / 0.7121 GB, free: 5.992 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002549/0.6033, allocations: 1.131 MB / 0.7132 GB, free: 4.859 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.001761/0.6051, allocations: 1.368 MB / 0.7145 GB, free: 3.488 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.002007/0.6071, allocations: 1.435 MB / 0.7159 GB, free: 2.047 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.005472/0.6125, allocations: 4.017 MB / 0.7198 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.6126, allocations: 0 / 0.7198 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.723e-06/0.6126, allocations: 0 / 0.7198 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.718e-05/0.6126, allocations: 0 / 0.7198 GB, free: 14.02 MB / 0.5606 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.007472/0.6201, allocations: 3.184 MB / 0.7229 GB, free: 10.76 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.712e-05/0.6202, allocations: 15.98 kB / 0.723 GB, free: 10.74 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004508/0.6206, allocations: 316.8 kB / 0.7233 GB, free: 10.42 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002663/0.6233, allocations: 0.5299 MB / 0.7238 GB, free: 9.891 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004367/0.6276, allocations: 1.757 MB / 0.7255 GB, free: 8.086 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001613/0.6278, allocations: 155.9 kB / 0.7256 GB, free: 7.934 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006613/0.6285, allocations: 259.8 kB / 0.7259 GB, free: 7.68 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005766/0.6342, allocations: 3.177 MB / 0.729 GB, free: 4.348 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.44e-05/0.6343, allocations: 15.89 kB / 0.729 GB, free: 4.332 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002214/0.6345, allocations: 91.89 kB / 0.7291 GB, free: 4.242 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006301/0.6351, allocations: 215.7 kB / 0.7293 GB, free: 4.031 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005266/0.6404, allocations: 2.845 MB / 0.7321 GB, free: 1.18 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2548/0.8952, allocations: 11.41 MB / 0.7432 GB, free: 177.7 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003249/0.8984, allocations: 2.005 MB / 0.7452 GB, free: 176.7 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002188/0.9006, allocations: 1.395 MB / 0.7465 GB, free: 176 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001225/0.9007, allocations: 25.88 kB / 0.7466 GB, free: 176 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001963/0.9027, allocations: 1.705 MB / 0.7482 GB, free: 175 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=247): time 3.697e-06/0.9027, allocations: 3.156 kB / 0.7482 GB, free: 175 MB / 0.5606 GB Notification: Performance of matching and sorting (n=276): time 0.02344/0.9261, allocations: 13.6 MB / 0.7615 GB, free: 163.2 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001601/0.9263, allocations: 417.8 kB / 0.7619 GB, free: 162.7 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001726/0.928, allocations: 1.469 MB / 0.7633 GB, free: 161.3 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0003595/0.9284, allocations: 85.36 kB / 0.7634 GB, free: 161.2 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006987/0.9291, allocations: 1.03 MB / 0.7644 GB, free: 160.1 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008377/0.9299, allocations: 0.9244 MB / 0.7653 GB, free: 159.2 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006796/0.9306, allocations: 0.534 MB / 0.7659 GB, free: 158.7 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 6.529e-05/0.9307, allocations: 301.1 kB / 0.7661 GB, free: 158.4 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001812/0.9325, allocations: 1.349 MB / 0.7675 GB, free: 157.1 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001956/0.9344, allocations: 2.026 MB / 0.7694 GB, free: 154.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.0141/0.9485, allocations: 7.234 MB / 0.7765 GB, free: 147.2 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.889e-05/0.9486, allocations: 8 kB / 0.7765 GB, free: 147.2 MB / 0.5606 GB Notification: Performance of matching and sorting (n=409) (initialization): time 0.008985/0.9575, allocations: 5.249 MB / 0.7816 GB, free: 141.9 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.381e-05/0.9576, allocations: 66.06 kB / 0.7817 GB, free: 141.8 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.001942/0.9595, allocations: 1.359 MB / 0.783 GB, free: 140.4 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.524582375997852] Failed to read output from testmodel.py, exit status != 0: 0.9669398480036762 0.977152144 0.362157622 Calling exit ...