Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Transmission.DoubleRXline") translateModel(PowerSystems.Examples.AC3ph.Transmission.DoubleRXline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="PowerSystems_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.001316/0.001316, allocations: 92.77 kB / 17.31 MB, free: 6.535 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.001891/0.001892, allocations: 175.4 kB / 18.21 MB, free: 5.684 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.734/1.734, allocations: 205.4 MB / 224.4 MB, free: 13.06 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1897/0.1897, allocations: 38.06 MB / 310.7 MB, free: 5.906 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005349/0.0005349, allocations: 19.12 kB / 377.8 MB, free: 2.719 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2914/0.292, allocations: 56.33 MB / 434.1 MB, free: 18.7 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.DoubleRXline): time 0.008672/0.3007, allocations: 11.06 MB / 445.2 MB, free: 7.586 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006833/0.3076, allocations: 4.204 MB / 449.4 MB, free: 3.367 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001274/0.3089, allocations: 59.56 kB / 449.5 MB, free: 3.309 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008969/0.3098, allocations: 330 kB / 449.8 MB, free: 2.984 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002386/0.3122, allocations: 1.066 MB / 450.9 MB, free: 1.914 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00156/0.3138, allocations: 0.6513 MB / 451.5 MB, free: 1.262 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.004138/0.3179, allocations: 3.794 MB / 455.3 MB, free: 13.45 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002841/0.3208, allocations: 1.518 MB / 456.8 MB, free: 11.88 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002334/0.3231, allocations: 0.8361 MB / 457.7 MB, free: 11.04 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002245/0.3254, allocations: 1.375 MB / 459 MB, free: 9.664 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001763/0.3256, allocations: 80 kB / 459.1 MB, free: 9.586 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001423/0.327, allocations: 0.6785 MB / 459.8 MB, free: 8.906 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008873/0.3279, allocations: 0.8766 MB / 460.7 MB, free: 8.027 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009773/0.3289, allocations: 0.9148 MB / 461.6 MB, free: 7.102 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002062/0.331, allocations: 1.917 MB / 463.5 MB, free: 5.18 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.286e-06/0.331, allocations: 0 / 463.5 MB, free: 5.18 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.657e-06/0.331, allocations: 0 / 463.5 MB, free: 5.18 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.097e-05/0.331, allocations: 4 kB / 463.5 MB, free: 5.176 MB / 334.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.004214/0.3353, allocations: 1.986 MB / 465.5 MB, free: 3.105 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.627e-05/0.3353, allocations: 8.031 kB / 465.5 MB, free: 3.098 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00178/0.3371, allocations: 338.2 kB / 465.8 MB, free: 2.766 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001866/0.339, allocations: 1.087 MB / 466.9 MB, free: 1.633 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001262/0.3391, allocations: 127.1 kB / 467 MB, free: 1.508 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004346/0.3396, allocations: 195.9 kB / 467.2 MB, free: 1.316 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003682/0.3433, allocations: 2.461 MB / 469.7 MB, free: 14.73 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.834e-05/0.3433, allocations: 15.89 kB / 469.7 MB, free: 14.71 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001675/0.3435, allocations: 67.98 kB / 469.8 MB, free: 14.64 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004762/0.344, allocations: 162.8 kB / 469.9 MB, free: 14.48 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003265/0.3473, allocations: 2.166 MB / 472.1 MB, free: 12.31 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01273/0.36, allocations: 9.28 MB / 481.4 MB, free: 2.703 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002787/0.3629, allocations: 2.128 MB / 483.5 MB, free: 468 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00171/0.3646, allocations: 1.178 MB / 484.7 MB, free: 15.28 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.948e-05/0.3647, allocations: 21.38 kB / 484.7 MB, free: 15.26 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001936/0.3666, allocations: 1.411 MB / 486.1 MB, free: 13.81 MB / 366.1 MB Notification: Performance of pre-optimization done (n=205): time 3.266e-06/0.3667, allocations: 0 / 486.1 MB, free: 13.81 MB / 366.1 MB Notification: Performance of matching and sorting (n=213): time 0.01123/0.3779, allocations: 6.881 MB / 493 MB, free: 6.82 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001865/0.3781, allocations: 273.3 kB / 493.3 MB, free: 6.5 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001283/0.3794, allocations: 0.9275 MB / 494.2 MB, free: 5.551 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001323/0.3795, allocations: 81.61 kB / 494.3 MB, free: 5.465 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006525/0.3802, allocations: 0.7219 MB / 495 MB, free: 4.73 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005933/0.3808, allocations: 0.6666 MB / 495.7 MB, free: 4.055 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002738/0.3811, allocations: 202.7 kB / 495.9 MB, free: 3.852 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001353/0.3812, allocations: 305.1 kB / 496.2 MB, free: 3.551 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001495/0.3827, allocations: 0.9651 MB / 497.1 MB, free: 2.582 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001873/0.3846, allocations: 1.513 MB / 498.6 MB, free: 0.8438 MB / 366.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.01291/0.3975, allocations: 6.237 MB / 0.493 GB, free: 10.36 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-05/0.3976, allocations: 4 kB / 0.493 GB, free: 10.35 MB / 382.1 MB Notification: Performance of matching and sorting (n=317) (initialization): time 0.007953/0.4056, allocations: 4.108 MB / 0.4971 GB, free: 6.215 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.974e-05/0.4057, allocations: 71.39 kB / 0.4971 GB, free: 6.133 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.001482/0.4071, allocations: 0.9919 MB / 0.4981 GB, free: 5.145 MB / 382.1 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated