Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.DoubleRXline.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-master/package.mo", uses=false) 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.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.DoubleRXline,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Transmission_DoubleRXline",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Transmission.DoubleRXline,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Transmission_DoubleRXline",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.001195/0.001195, allocations: 97.8 kB / 16.5 MB, free: 6.648 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.001271/0.001271, allocations: 194 kB / 17.42 MB, free: 6.066 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.24/1.24, allocations: 222.9 MB / 241.1 MB, free: 13.77 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1578/0.1578, allocations: 38.05 MB / 329.3 MB, free: 8.855 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001095/0.001095, allocations: 63.17 kB / 398.2 MB, free: 34.4 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08212/0.08323, allocations: 58.07 MB / 456.3 MB, free: 8.398 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.DoubleRXline): time 0.01101/0.09428, allocations: 11.59 MB / 467.8 MB, free: 12.75 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006625/0.1009, allocations: 4.218 MB / 472.1 MB, free: 8.523 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008243/0.1018, allocations: 63.62 kB / 472.1 MB, free: 8.461 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002467/0.1043, allocations: 1.139 MB / 473.3 MB, free: 7.32 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002053/0.1063, allocations: 1.063 MB / 474.3 MB, free: 6.254 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001258/0.1076, allocations: 0.6513 MB / 475 MB, free: 5.602 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00284/0.1105, allocations: 3.794 MB / 478.8 MB, free: 1.797 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001137/0.1116, allocations: 0.9883 MB / 479.8 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001126/0.1127, allocations: 0.8907 MB / 480.7 MB, free: 15.89 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0018/0.1146, allocations: 1.437 MB / 482.1 MB, free: 14.45 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002152/0.1148, allocations: 100 kB / 482.2 MB, free: 14.35 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001161/0.116, allocations: 0.6981 MB / 482.9 MB, free: 13.65 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007523/0.1167, allocations: 0.9156 MB / 483.8 MB, free: 12.73 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008427/0.1176, allocations: 0.9288 MB / 484.7 MB, free: 11.8 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002054/0.1196, allocations: 2.504 MB / 487.2 MB, free: 9.289 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.1196, allocations: 0 / 487.2 MB, free: 9.289 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.216e-06/0.1197, allocations: 0 / 487.2 MB, free: 9.289 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.896e-05/0.1197, allocations: 3.938 kB / 487.2 MB, free: 9.285 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 448 * Number of variables: 448 Notification: Performance of Generate backend data structure: time 0.003691/0.1234, allocations: 2.324 MB / 489.6 MB, free: 6.879 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.916e-05/0.1234, allocations: 8.031 kB / 489.6 MB, free: 6.871 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002713/0.1237, allocations: 253.5 kB / 489.8 MB, free: 6.613 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001555/0.1253, allocations: 346.2 kB / 490.2 MB, free: 6.273 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001555/0.1268, allocations: 1.079 MB / 491.2 MB, free: 5.148 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.526e-05/0.1269, allocations: 122.9 kB / 491.4 MB, free: 5.027 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003628/0.1273, allocations: 195.8 kB / 491.5 MB, free: 4.836 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003158/0.1305, allocations: 2.469 MB / 494 MB, free: 2.238 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.569e-05/0.1305, allocations: 7.938 kB / 494 MB, free: 2.23 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001485/0.1307, allocations: 71.97 kB / 494.1 MB, free: 2.16 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004434/0.1311, allocations: 158.9 kB / 494.2 MB, free: 2.004 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003001/0.1341, allocations: 2.178 MB / 496.4 MB, free: 15.82 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01115/0.1453, allocations: 9.245 MB / 0.4938 GB, free: 6.25 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002532/0.1478, allocations: 2.129 MB / 0.4959 GB, free: 3.988 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001558/0.1494, allocations: 1.185 MB / 0.4971 GB, free: 2.797 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001018/0.1495, allocations: 25.36 kB / 0.4971 GB, free: 2.77 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001867/0.1514, allocations: 1.407 MB / 0.4985 GB, free: 1.324 MB / 382.1 MB Notification: Performance of pre-optimization done (n=205): time 3.426e-06/0.1514, allocations: 3.938 kB / 0.4985 GB, free: 1.32 MB / 382.1 MB Notification: Performance of matching and sorting (n=213): time 0.1922/0.3437, allocations: 6.862 MB / 0.5052 GB, free: 53.96 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.285e-05/0.3438, allocations: 279.3 kB / 0.5054 GB, free: 53.68 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001116/0.3449, allocations: 0.9321 MB / 0.5063 GB, free: 53.3 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001051/0.345, allocations: 73.05 kB / 0.5064 GB, free: 53.24 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004362/0.3455, allocations: 0.7252 MB / 0.5071 GB, free: 52.68 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005148/0.346, allocations: 0.6593 MB / 0.5078 GB, free: 52.19 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005229/0.3465, allocations: 414.2 kB / 0.5081 GB, free: 52 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.082e-05/0.3466, allocations: 311.2 kB / 0.5084 GB, free: 51.7 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00148/0.348, allocations: 0.965 MB / 0.5094 GB, free: 51.38 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001668/0.3497, allocations: 1.519 MB / 0.5109 GB, free: 50.41 MB / 382.1 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.01241/0.3621, allocations: 6.232 MB / 0.517 GB, free: 47.9 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.512e-05/0.3622, allocations: 4.156 kB / 0.517 GB, free: 47.9 MB / 382.1 MB Notification: Performance of matching and sorting (n=317) (initialization): time 0.007132/0.3693, allocations: 4.104 MB / 0.521 GB, free: 46.42 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.512e-05/0.3694, allocations: 68 kB / 0.521 GB, free: 46.36 MB / 382.1 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. Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001265/0.3706, allocations: 0.999 MB / 0.522 GB, free: 45.94 MB / 382.1 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated