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.001327/0.001327, allocations: 107.3 kB / 16.92 MB, free: 5.77 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.00134/0.00134, allocations: 191.3 kB / 17.85 MB, free: 5.168 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.369/1.369, allocations: 222.9 MB / 241.5 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.2213/0.2213, allocations: 38.04 MB / 329.7 MB, free: 8.836 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 62.28 kB / 398.8 MB, free: 34.06 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09428/0.09556, allocations: 58.06 MB / 456.9 MB, free: 8.059 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transformation.PhaseShifts): time 0.01164/0.1072, allocations: 11.32 MB / 468.2 MB, free: 12.68 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006737/0.114, allocations: 4.194 MB / 472.4 MB, free: 8.477 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009665/0.115, allocations: 51.69 kB / 472.4 MB, free: 8.426 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003254/0.1183, allocations: 1.424 MB / 473.9 MB, free: 7 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003043/0.1214, allocations: 1.502 MB / 475.4 MB, free: 5.492 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002051/0.1234, allocations: 0.8849 MB / 476.2 MB, free: 4.605 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003508/0.1269, allocations: 3.291 MB / 479.5 MB, free: 1.305 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001328/0.1283, allocations: 1.043 MB / 480.6 MB, free: 252 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002241/0.1305, allocations: 1.358 MB / 481.9 MB, free: 14.88 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002871/0.1334, allocations: 1.897 MB / 483.8 MB, free: 12.98 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005836/0.134, allocations: 176 kB / 484 MB, free: 12.81 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001867/0.1359, allocations: 0.7255 MB / 484.7 MB, free: 12.08 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001574/0.1375, allocations: 1.286 MB / 486 MB, free: 10.79 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002031/0.1395, allocations: 1.213 MB / 487.2 MB, free: 9.574 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003575/0.1431, allocations: 3.112 MB / 490.3 MB, free: 6.453 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.1431, allocations: 0 / 490.3 MB, free: 6.453 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.895e-06/0.1431, allocations: 0 / 490.3 MB, free: 6.453 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001041/0.1433, allocations: 3.938 kB / 490.3 MB, free: 6.449 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.004788/0.148, allocations: 2.543 MB / 492.9 MB, free: 3.844 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.618e-05/0.1481, allocations: 12.03 kB / 492.9 MB, free: 3.832 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002302/0.1504, allocations: 477.4 kB / 493.4 MB, free: 3.363 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002054/0.1525, allocations: 1.336 MB / 494.7 MB, free: 1.98 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.891e-05/0.1526, allocations: 144.1 kB / 494.8 MB, free: 1.84 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004058/0.153, allocations: 220 kB / 495.1 MB, free: 1.625 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00409/0.1571, allocations: 3.136 MB / 498.2 MB, free: 14.28 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.466e-05/0.1572, allocations: 23.77 kB / 498.2 MB, free: 14.26 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002047/0.1574, allocations: 83.95 kB / 498.3 MB, free: 14.18 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007452/0.1581, allocations: 323.8 kB / 498.6 MB, free: 13.86 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003809/0.162, allocations: 2.568 MB / 0.4894 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.2195/0.3814, allocations: 13.62 MB / 0.5027 GB, free: 48.74 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002244/0.3837, allocations: 1.471 MB / 0.5042 GB, free: 48.5 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009328/0.3847, allocations: 0.6507 MB / 0.5048 GB, free: 48.48 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.944e-05/0.3848, allocations: 28.66 kB / 0.5048 GB, free: 48.48 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.173e-05/0.3848, allocations: 48.38 kB / 0.5049 GB, free: 48.44 MB / 382.1 MB Notification: Performance of pre-optimization done (n=132): time 3.827e-06/0.3848, allocations: 0 / 0.5049 GB, free: 48.44 MB / 382.1 MB Notification: Performance of matching and sorting (n=134): time 0.006419/0.3912, allocations: 4.091 MB / 0.5089 GB, free: 46.74 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.774e-05/0.3913, allocations: 95.7 kB / 0.509 GB, free: 46.64 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001522/0.3928, allocations: 1.27 MB / 0.5102 GB, free: 46.15 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.277e-05/0.3929, allocations: 46.86 kB / 0.5103 GB, free: 46.11 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005478/0.3935, allocations: 1.091 MB / 0.5113 GB, free: 45.26 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002942/0.3938, allocations: 488.2 kB / 0.5118 GB, free: 44.89 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004734/0.3942, allocations: 410.7 kB / 0.5122 GB, free: 44.7 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.014e-05/0.3943, allocations: 301.1 kB / 0.5125 GB, free: 44.4 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001258/0.3955, allocations: 0.6771 MB / 0.5131 GB, free: 44.2 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001395/0.397, allocations: 1.583 MB / 0.5147 GB, free: 42.84 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.01043/0.4074, allocations: 4.635 MB / 0.5192 GB, free: 40.48 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.123e-05/0.4074, allocations: 12.09 kB / 0.5192 GB, free: 40.48 MB / 382.1 MB Notification: Performance of matching and sorting (n=280) (initialization): time 0.005791/0.4132, allocations: 3.037 MB / 0.5222 GB, free: 39.27 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.588e-05/0.4133, allocations: 17.91 kB / 0.5222 GB, free: 39.27 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.0008437/0.4141, allocations: 0.6199 MB / 0.5228 GB, free: 39.03 MB / 382.1 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated