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.001133/0.001133, allocations: 104 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.0009741/0.0009741, allocations: 191.5 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.347/1.347, allocations: 222.9 MB / 241.5 MB, free: 15.25 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1724/0.1724, allocations: 38.04 MB / 329.7 MB, free: 8.871 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001238, allocations: 62.31 kB / 398.8 MB, free: 34.1 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1176/0.1189, allocations: 58.06 MB / 456.9 MB, free: 8.094 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.DoubleRXline): time 0.01262/0.1316, allocations: 10.18 MB / 467 MB, free: 13.87 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008348/0.14, allocations: 3.719 MB / 470.8 MB, free: 10.14 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001566/0.1416, allocations: 35.81 kB / 470.8 MB, free: 10.11 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003487/0.1451, allocations: 1.209 MB / 472 MB, free: 8.895 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003689/0.1489, allocations: 1.144 MB / 473.1 MB, free: 7.746 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002387/0.1513, allocations: 0.7173 MB / 473.9 MB, free: 7.027 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003776/0.1551, allocations: 2.429 MB / 476.3 MB, free: 4.59 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001766/0.1568, allocations: 1.047 MB / 477.3 MB, free: 3.52 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002817/0.1597, allocations: 1.047 MB / 478.4 MB, free: 2.469 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002475/0.1622, allocations: 1.383 MB / 479.8 MB, free: 1.082 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000617/0.1628, allocations: 168 kB / 479.9 MB, free: 0.918 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001929/0.1647, allocations: 0.7294 MB / 480.7 MB, free: 192 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00138/0.1661, allocations: 0.9743 MB / 481.6 MB, free: 15.21 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001929/0.1681, allocations: 0.9991 MB / 482.6 MB, free: 14.21 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003446/0.1715, allocations: 2.559 MB / 485.2 MB, free: 11.64 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.1715, allocations: 0 / 485.2 MB, free: 11.64 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1716, allocations: 0 / 485.2 MB, free: 11.64 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.582e-05/0.1716, allocations: 0 / 485.2 MB, free: 11.64 MB / 366.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.004202/0.1758, allocations: 2.321 MB / 487.5 MB, free: 9.234 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.391e-05/0.1759, allocations: 11.89 kB / 487.5 MB, free: 9.223 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001773/0.1776, allocations: 342.3 kB / 487.9 MB, free: 8.887 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001904/0.1796, allocations: 1.083 MB / 488.9 MB, free: 7.758 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001057/0.1797, allocations: 123.1 kB / 489.1 MB, free: 7.637 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004242/0.1801, allocations: 195.8 kB / 489.3 MB, free: 7.445 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003571/0.1837, allocations: 2.465 MB / 491.7 MB, free: 4.852 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.123e-05/0.1838, allocations: 7.938 kB / 491.7 MB, free: 4.844 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001607/0.1839, allocations: 67.98 kB / 491.8 MB, free: 4.777 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005032/0.1844, allocations: 158.9 kB / 492 MB, free: 4.621 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003212/0.1876, allocations: 2.17 MB / 494.1 MB, free: 2.445 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0119/0.1996, allocations: 9.253 MB / 0.4916 GB, free: 8.867 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002635/0.2022, allocations: 2.129 MB / 0.4937 GB, free: 6.605 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001647/0.2039, allocations: 1.189 MB / 0.4948 GB, free: 5.41 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.175e-05/0.204, allocations: 17.31 kB / 0.4948 GB, free: 5.391 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001881/0.2059, allocations: 1.415 MB / 0.4962 GB, free: 3.938 MB / 382.1 MB Notification: Performance of pre-optimization done (n=205): time 3.387e-06/0.2059, allocations: 0 / 0.4962 GB, free: 3.938 MB / 382.1 MB Notification: Performance of matching and sorting (n=213): time 0.2097/0.4156, allocations: 6.87 MB / 0.5029 GB, free: 55.14 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001012/0.4157, allocations: 276.7 kB / 0.5032 GB, free: 54.86 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0012/0.4169, allocations: 0.9309 MB / 0.5041 GB, free: 54.48 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001075/0.417, allocations: 73.64 kB / 0.5042 GB, free: 54.42 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004972/0.4176, allocations: 0.7271 MB / 0.5049 GB, free: 53.86 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005097/0.4181, allocations: 0.662 MB / 0.5055 GB, free: 53.37 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006192/0.4187, allocations: 413.3 kB / 0.5059 GB, free: 53.18 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.629e-05/0.4188, allocations: 302.5 kB / 0.5062 GB, free: 52.89 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001601/0.4204, allocations: 0.968 MB / 0.5072 GB, free: 52.57 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001972/0.4223, allocations: 1.516 MB / 0.5086 GB, free: 51.61 MB / 382.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.01324/0.4356, allocations: 6.242 MB / 0.5147 GB, free: 49.1 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.04e-05/0.4356, allocations: 7.938 kB / 0.5147 GB, free: 49.09 MB / 382.1 MB Notification: Performance of matching and sorting (n=317) (initialization): time 0.007921/0.4436, allocations: 4.119 MB / 0.5188 GB, free: 47.6 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.619e-05/0.4436, allocations: 66.98 kB / 0.5188 GB, free: 47.54 MB / 382.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.001227/0.4449, allocations: 0.9938 MB / 0.5198 GB, free: 47.13 MB / 382.1 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated