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.001543/0.001543, allocations: 113 kB / 17.68 MB, free: 5.473 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.001612/0.001612, allocations: 190.9 kB / 18.62 MB, free: 4.543 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.34/1.34, allocations: 222.9 MB / 242.3 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1765/0.1765, allocations: 38.04 MB / 330.5 MB, free: 8.785 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002073/0.002073, allocations: 58.86 kB / 400.2 MB, free: 33.38 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1139/0.116, allocations: 58.07 MB / 458.3 MB, free: 7.34 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transformation.PhaseShifts): time 0.01261/0.1287, allocations: 11.32 MB / 469.6 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007214/0.1359, allocations: 4.19 MB / 473.8 MB, free: 7.766 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001042/0.137, allocations: 51.69 kB / 473.9 MB, free: 7.715 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003533/0.1406, allocations: 1.423 MB / 475.3 MB, free: 6.289 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003237/0.1438, allocations: 1.506 MB / 476.8 MB, free: 4.777 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002103/0.1459, allocations: 0.8927 MB / 477.7 MB, free: 3.883 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004195/0.1501, allocations: 3.275 MB / 481 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001384/0.1516, allocations: 1.039 MB / 482 MB, free: 15.54 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002106/0.1537, allocations: 1.362 MB / 483.4 MB, free: 14.18 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002618/0.1563, allocations: 1.897 MB / 485.3 MB, free: 12.27 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003633/0.1567, allocations: 176 kB / 485.4 MB, free: 12.1 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001458/0.1582, allocations: 0.7294 MB / 486.2 MB, free: 11.37 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001148/0.1593, allocations: 1.294 MB / 487.5 MB, free: 10.07 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001301/0.1606, allocations: 1.209 MB / 488.7 MB, free: 8.859 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003167/0.1638, allocations: 3.17 MB / 491.8 MB, free: 5.68 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.1638, allocations: 0 / 491.8 MB, free: 5.68 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.1638, allocations: 0 / 491.8 MB, free: 5.68 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.143e-05/0.1639, allocations: 0 / 491.8 MB, free: 5.68 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.004477/0.1684, allocations: 2.539 MB / 494.4 MB, free: 3.078 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.867e-05/0.1684, allocations: 8.031 kB / 494.4 MB, free: 3.07 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002309/0.1707, allocations: 473.5 kB / 494.9 MB, free: 2.605 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002767/0.1735, allocations: 1.422 MB / 496.3 MB, free: 1.137 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.33e-05/0.1736, allocations: 136.1 kB / 496.4 MB, free: 1.004 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004509/0.1741, allocations: 224 kB / 496.6 MB, free: 0.7852 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004306/0.1784, allocations: 3.143 MB / 499.8 MB, free: 13.43 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.118e-05/0.1785, allocations: 15.83 kB / 499.8 MB, free: 13.42 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001792/0.1787, allocations: 79.97 kB / 499.9 MB, free: 13.34 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007357/0.1794, allocations: 319.8 kB / 0.4885 GB, free: 13.02 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004069/0.1835, allocations: 2.572 MB / 0.491 GB, free: 10.43 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.1944/0.3779, allocations: 13.54 MB / 0.5042 GB, free: 48.31 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00199/0.3799, allocations: 1.472 MB / 0.5056 GB, free: 48.06 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008321/0.3807, allocations: 0.6508 MB / 0.5063 GB, free: 48.05 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.3e-05/0.3808, allocations: 26.67 kB / 0.5063 GB, free: 48.05 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.561e-05/0.3809, allocations: 48.78 kB / 0.5063 GB, free: 48.01 MB / 382.1 MB Notification: Performance of pre-optimization done (n=132): time 4.488e-06/0.3809, allocations: 0.6562 kB / 0.5063 GB, free: 48.01 MB / 382.1 MB Notification: Performance of matching and sorting (n=134): time 0.005814/0.3867, allocations: 4.098 MB / 0.5103 GB, free: 46.26 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.948e-05/0.3867, allocations: 92.09 kB / 0.5104 GB, free: 46.16 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001469/0.3882, allocations: 1.263 MB / 0.5117 GB, free: 45.68 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.573e-05/0.3883, allocations: 46.2 kB / 0.5117 GB, free: 45.63 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005168/0.3888, allocations: 1.089 MB / 0.5128 GB, free: 44.79 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002557/0.3891, allocations: 484.1 kB / 0.5132 GB, free: 44.43 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005042/0.3896, allocations: 410.4 kB / 0.5136 GB, free: 44.23 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.748e-05/0.3896, allocations: 305.6 kB / 0.5139 GB, free: 43.94 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001149/0.3908, allocations: 0.683 MB / 0.5146 GB, free: 43.73 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001315/0.3921, allocations: 1.583 MB / 0.5161 GB, free: 42.38 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.009107/0.4012, allocations: 4.602 MB / 0.5206 GB, free: 40.05 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-05/0.4013, allocations: 12.06 kB / 0.5206 GB, free: 40.04 MB / 382.1 MB Notification: Performance of matching and sorting (n=280) (initialization): time 0.005751/0.407, allocations: 3.051 MB / 0.5236 GB, free: 38.83 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.966e-05/0.4071, allocations: 18.16 kB / 0.5236 GB, free: 38.83 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.001206/0.4083, allocations: 0.6094 MB / 0.5242 GB, free: 38.59 MB / 382.1 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated