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.0007834/0.0007834, allocations: 90.11 kB / 16.65 MB, free: 6.535 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.0007824/0.0007825, allocations: 175.5 kB / 17.56 MB, free: 6.18 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.516/1.516, allocations: 205.4 MB / 223.7 MB, free: 13.07 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1875/0.1875, allocations: 38.05 MB / 310.1 MB, free: 5.91 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.000565/0.0005649, allocations: 16 kB / 377.2 MB, free: 2.723 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2699/0.2705, allocations: 56.33 MB / 433.5 MB, free: 18.7 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.DoubleRXlineTG): time 0.01285/0.2834, allocations: 14.73 MB / 448.2 MB, free: 3.898 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01468/0.2981, allocations: 8.689 MB / 456.9 MB, free: 11.18 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003092/0.3012, allocations: 91.31 kB / 457 MB, free: 11.09 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.3816/0.6828, allocations: 95.17 MB / 0.5392 GB, free: 66.71 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003756/0.6867, allocations: 1.392 MB / 0.5406 GB, free: 65.96 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002499/0.6892, allocations: 0.9493 MB / 0.5415 GB, free: 65.48 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01847/0.7077, allocations: 17.17 MB / 0.5583 GB, free: 49.88 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003581/0.7113, allocations: 2.009 MB / 0.5603 GB, free: 47.98 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0259/0.7372, allocations: 24.47 MB / 0.5841 GB, free: 24.35 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002782/0.74, allocations: 1.88 MB / 0.586 GB, free: 22.61 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007634/0.7408, allocations: 108 kB / 0.5861 GB, free: 22.5 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002058/0.7429, allocations: 0.9231 MB / 0.587 GB, free: 21.62 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001389/0.7443, allocations: 1.208 MB / 0.5882 GB, free: 20.43 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002606/0.7469, allocations: 1.27 MB / 0.5894 GB, free: 19.16 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004539/0.7515, allocations: 3.746 MB / 0.5931 GB, free: 15.51 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.7515, allocations: 0 / 0.5931 GB, free: 15.51 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.7515, allocations: 0 / 0.5931 GB, free: 15.51 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001446/0.7517, allocations: 0 / 0.5931 GB, free: 15.51 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.006511/0.7582, allocations: 2.707 MB / 0.5957 GB, free: 12.73 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.913e-05/0.7582, allocations: 12.03 kB / 0.5957 GB, free: 12.72 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002717/0.761, allocations: 464.1 kB / 0.5962 GB, free: 12.27 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003505/0.7645, allocations: 1.799 MB / 0.5979 GB, free: 10.44 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001268/0.7646, allocations: 157 kB / 0.5981 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000615/0.7653, allocations: 256.5 kB / 0.5983 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004615/0.7699, allocations: 3.196 MB / 0.6014 GB, free: 6.719 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.267e-05/0.77, allocations: 15.88 kB / 0.6015 GB, free: 6.703 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002149/0.7702, allocations: 86.47 kB / 0.6015 GB, free: 6.625 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005717/0.7708, allocations: 207.8 kB / 0.6017 GB, free: 6.422 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004577/0.7754, allocations: 2.873 MB / 0.6045 GB, free: 3.543 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01707/0.7925, allocations: 11.64 MB / 0.6159 GB, free: 7.609 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003732/0.7962, allocations: 2.612 MB / 0.6185 GB, free: 4.875 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002457/0.7987, allocations: 1.546 MB / 0.62 GB, free: 3.316 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000121/0.7989, allocations: 29.81 kB / 0.62 GB, free: 3.289 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002668/0.8015, allocations: 1.713 MB / 0.6217 GB, free: 1.535 MB / 414.1 MB Notification: Performance of pre-optimization done (n=247): time 6.322e-06/0.8016, allocations: 0 / 0.6217 GB, free: 1.535 MB / 414.1 MB Notification: Performance of matching and sorting (n=267): time 0.02513/0.8267, allocations: 11.57 MB / 0.633 GB, free: 5.812 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002045/0.8269, allocations: 405.8 kB / 0.6333 GB, free: 5.328 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002274/0.8292, allocations: 1.489 MB / 0.6348 GB, free: 3.832 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001976/0.8294, allocations: 80.91 kB / 0.6349 GB, free: 3.75 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009182/0.8304, allocations: 1.007 MB / 0.6359 GB, free: 2.742 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008103/0.8312, allocations: 0.8491 MB / 0.6367 GB, free: 1.91 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004307/0.8316, allocations: 268.2 kB / 0.6369 GB, free: 1.641 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001165/0.8318, allocations: 305.1 kB / 0.6372 GB, free: 1.34 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002353/0.8341, allocations: 1.322 MB / 0.6385 GB, free: 16 kB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002866/0.837, allocations: 2.007 MB / 0.6405 GB, free: 13.75 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.01721/0.8542, allocations: 7.025 MB / 0.6473 GB, free: 6.395 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.757e-05/0.8543, allocations: 8 kB / 0.6474 GB, free: 6.387 MB / 446.1 MB Notification: Performance of matching and sorting (n=402) (initialization): time 0.01139/0.8657, allocations: 5.344 MB / 0.6526 GB, free: 0.9609 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008622/0.8666, allocations: 0.6866 MB / 0.6532 GB, free: 4 kB / 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.002444/0.8691, allocations: 1.376 MB / 0.6546 GB, free: 14.59 MB / 462.1 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated