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.001291/0.001291, allocations: 114 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.001044/0.001044, allocations: 200 kB / 18 MB, free: 5.078 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.338/1.338, 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-master/package.mo): time 0.179/0.179, allocations: 38.03 MB / 329.9 MB, free: 8.758 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001315/0.001315, allocations: 63.91 kB / 457.7 MB, free: 7.352 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3073/0.3086, allocations: 58.06 MB / 0.5036 GB, free: 7.523 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.DoubleRXlineTG): time 0.01327/0.3219, allocations: 13.34 MB / 0.5167 GB, free: 14.14 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01384/0.3358, allocations: 7.917 MB / 0.5244 GB, free: 8.578 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002723/0.3385, allocations: 47.12 kB / 0.5244 GB, free: 8.562 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.1241/0.4627, allocations: 91.2 MB / 0.6135 GB, free: 8.07 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004313/0.467, allocations: 1.478 MB / 0.6149 GB, free: 6.586 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003039/0.47, allocations: 1.05 MB / 0.616 GB, free: 5.539 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.02027/0.4903, allocations: 14.52 MB / 0.6301 GB, free: 6.996 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002713/0.4931, allocations: 1.603 MB / 0.6317 GB, free: 5.348 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.03259/0.5257, allocations: 23.53 MB / 0.6547 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003245/0.529, allocations: 1.896 MB / 0.6565 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0008153/0.5298, allocations: 244 kB / 0.6568 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002398/0.5322, allocations: 0.9986 MB / 0.6577 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.001699/0.534, allocations: 1.352 MB / 0.6591 GB, free: 9.289 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.00258/0.5366, allocations: 1.427 MB / 0.6605 GB, free: 7.855 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.00552/0.5421, allocations: 3.984 MB / 0.6643 GB, free: 3.859 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 7.434e-06/0.5421, allocations: 0 / 0.6643 GB, free: 3.859 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.703e-06/0.5422, allocations: 0 / 0.6643 GB, free: 3.859 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0001504/0.5423, allocations: 0 / 0.6643 GB, free: 3.859 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.008427/0.5507, allocations: 3.181 MB / 0.6675 GB, free: 0.5898 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/0.5508, allocations: 12.03 kB / 0.6675 GB, free: 0.5781 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007033/0.5515, allocations: 312.8 kB / 0.6678 GB, free: 268 kB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002545/0.5541, allocations: 465.2 kB / 0.6682 GB, free: 15.8 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004552/0.5586, allocations: 1.839 MB / 0.67 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001759/0.5588, allocations: 163.8 kB / 0.6702 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00081/0.5597, allocations: 251.8 kB / 0.6704 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006134/0.5658, allocations: 3.18 MB / 0.6735 GB, free: 10.17 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.417e-05/0.5659, allocations: 19.84 kB / 0.6735 GB, free: 10.15 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003487/0.5663, allocations: 95.84 kB / 0.6736 GB, free: 10.05 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006425/0.5669, allocations: 207.8 kB / 0.6738 GB, free: 9.852 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00503/0.572, allocations: 2.845 MB / 0.6766 GB, free: 7 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01847/0.5905, allocations: 11.52 MB / 0.6878 GB, free: 11.07 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003771/0.5943, allocations: 2.597 MB / 0.6904 GB, free: 8.344 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002386/0.5967, allocations: 1.522 MB / 0.6919 GB, free: 6.816 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001262/0.5968, allocations: 26.06 kB / 0.6919 GB, free: 6.789 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00271/0.5996, allocations: 1.698 MB / 0.6935 GB, free: 5.047 MB / 0.545 GB Notification: Performance of pre-optimization done (n=247): time 1.061e-05/0.5996, allocations: 0 / 0.6935 GB, free: 5.047 MB / 0.545 GB Notification: Performance of matching and sorting (n=276): time 0.0297/0.6293, allocations: 13.97 MB / 0.7072 GB, free: 6.781 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002116/0.6295, allocations: 413.8 kB / 0.7076 GB, free: 6.293 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002203/0.6318, allocations: 1.469 MB / 0.709 GB, free: 4.816 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0003524/0.6321, allocations: 89.67 kB / 0.7091 GB, free: 4.723 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009019/0.633, allocations: 1.001 MB / 0.7101 GB, free: 3.711 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001074/0.6341, allocations: 0.8861 MB / 0.711 GB, free: 2.812 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001183/0.6353, allocations: 0.5341 MB / 0.7115 GB, free: 2.27 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 8.846e-05/0.6354, allocations: 305.1 kB / 0.7118 GB, free: 1.969 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002332/0.6378, allocations: 1.347 MB / 0.7131 GB, free: 0.6133 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2356/0.8733, allocations: 2.013 MB / 0.715 GB, free: 187 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.01602/0.8894, allocations: 7.245 MB / 0.7221 GB, free: 184.5 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.427e-05/0.8894, allocations: 5.312 kB / 0.7221 GB, free: 184.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=409) (initialization): time 0.009606/0.8991, allocations: 5.378 MB / 0.7274 GB, free: 182.6 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.747e-05/0.8991, allocations: 65.09 kB / 0.7274 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.001937/0.9011, allocations: 1.365 MB / 0.7288 GB, free: 182 MB / 0.5606 GB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated