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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.001024/0.001024, allocations: 85.12 kB / 16.31 MB, free: 5.645 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.00119/0.00119, allocations: 180.6 kB / 17.21 MB, free: 5.566 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.57/1.57, allocations: 205.4 MB / 223.4 MB, free: 5.527 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.3588/0.3588, allocations: 38.05 MB / 309.7 MB, free: 8.918 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005715/0.0005715, allocations: 18.17 kB / 376.6 MB, free: 15.03 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1423/0.1429, allocations: 56.34 MB / 433 MB, free: 6.586 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.DoubleRXlineTG): time 0.01696/0.1599, allocations: 13.81 MB / 446.8 MB, free: 8.727 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01693/0.1769, allocations: 8.066 MB / 454.8 MB, free: 0.6445 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002775/0.1797, allocations: 83.38 kB / 454.9 MB, free: 0.5625 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.3892/0.5689, allocations: 92.44 MB / 0.5345 GB, free: 3.723 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005281/0.5743, allocations: 1.469 MB / 0.536 GB, free: 2.742 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003708/0.578, allocations: 0.8904 MB / 0.5368 GB, free: 1.93 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.02436/0.6024, allocations: 15.63 MB / 0.5521 GB, free: 2.953 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00459/0.607, allocations: 1.751 MB / 0.5538 GB, free: 1.23 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.04115/0.6482, allocations: 23.9 MB / 0.5771 GB, free: 9.977 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004494/0.6528, allocations: 1.848 MB / 0.579 GB, free: 8.258 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001173/0.654, allocations: 108 kB / 0.5791 GB, free: 8.152 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003003/0.657, allocations: 0.8222 MB / 0.5799 GB, free: 7.355 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002629/0.6597, allocations: 1.224 MB / 0.5811 GB, free: 6.141 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001812/0.6615, allocations: 0.4964 MB / 0.5815 GB, free: 5.637 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005054/0.6666, allocations: 3 MB / 0.5845 GB, free: 2.734 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.185e-06/0.6666, allocations: 4 kB / 0.5845 GB, free: 2.73 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.576e-06/0.6666, allocations: 4 kB / 0.5845 GB, free: 2.727 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001865/0.6668, allocations: 0 / 0.5845 GB, free: 2.727 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.008207/0.675, allocations: 2.738 MB / 0.5872 GB, free: 15.93 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.329e-05/0.6751, allocations: 8.031 kB / 0.5872 GB, free: 15.93 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001239/0.6764, allocations: 323 kB / 0.5875 GB, free: 15.61 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002256/0.6786, allocations: 457.3 kB / 0.5879 GB, free: 15.16 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00373/0.6824, allocations: 1.744 MB / 0.5896 GB, free: 13.4 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001498/0.6825, allocations: 166.3 kB / 0.5898 GB, free: 13.24 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005404/0.6831, allocations: 255.9 kB / 0.59 GB, free: 13 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005152/0.6883, allocations: 3.183 MB / 0.5931 GB, free: 9.68 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.574e-05/0.6883, allocations: 11.84 kB / 0.5931 GB, free: 9.668 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002103/0.6885, allocations: 85.06 kB / 0.5932 GB, free: 9.59 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005469/0.6891, allocations: 220.5 kB / 0.5934 GB, free: 9.379 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004605/0.6937, allocations: 2.857 MB / 0.5962 GB, free: 6.516 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01703/0.7108, allocations: 11.62 MB / 0.6076 GB, free: 10.62 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003593/0.7144, allocations: 2.608 MB / 0.6101 GB, free: 7.891 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002342/0.7168, allocations: 1.546 MB / 0.6116 GB, free: 6.336 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001163/0.7169, allocations: 25.36 kB / 0.6116 GB, free: 6.316 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002532/0.7195, allocations: 1.717 MB / 0.6133 GB, free: 4.559 MB / 478.1 MB Notification: Performance of pre-optimization done (n=247): time 4.388e-06/0.7195, allocations: 0 / 0.6133 GB, free: 4.559 MB / 478.1 MB Notification: Performance of matching and sorting (n=267): time 0.02384/0.7433, allocations: 11.6 MB / 0.6246 GB, free: 8.812 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002358/0.7436, allocations: 417.3 kB / 0.625 GB, free: 8.324 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002222/0.7458, allocations: 1.473 MB / 0.6265 GB, free: 6.844 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003978/0.7463, allocations: 89.72 kB / 0.6266 GB, free: 6.75 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000952/0.7472, allocations: 1.005 MB / 0.6275 GB, free: 5.746 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009778/0.7482, allocations: 0.8527 MB / 0.6284 GB, free: 4.91 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001508/0.7484, allocations: 60 kB / 0.6284 GB, free: 4.852 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002435/0.7486, allocations: 432.5 kB / 0.6289 GB, free: 4.422 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002185/0.7508, allocations: 1.31 MB / 0.6301 GB, free: 3.109 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002657/0.7535, allocations: 1.998 MB / 0.6321 GB, free: 0.8477 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.2861/1.04, allocations: 3.926 MB / 0.6359 GB, free: 153 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-05/1.04, allocations: 7.438 kB / 0.6359 GB, free: 153 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. Error: No system for the symbolic initialization was generated