Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.DoubleRXline.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.DoubleRXline,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,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.DoubleRXline") translateModel(PowerSystems.Examples.AC3ph.Transmission.DoubleRXline,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,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.DoubleRXline") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001655/0.001655, allocations: 112.8 kB / 17.06 MB, free: 5.969 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.002134/0.002134, allocations: 196 kB / 18 MB, free: 5.051 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.432/1.432, allocations: 222.9 MB / 241.7 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1791/0.1791, allocations: 38.04 MB / 329.9 MB, free: 8.695 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 63.91 kB / 458.2 MB, free: 6.801 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3685/0.3698, allocations: 58.06 MB / 0.5041 GB, free: 7.859 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.DoubleRXline): time 0.01019/0.38, allocations: 10.17 MB / 0.5141 GB, free: 0.7227 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.007755/0.3878, allocations: 3.716 MB / 0.5177 GB, free: 14.11 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001464/0.3893, allocations: 34.5 kB / 0.5177 GB, free: 14.1 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003918/0.3933, allocations: 1.21 MB / 0.5189 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004381/0.3977, allocations: 1.148 MB / 0.52 GB, free: 12.79 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003255/0.4009, allocations: 0.7195 MB / 0.5207 GB, free: 12.45 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.007095/0.4081, allocations: 2.426 MB / 0.5231 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002821/0.4109, allocations: 1.045 MB / 0.5241 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003746/0.4147, allocations: 1.051 MB / 0.5251 GB, free: 10.49 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003618/0.4183, allocations: 1.373 MB / 0.5265 GB, free: 10 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009887/0.4194, allocations: 166.8 kB / 0.5266 GB, free: 10 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003016/0.4224, allocations: 0.7056 MB / 0.5273 GB, free: 9.844 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002428/0.4248, allocations: 0.9663 MB / 0.5283 GB, free: 9.52 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003775/0.4286, allocations: 1.008 MB / 0.5293 GB, free: 8.914 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005364/0.434, allocations: 2.603 MB / 0.5318 GB, free: 7.223 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.103e-06/0.434, allocations: 0 / 0.5318 GB, free: 7.223 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.4341, allocations: 3.938 kB / 0.5318 GB, free: 7.219 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.102e-05/0.4341, allocations: 4 kB / 0.5318 GB, free: 7.215 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 448 * Number of variables: 448 Notification: Performance of Generate backend data structure: time 0.005384/0.4395, allocations: 2.371 MB / 0.5341 GB, free: 5.492 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.867e-05/0.4396, allocations: 12.27 kB / 0.5341 GB, free: 5.488 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001935/0.4415, allocations: 352 kB / 0.5345 GB, free: 5.312 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002099/0.4436, allocations: 1.134 MB / 0.5356 GB, free: 4.508 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001193/0.4438, allocations: 128.7 kB / 0.5357 GB, free: 4.445 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004123/0.4442, allocations: 194.7 kB / 0.5359 GB, free: 4.375 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003763/0.448, allocations: 2.471 MB / 0.5383 GB, free: 2.832 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.328e-05/0.448, allocations: 7.594 kB / 0.5383 GB, free: 2.828 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001643/0.4482, allocations: 68.33 kB / 0.5384 GB, free: 2.777 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004737/0.4487, allocations: 163.1 kB / 0.5385 GB, free: 2.73 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003511/0.4522, allocations: 2.163 MB / 0.5406 GB, free: 1.723 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01283/0.465, allocations: 9.215 MB / 0.5496 GB, free: 9.316 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002964/0.468, allocations: 2.134 MB / 0.5517 GB, free: 7.055 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001768/0.4698, allocations: 1.181 MB / 0.5529 GB, free: 5.871 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.92e-05/0.47, allocations: 25.36 kB / 0.5529 GB, free: 5.844 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001986/0.4719, allocations: 1.408 MB / 0.5543 GB, free: 4.402 MB / 414.1 MB Notification: Performance of pre-optimization done (n=205): time 3.336e-06/0.472, allocations: 0 / 0.5543 GB, free: 4.402 MB / 414.1 MB Notification: Performance of matching and sorting (n=213): time 0.01173/0.4837, allocations: 6.939 MB / 0.561 GB, free: 13.36 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001454/0.4839, allocations: 281.3 kB / 0.5613 GB, free: 13.03 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001226/0.4851, allocations: 0.9315 MB / 0.5622 GB, free: 12.08 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001318/0.4852, allocations: 77.67 kB / 0.5623 GB, free: 12 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000657/0.4859, allocations: 0.7436 MB / 0.563 GB, free: 11.24 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006283/0.4865, allocations: 0.6936 MB / 0.5637 GB, free: 10.54 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006485/0.4872, allocations: 408.8 kB / 0.5641 GB, free: 10.14 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001368/0.4873, allocations: 305.1 kB / 0.5644 GB, free: 9.836 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001512/0.4889, allocations: 0.9728 MB / 0.5653 GB, free: 8.859 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001824/0.4907, allocations: 1.52 MB / 0.5668 GB, free: 7.113 MB / 430.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.01287/0.5036, allocations: 6.226 MB / 0.5729 GB, free: 0.6367 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.454e-05/0.5036, allocations: 8 kB / 0.5729 GB, free: 0.6289 MB / 430.1 MB Notification: Performance of matching and sorting (n=317) (initialization): time 0.008018/0.5116, allocations: 4.117 MB / 0.5769 GB, free: 12.48 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.351e-05/0.5117, allocations: 67.39 kB / 0.577 GB, free: 12.41 MB / 446.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.001578/0.5133, allocations: 0.9873 MB / 0.578 GB, free: 11.42 MB / 446.1 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated