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.0008932/0.0008932, allocations: 109 kB / 17.16 MB, free: 6.082 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.000882/0.000882, allocations: 198.9 kB / 18.08 MB, free: 5.285 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.181/1.181, allocations: 205.1 MB / 223.9 MB, free: 12.46 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1561/0.1561, allocations: 37.99 MB / 309.3 MB, free: 6.227 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.001172/0.001172, allocations: 68.33 kB / 375.3 MB, free: 4.109 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2031/0.2043, allocations: 55.24 MB / 430.5 MB, free: 19.8 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.DoubleRXline): time 0.00757/0.2119, allocations: 11.6 MB / 442.1 MB, free: 8.16 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005166/0.2171, allocations: 4.254 MB / 446.4 MB, free: 3.891 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007467/0.2178, allocations: 63.62 kB / 446.4 MB, free: 3.828 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002059/0.2199, allocations: 1.139 MB / 447.6 MB, free: 2.688 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001661/0.2216, allocations: 1.063 MB / 448.6 MB, free: 1.621 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001068/0.2227, allocations: 0.6474 MB / 449.3 MB, free: 0.9727 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002786/0.2255, allocations: 3.798 MB / 453.1 MB, free: 13.16 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001171/0.2266, allocations: 0.9806 MB / 454 MB, free: 12.16 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001271/0.2279, allocations: 0.8869 MB / 454.9 MB, free: 11.27 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001602/0.2295, allocations: 1.456 MB / 456.4 MB, free: 9.809 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001866/0.2297, allocations: 100 kB / 456.5 MB, free: 9.711 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001127/0.2309, allocations: 0.6981 MB / 457.2 MB, free: 9.012 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007255/0.2316, allocations: 0.904 MB / 458.1 MB, free: 8.105 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008229/0.2324, allocations: 0.9365 MB / 459 MB, free: 7.164 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001513/0.234, allocations: 1.961 MB / 461 MB, free: 5.199 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.234, allocations: 4 kB / 461 MB, free: 5.195 MB / 334.1 MB Notification: Performance of FrontEnd: time 7.72e-07/0.234, allocations: 0 / 461 MB, free: 5.195 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.133e-05/0.234, allocations: 0 / 461 MB, free: 5.195 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.003598/0.2376, allocations: 2.314 MB / 463.3 MB, free: 2.797 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.245e-05/0.2377, allocations: 11.97 kB / 463.3 MB, free: 2.785 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001581/0.2393, allocations: 338.2 kB / 463.6 MB, free: 2.453 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001522/0.2408, allocations: 1.09 MB / 464.7 MB, free: 1.316 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.442e-05/0.2409, allocations: 119.1 kB / 464.9 MB, free: 1.199 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003691/0.2413, allocations: 199.9 kB / 465.1 MB, free: 1.004 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003135/0.2444, allocations: 2.465 MB / 467.5 MB, free: 14.41 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.344e-05/0.2444, allocations: 11.84 kB / 467.5 MB, free: 14.4 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001424/0.2446, allocations: 67.98 kB / 467.6 MB, free: 14.33 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004467/0.2451, allocations: 162.9 kB / 467.8 MB, free: 14.17 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002993/0.2481, allocations: 2.17 MB / 469.9 MB, free: 12 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01099/0.2591, allocations: 9.241 MB / 479.2 MB, free: 2.426 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002386/0.2615, allocations: 2.136 MB / 481.3 MB, free: 176 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001498/0.263, allocations: 1.178 MB / 482.5 MB, free: 14.99 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.058e-05/0.2631, allocations: 25.31 kB / 482.5 MB, free: 14.97 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001719/0.2648, allocations: 1.411 MB / 483.9 MB, free: 13.52 MB / 366.1 MB Notification: Performance of pre-optimization done (n=205): time 2.895e-06/0.2648, allocations: 3.938 kB / 483.9 MB, free: 13.52 MB / 366.1 MB Notification: Performance of matching and sorting (n=213): time 0.009683/0.2745, allocations: 6.873 MB / 490.8 MB, free: 6.535 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001263/0.2747, allocations: 273.3 kB / 491.1 MB, free: 6.215 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009712/0.2756, allocations: 0.9237 MB / 492 MB, free: 5.27 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001148/0.2758, allocations: 77.67 kB / 492.1 MB, free: 5.188 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005009/0.2763, allocations: 0.7335 MB / 492.8 MB, free: 4.441 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004666/0.2767, allocations: 0.6589 MB / 493.5 MB, free: 3.773 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005024/0.2773, allocations: 412.6 kB / 493.9 MB, free: 3.363 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.242e-05/0.2774, allocations: 301.1 kB / 494.1 MB, free: 3.066 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001331/0.2787, allocations: 0.9689 MB / 495.1 MB, free: 2.094 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001702/0.2804, allocations: 1.517 MB / 496.6 MB, free: 360 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.01182/0.2922, allocations: 6.234 MB / 0.4911 GB, free: 9.863 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.27e-05/0.2923, allocations: 4 kB / 0.4911 GB, free: 9.859 MB / 382.1 MB Notification: Performance of matching and sorting (n=317) (initialization): time 0.007078/0.2993, allocations: 4.108 MB / 0.4951 GB, free: 5.727 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.69e-05/0.2994, allocations: 63.41 kB / 0.4952 GB, free: 5.652 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.001388/0.3008, allocations: 0.9927 MB / 0.4961 GB, free: 4.664 MB / 382.1 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated