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.0007668/0.0007668, allocations: 90.41 kB / 16.65 MB, free: 6.59 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.0008905/0.0008906, allocations: 182.2 kB / 17.56 MB, free: 6.203 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.471/1.471, allocations: 205.4 MB / 223.7 MB, free: 13.08 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1915/0.1915, allocations: 38.05 MB / 310.1 MB, free: 5.902 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.0005503/0.0005501, allocations: 16 kB / 377.2 MB, free: 2.707 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2958/0.2963, allocations: 56.32 MB / 433.5 MB, free: 18.68 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.DoubleRXline): time 0.008537/0.3049, allocations: 11.07 MB / 444.6 MB, free: 7.566 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00696/0.3119, allocations: 4.204 MB / 448.8 MB, free: 3.348 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001387/0.3134, allocations: 55.62 kB / 448.8 MB, free: 3.293 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001041/0.3144, allocations: 337.9 kB / 449.1 MB, free: 2.961 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00288/0.3173, allocations: 1.063 MB / 450.2 MB, free: 1.895 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001591/0.3189, allocations: 0.6513 MB / 450.9 MB, free: 1.242 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.004252/0.3232, allocations: 3.802 MB / 454.7 MB, free: 13.43 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002693/0.3259, allocations: 1.503 MB / 456.2 MB, free: 11.87 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002384/0.3283, allocations: 0.8361 MB / 457 MB, free: 11.03 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002973/0.3313, allocations: 1.371 MB / 458.4 MB, free: 9.652 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000266/0.3316, allocations: 87.94 kB / 458.5 MB, free: 9.566 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001616/0.3332, allocations: 0.6708 MB / 459.1 MB, free: 8.895 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001112/0.3343, allocations: 0.8805 MB / 460 MB, free: 8.012 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001426/0.3358, allocations: 0.9148 MB / 460.9 MB, free: 7.086 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002807/0.3386, allocations: 2.453 MB / 463.4 MB, free: 4.625 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.3386, allocations: 0 / 463.4 MB, free: 4.625 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.525e-06/0.3386, allocations: 0 / 463.4 MB, free: 4.625 MB / 334.1 MB Notification: Performance of Transformations before backend: time 3.243e-05/0.3387, allocations: 0 / 463.4 MB, free: 4.625 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.004026/0.3427, allocations: 1.99 MB / 465.4 MB, free: 2.551 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.033e-05/0.3428, allocations: 8.031 kB / 465.4 MB, free: 2.543 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002198/0.345, allocations: 342.3 kB / 465.7 MB, free: 2.207 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00179/0.3468, allocations: 1.083 MB / 466.8 MB, free: 1.078 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001051/0.3469, allocations: 127.1 kB / 466.9 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004296/0.3473, allocations: 195.9 kB / 467.1 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003654/0.351, allocations: 2.457 MB / 469.6 MB, free: 14.18 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.461e-05/0.3511, allocations: 15.84 kB / 469.6 MB, free: 14.16 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001724/0.3512, allocations: 67.97 kB / 469.6 MB, free: 14.09 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005043/0.3518, allocations: 158.9 kB / 469.8 MB, free: 13.94 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003667/0.3554, allocations: 2.178 MB / 472 MB, free: 11.75 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01328/0.3688, allocations: 9.28 MB / 481.3 MB, free: 2.145 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002785/0.3716, allocations: 2.125 MB / 483.4 MB, free: 15.9 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001668/0.3733, allocations: 1.182 MB / 484.6 MB, free: 14.72 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.484e-05/0.3734, allocations: 17.31 kB / 484.6 MB, free: 14.7 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001884/0.3753, allocations: 1.403 MB / 486 MB, free: 13.26 MB / 366.1 MB Notification: Performance of pre-optimization done (n=205): time 5.901e-06/0.3753, allocations: 3.984 kB / 486 MB, free: 13.26 MB / 366.1 MB Notification: Performance of matching and sorting (n=213): time 0.01113/0.3865, allocations: 6.885 MB / 492.9 MB, free: 6.266 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001519/0.3866, allocations: 273.3 kB / 493.1 MB, free: 5.945 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001231/0.3879, allocations: 0.9276 MB / 494.1 MB, free: 4.996 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001392/0.388, allocations: 65.7 kB / 494.1 MB, free: 4.926 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006283/0.3887, allocations: 0.7336 MB / 494.9 MB, free: 4.18 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006982/0.3894, allocations: 0.6628 MB / 495.5 MB, free: 3.508 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002859/0.3897, allocations: 210.7 kB / 495.7 MB, free: 3.297 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001353/0.3898, allocations: 305.1 kB / 496 MB, free: 2.996 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00153/0.3914, allocations: 0.9651 MB / 497 MB, free: 2.027 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001927/0.3933, allocations: 1.516 MB / 498.5 MB, free: 292 kB / 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.01383/0.4071, allocations: 6.23 MB / 0.4929 GB, free: 9.805 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.847e-05/0.4072, allocations: 8 kB / 0.4929 GB, free: 9.797 MB / 382.1 MB Notification: Performance of matching and sorting (n=317) (initialization): time 0.008658/0.4159, allocations: 4.108 MB / 0.4969 GB, free: 5.66 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001101/0.4161, allocations: 75.56 kB / 0.497 GB, free: 5.574 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.001923/0.418, allocations: 0.9957 MB / 0.498 GB, free: 4.582 MB / 382.1 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated