Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.DoubleRXlineTG.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.DoubleRXlineTG,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Transmission_DoubleRXlineTG",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Transmission.DoubleRXlineTG,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Transmission_DoubleRXlineTG",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.00149/0.00149, allocations: 107.4 kB / 16.92 MB, free: 5.773 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.00125/0.001251, allocations: 191.3 kB / 17.85 MB, free: 5.168 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.266/1.266, allocations: 222.9 MB / 241.5 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.169/0.169, allocations: 38.03 MB / 329.7 MB, free: 8.836 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001155/0.001155, allocations: 59.28 kB / 398.9 MB, free: 33.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09019/0.09136, allocations: 58.06 MB / 457 MB, free: 7.945 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.DoubleRXlineTG): time 0.0149/0.1063, allocations: 13.33 MB / 470.3 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01256/0.1189, allocations: 7.904 MB / 478.2 MB, free: 2.629 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001353/0.1203, allocations: 55.69 kB / 478.3 MB, free: 2.574 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.3065/0.4268, allocations: 91.21 MB / 0.5561 GB, free: 5.727 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003226/0.43, allocations: 1.477 MB / 0.5576 GB, free: 4.711 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002044/0.4321, allocations: 1.046 MB / 0.5586 GB, free: 3.766 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01786/0.4499, allocations: 14.52 MB / 0.5728 GB, free: 6.191 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002332/0.4523, allocations: 1.611 MB / 0.5743 GB, free: 4.621 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.03053/0.4829, allocations: 23.5 MB / 0.5973 GB, free: 13.95 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002394/0.4853, allocations: 1.889 MB / 0.5991 GB, free: 12.2 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004226/0.4857, allocations: 244 kB / 0.5994 GB, free: 11.96 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001724/0.4875, allocations: 1.041 MB / 0.6004 GB, free: 10.95 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001104/0.4886, allocations: 1.344 MB / 0.6017 GB, free: 9.617 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001453/0.4901, allocations: 1.432 MB / 0.6031 GB, free: 8.188 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00352/0.4936, allocations: 3.928 MB / 0.6069 GB, free: 4.355 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.4936, allocations: 0 / 0.6069 GB, free: 4.355 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.4936, allocations: 0 / 0.6069 GB, free: 4.355 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.478e-05/0.4937, allocations: 0 / 0.6069 GB, free: 4.355 MB / 430.1 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.005614/0.4993, allocations: 3.18 MB / 0.61 GB, free: 1.117 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.661e-05/0.4993, allocations: 11.89 kB / 0.61 GB, free: 1.105 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003614/0.4997, allocations: 315.2 kB / 0.6103 GB, free: 0.7891 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002084/0.5018, allocations: 464.6 kB / 0.6108 GB, free: 344 kB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003076/0.5049, allocations: 1.787 MB / 0.6125 GB, free: 14.53 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001243/0.505, allocations: 155.6 kB / 0.6127 GB, free: 14.38 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005223/0.5055, allocations: 260.5 kB / 0.6129 GB, free: 14.13 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004633/0.5102, allocations: 3.181 MB / 0.616 GB, free: 10.81 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.201e-05/0.5103, allocations: 15.98 kB / 0.616 GB, free: 10.8 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002065/0.5105, allocations: 87.05 kB / 0.6161 GB, free: 10.72 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006019/0.5111, allocations: 215.7 kB / 0.6163 GB, free: 10.51 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004726/0.5158, allocations: 2.856 MB / 0.6191 GB, free: 7.648 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01731/0.5331, allocations: 11.59 MB / 0.6304 GB, free: 11.77 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003694/0.5369, allocations: 2.602 MB / 0.633 GB, free: 9.035 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002507/0.5394, allocations: 1.538 MB / 0.6345 GB, free: 7.488 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000115/0.5396, allocations: 33.89 kB / 0.6345 GB, free: 7.461 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002579/0.5421, allocations: 1.694 MB / 0.6362 GB, free: 5.723 MB / 462.1 MB Notification: Performance of pre-optimization done (n=247): time 6.161e-06/0.5422, allocations: 4 kB / 0.6362 GB, free: 5.719 MB / 462.1 MB Notification: Performance of matching and sorting (n=267): time 0.02465/0.5668, allocations: 11.51 MB / 0.6474 GB, free: 10.05 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002447/0.5671, allocations: 413.3 kB / 0.6478 GB, free: 9.566 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002327/0.5695, allocations: 1.469 MB / 0.6492 GB, free: 8.09 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000277/0.5698, allocations: 85.64 kB / 0.6493 GB, free: 8 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009563/0.5707, allocations: 1.007 MB / 0.6503 GB, free: 6.992 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001031/0.5718, allocations: 0.8477 MB / 0.6511 GB, free: 6.16 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009052/0.5727, allocations: 0.5292 MB / 0.6516 GB, free: 5.625 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 9.419e-05/0.5728, allocations: 301.1 kB / 0.6519 GB, free: 5.328 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002202/0.575, allocations: 1.339 MB / 0.6532 GB, free: 3.98 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002786/0.5778, allocations: 1.998 MB / 0.6552 GB, free: 1.723 MB / 478.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.0169/0.5947, allocations: 7.005 MB / 0.662 GB, free: 10.4 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.55e-05/0.5948, allocations: 12 kB / 0.662 GB, free: 10.39 MB / 494.1 MB Notification: Performance of matching and sorting (n=402) (initialization): time 0.01123/0.606, allocations: 5.317 MB / 0.6672 GB, free: 4.988 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.484e-05/0.6061, allocations: 68.41 kB / 0.6673 GB, free: 4.91 MB / 494.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.0024/0.6085, allocations: 1.375 MB / 0.6686 GB, free: 3.496 MB / 494.1 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated