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.0009613/0.0009613, allocations: 172.2 kB / 17.39 MB, free: 4.309 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.593/1.593, allocations: 205.4 MB / 223.5 MB, free: 9.027 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.0007431/0.0007431, allocations: 85.03 kB / 271.9 MB, free: 8.262 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1742/0.1742, allocations: 38.08 MB / 358.3 MB, free: 1.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006179/0.0006179, allocations: 12 kB / 425.2 MB, free: 37.37 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3417/0.3423, allocations: 56.31 MB / 481.6 MB, free: 9.586 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1582/0.5006, allocations: 110.7 MB / 0.5784 GB, free: 7.488 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002765/0.5009, allocations: 91.81 kB / 0.5785 GB, free: 7.402 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1981/0.699, allocations: 66.87 MB / 0.6438 GB, free: 3.652 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.906e-06/0.6991, allocations: 4 kB / 0.6438 GB, free: 3.648 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.000187/0.6993, allocations: 51.98 kB / 0.6439 GB, free: 3.598 MB / 474.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.008345/0.7076, allocations: 2.151 MB / 0.646 GB, free: 1.387 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.359e-05/0.7077, allocations: 12.03 kB / 0.646 GB, free: 1.375 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005851/0.7136, allocations: 0.6107 MB / 0.6466 GB, free: 0.7617 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2741/0.9877, allocations: 2.173 MB / 0.6487 GB, free: 111.4 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001529/0.9879, allocations: 143.2 kB / 0.6488 GB, free: 111.4 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004386/0.9884, allocations: 192 kB / 0.649 GB, free: 111.4 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005602/0.994, allocations: 3.048 MB / 0.652 GB, free: 110.8 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.009e-05/0.9941, allocations: 20.64 kB / 0.652 GB, free: 110.8 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002004/0.9943, allocations: 86.34 kB / 0.6521 GB, free: 110.8 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005175/0.9948, allocations: 259.8 kB / 0.6523 GB, free: 110.8 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004361/0.9992, allocations: 2.439 MB / 0.6547 GB, free: 110.8 MB / 474.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.01644/1.016, allocations: 13.25 MB / 0.6677 GB, free: 103.3 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001936/1.018, allocations: 1.419 MB / 0.669 GB, free: 103.2 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000998/1.019, allocations: 0.7522 MB / 0.6698 GB, free: 103.1 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.85e-05/1.019, allocations: 23.78 kB / 0.6698 GB, free: 103.1 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.38e-05/1.019, allocations: 52 kB / 0.6699 GB, free: 103.1 MB / 474.7 MB Notification: Performance of pre-optimization done (n=148): time 4.499e-06/1.019, allocations: 0 / 0.6699 GB, free: 103.1 MB / 474.7 MB Notification: Performance of matching and sorting (n=150): time 0.007546/1.026, allocations: 4.564 MB / 0.6743 GB, free: 102 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.271e-05/1.026, allocations: 91.52 kB / 0.6744 GB, free: 101.9 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001747/1.028, allocations: 1.21 MB / 0.6756 GB, free: 101.8 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 8.773e-05/1.028, allocations: 47.2 kB / 0.6756 GB, free: 101.7 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006886/1.029, allocations: 1.043 MB / 0.6766 GB, free: 101.2 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004332/1.029, allocations: 0.5241 MB / 0.6772 GB, free: 100.9 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.39e-05/1.03, allocations: 44.25 kB / 0.6772 GB, free: 100.9 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.000157/1.03, allocations: 400 kB / 0.6776 GB, free: 100.6 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009639/1.031, allocations: 0.7393 MB / 0.6783 GB, free: 100.6 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001476/1.032, allocations: 1.578 MB / 0.6798 GB, free: 99.55 MB / 474.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.02562/1.058, allocations: 9.983 MB / 0.6896 GB, free: 98 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.207e-05/1.058, allocations: 7.781 kB / 0.6896 GB, free: 98 MB / 474.7 MB Notification: Performance of matching and sorting (n=284) (initialization): time 0.004791/1.063, allocations: 3.113 MB / 0.6926 GB, free: 96.98 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.516e-05/1.063, allocations: 18.12 kB / 0.6927 GB, free: 96.98 MB / 474.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.0008988/1.064, allocations: 0.7058 MB / 0.6933 GB, free: 96.7 MB / 474.7 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated