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.001208/0.001208, allocations: 99.45 kB / 17.59 MB, free: 5.562 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.00126/0.00126, allocations: 191.3 kB / 18.52 MB, free: 4.637 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.319/1.319, allocations: 222.9 MB / 242.2 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1798/0.1798, allocations: 38.03 MB / 330.4 MB, free: 8.84 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001315/0.001315, allocations: 70.25 kB / 399.5 MB, free: 34.05 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09345/0.09478, allocations: 58.05 MB / 457.5 MB, free: 8.059 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transformation.PhaseShifts): time 0.0123/0.1071, allocations: 11.32 MB / 468.9 MB, free: 12.69 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008048/0.1152, allocations: 4.19 MB / 473.1 MB, free: 8.484 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001293/0.1166, allocations: 43.75 kB / 473.1 MB, free: 8.441 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003726/0.1204, allocations: 1.425 MB / 474.5 MB, free: 7.012 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00349/0.1239, allocations: 1.506 MB / 476 MB, free: 5.5 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002378/0.1263, allocations: 0.881 MB / 476.9 MB, free: 4.617 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003944/0.1302, allocations: 3.291 MB / 480.2 MB, free: 1.316 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001751/0.132, allocations: 1.039 MB / 481.2 MB, free: 268 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002451/0.1345, allocations: 1.362 MB / 482.6 MB, free: 14.89 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002897/0.1374, allocations: 1.897 MB / 484.5 MB, free: 12.99 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006003/0.138, allocations: 176 kB / 484.7 MB, free: 12.82 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002002/0.14, allocations: 0.7294 MB / 485.4 MB, free: 12.09 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001984/0.142, allocations: 1.282 MB / 486.7 MB, free: 10.8 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002681/0.1447, allocations: 1.217 MB / 487.9 MB, free: 9.582 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00464/0.1494, allocations: 3.119 MB / 491 MB, free: 6.453 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.1494, allocations: 0 / 491 MB, free: 6.453 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.1494, allocations: 0 / 491 MB, free: 6.453 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001518/0.1496, allocations: 0 / 491 MB, free: 6.453 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.006669/0.1562, allocations: 2.535 MB / 493.6 MB, free: 3.855 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.623e-05/0.1563, allocations: 16.02 kB / 493.6 MB, free: 3.84 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002821/0.1591, allocations: 473.5 kB / 494 MB, free: 3.375 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0028/0.1619, allocations: 1.344 MB / 495.4 MB, free: 1.984 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001241/0.1621, allocations: 140.1 kB / 495.5 MB, free: 1.848 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006201/0.1627, allocations: 224 kB / 495.7 MB, free: 1.629 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005431/0.1682, allocations: 3.143 MB / 498.9 MB, free: 14.28 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.087e-05/0.1683, allocations: 15.84 kB / 498.9 MB, free: 14.26 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002462/0.1685, allocations: 83.95 kB / 499 MB, free: 14.18 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007914/0.1693, allocations: 319.8 kB / 499.3 MB, free: 13.86 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00508/0.1744, allocations: 2.572 MB / 0.4901 GB, free: 11.27 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.2097/0.3842, allocations: 13.62 MB / 0.5034 GB, free: 48.98 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002251/0.3864, allocations: 1.466 MB / 0.5048 GB, free: 48.73 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000973/0.3874, allocations: 0.6585 MB / 0.5055 GB, free: 48.57 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.622e-05/0.3875, allocations: 21.89 kB / 0.5055 GB, free: 48.57 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.963e-05/0.3876, allocations: 45.08 kB / 0.5055 GB, free: 48.53 MB / 382.1 MB Notification: Performance of pre-optimization done (n=132): time 4.248e-06/0.3876, allocations: 2.625 kB / 0.5055 GB, free: 48.53 MB / 382.1 MB Notification: Performance of matching and sorting (n=134): time 0.006446/0.394, allocations: 4.085 MB / 0.5095 GB, free: 46.64 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.148e-05/0.3941, allocations: 98.67 kB / 0.5096 GB, free: 46.54 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001679/0.3958, allocations: 1.266 MB / 0.5109 GB, free: 46.05 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.827e-05/0.3959, allocations: 50.03 kB / 0.5109 GB, free: 46.01 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005769/0.3965, allocations: 1.092 MB / 0.512 GB, free: 45.16 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003414/0.3969, allocations: 483.2 kB / 0.5124 GB, free: 44.8 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005734/0.3974, allocations: 410.3 kB / 0.5128 GB, free: 44.61 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.001e-05/0.3975, allocations: 302.3 kB / 0.5131 GB, free: 44.31 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001332/0.3988, allocations: 0.6816 MB / 0.5138 GB, free: 44.11 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001421/0.4003, allocations: 1.587 MB / 0.5153 GB, free: 42.75 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.009404/0.4097, allocations: 4.618 MB / 0.5198 GB, free: 40.38 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.261e-05/0.4097, allocations: 13.14 kB / 0.5199 GB, free: 40.38 MB / 382.1 MB Notification: Performance of matching and sorting (n=280) (initialization): time 0.004841/0.4146, allocations: 3.043 MB / 0.5228 GB, free: 39.18 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.559e-05/0.4146, allocations: 18.19 kB / 0.5228 GB, free: 39.18 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.0008717/0.4155, allocations: 0.6262 MB / 0.5235 GB, free: 38.93 MB / 382.1 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated