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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/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="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.001707/0.001707, allocations: 105 kB / 16.51 MB, free: 6.719 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.001759/0.001759, allocations: 194.5 kB / 17.43 MB, free: 6.059 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.334/1.334, allocations: 222.9 MB / 241.1 MB, free: 15.35 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.175/0.175, allocations: 38.02 MB / 329.3 MB, free: 9 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001264, allocations: 65.06 kB / 398.1 MB, free: 34.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1239/0.1252, allocations: 58.06 MB / 456.2 MB, free: 8.52 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.DoubleRXline): time 0.01267/0.1379, allocations: 11.59 MB / 467.7 MB, free: 12.87 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008919/0.1469, allocations: 4.21 MB / 472 MB, free: 8.648 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002034/0.1489, allocations: 67.62 kB / 472 MB, free: 8.582 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003308/0.1523, allocations: 1.145 MB / 473.2 MB, free: 7.438 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003212/0.1555, allocations: 1.07 MB / 474.2 MB, free: 6.363 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00202/0.1575, allocations: 0.6396 MB / 474.9 MB, free: 5.723 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005117/0.1627, allocations: 3.798 MB / 478.7 MB, free: 1.914 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002268/0.165, allocations: 0.9805 MB / 479.7 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00239/0.1674, allocations: 0.8947 MB / 480.6 MB, free: 12 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002873/0.1703, allocations: 1.445 MB / 482 MB, free: 14.56 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007432/0.171, allocations: 100 kB / 482.1 MB, free: 14.46 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002322/0.1734, allocations: 0.6903 MB / 482.8 MB, free: 13.77 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001671/0.1751, allocations: 0.9156 MB / 483.7 MB, free: 12.86 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002534/0.1776, allocations: 0.9288 MB / 484.6 MB, free: 11.92 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003864/0.1815, allocations: 2.504 MB / 487.1 MB, free: 9.41 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.1815, allocations: 0 / 487.1 MB, free: 9.41 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.1815, allocations: 4 kB / 487.1 MB, free: 9.406 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.000112/0.1817, allocations: 0 / 487.1 MB, free: 9.406 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.005753/0.1874, allocations: 2.321 MB / 489.5 MB, free: 7 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.959e-05/0.1875, allocations: 8.031 kB / 489.5 MB, free: 6.992 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002153/0.1896, allocations: 342.2 kB / 489.8 MB, free: 6.656 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002293/0.1919, allocations: 1.083 MB / 490.9 MB, free: 5.527 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001303/0.1921, allocations: 127.1 kB / 491 MB, free: 5.402 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005215/0.1926, allocations: 207.8 kB / 491.2 MB, free: 5.199 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004089/0.1967, allocations: 2.465 MB / 493.7 MB, free: 2.605 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.824e-05/0.1968, allocations: 7.938 kB / 493.7 MB, free: 2.598 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001708/0.197, allocations: 71.97 kB / 493.8 MB, free: 2.527 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005036/0.1975, allocations: 158.9 kB / 493.9 MB, free: 2.371 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003628/0.2011, allocations: 2.166 MB / 496.1 MB, free: 204 kB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01341/0.2145, allocations: 9.249 MB / 0.4935 GB, free: 6.625 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002965/0.2175, allocations: 2.125 MB / 0.4956 GB, free: 4.367 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001868/0.2194, allocations: 1.189 MB / 0.4967 GB, free: 3.172 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000122/0.2196, allocations: 21.31 kB / 0.4967 GB, free: 3.148 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002205/0.2218, allocations: 1.407 MB / 0.4981 GB, free: 1.703 MB / 382.1 MB Notification: Performance of pre-optimization done (n=205): time 5.511e-06/0.2218, allocations: 0 / 0.4981 GB, free: 1.703 MB / 382.1 MB Notification: Performance of matching and sorting (n=213): time 0.2438/0.4656, allocations: 6.862 MB / 0.5048 GB, free: 54.33 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001441/0.4658, allocations: 275.8 kB / 0.5051 GB, free: 54.05 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001578/0.4674, allocations: 0.9273 MB / 0.506 GB, free: 53.67 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003157/0.4677, allocations: 78.5 kB / 0.5061 GB, free: 53.61 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00063/0.4684, allocations: 0.7289 MB / 0.5068 GB, free: 53.05 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008004/0.4692, allocations: 0.6624 MB / 0.5074 GB, free: 52.55 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008068/0.47, allocations: 409.6 kB / 0.5078 GB, free: 52.37 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.88e-05/0.4701, allocations: 306.2 kB / 0.5081 GB, free: 52.07 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001578/0.4717, allocations: 0.9654 MB / 0.509 GB, free: 51.75 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002023/0.4737, allocations: 1.519 MB / 0.5105 GB, free: 50.79 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.01431/0.488, allocations: 6.236 MB / 0.5166 GB, free: 48.27 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.349e-05/0.4881, allocations: 5.25 kB / 0.5166 GB, free: 48.27 MB / 382.1 MB Notification: Performance of matching and sorting (n=317) (initialization): time 0.008176/0.4962, allocations: 4.113 MB / 0.5206 GB, free: 46.79 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000105/0.4964, allocations: 63.78 kB / 0.5207 GB, free: 46.73 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.001648/0.4981, allocations: 1 MB / 0.5217 GB, free: 46.31 MB / 382.1 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated