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.0008635/0.0008638, allocations: 92.36 kB / 16.3 MB, free: 5.992 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.0008619/0.0008619, allocations: 183.8 kB / 17.2 MB, free: 5.914 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.215/1.215, allocations: 223.2 MB / 241.1 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.2505/0.2505, allocations: 38.07 MB / 330.3 MB, free: 14.25 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000264/0.000264, allocations: 8 kB / 400 MB, free: 9.277 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2316/0.2318, allocations: 59.15 MB / 459.1 MB, free: 30.37 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transformation.PhaseShifts): time 0.009067/0.2409, allocations: 11.5 MB / 470.6 MB, free: 22.26 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006963/0.2479, allocations: 4.681 MB / 475.3 MB, free: 18.95 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00111/0.2491, allocations: 84.25 kB / 475.4 MB, free: 18.91 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009452/0.25, allocations: 466.9 kB / 475.8 MB, free: 18.66 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002557/0.2526, allocations: 1.042 MB / 476.9 MB, free: 18.02 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00208/0.2547, allocations: 0.8196 MB / 477.7 MB, free: 17.67 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001764/0.2565, allocations: 1.433 MB / 479.1 MB, free: 16.96 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001746/0.2582, allocations: 1.442 MB / 480.6 MB, free: 16.02 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001069/0.2593, allocations: 0.8832 MB / 481.5 MB, free: 15.46 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001303/0.2606, allocations: 1.195 MB / 482.7 MB, free: 14.83 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001785/0.2608, allocations: 88.06 kB / 482.7 MB, free: 14.83 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009989/0.2618, allocations: 0.4962 MB / 483.2 MB, free: 14.62 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008076/0.2626, allocations: 1.095 MB / 484.3 MB, free: 14.04 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003649/0.263, allocations: 438.1 kB / 484.8 MB, free: 13.81 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001581/0.2646, allocations: 2.364 MB / 487.1 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.365e-06/0.2646, allocations: 0 / 487.1 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.2646, allocations: 0 / 487.1 MB, free: 11.96 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.321e-05/0.2646, allocations: 0 / 487.1 MB, free: 11.96 MB / 350.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.003008/0.2677, allocations: 2.141 MB / 489.3 MB, free: 9.758 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.49e-05/0.2677, allocations: 15.97 kB / 489.3 MB, free: 9.742 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002081/0.2698, allocations: 0.4887 MB / 489.8 MB, free: 9.25 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001935/0.2717, allocations: 1.297 MB / 491.1 MB, free: 7.91 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.789e-05/0.2718, allocations: 143.7 kB / 491.2 MB, free: 7.77 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003304/0.2722, allocations: 231.8 kB / 491.4 MB, free: 7.543 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003109/0.2753, allocations: 3.1 MB / 494.5 MB, free: 4.234 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.892e-05/0.2753, allocations: 19.78 kB / 494.6 MB, free: 4.215 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001466/0.2755, allocations: 79.97 kB / 494.6 MB, free: 4.137 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00056/0.276, allocations: 319.8 kB / 494.9 MB, free: 3.82 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002836/0.2789, allocations: 2.529 MB / 497.5 MB, free: 1.273 MB / 350.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.01428/0.2932, allocations: 13.62 MB / 0.4991 GB, free: 2.832 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001838/0.295, allocations: 1.456 MB / 0.5005 GB, free: 1.328 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.911e-05/0.2951, allocations: 25.34 kB / 0.5006 GB, free: 1.305 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.494e-05/0.2952, allocations: 47.88 kB / 0.5006 GB, free: 1.25 MB / 366.1 MB Notification: Performance of pre-optimization done (n=132): time 3.567e-06/0.2952, allocations: 0 / 0.5006 GB, free: 1.25 MB / 366.1 MB Notification: Performance of matching and sorting (n=134): time 0.006174/0.3014, allocations: 4.039 MB / 0.5046 GB, free: 13.11 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.191e-05/0.3014, allocations: 94.42 kB / 0.5046 GB, free: 13 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001478/0.3029, allocations: 1.253 MB / 0.5059 GB, free: 11.73 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.916e-05/0.303, allocations: 45.7 kB / 0.5059 GB, free: 11.68 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007064/0.3037, allocations: 1.084 MB / 0.507 GB, free: 10.58 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003371/0.3041, allocations: 493.3 kB / 0.5074 GB, free: 10.09 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.206e-05/0.3042, allocations: 47.98 kB / 0.5075 GB, free: 10.05 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001663/0.3043, allocations: 398.2 kB / 0.5079 GB, free: 9.652 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000915/0.3053, allocations: 0.664 MB / 0.5085 GB, free: 8.984 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001451/0.3067, allocations: 1.56 MB / 0.51 GB, free: 6.996 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.005876/0.3126, allocations: 1.926 MB / 0.5119 GB, free: 5.062 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.269e-05/0.3126, allocations: 12 kB / 0.5119 GB, free: 5.051 MB / 382.1 MB Notification: Performance of matching and sorting (n=280) (initialization): time 0.004656/0.3173, allocations: 2.997 MB / 0.5149 GB, free: 2.008 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.049e-05/0.3173, allocations: 22.19 kB / 0.5149 GB, free: 1.988 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.0008513/0.3182, allocations: 0.6086 MB / 0.5155 GB, free: 1.379 MB / 382.1 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated