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: translateModel(PowerSystems.Examples.AC3ph.Transmission.DoubleRXlineTG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Transmission.DoubleRXlineTG") translateModel(PowerSystems.Examples.AC3ph.Transmission.DoubleRXlineTG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Transmission.DoubleRXlineTG") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00103/0.00103, allocations: 97.48 kB / 16.5 MB, free: 6.641 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.001/0.001, 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.357/1.357, allocations: 222.9 MB / 241.1 MB, free: 15.34 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1743/0.1743, allocations: 38.03 MB / 329.3 MB, free: 9.031 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002591/0.002591, allocations: 66.59 kB / 398.1 MB, free: 34.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1308/0.1335, allocations: 58.07 MB / 456.2 MB, free: 8.535 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.DoubleRXlineTG): time 0.01765/0.1512, allocations: 15.33 MB / 471.5 MB, free: 9.129 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01568/0.1669, allocations: 8.759 MB / 480.2 MB, free: 356 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003595/0.1705, allocations: 87.44 kB / 480.3 MB, free: 268 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.3536/0.5242, allocations: 96.21 MB / 0.563 GB, free: 12.94 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004941/0.5291, allocations: 1.393 MB / 0.5644 GB, free: 11.93 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003241/0.5324, allocations: 0.957 MB / 0.5653 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.02516/0.5576, allocations: 17.19 MB / 0.5821 GB, free: 10.85 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003229/0.5609, allocations: 1.475 MB / 0.5835 GB, free: 9.41 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.03796/0.5988, allocations: 24.58 MB / 0.6075 GB, free: 1.562 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00408/0.603, allocations: 1.982 MB / 0.6095 GB, free: 15.72 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001062/0.6041, allocations: 136 kB / 0.6096 GB, free: 15.59 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002984/0.6071, allocations: 0.956 MB / 0.6105 GB, free: 14.67 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002467/0.6096, allocations: 1.253 MB / 0.6118 GB, free: 13.42 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004454/0.6141, allocations: 1.31 MB / 0.613 GB, free: 12.11 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00673/0.6208, allocations: 3.813 MB / 0.6168 GB, free: 8.398 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.816e-06/0.6208, allocations: 0 / 0.6168 GB, free: 8.398 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.021e-06/0.6208, allocations: 3.938 kB / 0.6168 GB, free: 8.395 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002116/0.6211, allocations: 0 / 0.6168 GB, free: 8.395 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.009472/0.6306, allocations: 3.18 MB / 0.6199 GB, free: 5.156 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.158e-05/0.6306, allocations: 8.031 kB / 0.6199 GB, free: 5.148 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002388/0.633, allocations: 457.2 kB / 0.6203 GB, free: 4.699 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003592/0.6366, allocations: 1.794 MB / 0.6221 GB, free: 2.879 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001376/0.6368, allocations: 154.1 kB / 0.6222 GB, free: 2.734 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005502/0.6373, allocations: 259.7 kB / 0.6225 GB, free: 2.488 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005048/0.6424, allocations: 3.188 MB / 0.6256 GB, free: 15.16 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.639e-05/0.6425, allocations: 15.94 kB / 0.6256 GB, free: 15.14 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002176/0.6427, allocations: 86.7 kB / 0.6257 GB, free: 15.07 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006255/0.6433, allocations: 207.8 kB / 0.6259 GB, free: 14.86 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004635/0.648, allocations: 2.853 MB / 0.6287 GB, free: 12 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01709/0.6651, allocations: 11.59 MB / 0.64 GB, free: 108 kB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0035/0.6686, allocations: 2.602 MB / 0.6425 GB, free: 13.38 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002326/0.671, allocations: 1.53 MB / 0.644 GB, free: 11.84 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001211/0.6711, allocations: 29.34 kB / 0.6441 GB, free: 11.81 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002474/0.6736, allocations: 1.706 MB / 0.6457 GB, free: 10.07 MB / 478.1 MB Notification: Performance of pre-optimization done (n=247): time 3.707e-06/0.6736, allocations: 0 / 0.6457 GB, free: 10.07 MB / 478.1 MB Notification: Performance of matching and sorting (n=267): time 0.02252/0.6962, allocations: 11.5 MB / 0.6569 GB, free: 14.41 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000268/0.6965, allocations: 421.5 kB / 0.6574 GB, free: 13.92 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002338/0.6988, allocations: 1.473 MB / 0.6588 GB, free: 12.44 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000239/0.6991, allocations: 77.7 kB / 0.6589 GB, free: 12.36 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008007/0.6999, allocations: 1.01 MB / 0.6598 GB, free: 11.34 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007625/0.7007, allocations: 0.8486 MB / 0.6607 GB, free: 10.51 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007388/0.7014, allocations: 0.5294 MB / 0.6612 GB, free: 9.977 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.471e-05/0.7015, allocations: 301.1 kB / 0.6615 GB, free: 9.68 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001981/0.7035, allocations: 1.331 MB / 0.6628 GB, free: 8.34 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002456/0.706, allocations: 1.998 MB / 0.6647 GB, free: 6.082 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.01542/0.7214, allocations: 6.985 MB / 0.6716 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.802e-05/0.7214, allocations: 8 kB / 0.6716 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of matching and sorting (n=402) (initialization): time 0.009957/0.7314, allocations: 5.319 MB / 0.6768 GB, free: 9.367 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.338e-05/0.7315, allocations: 71.47 kB / 0.6768 GB, free: 9.285 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.002186/0.7337, allocations: 1.364 MB / 0.6782 GB, free: 7.879 MB / 0.4981 GB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated