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 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.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.002175/0.002175, allocations: 108 kB / 17.28 MB, free: 6.199 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.00372/0.00372, allocations: 193.3 kB / 18.21 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.807/2.807, allocations: 222.9 MB / 241.9 MB, free: 13.74 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.5481/0.5481, allocations: 38.01 MB / 330 MB, free: 8.785 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002776/0.002776, allocations: 61.92 kB / 398.9 MB, free: 34.38 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2814/0.2843, allocations: 58.06 MB / 457 MB, free: 8.41 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.DoubleRXlineTG): time 0.03314/0.3175, allocations: 15.34 MB / 472.3 MB, free: 9 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.03847/0.356, allocations: 8.525 MB / 480.9 MB, free: 464 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008794/0.365, allocations: 91.38 kB / 480.9 MB, free: 372 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.7644/1.13, allocations: 98.63 MB / 0.566 GB, free: 10.61 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007718/1.137, allocations: 1.369 MB / 0.5673 GB, free: 9.621 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005092/1.142, allocations: 0.9648 MB / 0.5683 GB, free: 8.746 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.03929/1.182, allocations: 15.49 MB / 0.5834 GB, free: 10.24 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004407/1.186, allocations: 1.688 MB / 0.5851 GB, free: 8.586 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.06972/1.256, allocations: 25.43 MB / 0.6099 GB, free: 15.94 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01001/1.266, allocations: 2.043 MB / 0.6119 GB, free: 14.03 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002416/1.269, allocations: 240.9 kB / 0.6121 GB, free: 13.8 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004711/1.273, allocations: 1.045 MB / 0.6131 GB, free: 12.79 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003802/1.277, allocations: 1.35 MB / 0.6144 GB, free: 11.45 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005206/1.282, allocations: 1.432 MB / 0.6158 GB, free: 10.02 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01261/1.295, allocations: 3.085 MB / 0.6189 GB, free: 7.023 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.546e-05/1.295, allocations: 4 kB / 0.6189 GB, free: 7.02 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.164e-06/1.295, allocations: 0 / 0.6189 GB, free: 7.02 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002206/1.296, allocations: 4 kB / 0.6189 GB, free: 7.016 MB / 446.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.01838/1.314, allocations: 3.174 MB / 0.622 GB, free: 3.781 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 0.0001192/1.314, allocations: 11.89 kB / 0.622 GB, free: 3.77 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004634/1.319, allocations: 464.9 kB / 0.6224 GB, free: 3.32 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00751/1.326, allocations: 1.782 MB / 0.6242 GB, free: 1.512 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003029/1.327, allocations: 157.7 kB / 0.6243 GB, free: 1.363 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001404/1.328, allocations: 269.7 kB / 0.6246 GB, free: 1.109 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01083/1.339, allocations: 3.181 MB / 0.6277 GB, free: 13.79 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001063/1.339, allocations: 11.94 kB / 0.6277 GB, free: 13.77 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003891/1.34, allocations: 83.19 kB / 0.6278 GB, free: 13.7 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001121/1.341, allocations: 211.8 kB / 0.628 GB, free: 13.49 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008933/1.35, allocations: 2.852 MB / 0.6308 GB, free: 10.63 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03865/1.388, allocations: 11.59 MB / 0.6421 GB, free: 14.75 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01197/1.4, allocations: 2.598 MB / 0.6446 GB, free: 12.02 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.009278/1.41, allocations: 1.541 MB / 0.6461 GB, free: 10.47 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003042/1.41, allocations: 28.8 kB / 0.6461 GB, free: 10.45 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005392/1.416, allocations: 1.705 MB / 0.6478 GB, free: 8.695 MB / 478.1 MB Notification: Performance of pre-optimization done (n=247): time 9.989e-06/1.416, allocations: 0 / 0.6478 GB, free: 8.695 MB / 478.1 MB Notification: Performance of matching and sorting (n=267): time 0.06302/1.479, allocations: 11.51 MB / 0.6591 GB, free: 13.02 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005129/1.479, allocations: 412.5 kB / 0.6594 GB, free: 12.54 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004887/1.484, allocations: 1.477 MB / 0.6609 GB, free: 11.05 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008889/1.485, allocations: 77.7 kB / 0.661 GB, free: 10.97 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001876/1.487, allocations: 1.005 MB / 0.6619 GB, free: 9.961 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00239/1.489, allocations: 0.8492 MB / 0.6628 GB, free: 9.129 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003002/1.492, allocations: 0.5308 MB / 0.6633 GB, free: 8.594 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001983/1.493, allocations: 305.2 kB / 0.6636 GB, free: 8.293 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005224/1.498, allocations: 1.331 MB / 0.6649 GB, free: 6.953 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006322/1.508, allocations: 2.002 MB / 0.6668 GB, free: 4.691 MB / 494.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.03666/1.545, allocations: 7.009 MB / 0.6737 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.834e-05/1.545, allocations: 8 kB / 0.6737 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of matching and sorting (n=402) (initialization): time 0.02676/1.572, allocations: 5.319 MB / 0.6789 GB, free: 7.953 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001545/1.572, allocations: 67.41 kB / 0.6789 GB, free: 7.875 MB / 0.4981 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.009026/1.581, allocations: 1.364 MB / 0.6803 GB, free: 6.469 MB / 0.4981 GB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated