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/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo", uses=false) Using package PowerSystems with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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/Complex 3.2.2+maint.om/package.mo): time 0.001133/0.001133, allocations: 191.9 kB / 17.27 MB, free: 4.5 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.267/1.267, allocations: 194.2 MB / 212.2 MB, free: 2.363 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001744/0.001743, allocations: 127.5 kB / 256.6 MB, free: 4.301 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1684/0.1684, allocations: 37.95 MB / 338.8 MB, free: 2.223 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001126/0.001126, allocations: 67.91 kB / 401.8 MB, free: 68.76 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08832/0.08946, allocations: 52.19 MB / 454 MB, free: 16.59 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.DoubleRXlineTG): time 0.01097/0.1005, allocations: 15.29 MB / 469.3 MB, free: 1.227 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01306/0.1136, allocations: 8.77 MB / 478 MB, free: 8.434 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002627/0.1162, allocations: 87.44 kB / 478.1 MB, free: 8.348 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.2961/0.4124, allocations: 96.2 MB / 0.5609 GB, free: 12.73 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004105/0.4165, allocations: 1.397 MB / 0.5622 GB, free: 11.72 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002499/0.419, allocations: 0.9132 MB / 0.5631 GB, free: 10.89 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.02109/0.4401, allocations: 17.19 MB / 0.5799 GB, free: 10.68 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002736/0.4429, allocations: 1.47 MB / 0.5813 GB, free: 9.223 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.03283/0.4758, allocations: 24.6 MB / 0.6054 GB, free: 1.328 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00324/0.479, allocations: 1.977 MB / 0.6073 GB, free: 15.49 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009393/0.48, allocations: 140 kB / 0.6074 GB, free: 15.35 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002521/0.4825, allocations: 0.9518 MB / 0.6084 GB, free: 14.44 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001758/0.4843, allocations: 1.249 MB / 0.6096 GB, free: 13.2 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002571/0.4869, allocations: 1.307 MB / 0.6109 GB, free: 11.89 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004721/0.4916, allocations: 3.814 MB / 0.6146 GB, free: 8.176 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.4917, allocations: 4 kB / 0.6146 GB, free: 8.172 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.021e-06/0.4917, allocations: 1.312 kB / 0.6146 GB, free: 8.172 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001491/0.4918, allocations: 0 / 0.6146 GB, free: 8.172 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 572 * Number of variables: 572 Notification: Performance of Generate backend data structure: time 0.006808/0.4987, allocations: 3.163 MB / 0.6177 GB, free: 4.949 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.4987, allocations: 12.03 kB / 0.6177 GB, free: 4.938 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002001/0.5007, allocations: 460.9 kB / 0.6181 GB, free: 4.488 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003522/0.5043, allocations: 1.78 MB / 0.6199 GB, free: 2.68 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001138/0.5044, allocations: 158.7 kB / 0.62 GB, free: 2.531 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004999/0.5049, allocations: 266.6 kB / 0.6203 GB, free: 2.281 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004537/0.5094, allocations: 3.165 MB / 0.6234 GB, free: 14.97 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.972e-05/0.5095, allocations: 15.78 kB / 0.6234 GB, free: 14.96 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002079/0.5097, allocations: 87.95 kB / 0.6235 GB, free: 14.88 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005875/0.5103, allocations: 215.7 kB / 0.6237 GB, free: 14.67 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004289/0.5146, allocations: 2.849 MB / 0.6264 GB, free: 11.81 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01577/0.5304, allocations: 11.57 MB / 0.6377 GB, free: 15.94 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003003/0.5335, allocations: 2.501 MB / 0.6402 GB, free: 13.31 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002114/0.5356, allocations: 1.547 MB / 0.6417 GB, free: 11.76 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001111/0.5357, allocations: 28.11 kB / 0.6417 GB, free: 11.73 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002212/0.5379, allocations: 1.703 MB / 0.6434 GB, free: 9.992 MB / 458.7 MB Notification: Performance of pre-optimization done (n=247): time 4.067e-06/0.538, allocations: 0 / 0.6434 GB, free: 9.992 MB / 458.7 MB Notification: Performance of matching and sorting (n=267): time 0.02238/0.5603, allocations: 11.58 MB / 0.6547 GB, free: 14.26 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002084/0.5606, allocations: 421.1 kB / 0.6551 GB, free: 13.77 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001946/0.5625, allocations: 1.469 MB / 0.6565 GB, free: 12.29 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002639/0.5628, allocations: 81.69 kB / 0.6566 GB, free: 12.2 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007749/0.5636, allocations: 0.9966 MB / 0.6576 GB, free: 11.2 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008005/0.5644, allocations: 0.8501 MB / 0.6584 GB, free: 10.37 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007195/0.5651, allocations: 0.5287 MB / 0.6589 GB, free: 9.836 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 9.429e-05/0.5653, allocations: 301.1 kB / 0.6592 GB, free: 9.539 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001919/0.5672, allocations: 1.327 MB / 0.6605 GB, free: 8.203 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002298/0.5695, allocations: 1.998 MB / 0.6625 GB, free: 5.945 MB / 474.7 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.2037/0.7732, allocations: 6.962 MB / 0.6693 GB, free: 172 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-05/0.7732, allocations: 7.844 kB / 0.6693 GB, free: 172 MB / 474.7 MB Notification: Performance of matching and sorting (n=400) (initialization): time 0.009805/0.783, allocations: 5.299 MB / 0.6744 GB, free: 170.2 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.954e-05/0.7831, allocations: 72.62 kB / 0.6745 GB, free: 170.1 MB / 474.7 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.001862/0.785, allocations: 1.363 MB / 0.6758 GB, free: 169.5 MB / 474.7 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated