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.0009115/0.0009116, allocations: 105.2 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.000871/0.000871, 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.174/1.174, allocations: 205.1 MB / 223.9 MB, free: 12.4 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1536/0.1536, allocations: 37.98 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.00115/0.00115, allocations: 63.03 kB / 375.3 MB, free: 4.102 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1851/0.1862, allocations: 55.24 MB / 430.5 MB, free: 19.8 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.DoubleRXlineTG): time 0.009938/0.1962, allocations: 15.34 MB / 445.8 MB, free: 4.395 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01131/0.2076, allocations: 8.829 MB / 454.7 MB, free: 11.54 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001307/0.2089, allocations: 83.44 kB / 454.8 MB, free: 11.46 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.2769/0.4858, allocations: 96.19 MB / 0.538 GB, free: 66.75 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002975/0.4888, allocations: 1.397 MB / 0.5394 GB, free: 65.99 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001736/0.4905, allocations: 0.9489 MB / 0.5403 GB, free: 65.52 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01462/0.5051, allocations: 17.19 MB / 0.5571 GB, free: 49.44 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001507/0.5067, allocations: 1.47 MB / 0.5585 GB, free: 47.98 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02346/0.5302, allocations: 24.59 MB / 0.5826 GB, free: 24.21 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00182/0.532, allocations: 1.983 MB / 0.5845 GB, free: 22.37 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002543/0.5323, allocations: 140.8 kB / 0.5846 GB, free: 22.23 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001334/0.5336, allocations: 0.947 MB / 0.5856 GB, free: 21.32 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00072/0.5344, allocations: 1.25 MB / 0.5868 GB, free: 20.09 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000928/0.5353, allocations: 1.314 MB / 0.5881 GB, free: 18.78 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001638/0.5369, allocations: 3.058 MB / 0.591 GB, free: 15.81 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.678e-06/0.5369, allocations: 4 kB / 0.5911 GB, free: 15.81 MB / 398.1 MB Notification: Performance of FrontEnd: time 6.91e-07/0.537, allocations: 4 kB / 0.5911 GB, free: 15.8 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.419e-05/0.537, allocations: 0 / 0.5911 GB, free: 15.8 MB / 398.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.004375/0.5414, allocations: 3.178 MB / 0.5942 GB, free: 12.57 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.009e-05/0.5414, allocations: 11.78 kB / 0.5942 GB, free: 12.56 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001737/0.5431, allocations: 463.8 kB / 0.5946 GB, free: 12.11 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002237/0.5454, allocations: 1.804 MB / 0.5964 GB, free: 10.28 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.78e-05/0.5455, allocations: 161.1 kB / 0.5965 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004013/0.5459, allocations: 256.1 kB / 0.5968 GB, free: 9.883 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003389/0.5493, allocations: 3.181 MB / 0.5999 GB, free: 6.562 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.375e-05/0.5493, allocations: 7.938 kB / 0.5999 GB, free: 6.555 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001843/0.5495, allocations: 89.06 kB / 0.6 GB, free: 6.473 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004872/0.55, allocations: 217.9 kB / 0.6002 GB, free: 6.262 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00331/0.5534, allocations: 2.853 MB / 0.603 GB, free: 3.402 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01308/0.5664, allocations: 11.59 MB / 0.6143 GB, free: 7.508 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00306/0.5695, allocations: 2.604 MB / 0.6168 GB, free: 4.781 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002063/0.5716, allocations: 1.538 MB / 0.6183 GB, free: 3.23 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001063/0.5717, allocations: 25.12 kB / 0.6184 GB, free: 3.207 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002197/0.5739, allocations: 1.699 MB / 0.62 GB, free: 1.469 MB / 414.1 MB Notification: Performance of pre-optimization done (n=247): time 4.067e-06/0.5739, allocations: 0 / 0.62 GB, free: 1.469 MB / 414.1 MB Notification: Performance of matching and sorting (n=267): time 0.01994/0.5939, allocations: 11.51 MB / 0.6313 GB, free: 5.805 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001811/0.5941, allocations: 421.2 kB / 0.6317 GB, free: 5.309 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001704/0.5958, allocations: 1.473 MB / 0.6331 GB, free: 3.828 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001409/0.596, allocations: 77.7 kB / 0.6332 GB, free: 3.746 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007331/0.5967, allocations: 1.005 MB / 0.6342 GB, free: 2.738 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006156/0.5973, allocations: 0.8582 MB / 0.635 GB, free: 1.898 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006949/0.598, allocations: 0.5242 MB / 0.6355 GB, free: 1.367 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.864e-05/0.5981, allocations: 305.1 kB / 0.6358 GB, free: 1.066 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001887/0.6, allocations: 1.331 MB / 0.6371 GB, free: 15.73 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002298/0.6023, allocations: 1.994 MB / 0.639 GB, free: 13.47 MB / 446.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.0144/0.6167, allocations: 6.992 MB / 0.6459 GB, free: 6.152 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.235e-05/0.6168, allocations: 8 kB / 0.6459 GB, free: 6.145 MB / 446.1 MB Notification: Performance of matching and sorting (n=402) (initialization): time 0.008958/0.6257, allocations: 5.326 MB / 0.6511 GB, free: 0.7383 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.907e-05/0.6258, allocations: 67.41 kB / 0.6511 GB, free: 0.6602 MB / 446.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.001867/0.6277, allocations: 1.367 MB / 0.6525 GB, free: 15.25 MB / 462.1 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated