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/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-master/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/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: 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009338/0.0009336, allocations: 92.34 kB / 17.31 MB, free: 5.59 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.001037/0.001037, allocations: 175.4 kB / 18.21 MB, free: 5.191 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.523/1.523, allocations: 223.3 MB / 242.2 MB, free: 14.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1882/0.1882, allocations: 38.09 MB / 331.5 MB, free: 8.496 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003293/0.0003293, allocations: 8 kB / 401.4 MB, free: 34.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.118/0.1184, allocations: 59.17 MB / 460.5 MB, free: 7.023 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transformation.PhaseShifts): time 0.01114/0.1295, allocations: 12.99 MB / 473.5 MB, free: 9.977 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008055/0.1376, allocations: 4.892 MB / 478.4 MB, free: 5.07 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001539/0.1392, allocations: 87.38 kB / 478.5 MB, free: 4.984 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001149/0.1404, allocations: 0.4972 MB / 479 MB, free: 4.484 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003046/0.1434, allocations: 1.452 MB / 480.5 MB, free: 3.027 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00192/0.1454, allocations: 0.8033 MB / 481.3 MB, free: 2.223 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005291/0.1507, allocations: 5.791 MB / 487.1 MB, free: 12.42 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002518/0.1532, allocations: 1.576 MB / 488.6 MB, free: 10.8 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002252/0.1555, allocations: 1.081 MB / 489.7 MB, free: 9.711 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002759/0.1583, allocations: 1.982 MB / 491.7 MB, free: 7.723 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002329/0.1585, allocations: 88 kB / 491.8 MB, free: 7.637 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001538/0.16, allocations: 0.6902 MB / 492.5 MB, free: 6.945 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001156/0.1612, allocations: 1.196 MB / 493.7 MB, free: 5.746 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001166/0.1624, allocations: 1.117 MB / 494.8 MB, free: 4.617 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002367/0.1648, allocations: 2.369 MB / 497.1 MB, free: 2.242 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.1648, allocations: 0 / 497.1 MB, free: 2.242 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1648, allocations: 0 / 497.1 MB, free: 2.242 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.05e-05/0.1648, allocations: 0 / 497.1 MB, free: 2.242 MB / 366.1 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.003928/0.1688, allocations: 2.122 MB / 499.3 MB, free: 60 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/0.1688, allocations: 8.031 kB / 499.3 MB, free: 52 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002293/0.1711, allocations: 473.7 kB / 499.7 MB, free: 15.58 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0022/0.1733, allocations: 1.34 MB / 0.4893 GB, free: 14.2 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001098/0.1734, allocations: 140.1 kB / 0.4895 GB, free: 14.06 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004364/0.1739, allocations: 224 kB / 0.4897 GB, free: 13.84 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004274/0.1782, allocations: 3.147 MB / 0.4928 GB, free: 10.49 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.498e-05/0.1782, allocations: 7.938 kB / 0.4928 GB, free: 10.48 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001795/0.1784, allocations: 79.97 kB / 0.4928 GB, free: 10.4 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006914/0.1791, allocations: 327.8 kB / 0.4932 GB, free: 10.08 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00384/0.183, allocations: 2.564 MB / 0.4957 GB, free: 7.496 MB / 382.1 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.3102/0.4932, allocations: 13.63 MB / 0.509 GB, free: 46.04 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002873/0.4961, allocations: 1.482 MB / 0.5104 GB, free: 45.79 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001167/0.4973, allocations: 0.6453 MB / 0.511 GB, free: 45.78 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.405e-05/0.4974, allocations: 26.3 kB / 0.5111 GB, free: 45.78 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.959e-05/0.4975, allocations: 49.19 kB / 0.5111 GB, free: 45.74 MB / 382.1 MB Notification: Performance of pre-optimization done (n=132): time 4.899e-06/0.4975, allocations: 2.906 kB / 0.5111 GB, free: 45.74 MB / 382.1 MB Notification: Performance of matching and sorting (n=134): time 0.007629/0.5051, allocations: 4.088 MB / 0.5151 GB, free: 44.01 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.174e-05/0.5052, allocations: 99.39 kB / 0.5152 GB, free: 43.91 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002085/0.5073, allocations: 1.258 MB / 0.5164 GB, free: 43.43 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.547e-05/0.5074, allocations: 52.59 kB / 0.5165 GB, free: 43.39 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009375/0.5084, allocations: 1.09 MB / 0.5176 GB, free: 42.54 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005553/0.5089, allocations: 490 kB / 0.518 GB, free: 42.18 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003837/0.5093, allocations: 181.3 kB / 0.5182 GB, free: 42.09 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.92e-05/0.5094, allocations: 305.9 kB / 0.5185 GB, free: 41.79 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001648/0.5111, allocations: 0.6772 MB / 0.5191 GB, free: 41.59 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002107/0.5132, allocations: 1.588 MB / 0.5207 GB, free: 40.23 MB / 382.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.0109/0.5241, allocations: 4.601 MB / 0.5252 GB, free: 37.84 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.744e-05/0.5242, allocations: 8.625 kB / 0.5252 GB, free: 37.84 MB / 382.1 MB Notification: Performance of matching and sorting (n=280) (initialization): time 0.006062/0.5302, allocations: 3.051 MB / 0.5282 GB, free: 36.62 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.069e-05/0.5303, allocations: 17.31 kB / 0.5282 GB, free: 36.62 MB / 382.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.001014/0.5313, allocations: 0.6222 MB / 0.5288 GB, free: 36.38 MB / 382.1 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated