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.000949/0.0009489, allocations: 94.78 kB / 16.3 MB, free: 5.629 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.0009734/0.0009735, allocations: 180.5 kB / 17.19 MB, free: 5.566 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.484/1.484, allocations: 205.4 MB / 223.3 MB, free: 13.17 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1759/0.1759, allocations: 38.03 MB / 309.7 MB, free: 6.152 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.0005762/0.0005761, allocations: 15.98 kB / 376.5 MB, free: 3.227 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.273/0.2736, allocations: 56.33 MB / 432.8 MB, free: 18.87 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.DoubleRXlineTG): time 0.01034/0.284, allocations: 13.11 MB / 445.9 MB, free: 5.711 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01153/0.2956, allocations: 8.006 MB / 453.9 MB, free: 13.69 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002015/0.2976, allocations: 87.38 kB / 454 MB, free: 13.6 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02228/0.3199, allocations: 12.7 MB / 466.7 MB, free: 0.8789 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005305/0.3253, allocations: 1.071 MB / 467.8 MB, free: 15.8 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003497/0.3288, allocations: 0.8908 MB / 468.7 MB, free: 14.91 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003585/0.3324, allocations: 1.675 MB / 470.3 MB, free: 13.23 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002973/0.3354, allocations: 1.753 MB / 472.1 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001983/0.3374, allocations: 0.9808 MB / 473.1 MB, free: 10.44 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00168/0.3391, allocations: 1.235 MB / 474.3 MB, free: 9.203 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002542/0.3394, allocations: 108 kB / 474.4 MB, free: 9.098 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001954/0.3413, allocations: 0.78 MB / 475.2 MB, free: 8.316 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001202/0.3425, allocations: 1.107 MB / 476.3 MB, free: 7.207 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007606/0.3433, allocations: 0.4925 MB / 476.8 MB, free: 6.707 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003256/0.3466, allocations: 2.997 MB / 479.8 MB, free: 3.703 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.3466, allocations: 0 / 479.8 MB, free: 3.703 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.545e-06/0.3466, allocations: 0 / 479.8 MB, free: 3.703 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.36e-05/0.3467, allocations: 0 / 479.8 MB, free: 3.703 MB / 350.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.006311/0.353, allocations: 2.733 MB / 482.5 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.993e-05/0.3531, allocations: 12.03 kB / 482.5 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002362/0.3554, allocations: 472.3 kB / 483 MB, free: 416 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003936/0.3594, allocations: 1.746 MB / 484.7 MB, free: 14.61 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001437/0.3596, allocations: 159.9 kB / 484.9 MB, free: 14.45 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000526/0.3601, allocations: 255.8 kB / 485.2 MB, free: 14.2 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00476/0.3649, allocations: 3.173 MB / 488.3 MB, free: 10.87 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.485e-05/0.3649, allocations: 15.84 kB / 488.3 MB, free: 10.86 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002144/0.3652, allocations: 91.92 kB / 488.4 MB, free: 10.77 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005854/0.3658, allocations: 211.7 kB / 488.6 MB, free: 10.56 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004521/0.3703, allocations: 2.853 MB / 491.5 MB, free: 7.699 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01751/0.3878, allocations: 11.77 MB / 0.4915 GB, free: 11.49 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003626/0.3915, allocations: 2.608 MB / 0.494 GB, free: 8.75 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001139/0.3916, allocations: 34.11 kB / 0.494 GB, free: 8.719 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002381/0.394, allocations: 1.706 MB / 0.4957 GB, free: 6.969 MB / 382.1 MB Notification: Performance of pre-optimization done (n=247): time 3.948e-06/0.3941, allocations: 0 / 0.4957 GB, free: 6.969 MB / 382.1 MB Notification: Performance of matching and sorting (n=267): time 0.02253/0.4166, allocations: 12.07 MB / 0.5075 GB, free: 10.64 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002327/0.4169, allocations: 405.8 kB / 0.5079 GB, free: 10.16 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001981/0.4189, allocations: 1.469 MB / 0.5093 GB, free: 8.68 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002654/0.4191, allocations: 89.67 kB / 0.5094 GB, free: 8.586 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009231/0.4201, allocations: 1.005 MB / 0.5104 GB, free: 7.57 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009248/0.421, allocations: 0.8476 MB / 0.5112 GB, free: 6.711 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001498/0.4212, allocations: 59.98 kB / 0.5113 GB, free: 6.652 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002347/0.4214, allocations: 436.5 kB / 0.5117 GB, free: 6.219 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002127/0.4235, allocations: 1.318 MB / 0.513 GB, free: 4.898 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002491/0.426, allocations: 1.975 MB / 0.5149 GB, free: 2.664 MB / 398.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.2754/0.7015, allocations: 3.903 MB / 0.5187 GB, free: 83.69 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-05/0.7015, allocations: 5.5 kB / 0.5187 GB, free: 83.69 MB / 398.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