Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transmission.DoubleRXlineTG.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Transmission.DoubleRXlineTG,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_AC3ph_Transmission_DoubleRXlineTG",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Transmission.DoubleRXlineTG,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_AC3ph_Transmission_DoubleRXlineTG",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00157/0.001575, allocations: 188.4 kB / 15.77 MB, free: 5.984 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.005/2.005, allocations: 205.4 MB / 221.9 MB, free: 13.81 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001112/0.001112, allocations: 94.86 kB / 270.2 MB, free: 13.34 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2643/0.2643, allocations: 38.06 MB / 356.6 MB, free: 0.7969 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006157/0.0006157, allocations: 12 kB / 422.8 MB, free: 26.35 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1072/0.1079, allocations: 56.34 MB / 479.1 MB, free: 1.957 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.DoubleRXlineTG): time 0.02069/0.1286, allocations: 13.12 MB / 492.3 MB, free: 4.785 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.01885/0.1475, allocations: 7.99 MB / 0.4885 GB, free: 12.78 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002114/0.1497, allocations: 83.38 kB / 0.4886 GB, free: 12.7 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.03528/0.185, allocations: 12.7 MB / 0.501 GB, free: 15.97 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004894/0.1899, allocations: 1.075 MB / 0.5021 GB, free: 14.89 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003896/0.1939, allocations: 0.8923 MB / 0.5029 GB, free: 14 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.003982/0.1979, allocations: 1.683 MB / 0.5046 GB, free: 12.32 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00425/0.2022, allocations: 1.754 MB / 0.5063 GB, free: 10.5 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00246/0.2047, allocations: 0.977 MB / 0.5072 GB, free: 9.523 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002758/0.2074, allocations: 1.242 MB / 0.5085 GB, free: 8.277 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005357/0.208, allocations: 104 kB / 0.5086 GB, free: 8.176 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002362/0.2104, allocations: 0.78 MB / 0.5093 GB, free: 7.395 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001801/0.2122, allocations: 1.103 MB / 0.5104 GB, free: 6.289 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000986/0.2132, allocations: 0.4964 MB / 0.5109 GB, free: 5.785 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005793/0.219, allocations: 3.004 MB / 0.5138 GB, free: 2.773 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.2191, allocations: 0 / 0.5138 GB, free: 2.773 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.2191, allocations: 0 / 0.5138 GB, free: 2.773 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001357/0.2192, allocations: 0 / 0.5138 GB, free: 2.773 MB / 362.7 MB 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.3126/0.5318, allocations: 2.721 MB / 0.5165 GB, free: 52.27 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.126e-05/0.5319, allocations: 8.875 kB / 0.5165 GB, free: 52.27 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001126/0.533, allocations: 315.5 kB / 0.5168 GB, free: 52.21 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003643/0.5367, allocations: 475.1 kB / 0.5172 GB, free: 52.12 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006122/0.5428, allocations: 1.75 MB / 0.5189 GB, free: 51.57 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00019/0.543, allocations: 160.8 kB / 0.5191 GB, free: 51.51 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009438/0.544, allocations: 261.5 kB / 0.5193 GB, free: 51.43 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007899/0.5519, allocations: 3.159 MB / 0.5224 GB, free: 50.08 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.563e-05/0.5521, allocations: 15.89 kB / 0.5224 GB, free: 50.07 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003258/0.5524, allocations: 89.88 kB / 0.5225 GB, free: 50.02 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001064/0.5535, allocations: 209.2 kB / 0.5227 GB, free: 50 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008256/0.5618, allocations: 2.853 MB / 0.5255 GB, free: 49.09 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02487/0.5867, allocations: 11.77 MB / 0.537 GB, free: 40.95 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006715/0.5934, allocations: 2.615 MB / 0.5396 GB, free: 39.29 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002753/0.5938, allocations: 34.14 kB / 0.5396 GB, free: 39.28 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005838/0.5996, allocations: 1.701 MB / 0.5413 GB, free: 38.26 MB / 362.7 MB Notification: Performance of pre-optimization done (n=247): time 1.447e-05/0.5997, allocations: 4 kB / 0.5413 GB, free: 38.25 MB / 362.7 MB Notification: Performance of matching and sorting (n=267): time 0.03731/0.637, allocations: 12.07 MB / 0.553 GB, free: 26.18 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001381/0.6372, allocations: 413.8 kB / 0.5534 GB, free: 25.7 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002234/0.6395, allocations: 1.465 MB / 0.5549 GB, free: 24.22 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003093/0.6398, allocations: 83.77 kB / 0.5549 GB, free: 24.14 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007232/0.6405, allocations: 0.9635 MB / 0.5559 GB, free: 23.17 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008085/0.6413, allocations: 0.8521 MB / 0.5567 GB, free: 22.34 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002203/0.6416, allocations: 61.48 kB / 0.5568 GB, free: 22.28 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001677/0.6418, allocations: 437.4 kB / 0.5572 GB, free: 21.84 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003055/0.6448, allocations: 1.314 MB / 0.5585 GB, free: 20.52 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003394/0.6482, allocations: 1.982 MB / 0.5604 GB, free: 18.28 MB / 362.7 MB 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.01906/0.6673, allocations: 3.863 MB / 0.5642 GB, free: 14.4 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.494e-05/0.6673, allocations: 4 kB / 0.5642 GB, free: 14.4 MB / 362.7 MB 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. Error: No system for the symbolic initialization was generated