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: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Transmission.DoubleRXlineTG,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Transmission_DoubleRXlineTG",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Transmission.DoubleRXlineTG,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Transmission_DoubleRXlineTG",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001244/0.001244, allocations: 105.8 kB / 16.92 MB, free: 6.145 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.001353/0.001353, allocations: 187.4 kB / 17.85 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.296/1.296, allocations: 222.9 MB / 241.5 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1754/0.1754, allocations: 38.03 MB / 329.7 MB, free: 8.777 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001335/0.001335, allocations: 69.34 kB / 398.9 MB, free: 33.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.102/0.1034, allocations: 58.06 MB / 457 MB, free: 7.93 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.DoubleRXlineTG): time 0.01579/0.1192, allocations: 13.32 MB / 470.3 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01343/0.1327, allocations: 7.923 MB / 478.2 MB, free: 2.605 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001608/0.1343, allocations: 47.75 kB / 478.2 MB, free: 2.559 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.3516/0.4859, allocations: 91.21 MB / 0.5561 GB, free: 5.738 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002976/0.4889, allocations: 1.469 MB / 0.5575 GB, free: 4.73 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00199/0.4909, allocations: 1.052 MB / 0.5586 GB, free: 3.785 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01718/0.5081, allocations: 14.52 MB / 0.5727 GB, free: 6.207 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002273/0.5104, allocations: 1.6 MB / 0.5743 GB, free: 4.641 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.03104/0.5415, allocations: 23.51 MB / 0.5973 GB, free: 13.94 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002885/0.5444, allocations: 1.891 MB / 0.5991 GB, free: 12.19 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007283/0.5452, allocations: 244 kB / 0.5994 GB, free: 11.95 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002531/0.5477, allocations: 1.034 MB / 0.6004 GB, free: 10.95 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001283/0.549, allocations: 1.352 MB / 0.6017 GB, free: 9.609 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001718/0.5508, allocations: 1.427 MB / 0.6031 GB, free: 8.184 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00429/0.5551, allocations: 3.919 MB / 0.6069 GB, free: 4.359 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.241e-06/0.5551, allocations: 0 / 0.6069 GB, free: 4.359 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.5551, allocations: 0 / 0.6069 GB, free: 4.359 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.889e-05/0.5552, allocations: 4 kB / 0.6069 GB, free: 4.355 MB / 430.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.006821/0.562, allocations: 3.186 MB / 0.61 GB, free: 1.113 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.531e-05/0.5621, allocations: 11.89 kB / 0.61 GB, free: 1.102 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004494/0.5626, allocations: 322.1 kB / 0.6103 GB, free: 0.7812 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002254/0.5648, allocations: 455.1 kB / 0.6108 GB, free: 344 kB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003461/0.5683, allocations: 1.788 MB / 0.6125 GB, free: 14.52 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001337/0.5685, allocations: 160.1 kB / 0.6127 GB, free: 14.37 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005607/0.569, allocations: 256 kB / 0.6129 GB, free: 14.13 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004836/0.5739, allocations: 3.185 MB / 0.616 GB, free: 10.8 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.497e-05/0.574, allocations: 11.88 kB / 0.616 GB, free: 10.79 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002168/0.5742, allocations: 89.77 kB / 0.6161 GB, free: 10.71 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006325/0.5748, allocations: 207.8 kB / 0.6163 GB, free: 10.51 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004647/0.5795, allocations: 2.853 MB / 0.6191 GB, free: 7.648 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0164/0.5959, allocations: 11.59 MB / 0.6304 GB, free: 11.77 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003635/0.5996, allocations: 2.598 MB / 0.633 GB, free: 9.043 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002395/0.602, allocations: 1.538 MB / 0.6345 GB, free: 7.496 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.954e-05/0.6021, allocations: 29.05 kB / 0.6345 GB, free: 7.473 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002335/0.6045, allocations: 1.708 MB / 0.6362 GB, free: 5.723 MB / 462.1 MB Notification: Performance of pre-optimization done (n=247): time 3.877e-06/0.6045, allocations: 0 / 0.6362 GB, free: 5.723 MB / 462.1 MB Notification: Performance of matching and sorting (n=267): time 0.02254/0.627, allocations: 11.52 MB / 0.6474 GB, free: 10.05 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002142/0.6273, allocations: 412.8 kB / 0.6478 GB, free: 9.562 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001936/0.6292, allocations: 1.473 MB / 0.6492 GB, free: 8.082 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002556/0.6295, allocations: 86.44 kB / 0.6493 GB, free: 7.992 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000827/0.6303, allocations: 1.003 MB / 0.6503 GB, free: 6.988 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007912/0.6311, allocations: 0.8542 MB / 0.6511 GB, free: 6.152 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007379/0.6319, allocations: 0.5223 MB / 0.6516 GB, free: 5.621 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 9.258e-05/0.632, allocations: 305.2 kB / 0.6519 GB, free: 5.32 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002027/0.634, allocations: 1.331 MB / 0.6532 GB, free: 3.98 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002496/0.6365, allocations: 1.998 MB / 0.6552 GB, free: 1.723 MB / 478.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.01621/0.6527, allocations: 7.008 MB / 0.662 GB, free: 10.39 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.189e-05/0.6528, allocations: 7.844 kB / 0.662 GB, free: 10.39 MB / 494.1 MB Notification: Performance of matching and sorting (n=402) (initialization): time 0.011/0.6638, allocations: 5.331 MB / 0.6672 GB, free: 4.98 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.064e-05/0.6639, allocations: 67.39 kB / 0.6673 GB, free: 4.902 MB / 494.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.002259/0.6662, allocations: 1.357 MB / 0.6686 GB, free: 3.504 MB / 494.1 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated