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.001615/0.001615, allocations: 114.2 kB / 17.07 MB, free: 5.945 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.001837/0.001837, allocations: 198.9 kB / 18.01 MB, free: 5.023 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.37/1.37, allocations: 222.9 MB / 241.7 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1899/0.1899, allocations: 38.04 MB / 329.9 MB, free: 8.754 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001312/0.001312, allocations: 63.89 kB / 457.7 MB, free: 7.355 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3163/0.3177, allocations: 58.05 MB / 0.5036 GB, free: 7.43 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.DoubleRXline): time 0.01065/0.3284, allocations: 10.19 MB / 0.5136 GB, free: 292 kB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.008112/0.3365, allocations: 3.715 MB / 0.5172 GB, free: 13.67 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001357/0.3379, allocations: 35.62 kB / 0.5172 GB, free: 13.66 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003411/0.3413, allocations: 1.201 MB / 0.5184 GB, free: 12.95 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005121/0.3465, allocations: 1.154 MB / 0.5195 GB, free: 12.36 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003275/0.3498, allocations: 0.7207 MB / 0.5202 GB, free: 12.02 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.005704/0.3555, allocations: 2.437 MB / 0.5226 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002785/0.3583, allocations: 1.041 MB / 0.5236 GB, free: 10.52 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002783/0.3611, allocations: 1.063 MB / 0.5247 GB, free: 10.06 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002902/0.364, allocations: 1.378 MB / 0.526 GB, free: 9.566 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006851/0.3647, allocations: 167 kB / 0.5262 GB, free: 9.566 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002173/0.3669, allocations: 0.7046 MB / 0.5269 GB, free: 9.41 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001802/0.3687, allocations: 0.9701 MB / 0.5278 GB, free: 9.082 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002586/0.3713, allocations: 1.008 MB / 0.5288 GB, free: 8.477 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003686/0.375, allocations: 2.61 MB / 0.5314 GB, free: 6.965 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.375, allocations: 0 / 0.5314 GB, free: 6.965 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.375, allocations: 0 / 0.5314 GB, free: 6.965 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.556e-05/0.3751, allocations: 1.5 kB / 0.5314 GB, free: 6.965 MB / 398.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.004613/0.3797, allocations: 2.369 MB / 0.5337 GB, free: 5.242 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.588e-05/0.3798, allocations: 12.86 kB / 0.5337 GB, free: 5.238 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003217/0.3801, allocations: 253.8 kB / 0.5339 GB, free: 5.047 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001881/0.382, allocations: 355 kB / 0.5343 GB, free: 4.867 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002191/0.3842, allocations: 1.131 MB / 0.5354 GB, free: 4.066 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001146/0.3843, allocations: 128 kB / 0.5355 GB, free: 4.004 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004263/0.3848, allocations: 199.5 kB / 0.5357 GB, free: 3.93 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003756/0.3885, allocations: 2.47 MB / 0.5381 GB, free: 2.387 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.997e-05/0.3886, allocations: 15.23 kB / 0.5381 GB, free: 2.375 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001727/0.3888, allocations: 69.94 kB / 0.5382 GB, free: 2.324 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005337/0.3893, allocations: 155.4 kB / 0.5383 GB, free: 2.285 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003795/0.3931, allocations: 2.182 MB / 0.5404 GB, free: 1.258 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01264/0.4058, allocations: 9.196 MB / 0.5494 GB, free: 9.141 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002559/0.4084, allocations: 2.134 MB / 0.5515 GB, free: 6.879 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001589/0.41, allocations: 1.177 MB / 0.5527 GB, free: 5.699 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.968e-05/0.4101, allocations: 33.36 kB / 0.5527 GB, free: 5.664 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001829/0.4119, allocations: 1.408 MB / 0.5541 GB, free: 4.223 MB / 414.1 MB Notification: Performance of pre-optimization done (n=205): time 3.406e-06/0.4119, allocations: 0 / 0.5541 GB, free: 4.223 MB / 414.1 MB Notification: Performance of matching and sorting (n=213): time 0.01078/0.4227, allocations: 6.939 MB / 0.5608 GB, free: 13.18 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001412/0.4229, allocations: 277.2 kB / 0.5611 GB, free: 12.86 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001117/0.424, allocations: 0.9355 MB / 0.562 GB, free: 11.9 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001291/0.4242, allocations: 69.69 kB / 0.5621 GB, free: 11.82 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005198/0.4247, allocations: 0.7475 MB / 0.5628 GB, free: 11.07 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005242/0.4252, allocations: 0.7013 MB / 0.5635 GB, free: 10.36 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005428/0.4258, allocations: 404.8 kB / 0.5639 GB, free: 9.957 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.362e-05/0.4259, allocations: 305.1 kB / 0.5642 GB, free: 9.656 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001426/0.4273, allocations: 0.9651 MB / 0.5651 GB, free: 8.688 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001725/0.429, allocations: 1.524 MB / 0.5666 GB, free: 6.938 MB / 430.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.01206/0.4411, allocations: 6.226 MB / 0.5727 GB, free: 472 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.359e-05/0.4411, allocations: 7.984 kB / 0.5727 GB, free: 464 kB / 430.1 MB Notification: Performance of matching and sorting (n=317) (initialization): time 0.007386/0.4485, allocations: 4.116 MB / 0.5767 GB, free: 12.31 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.3e-05/0.4486, allocations: 67.41 kB / 0.5768 GB, free: 12.23 MB / 446.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.001474/0.4501, allocations: 0.9911 MB / 0.5778 GB, free: 11.24 MB / 446.1 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated