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.001019/0.001019, allocations: 112.7 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.001029/0.001029, 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.385/1.385, allocations: 222.9 MB / 242.3 MB, free: 15.11 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1788/0.1788, allocations: 38.04 MB / 330.5 MB, free: 8.781 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001257/0.001257, allocations: 67.44 kB / 400.3 MB, free: 33.38 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1256/0.1269, allocations: 58.06 MB / 458.3 MB, free: 7.348 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transformation.PhaseShifts): time 0.01279/0.1397, allocations: 11.33 MB / 469.6 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008475/0.1482, allocations: 4.194 MB / 473.8 MB, free: 7.762 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001231/0.1495, allocations: 47.69 kB / 473.9 MB, free: 7.715 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003875/0.1534, allocations: 1.427 MB / 475.3 MB, free: 6.285 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003994/0.1574, allocations: 1.502 MB / 476.8 MB, free: 4.777 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002514/0.1599, allocations: 0.8926 MB / 477.7 MB, free: 3.883 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005167/0.1651, allocations: 3.279 MB / 481 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00152/0.1666, allocations: 1.035 MB / 482 MB, free: 15.54 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002358/0.169, allocations: 1.362 MB / 483.4 MB, free: 14.18 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002715/0.1717, allocations: 1.897 MB / 485.3 MB, free: 12.27 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002967/0.1721, allocations: 180 kB / 485.5 MB, free: 12.1 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001555/0.1736, allocations: 0.7255 MB / 486.2 MB, free: 11.37 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001209/0.1748, allocations: 1.286 MB / 487.5 MB, free: 10.08 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001349/0.1762, allocations: 1.217 MB / 488.7 MB, free: 8.859 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003245/0.1795, allocations: 3.17 MB / 491.8 MB, free: 5.68 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.1795, allocations: 0 / 491.8 MB, free: 5.68 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1795, allocations: 0 / 491.8 MB, free: 5.68 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.777e-05/0.1795, 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.004309/0.1839, allocations: 2.539 MB / 494.4 MB, free: 3.078 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.607e-05/0.1839, allocations: 8.031 kB / 494.4 MB, free: 3.07 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002183/0.1861, allocations: 477.4 kB / 494.9 MB, free: 2.602 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002498/0.1886, allocations: 1.414 MB / 496.3 MB, free: 1.141 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001201/0.1887, allocations: 144.1 kB / 496.4 MB, free: 1 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005124/0.1893, allocations: 220 kB / 496.6 MB, free: 0.7852 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004838/0.1941, allocations: 3.139 MB / 499.8 MB, free: 13.44 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.125e-05/0.1942, allocations: 19.83 kB / 499.8 MB, free: 13.42 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001787/0.1944, allocations: 83.95 kB / 499.9 MB, free: 13.34 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006869/0.1951, allocations: 315.8 kB / 0.4885 GB, free: 13.02 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003756/0.1988, 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.2888/0.4876, allocations: 13.54 MB / 0.5042 GB, free: 48.26 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003226/0.4909, allocations: 1.471 MB / 0.5056 GB, free: 48.01 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001248/0.4921, allocations: 0.6552 MB / 0.5063 GB, free: 48 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001007/0.4923, allocations: 21.8 kB / 0.5063 GB, free: 48 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.924e-05/0.4923, allocations: 50.31 kB / 0.5063 GB, free: 47.96 MB / 382.1 MB Notification: Performance of pre-optimization done (n=132): time 5.761e-06/0.4923, allocations: 0 / 0.5063 GB, free: 47.96 MB / 382.1 MB Notification: Performance of matching and sorting (n=134): time 0.007715/0.5, allocations: 4.099 MB / 0.5103 GB, free: 46.23 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.659e-05/0.5002, allocations: 96.83 kB / 0.5104 GB, free: 46.12 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002279/0.5025, allocations: 1.264 MB / 0.5117 GB, free: 45.64 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.713e-05/0.5026, allocations: 46.55 kB / 0.5117 GB, free: 45.6 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007884/0.5034, allocations: 1.084 MB / 0.5128 GB, free: 44.76 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004177/0.5038, allocations: 488 kB / 0.5132 GB, free: 44.39 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007048/0.5045, allocations: 407.4 kB / 0.5136 GB, free: 44.2 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.728e-05/0.5046, allocations: 309.4 kB / 0.5139 GB, free: 43.9 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001395/0.506, allocations: 0.6822 MB / 0.5146 GB, free: 43.7 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001834/0.5078, allocations: 1.579 MB / 0.5161 GB, free: 42.34 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.01021/0.518, allocations: 4.61 MB / 0.5206 GB, free: 40.01 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.613e-05/0.5181, allocations: 8.125 kB / 0.5206 GB, free: 40.01 MB / 382.1 MB Notification: Performance of matching and sorting (n=280) (initialization): time 0.005665/0.5238, allocations: 3.045 MB / 0.5236 GB, free: 38.8 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.407e-05/0.5238, allocations: 17.91 kB / 0.5236 GB, free: 38.8 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.00101/0.5248, allocations: 0.6094 MB / 0.5242 GB, free: 38.56 MB / 382.1 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated