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.0009993/0.0009992, allocations: 92.22 kB / 16.96 MB, free: 6.41 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.001037/0.001037, allocations: 183.5 kB / 17.84 MB, free: 5.969 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.678/1.678, allocations: 205.4 MB / 224 MB, free: 13.15 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1879/0.1879, allocations: 38.04 MB / 310.3 MB, free: 6.105 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.0005819/0.000582, allocations: 12 kB / 377.1 MB, free: 3.18 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2855/0.2861, allocations: 56.34 MB / 433.5 MB, free: 18.84 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.DoubleRXlineTG): time 0.01223/0.2983, allocations: 13.81 MB / 447.3 MB, free: 4.973 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01424/0.3126, allocations: 8.053 MB / 455.3 MB, free: 12.91 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002716/0.3154, allocations: 91.38 kB / 455.4 MB, free: 12.82 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.4029/0.7183, allocations: 92.43 MB / 0.535 GB, free: 72.35 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004471/0.7228, allocations: 1.47 MB / 0.5365 GB, free: 71.56 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002636/0.7255, allocations: 0.8946 MB / 0.5373 GB, free: 71.04 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01783/0.7433, allocations: 15.63 MB / 0.5526 GB, free: 58.54 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002988/0.7464, allocations: 1.761 MB / 0.5543 GB, free: 57.21 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02826/0.7746, allocations: 23.9 MB / 0.5777 GB, free: 35.3 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002788/0.7775, allocations: 1.851 MB / 0.5795 GB, free: 33.57 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004719/0.778, allocations: 104 kB / 0.5796 GB, free: 33.47 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001846/0.7798, allocations: 0.8355 MB / 0.5804 GB, free: 32.66 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001113/0.781, allocations: 1.215 MB / 0.5816 GB, free: 31.46 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007006/0.7817, allocations: 0.5003 MB / 0.5821 GB, free: 30.95 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002522/0.7842, allocations: 3.003 MB / 0.585 GB, free: 28.04 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.763e-06/0.7842, allocations: 0 / 0.585 GB, free: 28.04 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.7842, allocations: 0 / 0.585 GB, free: 28.04 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.401e-05/0.7843, allocations: 0 / 0.585 GB, free: 28.04 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.004695/0.789, allocations: 2.73 MB / 0.5877 GB, free: 25.26 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.923e-05/0.789, allocations: 12.03 kB / 0.5877 GB, free: 25.25 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001848/0.7909, allocations: 455.5 kB / 0.5881 GB, free: 24.8 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002832/0.7937, allocations: 1.748 MB / 0.5898 GB, free: 23.04 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001025/0.7939, allocations: 166.3 kB / 0.59 GB, free: 22.88 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004266/0.7943, allocations: 260.3 kB / 0.5902 GB, free: 22.63 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004313/0.7986, allocations: 3.173 MB / 0.5933 GB, free: 19.32 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.853e-05/0.7987, allocations: 11.84 kB / 0.5933 GB, free: 19.31 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002027/0.7989, allocations: 98.78 kB / 0.5934 GB, free: 19.22 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005154/0.7995, allocations: 207.8 kB / 0.5936 GB, free: 19.02 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00403/0.8035, allocations: 2.865 MB / 0.5964 GB, free: 16.14 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01375/0.8173, allocations: 11.62 MB / 0.6078 GB, free: 4.242 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00281/0.8201, allocations: 2.623 MB / 0.6103 GB, free: 1.492 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001963/0.8221, allocations: 1.546 MB / 0.6118 GB, free: 15.94 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001203/0.8223, allocations: 27.36 kB / 0.6119 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002518/0.8248, allocations: 1.713 MB / 0.6135 GB, free: 14.16 MB / 414.1 MB Notification: Performance of pre-optimization done (n=247): time 7.354e-06/0.8248, allocations: 6.906 kB / 0.6135 GB, free: 14.16 MB / 414.1 MB Notification: Performance of matching and sorting (n=267): time 0.0217/0.8465, allocations: 11.59 MB / 0.6249 GB, free: 2.406 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003089/0.8469, allocations: 421 kB / 0.6253 GB, free: 1.914 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002081/0.849, allocations: 1.462 MB / 0.6267 GB, free: 456 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001978/0.8492, allocations: 81.69 kB / 0.6268 GB, free: 368 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009229/0.8501, allocations: 1.014 MB / 0.6278 GB, free: 15.36 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007863/0.8509, allocations: 0.8494 MB / 0.6286 GB, free: 14.53 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001483/0.8511, allocations: 62.52 kB / 0.6286 GB, free: 14.47 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002785/0.8513, allocations: 436.5 kB / 0.6291 GB, free: 14.04 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002046/0.8534, allocations: 1.318 MB / 0.6304 GB, free: 12.72 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002538/0.856, allocations: 1.986 MB / 0.6323 GB, free: 10.47 MB / 430.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.01058/0.8665, allocations: 3.95 MB / 0.6361 GB, free: 6.492 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.9e-05/0.8666, allocations: 8 kB / 0.6362 GB, free: 6.484 MB / 430.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. Error: No system for the symbolic initialization was generated