Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_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/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/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_PowerSystems_Examples_AC3ph_Transmission_DoubleRXlineTG",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Transmission.DoubleRXlineTG,fileNamePrefix="PowerSystems_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.001217/0.001217, allocations: 104.3 kB / 16.62 MB, free: 6.812 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.001385/0.001385, allocations: 193.8 kB / 17.55 MB, free: 5.953 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.258/1.258, allocations: 222.9 MB / 241.2 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1736/0.1736, allocations: 38.02 MB / 329.4 MB, free: 9.027 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001236, allocations: 57.23 kB / 398.4 MB, free: 34.33 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09216/0.09341, allocations: 58.06 MB / 456.4 MB, free: 8.352 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.DoubleRXlineTG): time 0.01579/0.1092, allocations: 15.34 MB / 471.8 MB, free: 8.941 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01388/0.1232, allocations: 8.527 MB / 480.3 MB, free: 404 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002543/0.1258, allocations: 83.44 kB / 480.4 MB, free: 320 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.278/0.4038, allocations: 98.64 MB / 0.5655 GB, free: 10.48 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003363/0.4072, allocations: 1.375 MB / 0.5668 GB, free: 9.484 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002343/0.4096, allocations: 0.9625 MB / 0.5677 GB, free: 8.609 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01817/0.4278, allocations: 15.49 MB / 0.5829 GB, free: 10.1 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002604/0.4304, allocations: 1.693 MB / 0.5845 GB, free: 8.449 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.03107/0.4615, allocations: 25.43 MB / 0.6093 GB, free: 15.8 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003005/0.4645, allocations: 2.042 MB / 0.6113 GB, free: 13.89 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007608/0.4653, allocations: 246.2 kB / 0.6116 GB, free: 13.66 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002145/0.4675, allocations: 1.034 MB / 0.6126 GB, free: 12.66 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001619/0.4691, allocations: 1.354 MB / 0.6139 GB, free: 11.31 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002199/0.4713, allocations: 1.428 MB / 0.6153 GB, free: 9.887 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003941/0.4753, allocations: 3.926 MB / 0.6191 GB, free: 6.059 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.4753, allocations: 0 / 0.6191 GB, free: 6.059 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.345e-06/0.4753, allocations: 0 / 0.6191 GB, free: 6.059 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.556e-05/0.4754, allocations: 0 / 0.6191 GB, free: 6.059 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.005818/0.4812, allocations: 3.17 MB / 0.6222 GB, free: 2.828 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.193e-05/0.4813, allocations: 15.89 kB / 0.6222 GB, free: 2.812 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004237/0.4817, allocations: 315.8 kB / 0.6225 GB, free: 2.5 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002075/0.4838, allocations: 462 kB / 0.623 GB, free: 2.051 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003133/0.4869, allocations: 1.789 MB / 0.6247 GB, free: 240 kB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001881/0.4871, allocations: 158.8 kB / 0.6249 GB, free: 88 kB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005291/0.4877, allocations: 262.2 kB / 0.6251 GB, free: 15.83 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004818/0.4925, allocations: 3.186 MB / 0.6282 GB, free: 12.51 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.389e-05/0.4926, allocations: 7.938 kB / 0.6283 GB, free: 12.5 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002139/0.4928, allocations: 86.78 kB / 0.6283 GB, free: 12.42 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006218/0.4934, allocations: 211.7 kB / 0.6285 GB, free: 12.21 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004385/0.4978, allocations: 2.853 MB / 0.6313 GB, free: 9.355 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0164/0.5142, allocations: 11.59 MB / 0.6426 GB, free: 13.46 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003376/0.5176, allocations: 2.599 MB / 0.6452 GB, free: 10.73 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002259/0.5199, allocations: 1.532 MB / 0.6467 GB, free: 9.195 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001223/0.52, allocations: 36.09 kB / 0.6467 GB, free: 9.164 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002378/0.5224, allocations: 1.704 MB / 0.6484 GB, free: 7.422 MB / 478.1 MB Notification: Performance of pre-optimization done (n=247): time 5.04e-06/0.5224, allocations: 0 / 0.6484 GB, free: 7.422 MB / 478.1 MB Notification: Performance of matching and sorting (n=267): time 0.02293/0.5454, allocations: 11.52 MB / 0.6596 GB, free: 11.75 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002232/0.5456, allocations: 413.8 kB / 0.66 GB, free: 11.26 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001989/0.5476, allocations: 1.473 MB / 0.6615 GB, free: 9.781 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002249/0.5479, allocations: 81.7 kB / 0.6615 GB, free: 9.695 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008516/0.5487, allocations: 1.007 MB / 0.6625 GB, free: 8.688 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007737/0.5495, allocations: 0.8496 MB / 0.6633 GB, free: 7.855 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008079/0.5503, allocations: 0.5328 MB / 0.6639 GB, free: 7.316 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.806e-05/0.5504, allocations: 301.1 kB / 0.6642 GB, free: 7.02 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00211/0.5526, allocations: 1.331 MB / 0.6655 GB, free: 5.68 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002574/0.5551, allocations: 2.002 MB / 0.6674 GB, free: 3.418 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.0164/0.5716, allocations: 7 MB / 0.6742 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.249e-05/0.5716, allocations: 8 kB / 0.6743 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of matching and sorting (n=402) (initialization): time 0.01095/0.5826, allocations: 5.322 MB / 0.6795 GB, free: 6.684 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.356e-05/0.5827, allocations: 67.41 kB / 0.6795 GB, free: 6.605 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.002488/0.5852, allocations: 1.366 MB / 0.6809 GB, free: 5.199 MB / 0.4981 GB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated