Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Transformation.PhaseShifts.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Transformation.PhaseShifts,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|meter1.alpha_v|meter1.p.1.|meter1.p.2.|meter1.p.3.|meter1.v_norm|meter12.alpha_v|meter12.p.1.|meter12.p.2.|meter12.p.3.|meter12.v_norm|meter22.alpha_v|meter22.p.1.|meter22.p.2.|meter22.p.3.|meter22.v_norm|meter32.alpha_v|meter32.p.1.|meter32.p.2.|meter32.p.3.|meter32.v_norm",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Transformation.PhaseShifts") translateModel(PowerSystems.Examples.AC3ph.Transformation.PhaseShifts,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|meter1.alpha_v|meter1.p.1.|meter1.p.2.|meter1.p.3.|meter1.v_norm|meter12.alpha_v|meter12.p.1.|meter12.p.2.|meter12.p.3.|meter12.v_norm|meter22.alpha_v|meter22.p.1.|meter22.p.2.|meter22.p.3.|meter22.v_norm|meter32.alpha_v|meter32.p.1.|meter32.p.2.|meter32.p.3.|meter32.v_norm",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Transformation.PhaseShifts") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001166/0.001166, allocations: 188.9 kB / 17.27 MB, free: 4.504 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.465/1.465, allocations: 205.1 MB / 223.1 MB, free: 8.465 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001069/0.001069, allocations: 99.92 kB / 270.5 MB, free: 8.43 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1823/0.1823, allocations: 38.01 MB / 355.8 MB, free: 2.926 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009938/0.0009938, allocations: 59.91 kB / 421.9 MB, free: 37.76 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2876/0.2886, allocations: 55.24 MB / 477.1 MB, free: 9.906 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transformation.PhaseShifts): time 0.01205/0.3007, allocations: 13.56 MB / 490.7 MB, free: 208 kB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01183/0.3126, allocations: 5.004 MB / 495.7 MB, free: 12.67 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002753/0.3154, allocations: 91.41 kB / 495.8 MB, free: 12.63 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003667/0.3191, allocations: 1.342 MB / 497.1 MB, free: 11.87 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004319/0.3234, allocations: 1.451 MB / 498.5 MB, free: 11.11 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002449/0.3259, allocations: 0.8065 MB / 499.4 MB, free: 10.74 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.007156/0.3331, allocations: 5.814 MB / 0.4933 GB, free: 7.953 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001802/0.3349, allocations: 1.011 MB / 0.4943 GB, free: 7.414 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003156/0.3381, allocations: 1.153 MB / 0.4954 GB, free: 6.816 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003787/0.3419, allocations: 2.041 MB / 0.4974 GB, free: 5.746 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005729/0.3425, allocations: 109.8 kB / 0.4975 GB, free: 5.746 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002098/0.3446, allocations: 0.717 MB / 0.4982 GB, free: 5.398 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001662/0.3463, allocations: 1.218 MB / 0.4994 GB, free: 4.59 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002932/0.3492, allocations: 1.135 MB / 0.5005 GB, free: 3.449 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0036/0.3528, allocations: 3.061 MB / 0.5035 GB, free: 388 kB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.3529, allocations: 8 kB / 0.5035 GB, free: 380 kB / 330.7 MB Notification: Performance of FrontEnd: time 7.52e-07/0.3529, allocations: 0 / 0.5035 GB, free: 380 kB / 330.7 MB Notification: Performance of Transformations before backend: time 3.757e-05/0.3529, allocations: 0 / 0.5035 GB, free: 380 kB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 576 * Number of variables: 576 Notification: Performance of Generate backend data structure: time 0.004516/0.3574, allocations: 2.551 MB / 0.506 GB, free: 13.76 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.495e-05/0.3575, allocations: 8.031 kB / 0.506 GB, free: 13.75 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002174/0.3597, allocations: 473.5 kB / 0.5065 GB, free: 13.29 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00251/0.3622, allocations: 1.328 MB / 0.5078 GB, free: 11.91 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001125/0.3623, allocations: 144.1 kB / 0.5079 GB, free: 11.77 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003904/0.3627, allocations: 224 kB / 0.5081 GB, free: 11.55 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004342/0.3671, allocations: 3.143 MB / 0.5112 GB, free: 8.207 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.58e-05/0.3672, allocations: 11.94 kB / 0.5112 GB, free: 8.195 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001672/0.3673, allocations: 83.94 kB / 0.5113 GB, free: 8.113 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007103/0.368, allocations: 323.8 kB / 0.5116 GB, free: 7.793 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003951/0.372, allocations: 2.576 MB / 0.5141 GB, free: 5.199 MB / 346.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01569/0.3877, allocations: 13.62 MB / 0.5274 GB, free: 6.766 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001911/0.3896, allocations: 1.48 MB / 0.5289 GB, free: 5.234 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009134/0.3906, allocations: 0.6498 MB / 0.5295 GB, free: 4.582 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.389e-05/0.3907, allocations: 29.22 kB / 0.5295 GB, free: 4.555 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.356e-05/0.3907, allocations: 43.88 kB / 0.5296 GB, free: 4.5 MB / 362.7 MB Notification: Performance of pre-optimization done (n=132): time 4.849e-06/0.3907, allocations: 0 / 0.5296 GB, free: 4.5 MB / 362.7 MB Notification: Performance of matching and sorting (n=134): time 0.00609/0.3968, allocations: 4.099 MB / 0.5336 GB, free: 308 kB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.238e-05/0.3969, allocations: 94.42 kB / 0.5337 GB, free: 196 kB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001541/0.3985, allocations: 1.265 MB / 0.5349 GB, free: 14.91 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.102e-05/0.3985, allocations: 45.7 kB / 0.5349 GB, free: 14.86 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006667/0.3992, allocations: 1.092 MB / 0.536 GB, free: 13.75 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003422/0.3996, allocations: 489.2 kB / 0.5365 GB, free: 13.27 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004645/0.4, allocations: 407.5 kB / 0.5369 GB, free: 12.86 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001028/0.4002, allocations: 305.1 kB / 0.5372 GB, free: 12.56 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009619/0.4011, allocations: 0.6796 MB / 0.5378 GB, free: 11.88 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001498/0.4026, allocations: 1.591 MB / 0.5394 GB, free: 9.855 MB / 378.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.009338/0.412, allocations: 4.598 MB / 0.5439 GB, free: 4.816 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.755e-05/0.412, allocations: 8 kB / 0.5439 GB, free: 4.809 MB / 378.7 MB Notification: Performance of matching and sorting (n=280) (initialization): time 0.004926/0.4169, allocations: 3.043 MB / 0.5468 GB, free: 1.719 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.674e-05/0.417, allocations: 19.94 kB / 0.5469 GB, free: 1.699 MB / 378.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.0009149/0.4179, allocations: 0.6217 MB / 0.5475 GB, free: 1.078 MB / 378.7 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated