Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Transmission.DoubleRXlineTG.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.DoubleRXlineTG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Transmission.DoubleRXlineTG") translateModel(PowerSystems.Examples.AC3ph.Transmission.DoubleRXlineTG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Transmission.DoubleRXlineTG") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001132/0.001132, allocations: 104.7 kB / 17.06 MB, free: 6.027 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.001105/0.001105, allocations: 196 kB / 18 MB, free: 5.105 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.418/1.418, allocations: 205.1 MB / 223.9 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1896/0.1896, allocations: 37.99 MB / 309.2 MB, free: 5.961 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.001577/0.001577, allocations: 60.47 kB / 431.9 MB, free: 15.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.123/0.1246, allocations: 55.25 MB / 487.1 MB, free: 8.355 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.DoubleRXlineTG): time 0.01642/0.1411, allocations: 13.33 MB / 0.4887 GB, free: 10.95 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01444/0.1556, allocations: 7.97 MB / 0.4965 GB, free: 2.961 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001992/0.1576, allocations: 51.69 kB / 0.4965 GB, free: 2.91 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/package.mo:1895:3-1973:18:writable] Warning: Pure function 'Modelica.Math.Matrices.eigenValues' contains a call to impure function 'Modelica.Math.Matrices.LAPACK.dgeev_eigenValues'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/package.mo:2829:3-2870:10:writable] Warning: Pure function 'Modelica.Math.Matrices.inv' contains a call to impure function 'Modelica.Math.Matrices.LAPACK.dgetrf'. Notification: Performance of NFTyping.typeComponents: time 0.4213/0.5789, allocations: 91.19 MB / 0.5856 GB, free: 2.562 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003951/0.5829, allocations: 1.476 MB / 0.587 GB, free: 1.551 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002895/0.5858, allocations: 1.045 MB / 0.5881 GB, free: 0.6055 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01983/0.6056, allocations: 14.52 MB / 0.6022 GB, free: 3.035 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003874/0.6096, allocations: 1.599 MB / 0.6038 GB, free: 1.449 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.03276/0.6424, allocations: 23.54 MB / 0.6268 GB, free: 10.75 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004007/0.6464, allocations: 1.892 MB / 0.6286 GB, free: 8.996 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001106/0.6476, allocations: 240 kB / 0.6289 GB, free: 8.762 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003228/0.6508, allocations: 1.008 MB / 0.6299 GB, free: 7.785 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002389/0.6532, allocations: 1.346 MB / 0.6312 GB, free: 6.445 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003795/0.657, allocations: 1.428 MB / 0.6326 GB, free: 5.02 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006504/0.6636, allocations: 3.981 MB / 0.6365 GB, free: 1.133 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.6636, allocations: 8 kB / 0.6365 GB, free: 1.125 MB / 462.1 MB Notification: Performance of FrontEnd: time 3.477e-06/0.6636, allocations: 2.906 kB / 0.6365 GB, free: 1.125 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0001819/0.6638, allocations: 3.938 kB / 0.6365 GB, free: 1.121 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 574 * Number of variables: 574 Notification: Performance of Generate backend data structure: time 0.008925/0.6727, allocations: 3.173 MB / 0.6396 GB, free: 13.89 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.477e-05/0.6728, allocations: 15.89 kB / 0.6396 GB, free: 13.87 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002285/0.6751, allocations: 456.9 kB / 0.64 GB, free: 13.43 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00373/0.6788, allocations: 1.857 MB / 0.6418 GB, free: 11.54 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001379/0.679, allocations: 160.5 kB / 0.642 GB, free: 11.39 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005481/0.6795, allocations: 265.2 kB / 0.6422 GB, free: 11.14 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005058/0.6846, allocations: 3.182 MB / 0.6453 GB, free: 7.824 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.392e-05/0.6847, allocations: 11.94 kB / 0.6454 GB, free: 7.812 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001992/0.6849, allocations: 86.72 kB / 0.6454 GB, free: 7.73 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005884/0.6855, allocations: 214.2 kB / 0.6456 GB, free: 7.523 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004481/0.69, allocations: 2.853 MB / 0.6484 GB, free: 4.664 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01603/0.706, allocations: 11.51 MB / 0.6597 GB, free: 8.852 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003268/0.7093, allocations: 2.587 MB / 0.6622 GB, free: 6.141 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00217/0.7115, allocations: 1.526 MB / 0.6637 GB, free: 4.605 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001281/0.7117, allocations: 32.89 kB / 0.6637 GB, free: 4.574 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002355/0.714, allocations: 1.7 MB / 0.6654 GB, free: 2.836 MB / 494.1 MB Notification: Performance of pre-optimization done (n=247): time 5.32e-06/0.7141, allocations: 0 / 0.6654 GB, free: 2.836 MB / 494.1 MB Notification: Performance of matching and sorting (n=276): time 0.02885/0.7429, allocations: 13.98 MB / 0.679 GB, free: 4.59 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002088/0.7432, allocations: 424 kB / 0.6794 GB, free: 4.094 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001959/0.7452, allocations: 1.473 MB / 0.6809 GB, free: 2.613 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001669/0.7453, allocations: 81.64 kB / 0.681 GB, free: 2.527 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009386/0.7463, allocations: 1.015 MB / 0.6819 GB, free: 1.512 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009614/0.7473, allocations: 0.8801 MB / 0.6828 GB, free: 0.6484 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008609/0.7481, allocations: 0.5335 MB / 0.6833 GB, free: 112 kB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001772/0.7483, allocations: 305.1 kB / 0.6836 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002165/0.7505, allocations: 1.343 MB / 0.6849 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002711/0.7532, allocations: 2.022 MB / 0.6869 GB, free: 12.17 MB / 0.5137 GB 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.01631/0.7695, allocations: 7.235 MB / 0.694 GB, free: 4.617 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.666e-05/0.7696, allocations: 11.84 kB / 0.694 GB, free: 4.609 MB / 0.5137 GB Notification: Performance of matching and sorting (n=409) (initialization): time 0.01081/0.7804, allocations: 5.373 MB / 0.6992 GB, free: 15.15 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 7.641e-05/0.7805, allocations: 67.31 kB / 0.6993 GB, free: 15.07 MB / 0.5294 GB 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.002231/0.7828, allocations: 1.373 MB / 0.7006 GB, free: 13.68 MB / 0.5294 GB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated