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.0008422/0.0008423, allocations: 91.69 kB / 16.65 MB, free: 6.59 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.001052/0.001052, allocations: 183.4 kB / 17.56 MB, free: 6.203 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.256/1.256, allocations: 223.3 MB / 241.6 MB, free: 216 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1708/0.1708, allocations: 38.09 MB / 330.8 MB, free: 8.766 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002913/0.0002913, allocations: 8 kB / 400.8 MB, free: 34.08 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08954/0.08984, allocations: 59.16 MB / 460 MB, free: 6.984 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.DoubleRXline): time 0.01031/0.1002, allocations: 11.08 MB / 471.1 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007085/0.1073, allocations: 4.156 MB / 475.2 MB, free: 7.688 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009935/0.1084, allocations: 55.62 kB / 475.3 MB, free: 7.633 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008692/0.1092, allocations: 341.9 kB / 475.6 MB, free: 7.297 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002342/0.1116, allocations: 1.063 MB / 476.7 MB, free: 6.23 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001466/0.1131, allocations: 0.6474 MB / 477.3 MB, free: 5.582 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003755/0.1169, allocations: 3.798 MB / 481.1 MB, free: 1.773 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002293/0.1192, allocations: 1.499 MB / 482.6 MB, free: 224 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001596/0.1208, allocations: 0.84 MB / 483.5 MB, free: 15.38 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001943/0.1227, allocations: 1.382 MB / 484.8 MB, free: 13.99 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001878/0.1229, allocations: 76 kB / 484.9 MB, free: 13.91 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001175/0.1241, allocations: 0.6747 MB / 485.6 MB, free: 13.24 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007838/0.1249, allocations: 0.8727 MB / 486.5 MB, free: 12.36 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008983/0.1258, allocations: 0.9109 MB / 487.4 MB, free: 11.44 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002282/0.1281, allocations: 2.46 MB / 489.8 MB, free: 8.973 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.1281, allocations: 4 kB / 489.8 MB, free: 8.969 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1281, allocations: 0 / 489.8 MB, free: 8.969 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.35e-05/0.1282, allocations: 0 / 489.8 MB, free: 8.969 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.003701/0.1319, allocations: 1.986 MB / 491.8 MB, free: 6.898 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.273e-05/0.1319, allocations: 8.031 kB / 491.8 MB, free: 6.891 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003082/0.1323, allocations: 249.5 kB / 492.1 MB, free: 6.637 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001705/0.134, allocations: 342.2 kB / 492.4 MB, free: 6.301 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001705/0.1357, allocations: 1.087 MB / 493.5 MB, free: 5.168 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001032/0.1358, allocations: 126.9 kB / 493.6 MB, free: 5.043 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004147/0.1362, allocations: 191.8 kB / 493.8 MB, free: 4.855 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003406/0.1396, allocations: 2.465 MB / 496.3 MB, free: 2.262 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.396e-05/0.1397, allocations: 11.98 kB / 496.3 MB, free: 2.25 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001578/0.1399, allocations: 67.97 kB / 496.3 MB, free: 2.184 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004884/0.1404, allocations: 162.8 kB / 496.5 MB, free: 2.023 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003186/0.1435, allocations: 2.174 MB / 498.7 MB, free: 15.84 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0115/0.1551, allocations: 9.277 MB / 0.496 GB, free: 6.242 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002502/0.1576, allocations: 2.125 MB / 0.4981 GB, free: 3.984 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001568/0.1592, allocations: 1.181 MB / 0.4993 GB, free: 2.797 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.035e-05/0.1593, allocations: 21.38 kB / 0.4993 GB, free: 2.773 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001805/0.1611, allocations: 1.415 MB / 0.5007 GB, free: 1.32 MB / 382.1 MB Notification: Performance of pre-optimization done (n=205): time 3.196e-06/0.1611, allocations: 4 kB / 0.5007 GB, free: 1.316 MB / 382.1 MB Notification: Performance of matching and sorting (n=213): time 0.1737/0.3348, allocations: 6.867 MB / 0.5074 GB, free: 54.5 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.866e-05/0.3349, allocations: 284.4 kB / 0.5077 GB, free: 54.21 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001109/0.336, allocations: 0.9283 MB / 0.5086 GB, free: 53.84 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001416/0.3362, allocations: 70.73 kB / 0.5086 GB, free: 53.78 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004508/0.3366, allocations: 0.7305 MB / 0.5093 GB, free: 53.21 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004541/0.3371, allocations: 0.6624 MB / 0.51 GB, free: 52.72 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000248/0.3374, allocations: 202.9 kB / 0.5102 GB, free: 52.63 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.826e-05/0.3374, allocations: 310.7 kB / 0.5105 GB, free: 52.32 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001401/0.3388, allocations: 0.9654 MB / 0.5114 GB, free: 52 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00167/0.3405, allocations: 1.519 MB / 0.5129 GB, free: 51.04 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.01217/0.3527, allocations: 6.229 MB / 0.519 GB, free: 48.52 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.005e-05/0.3527, allocations: 5.531 kB / 0.519 GB, free: 48.52 MB / 382.1 MB Notification: Performance of matching and sorting (n=317) (initialization): time 0.006811/0.3595, allocations: 4.108 MB / 0.523 GB, free: 47.04 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.692e-05/0.3596, allocations: 73.3 kB / 0.5231 GB, free: 46.97 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.001248/0.3609, allocations: 0.9951 MB / 0.5241 GB, free: 46.56 MB / 382.1 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated