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.001728/0.001728, allocations: 112.2 kB / 16.51 MB, free: 6.707 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.002937/0.002938, allocations: 190.5 kB / 17.43 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.371/1.371, allocations: 222.9 MB / 241.1 MB, free: 13.78 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1708/0.1708, allocations: 38.04 MB / 329.3 MB, free: 8.852 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002242/0.002242, allocations: 59.88 kB / 398.1 MB, free: 34.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1093/0.1116, allocations: 58.07 MB / 456.2 MB, free: 8.477 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.DoubleRXline): time 0.01191/0.1236, allocations: 11.59 MB / 467.8 MB, free: 12.83 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007477/0.1311, allocations: 4.218 MB / 472 MB, free: 8.602 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001266/0.1324, allocations: 59.62 kB / 472 MB, free: 8.543 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003143/0.1355, allocations: 1.143 MB / 473.2 MB, free: 7.398 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002842/0.1384, allocations: 1.066 MB / 474.2 MB, free: 6.328 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001602/0.14, allocations: 0.6474 MB / 474.9 MB, free: 5.68 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003589/0.1436, allocations: 3.794 MB / 478.7 MB, free: 1.875 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001448/0.1451, allocations: 0.9845 MB / 479.7 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001519/0.1466, allocations: 0.8908 MB / 480.6 MB, free: 15.97 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002324/0.1489, allocations: 1.445 MB / 482 MB, free: 14.52 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003876/0.1493, allocations: 100 kB / 482.1 MB, free: 14.43 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001513/0.1509, allocations: 0.6903 MB / 482.8 MB, free: 13.73 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001054/0.1519, allocations: 0.9118 MB / 483.7 MB, free: 12.82 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001395/0.1533, allocations: 0.9288 MB / 484.6 MB, free: 11.89 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002566/0.1559, allocations: 2.508 MB / 487.1 MB, free: 9.371 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.1559, allocations: 0 / 487.1 MB, free: 9.371 MB / 366.1 MB Notification: Performance of FrontEnd: time 9.31e-07/0.156, allocations: 0 / 487.1 MB, free: 9.371 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.6e-05/0.156, allocations: 0 / 487.1 MB, free: 9.371 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.004441/0.1605, allocations: 2.325 MB / 489.5 MB, free: 6.961 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.73e-05/0.1605, allocations: 12.03 kB / 489.5 MB, free: 6.949 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001777/0.1623, allocations: 346.2 kB / 489.8 MB, free: 6.609 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001737/0.1641, allocations: 1.075 MB / 490.9 MB, free: 5.488 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001069/0.1642, allocations: 127.1 kB / 491 MB, free: 5.363 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004071/0.1646, allocations: 199.8 kB / 491.2 MB, free: 5.168 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003546/0.1682, allocations: 2.465 MB / 493.7 MB, free: 2.574 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.958e-05/0.1682, allocations: 7.938 kB / 493.7 MB, free: 2.566 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001607/0.1684, allocations: 67.97 kB / 493.8 MB, free: 2.5 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005127/0.1689, allocations: 158.9 kB / 493.9 MB, free: 2.344 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003358/0.1723, allocations: 2.17 MB / 496.1 MB, free: 172 kB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01269/0.185, allocations: 9.253 MB / 0.4935 GB, free: 6.59 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002738/0.1877, allocations: 2.125 MB / 0.4956 GB, free: 4.332 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001612/0.1894, allocations: 1.181 MB / 0.4967 GB, free: 3.148 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.858e-05/0.1895, allocations: 29.36 kB / 0.4967 GB, free: 3.117 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001957/0.1915, allocations: 1.403 MB / 0.4981 GB, free: 1.676 MB / 382.1 MB Notification: Performance of pre-optimization done (n=205): time 4.338e-06/0.1915, allocations: 0 / 0.4981 GB, free: 1.676 MB / 382.1 MB Notification: Performance of matching and sorting (n=213): time 0.1999/0.3914, allocations: 6.86 MB / 0.5048 GB, free: 54.37 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001194/0.3915, allocations: 286.2 kB / 0.5051 GB, free: 54.08 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001509/0.3931, allocations: 0.9348 MB / 0.506 GB, free: 53.7 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001495/0.3932, allocations: 72.55 kB / 0.5061 GB, free: 53.64 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005778/0.3938, allocations: 0.7264 MB / 0.5068 GB, free: 53.08 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000576/0.3944, allocations: 0.6593 MB / 0.5074 GB, free: 52.59 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006313/0.395, allocations: 409 kB / 0.5078 GB, free: 52.41 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.189e-05/0.3951, allocations: 305.7 kB / 0.5081 GB, free: 52.11 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001553/0.3967, allocations: 0.9668 MB / 0.509 GB, free: 51.79 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001915/0.3986, allocations: 1.528 MB / 0.5105 GB, free: 50.81 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.01385/0.4124, allocations: 6.227 MB / 0.5166 GB, free: 48.3 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.79e-05/0.4125, allocations: 4.875 kB / 0.5166 GB, free: 48.3 MB / 382.1 MB Notification: Performance of matching and sorting (n=317) (initialization): time 0.007614/0.4201, allocations: 4.109 MB / 0.5206 GB, free: 46.82 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.278e-05/0.4202, allocations: 76.19 kB / 0.5207 GB, free: 46.75 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.001392/0.4216, allocations: 0.9913 MB / 0.5217 GB, free: 46.34 MB / 382.1 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated