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.0009805/0.0009805, allocations: 104.7 kB / 16.51 MB, free: 6.652 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.001127/0.001127, allocations: 195.1 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.213/1.213, allocations: 222.9 MB / 241.1 MB, free: 15.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1647/0.1647, allocations: 38.04 MB / 329.3 MB, free: 9.094 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001217/0.001217, allocations: 61.89 kB / 398.2 MB, free: 34.46 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1015/0.1027, allocations: 58.07 MB / 456.3 MB, free: 8.453 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.DoubleRXlineTG): time 0.01569/0.1185, allocations: 15.34 MB / 471.6 MB, free: 9.043 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01401/0.1326, allocations: 8.775 MB / 480.4 MB, free: 252 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001861/0.1344, allocations: 87.44 kB / 480.5 MB, free: 164 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.274/0.4085, allocations: 96.19 MB / 0.5631 GB, free: 12.75 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003078/0.4116, allocations: 1.392 MB / 0.5645 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002006/0.4136, allocations: 0.9599 MB / 0.5654 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01961/0.4332, allocations: 17.19 MB / 0.5822 GB, free: 10.66 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002108/0.4353, allocations: 1.456 MB / 0.5836 GB, free: 9.238 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.03099/0.4664, allocations: 24.59 MB / 0.6076 GB, free: 1.363 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002597/0.469, allocations: 1.985 MB / 0.6096 GB, free: 15.52 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003805/0.4694, allocations: 136 kB / 0.6097 GB, free: 15.38 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001731/0.4711, allocations: 0.9501 MB / 0.6106 GB, free: 14.47 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001094/0.4722, allocations: 1.253 MB / 0.6119 GB, free: 13.23 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001425/0.4737, allocations: 1.313 MB / 0.6132 GB, free: 11.91 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003491/0.4772, allocations: 3.817 MB / 0.6169 GB, free: 8.195 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.4772, allocations: 4 kB / 0.6169 GB, free: 8.191 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.815e-06/0.4772, allocations: 0 / 0.6169 GB, free: 8.191 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.026e-05/0.4773, allocations: 3.938 kB / 0.6169 GB, free: 8.188 MB / 446.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.006314/0.4836, allocations: 3.174 MB / 0.62 GB, free: 4.957 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.295e-05/0.4837, allocations: 11.97 kB / 0.62 GB, free: 4.945 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004017/0.4841, allocations: 324.4 kB / 0.6203 GB, free: 4.621 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002097/0.4862, allocations: 455.7 kB / 0.6207 GB, free: 4.176 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003142/0.4894, allocations: 1.778 MB / 0.6225 GB, free: 2.371 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001413/0.4895, allocations: 166.9 kB / 0.6226 GB, free: 2.215 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005125/0.49, allocations: 254.8 kB / 0.6229 GB, free: 1.973 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004453/0.4945, allocations: 3.191 MB / 0.626 GB, free: 14.64 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.768e-05/0.4946, allocations: 7.938 kB / 0.626 GB, free: 14.64 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002009/0.4948, allocations: 95.42 kB / 0.6261 GB, free: 14.55 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000569/0.4953, allocations: 210.9 kB / 0.6263 GB, free: 14.34 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004174/0.4995, allocations: 2.849 MB / 0.6291 GB, free: 11.49 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0154/0.5149, allocations: 11.59 MB / 0.6404 GB, free: 15.59 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003222/0.5182, allocations: 2.59 MB / 0.6429 GB, free: 12.88 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002146/0.5204, allocations: 1.546 MB / 0.6444 GB, free: 11.32 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000111/0.5205, allocations: 25.12 kB / 0.6445 GB, free: 11.29 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002226/0.5227, allocations: 1.707 MB / 0.6461 GB, free: 9.547 MB / 478.1 MB Notification: Performance of pre-optimization done (n=247): time 4.278e-06/0.5228, allocations: 0 / 0.6461 GB, free: 9.547 MB / 478.1 MB Notification: Performance of matching and sorting (n=267): time 0.02104/0.5438, allocations: 11.5 MB / 0.6574 GB, free: 13.89 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001719/0.544, allocations: 408.8 kB / 0.6578 GB, free: 13.4 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001691/0.5457, allocations: 1.481 MB / 0.6592 GB, free: 11.91 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002455/0.546, allocations: 81.69 kB / 0.6593 GB, free: 11.83 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007329/0.5467, allocations: 0.9937 MB / 0.6602 GB, free: 10.83 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007082/0.5474, allocations: 0.8631 MB / 0.6611 GB, free: 9.988 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007122/0.5481, allocations: 0.5241 MB / 0.6616 GB, free: 9.457 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 7.687e-05/0.5482, allocations: 301.1 kB / 0.6619 GB, free: 9.16 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001907/0.5501, allocations: 1.331 MB / 0.6632 GB, free: 7.82 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002292/0.5524, allocations: 1.998 MB / 0.6651 GB, free: 5.562 MB / 494.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.01474/0.5672, allocations: 6.987 MB / 0.672 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.528e-05/0.5672, allocations: 4 kB / 0.672 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of matching and sorting (n=402) (initialization): time 0.00938/0.5766, allocations: 5.316 MB / 0.6772 GB, free: 8.852 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.334e-05/0.5767, allocations: 71.23 kB / 0.6772 GB, free: 8.773 MB / 0.4981 GB 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.001978/0.5787, allocations: 1.365 MB / 0.6786 GB, free: 7.367 MB / 0.4981 GB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated