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.0007822/0.0007822, allocations: 94.56 kB / 17.31 MB, free: 5.656 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.0008832/0.0008833, allocations: 179.9 kB / 18.21 MB, free: 5.25 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.759/1.759, allocations: 205.4 MB / 224.4 MB, free: 13.06 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1798/0.1798, allocations: 38.05 MB / 310.7 MB, free: 5.895 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.0005591/0.0005591, allocations: 12 kB / 377.8 MB, free: 2.699 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3533/0.3538, allocations: 56.33 MB / 434.1 MB, free: 18.67 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.DoubleRXlineTG): time 0.01162/0.3655, allocations: 14.74 MB / 448.9 MB, free: 3.867 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01409/0.3796, allocations: 8.677 MB / 457.6 MB, free: 11.16 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002568/0.3823, allocations: 87.38 kB / 457.6 MB, free: 11.08 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.4377/0.82, allocations: 95.19 MB / 0.5399 GB, free: 66.69 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005432/0.8255, allocations: 1.391 MB / 0.5412 GB, free: 65.95 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003521/0.8291, allocations: 0.9505 MB / 0.5422 GB, free: 65.46 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.02251/0.8516, allocations: 17.17 MB / 0.5589 GB, free: 49.84 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003297/0.855, allocations: 2.004 MB / 0.5609 GB, free: 47.95 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02633/0.8813, allocations: 24.47 MB / 0.5848 GB, free: 24.32 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002857/0.8842, allocations: 1.884 MB / 0.5866 GB, free: 22.57 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003269/0.8846, allocations: 104 kB / 0.5867 GB, free: 22.47 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001843/0.8864, allocations: 0.9202 MB / 0.5876 GB, free: 21.59 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009704/0.8874, allocations: 1.211 MB / 0.5888 GB, free: 20.4 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001294/0.8887, allocations: 1.267 MB / 0.59 GB, free: 19.13 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002623/0.8913, allocations: 3.006 MB / 0.593 GB, free: 16.21 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.603e-06/0.8913, allocations: 0 / 0.593 GB, free: 16.21 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.927e-06/0.8914, allocations: 8 kB / 0.593 GB, free: 16.21 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.609e-05/0.8914, allocations: 1.781 kB / 0.593 GB, free: 16.21 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.005174/0.8966, allocations: 2.708 MB / 0.5956 GB, free: 13.43 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.871e-05/0.8967, allocations: 12.03 kB / 0.5956 GB, free: 13.42 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001959/0.8986, allocations: 460.3 kB / 0.5961 GB, free: 12.97 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002744/0.9014, allocations: 1.795 MB / 0.5978 GB, free: 11.15 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001096/0.9015, allocations: 155.4 kB / 0.598 GB, free: 11 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004795/0.902, allocations: 265.3 kB / 0.5982 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004078/0.9061, allocations: 3.189 MB / 0.6013 GB, free: 7.422 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.991e-05/0.9062, allocations: 8 kB / 0.6014 GB, free: 7.414 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001998/0.9064, allocations: 90.23 kB / 0.6014 GB, free: 7.332 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005313/0.9069, allocations: 215.7 kB / 0.6016 GB, free: 7.121 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003779/0.9107, allocations: 2.869 MB / 0.6044 GB, free: 4.246 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01678/0.9275, allocations: 11.64 MB / 0.6158 GB, free: 8.309 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003833/0.9313, allocations: 2.605 MB / 0.6184 GB, free: 5.578 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002434/0.9338, allocations: 1.546 MB / 0.6199 GB, free: 4.02 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001076/0.9339, allocations: 24.5 kB / 0.6199 GB, free: 3.996 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002598/0.9365, allocations: 1.715 MB / 0.6216 GB, free: 2.246 MB / 414.1 MB Notification: Performance of pre-optimization done (n=247): time 3.697e-06/0.9366, allocations: 0 / 0.6216 GB, free: 2.246 MB / 414.1 MB Notification: Performance of matching and sorting (n=267): time 0.02318/0.9598, allocations: 11.58 MB / 0.6329 GB, free: 6.512 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002926/0.9601, allocations: 413.8 kB / 0.6333 GB, free: 6.02 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002213/0.9623, allocations: 1.481 MB / 0.6347 GB, free: 4.531 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000252/0.9626, allocations: 80.67 kB / 0.6348 GB, free: 4.449 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001066/0.9637, allocations: 1.004 MB / 0.6358 GB, free: 3.441 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0011/0.9648, allocations: 0.8467 MB / 0.6366 GB, free: 2.613 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004104/0.9652, allocations: 272.3 kB / 0.6369 GB, free: 2.34 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001276/0.9653, allocations: 305.1 kB / 0.6372 GB, free: 2.039 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002323/0.9676, allocations: 1.325 MB / 0.6384 GB, free: 0.7109 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003164/0.9708, allocations: 2.014 MB / 0.6404 GB, free: 14.44 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.01766/0.9885, allocations: 7.025 MB / 0.6473 GB, free: 7.082 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.382e-05/0.9886, allocations: 4 kB / 0.6473 GB, free: 7.078 MB / 446.1 MB Notification: Performance of matching and sorting (n=402) (initialization): time 0.01159/1, allocations: 5.338 MB / 0.6525 GB, free: 1.66 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006537/1.001, allocations: 0.6861 MB / 0.6532 GB, free: 0.7031 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.002602/1.003, allocations: 1.38 MB / 0.6545 GB, free: 15.28 MB / 462.1 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated