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.0015/0.0015, allocations: 108.2 kB / 16.92 MB, free: 6.145 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.001718/0.001718, allocations: 187.4 kB / 17.85 MB, free: 5.285 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.313/1.313, allocations: 222.9 MB / 241.5 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1716/0.1716, allocations: 38.04 MB / 329.7 MB, free: 8.82 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001252/0.001252, allocations: 66.95 kB / 398.9 MB, free: 33.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1042/0.1055, allocations: 58.07 MB / 457 MB, free: 7.93 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.DoubleRXline): time 0.0131/0.1186, allocations: 10.17 MB / 467.2 MB, free: 13.71 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007233/0.1259, allocations: 3.719 MB / 470.9 MB, free: 9.98 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001137/0.1271, allocations: 35.81 kB / 470.9 MB, free: 9.945 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003014/0.1301, allocations: 1.212 MB / 472.1 MB, free: 8.73 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002575/0.1327, allocations: 1.132 MB / 473.3 MB, free: 7.594 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001528/0.1342, allocations: 0.7251 MB / 474 MB, free: 6.867 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002746/0.137, allocations: 2.441 MB / 476.4 MB, free: 4.418 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001471/0.1385, allocations: 1.036 MB / 477.5 MB, free: 3.359 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00165/0.1401, allocations: 1.043 MB / 478.5 MB, free: 2.312 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002056/0.1422, allocations: 1.383 MB / 479.9 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004602/0.1427, allocations: 168 kB / 480 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001464/0.1442, allocations: 0.7372 MB / 480.8 MB, free: 24 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001087/0.1453, allocations: 0.9704 MB / 481.7 MB, free: 15.05 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001503/0.1468, allocations: 1.003 MB / 482.8 MB, free: 14.04 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00249/0.1493, allocations: 2.555 MB / 485.3 MB, free: 11.48 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.1493, allocations: 0 / 485.3 MB, free: 11.48 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1493, allocations: 0 / 485.3 MB, free: 11.48 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.617e-05/0.1494, allocations: 0 / 485.3 MB, free: 11.48 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.003993/0.1533, allocations: 2.329 MB / 487.6 MB, free: 9.066 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.719e-05/0.1534, allocations: 11.89 kB / 487.6 MB, free: 9.055 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002807/0.1537, allocations: 253.5 kB / 487.9 MB, free: 8.797 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00167/0.1554, allocations: 342.2 kB / 488.2 MB, free: 8.461 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001658/0.157, allocations: 1.079 MB / 489.3 MB, free: 7.336 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001046/0.1571, allocations: 130.9 kB / 489.4 MB, free: 7.207 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003759/0.1575, allocations: 195.9 kB / 489.6 MB, free: 7.016 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003858/0.1614, allocations: 2.454 MB / 492.1 MB, free: 4.434 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.743e-05/0.1615, allocations: 15.84 kB / 492.1 MB, free: 4.418 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001695/0.1617, allocations: 71.95 kB / 492.2 MB, free: 4.348 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005432/0.1622, allocations: 158.9 kB / 492.3 MB, free: 4.191 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003536/0.1658, allocations: 2.174 MB / 494.5 MB, free: 2.012 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01213/0.1779, allocations: 9.238 MB / 0.4919 GB, free: 8.449 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002653/0.1806, allocations: 2.125 MB / 0.494 GB, free: 6.191 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001595/0.1822, allocations: 1.181 MB / 0.4952 GB, free: 5.008 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.608e-05/0.1823, allocations: 29.36 kB / 0.4952 GB, free: 4.977 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001904/0.1842, allocations: 1.415 MB / 0.4966 GB, free: 3.523 MB / 382.1 MB Notification: Performance of pre-optimization done (n=205): time 4.148e-06/0.1843, allocations: 0 / 0.4966 GB, free: 3.523 MB / 382.1 MB Notification: Performance of matching and sorting (n=213): time 0.1703/0.3546, allocations: 6.869 MB / 0.5033 GB, free: 55.36 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.194e-05/0.3547, allocations: 275.5 kB / 0.5035 GB, free: 55.07 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001134/0.3559, allocations: 0.9308 MB / 0.5044 GB, free: 54.7 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001247/0.356, allocations: 77.23 kB / 0.5045 GB, free: 54.64 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004422/0.3565, allocations: 0.7248 MB / 0.5052 GB, free: 54.08 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004436/0.3569, allocations: 0.6628 MB / 0.5059 GB, free: 53.59 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005412/0.3575, allocations: 413.9 kB / 0.5063 GB, free: 53.41 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.238e-05/0.3575, allocations: 301.9 kB / 0.5066 GB, free: 53.11 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001427/0.3589, allocations: 0.9654 MB / 0.5075 GB, free: 52.79 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00159/0.3605, allocations: 1.518 MB / 0.509 GB, free: 51.83 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.01238/0.3729, allocations: 6.246 MB / 0.5151 GB, free: 49.32 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.697e-05/0.373, allocations: 5.031 kB / 0.5151 GB, free: 49.32 MB / 382.1 MB Notification: Performance of matching and sorting (n=317) (initialization): time 0.006977/0.3799, allocations: 4.118 MB / 0.5191 GB, free: 47.83 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.265e-05/0.38, allocations: 68.12 kB / 0.5192 GB, free: 47.77 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.001314/0.3813, allocations: 0.996 MB / 0.5201 GB, free: 47.36 MB / 382.1 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated