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: translateModel(PowerSystems.Examples.AC3ph.Transmission.DoubleRXlineTG,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|abc.i_abc.1.|abc.i_abc.2.|abc.i_abc.3.|meterF.i.1.|meterF.i.2.|meterF.i.3.|meterF.p.1.|meterF.p.2.|meterF.p.3.|meterF.v.1.|meterF.v.2.|meterF.v.3.|meterL.i.1.|meterL.i.2.|meterL.i.3.|meterL.p.1.|meterL.p.2.|meterL.p.3.|meterL.v.1.|meterL.v.2.|meterL.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.DoubleRXlineTG") translateModel(PowerSystems.Examples.AC3ph.Transmission.DoubleRXlineTG,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|abc.i_abc.1.|abc.i_abc.2.|abc.i_abc.3.|meterF.i.1.|meterF.i.2.|meterF.i.3.|meterF.p.1.|meterF.p.2.|meterF.p.3.|meterF.v.1.|meterF.v.2.|meterF.v.3.|meterL.i.1.|meterL.i.2.|meterL.i.3.|meterL.p.1.|meterL.p.2.|meterL.p.3.|meterL.v.1.|meterL.v.2.|meterL.v.3.",fileNamePrefix="PowerSystems_latest_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.001253/0.001253, allocations: 107.3 kB / 16.92 MB, free: 5.77 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.00136/0.00136, allocations: 191.3 kB / 17.85 MB, free: 5.168 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.334/1.334, allocations: 222.9 MB / 241.5 MB, free: 15.29 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1715/0.1715, allocations: 38.04 MB / 329.7 MB, free: 8.871 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 65.41 kB / 398.8 MB, free: 34.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1078/0.109, allocations: 58.06 MB / 456.9 MB, free: 8.105 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.DoubleRXlineTG): time 0.01336/0.1224, allocations: 13.33 MB / 470.2 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01305/0.1355, allocations: 7.908 MB / 478.1 MB, free: 2.777 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001845/0.1374, allocations: 47.75 kB / 478.2 MB, free: 2.73 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.3344/0.4718, allocations: 91.21 MB / 0.556 GB, free: 5.949 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003935/0.4758, allocations: 1.477 MB / 0.5575 GB, free: 4.938 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002224/0.478, allocations: 1.039 MB / 0.5585 GB, free: 3.996 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01752/0.4955, allocations: 14.52 MB / 0.5727 GB, free: 6.418 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002755/0.4983, allocations: 1.606 MB / 0.5742 GB, free: 4.844 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.03225/0.5306, allocations: 23.5 MB / 0.5972 GB, free: 14.17 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003522/0.5342, allocations: 1.888 MB / 0.599 GB, free: 12.42 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009844/0.5352, allocations: 244 kB / 0.5992 GB, free: 12.18 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002544/0.5377, allocations: 1.035 MB / 0.6003 GB, free: 11.19 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001729/0.5395, allocations: 1.35 MB / 0.6016 GB, free: 9.844 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002659/0.5422, allocations: 1.434 MB / 0.603 GB, free: 8.41 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004233/0.5464, allocations: 3.922 MB / 0.6068 GB, free: 4.586 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.5464, allocations: 0 / 0.6068 GB, free: 4.586 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.5464, allocations: 0 / 0.6068 GB, free: 4.586 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.251e-05/0.5465, allocations: 4 kB / 0.6068 GB, free: 4.582 MB / 430.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.00553/0.552, allocations: 3.174 MB / 0.6099 GB, free: 1.348 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.225e-05/0.5521, allocations: 15.88 kB / 0.6099 GB, free: 1.332 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002096/0.5542, allocations: 463.8 kB / 0.6104 GB, free: 0.8789 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002847/0.5571, allocations: 1.782 MB / 0.6121 GB, free: 15.07 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001134/0.5572, allocations: 153.4 kB / 0.6123 GB, free: 14.93 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004789/0.5577, allocations: 263.6 kB / 0.6125 GB, free: 14.68 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004438/0.5621, allocations: 3.185 MB / 0.6156 GB, free: 11.36 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.466e-05/0.5622, allocations: 15.91 kB / 0.6156 GB, free: 11.34 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000201/0.5624, allocations: 87.8 kB / 0.6157 GB, free: 11.26 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005958/0.563, allocations: 219.7 kB / 0.6159 GB, free: 11.05 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004042/0.567, allocations: 2.854 MB / 0.6187 GB, free: 8.188 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0171/0.5842, allocations: 11.58 MB / 0.63 GB, free: 12.31 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004103/0.5883, allocations: 2.594 MB / 0.6326 GB, free: 9.586 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00233/0.5907, allocations: 1.543 MB / 0.6341 GB, free: 8.039 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001053/0.5908, allocations: 28.25 kB / 0.6341 GB, free: 8.016 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002568/0.5934, allocations: 1.705 MB / 0.6358 GB, free: 6.27 MB / 462.1 MB Notification: Performance of pre-optimization done (n=247): time 4.007e-06/0.5934, allocations: 4 kB / 0.6358 GB, free: 6.266 MB / 462.1 MB Notification: Performance of matching and sorting (n=267): time 0.02385/0.6173, allocations: 11.51 MB / 0.647 GB, free: 10.59 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003116/0.6176, allocations: 405.8 kB / 0.6474 GB, free: 10.11 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002182/0.6198, allocations: 1.477 MB / 0.6488 GB, free: 8.629 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001788/0.62, allocations: 80.98 kB / 0.6489 GB, free: 8.547 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001016/0.621, allocations: 1.008 MB / 0.6499 GB, free: 7.535 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007409/0.6218, allocations: 0.849 MB / 0.6507 GB, free: 6.703 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007433/0.6225, allocations: 0.5266 MB / 0.6512 GB, free: 6.172 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001418/0.6227, allocations: 305.1 kB / 0.6515 GB, free: 5.871 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002076/0.6247, allocations: 1.335 MB / 0.6528 GB, free: 4.527 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002398/0.6272, allocations: 2.002 MB / 0.6548 GB, free: 2.266 MB / 478.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.01543/0.6426, allocations: 7.002 MB / 0.6616 GB, free: 10.94 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.956e-05/0.6426, allocations: 8 kB / 0.6616 GB, free: 10.93 MB / 494.1 MB Notification: Performance of matching and sorting (n=402) (initialization): time 0.009957/0.6526, allocations: 5.326 MB / 0.6668 GB, free: 5.527 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.548e-05/0.6527, allocations: 67.41 kB / 0.6669 GB, free: 5.449 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. Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002132/0.6548, allocations: 1.368 MB / 0.6682 GB, free: 4.039 MB / 494.1 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated