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.001242/0.001243, allocations: 109.7 kB / 17.06 MB, free: 5.996 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.001293/0.001293, allocations: 193.4 kB / 18 MB, free: 5.074 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.449/1.449, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1935/0.1935, allocations: 38.03 MB / 329.9 MB, free: 8.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002007/0.002007, allocations: 63.89 kB / 457.7 MB, free: 7.324 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3737/0.3757, allocations: 58.06 MB / 0.5036 GB, free: 7.547 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.DoubleRXlineTG): time 0.01523/0.391, allocations: 13.33 MB / 0.5166 GB, free: 14.17 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01618/0.4072, allocations: 7.918 MB / 0.5244 GB, free: 8.602 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002219/0.4095, allocations: 47.59 kB / 0.5244 GB, free: 8.586 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.165/0.5745, allocations: 91.2 MB / 0.6135 GB, free: 8.047 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006466/0.581, allocations: 1.478 MB / 0.6149 GB, free: 6.562 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004129/0.5852, allocations: 1.045 MB / 0.616 GB, free: 5.516 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.02504/0.6103, allocations: 14.51 MB / 0.6301 GB, free: 6.977 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004162/0.6145, allocations: 1.602 MB / 0.6317 GB, free: 5.332 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.03995/0.6545, allocations: 23.51 MB / 0.6546 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00376/0.6583, allocations: 1.896 MB / 0.6565 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.001004/0.6594, allocations: 244 kB / 0.6567 GB, free: 11.65 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002914/0.6623, allocations: 1.003 MB / 0.6577 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.002054/0.6644, allocations: 1.352 MB / 0.659 GB, free: 9.289 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.002924/0.6673, allocations: 1.431 MB / 0.6604 GB, free: 7.852 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.006603/0.6739, allocations: 3.994 MB / 0.6643 GB, free: 3.844 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.674, allocations: 0 / 0.6643 GB, free: 3.844 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.553e-06/0.674, allocations: 0 / 0.6643 GB, free: 3.844 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0001436/0.6741, allocations: 0 / 0.6643 GB, free: 3.844 MB / 0.5137 GB 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.008377/0.6825, allocations: 3.252 MB / 0.6675 GB, free: 0.5 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.016e-05/0.6826, allocations: 19.83 kB / 0.6675 GB, free: 492 kB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006611/0.6832, allocations: 316.8 kB / 0.6678 GB, free: 164 kB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002627/0.6859, allocations: 470.8 kB / 0.6683 GB, free: 15.7 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004729/0.6906, allocations: 1.86 MB / 0.6701 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001918/0.6909, allocations: 155.9 kB / 0.6702 GB, free: 13.63 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000953/0.6918, allocations: 259.9 kB / 0.6705 GB, free: 13.38 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006853/0.6987, allocations: 3.177 MB / 0.6736 GB, free: 10.05 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.155e-05/0.6988, allocations: 19.91 kB / 0.6736 GB, free: 10.03 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002815/0.6991, allocations: 91.91 kB / 0.6737 GB, free: 9.938 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006414/0.6997, allocations: 211.7 kB / 0.6739 GB, free: 9.73 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005785/0.7055, allocations: 2.845 MB / 0.6767 GB, free: 6.879 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0219/0.7275, allocations: 11.54 MB / 0.6879 GB, free: 10.93 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004597/0.7321, allocations: 2.597 MB / 0.6905 GB, free: 8.207 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002931/0.7351, allocations: 1.526 MB / 0.692 GB, free: 6.676 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001739/0.7353, allocations: 22 kB / 0.692 GB, free: 6.652 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00348/0.7388, allocations: 1.702 MB / 0.6937 GB, free: 4.906 MB / 0.545 GB Notification: Performance of pre-optimization done (n=247): time 7.804e-06/0.7388, allocations: 0 / 0.6937 GB, free: 4.906 MB / 0.545 GB Notification: Performance of matching and sorting (n=276): time 0.03363/0.7725, allocations: 14.16 MB / 0.7075 GB, free: 6.477 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002745/0.7728, allocations: 417.8 kB / 0.7079 GB, free: 5.984 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002619/0.7754, allocations: 1.469 MB / 0.7093 GB, free: 4.508 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.000371/0.7758, allocations: 93.56 kB / 0.7094 GB, free: 4.41 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001102/0.7769, allocations: 1.027 MB / 0.7104 GB, free: 3.375 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001253/0.7782, allocations: 0.9221 MB / 0.7113 GB, free: 2.445 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001194/0.7794, allocations: 0.5382 MB / 0.7118 GB, free: 1.898 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001357/0.7795, allocations: 301.1 kB / 0.7121 GB, free: 1.602 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002681/0.7822, allocations: 1.351 MB / 0.7134 GB, free: 248 kB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2278/1.01, allocations: 2.013 MB / 0.7154 GB, free: 187.1 MB / 0.5606 GB 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.01763/1.028, allocations: 7.232 MB / 0.7225 GB, free: 184.5 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.619e-05/1.028, allocations: 5.625 kB / 0.7225 GB, free: 184.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=409) (initialization): time 0.01089/1.039, allocations: 5.386 MB / 0.7277 GB, free: 182.6 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.462e-05/1.039, allocations: 70.69 kB / 0.7278 GB, free: 182.5 MB / 0.5606 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.002426/1.041, allocations: 1.364 MB / 0.7291 GB, free: 181.9 MB / 0.5606 GB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated