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.001529/0.001529, allocations: 113.9 kB / 17.68 MB, free: 5.379 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.001729/0.001729, allocations: 192 kB / 18.62 MB, free: 4.457 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 / 242.3 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1828/0.1828, allocations: 38.04 MB / 330.5 MB, free: 8.797 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00126/0.00126, allocations: 63.45 kB / 400.2 MB, free: 33.38 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1123/0.1136, allocations: 58.06 MB / 458.3 MB, free: 7.348 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.DoubleRXlineTG): time 0.01364/0.1273, allocations: 13.34 MB / 471.6 MB, free: 9.949 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01451/0.1418, allocations: 7.904 MB / 479.5 MB, free: 2.023 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002219/0.1441, allocations: 47.75 kB / 479.6 MB, free: 1.977 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.3319/0.4761, allocations: 91.22 MB / 0.5574 GB, free: 5.094 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003381/0.4795, allocations: 1.457 MB / 0.5589 GB, free: 4.102 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002022/0.4815, allocations: 1.051 MB / 0.5599 GB, free: 3.152 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01854/0.5001, allocations: 14.52 MB / 0.5741 GB, free: 5.574 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002425/0.5025, allocations: 1.595 MB / 0.5756 GB, free: 4.035 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.03128/0.5338, allocations: 23.52 MB / 0.5986 GB, free: 13.34 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002809/0.5367, allocations: 1.882 MB / 0.6004 GB, free: 11.59 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004712/0.5372, allocations: 240 kB / 0.6007 GB, free: 11.36 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001867/0.5391, allocations: 1.015 MB / 0.6017 GB, free: 10.38 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001229/0.5403, allocations: 1.346 MB / 0.603 GB, free: 9.035 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00161/0.5419, allocations: 1.428 MB / 0.6044 GB, free: 7.609 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004094/0.546, allocations: 3.975 MB / 0.6082 GB, free: 3.73 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.546, allocations: 0 / 0.6082 GB, free: 3.73 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.5461, allocations: 0 / 0.6082 GB, free: 3.73 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.19e-05/0.5462, allocations: 4 kB / 0.6082 GB, free: 3.727 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.006739/0.5529, allocations: 3.19 MB / 0.6114 GB, free: 492 kB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.777e-05/0.553, allocations: 11.89 kB / 0.6114 GB, free: 480 kB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00222/0.5552, allocations: 459.1 kB / 0.6118 GB, free: 20 kB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003894/0.5591, allocations: 1.845 MB / 0.6136 GB, free: 14.15 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001313/0.5593, allocations: 157.4 kB / 0.6138 GB, free: 14 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005534/0.5598, allocations: 257.7 kB / 0.614 GB, free: 13.76 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005391/0.5652, allocations: 3.183 MB / 0.6171 GB, free: 10.43 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.632e-05/0.5653, allocations: 11.84 kB / 0.6171 GB, free: 10.42 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002155/0.5656, allocations: 89.77 kB / 0.6172 GB, free: 10.34 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006108/0.5662, allocations: 207.8 kB / 0.6174 GB, free: 10.14 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005195/0.5714, allocations: 2.862 MB / 0.6202 GB, free: 7.273 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01593/0.5873, allocations: 11.51 MB / 0.6314 GB, free: 11.47 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003496/0.5909, allocations: 2.594 MB / 0.634 GB, free: 8.746 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002414/0.5933, allocations: 1.541 MB / 0.6355 GB, free: 7.199 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001276/0.5934, allocations: 24.89 kB / 0.6355 GB, free: 7.18 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002549/0.596, allocations: 1.701 MB / 0.6372 GB, free: 5.434 MB / 462.1 MB Notification: Performance of pre-optimization done (n=247): time 4.318e-06/0.596, allocations: 3.844 kB / 0.6372 GB, free: 5.434 MB / 462.1 MB Notification: Performance of matching and sorting (n=267): time 0.02697/0.623, allocations: 11.51 MB / 0.6484 GB, free: 9.758 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002629/0.6233, allocations: 416.4 kB / 0.6488 GB, free: 9.27 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002259/0.6256, allocations: 1.469 MB / 0.6502 GB, free: 7.793 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003864/0.626, allocations: 85.69 kB / 0.6503 GB, free: 7.703 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009619/0.6269, allocations: 1.007 MB / 0.6513 GB, free: 6.695 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009542/0.6279, allocations: 0.8517 MB / 0.6521 GB, free: 5.863 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001001/0.6289, allocations: 0.5184 MB / 0.6527 GB, free: 5.336 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001449/0.6291, allocations: 309.1 kB / 0.6529 GB, free: 5.031 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003212/0.6323, allocations: 1.327 MB / 0.6542 GB, free: 3.695 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00385/0.6362, allocations: 1.998 MB / 0.6562 GB, free: 1.438 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.02273/0.6589, allocations: 6.984 MB / 0.663 GB, free: 10.13 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.049e-05/0.659, allocations: 4 kB / 0.663 GB, free: 10.13 MB / 494.1 MB Notification: Performance of matching and sorting (n=402) (initialization): time 0.01047/0.6694, allocations: 5.333 MB / 0.6682 GB, free: 4.715 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.014e-05/0.6695, allocations: 71.62 kB / 0.6683 GB, free: 4.633 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.002302/0.6718, allocations: 1.338 MB / 0.6696 GB, free: 3.273 MB / 494.1 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated