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.001741/0.001741, allocations: 110.2 kB / 17.74 MB, free: 5.359 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.001948/0.001948, allocations: 185.4 kB / 18.67 MB, free: 4.438 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.38/1.38, allocations: 222.9 MB / 242.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.176/0.176, allocations: 38.05 MB / 330.6 MB, free: 8.742 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001241/0.001241, allocations: 71.89 kB / 458.8 MB, free: 6.828 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2808/0.2821, allocations: 58.05 MB / 0.5048 GB, free: 8.043 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.DoubleRXline): time 0.008553/0.2907, allocations: 10.18 MB / 0.5147 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005882/0.2966, allocations: 3.718 MB / 0.5183 GB, free: 14.28 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005321/0.2971, allocations: 35.09 kB / 0.5184 GB, free: 14.27 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002844/0.3, allocations: 1.203 MB / 0.5196 GB, free: 13.56 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002608/0.3026, allocations: 1.165 MB / 0.5207 GB, free: 12.95 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001949/0.3046, allocations: 0.7101 MB / 0.5214 GB, free: 12.62 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003304/0.3079, allocations: 2.44 MB / 0.5238 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001477/0.3094, allocations: 1.038 MB / 0.5248 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001669/0.3111, allocations: 1.071 MB / 0.5258 GB, free: 10.66 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001803/0.3129, allocations: 1.378 MB / 0.5272 GB, free: 10.16 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002505/0.3131, allocations: 166.4 kB / 0.5273 GB, free: 10.16 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001355/0.3145, allocations: 0.7058 MB / 0.528 GB, free: 10 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009564/0.3155, allocations: 0.9704 MB / 0.529 GB, free: 9.676 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001045/0.3165, allocations: 1.003 MB / 0.5299 GB, free: 9.074 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002441/0.319, allocations: 2.597 MB / 0.5325 GB, free: 7.355 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.319, allocations: 1.469 kB / 0.5325 GB, free: 7.355 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.615e-06/0.319, allocations: 0 / 0.5325 GB, free: 7.355 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.715e-05/0.319, allocations: 3.938 kB / 0.5325 GB, free: 7.352 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.004112/0.3232, allocations: 2.318 MB / 0.5348 GB, free: 5.684 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.813e-05/0.3232, allocations: 12.89 kB / 0.5348 GB, free: 5.68 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001791/0.325, allocations: 342.5 kB / 0.5351 GB, free: 5.512 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001842/0.3269, allocations: 1.122 MB / 0.5362 GB, free: 4.719 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000108/0.327, allocations: 132.3 kB / 0.5363 GB, free: 4.652 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004368/0.3274, allocations: 194.9 kB / 0.5365 GB, free: 4.582 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003678/0.3311, allocations: 2.471 MB / 0.5389 GB, free: 3.039 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.262e-05/0.3312, allocations: 15.11 kB / 0.5389 GB, free: 3.027 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001712/0.3314, allocations: 61.17 kB / 0.539 GB, free: 2.984 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004883/0.3318, allocations: 162.7 kB / 0.5391 GB, free: 2.938 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003351/0.3352, allocations: 2.17 MB / 0.5413 GB, free: 1.922 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01155/0.3468, allocations: 9.192 MB / 0.5502 GB, free: 9.59 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002559/0.3493, allocations: 2.135 MB / 0.5523 GB, free: 7.328 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001645/0.351, allocations: 1.177 MB / 0.5535 GB, free: 6.148 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.513e-05/0.3511, allocations: 29.36 kB / 0.5535 GB, free: 6.117 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001911/0.353, allocations: 1.415 MB / 0.5549 GB, free: 4.668 MB / 414.1 MB Notification: Performance of pre-optimization done (n=205): time 4.028e-06/0.353, allocations: 0 / 0.5549 GB, free: 4.668 MB / 414.1 MB Notification: Performance of matching and sorting (n=213): time 0.01092/0.364, allocations: 6.869 MB / 0.5616 GB, free: 13.69 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001397/0.3641, allocations: 281.3 kB / 0.5619 GB, free: 13.36 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001065/0.3652, allocations: 0.9236 MB / 0.5628 GB, free: 12.41 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001264/0.3653, allocations: 77.62 kB / 0.5628 GB, free: 12.33 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005017/0.3658, allocations: 0.7296 MB / 0.5635 GB, free: 11.59 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000535/0.3664, allocations: 0.6628 MB / 0.5642 GB, free: 10.92 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006153/0.367, allocations: 408.6 kB / 0.5646 GB, free: 10.51 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001136/0.3671, allocations: 305.1 kB / 0.5649 GB, free: 10.21 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001495/0.3686, allocations: 0.9727 MB / 0.5658 GB, free: 9.234 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0018/0.3705, allocations: 1.52 MB / 0.5673 GB, free: 7.488 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.01295/0.3834, allocations: 6.234 MB / 0.5734 GB, free: 1.004 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.732e-05/0.3834, allocations: 4 kB / 0.5734 GB, free: 1 MB / 430.1 MB Notification: Performance of matching and sorting (n=317) (initialization): time 0.008042/0.3915, allocations: 4.104 MB / 0.5774 GB, free: 12.87 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.861e-05/0.3916, allocations: 68.38 kB / 0.5775 GB, free: 12.79 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.001511/0.3931, allocations: 0.9755 MB / 0.5784 GB, free: 11.81 MB / 446.1 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated Error: Internal error SimCode DAEmode: The model PowerSystems.Examples.AC3ph.Transmission.DoubleRXline could not be translated