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.001294/0.001294, allocations: 102.4 kB / 16.5 MB, free: 6.641 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.001401/0.001401, allocations: 195.1 kB / 17.42 MB, free: 6.066 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.399/1.399, allocations: 222.9 MB / 241.1 MB, free: 15.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1751/0.1751, allocations: 38.05 MB / 329.3 MB, free: 9.086 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001424/0.001424, allocations: 61.78 kB / 398.1 MB, free: 34.53 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1021/0.1035, allocations: 58.07 MB / 456.2 MB, free: 8.523 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transformation.PhaseShifts): time 0.0135/0.1171, allocations: 13.54 MB / 469.7 MB, free: 10.92 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009225/0.1263, allocations: 4.954 MB / 474.7 MB, free: 5.953 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00284/0.1292, allocations: 91.38 kB / 474.8 MB, free: 5.863 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004342/0.1336, allocations: 1.356 MB / 476.1 MB, free: 4.504 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00436/0.1379, allocations: 1.44 MB / 477.5 MB, free: 3.059 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002501/0.1405, allocations: 0.8072 MB / 478.4 MB, free: 2.25 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.006367/0.1468, allocations: 5.795 MB / 484.2 MB, free: 12.44 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001965/0.1488, allocations: 1.015 MB / 485.2 MB, free: 11.41 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002686/0.1516, allocations: 1.143 MB / 486.3 MB, free: 10.26 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004011/0.1556, allocations: 2.029 MB / 488.3 MB, free: 8.227 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007402/0.1564, allocations: 116 kB / 488.5 MB, free: 8.113 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002184/0.1586, allocations: 0.7136 MB / 489.2 MB, free: 7.398 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002302/0.1609, allocations: 1.235 MB / 490.4 MB, free: 6.16 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002693/0.1636, allocations: 1.127 MB / 491.5 MB, free: 5.027 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003934/0.1675, allocations: 3.068 MB / 494.6 MB, free: 1.949 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.1676, allocations: 0 / 494.6 MB, free: 1.949 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.1676, allocations: 0 / 494.6 MB, free: 1.949 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.918e-05/0.1676, allocations: 0 / 494.6 MB, free: 1.949 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.004988/0.1726, allocations: 2.539 MB / 497.1 MB, free: 15.35 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.47e-05/0.1727, allocations: 8.031 kB / 497.1 MB, free: 15.34 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002379/0.1751, allocations: 477.5 kB / 497.6 MB, free: 14.87 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002488/0.1776, allocations: 1.336 MB / 498.9 MB, free: 13.49 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001724/0.1778, allocations: 140 kB / 499.1 MB, free: 13.36 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004452/0.1782, allocations: 231.9 kB / 499.3 MB, free: 13.13 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004659/0.1829, allocations: 3.147 MB / 0.4907 GB, free: 9.773 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.274e-05/0.183, allocations: 19.78 kB / 0.4907 GB, free: 9.754 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001802/0.1831, allocations: 83.97 kB / 0.4908 GB, free: 9.672 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007193/0.1839, allocations: 319.8 kB / 0.4911 GB, free: 9.355 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003976/0.1879, allocations: 2.561 MB / 0.4936 GB, free: 6.777 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.2532/0.4411, allocations: 13.62 MB / 0.5069 GB, free: 47.24 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002003/0.4431, allocations: 1.474 MB / 0.5083 GB, free: 46.93 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008948/0.444, allocations: 0.6514 MB / 0.509 GB, free: 46.7 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.157e-05/0.4441, allocations: 23.38 kB / 0.509 GB, free: 46.7 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.023e-05/0.4442, allocations: 49.2 kB / 0.509 GB, free: 46.66 MB / 382.1 MB Notification: Performance of pre-optimization done (n=132): time 4.068e-06/0.4442, allocations: 0 / 0.509 GB, free: 46.66 MB / 382.1 MB Notification: Performance of matching and sorting (n=134): time 0.006679/0.4508, allocations: 4.094 MB / 0.513 GB, free: 44.71 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.286e-05/0.4509, allocations: 92.44 kB / 0.5131 GB, free: 44.61 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001747/0.4527, allocations: 1.262 MB / 0.5143 GB, free: 44.13 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.335e-05/0.4528, allocations: 50.58 kB / 0.5144 GB, free: 44.08 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007543/0.4535, allocations: 1.088 MB / 0.5155 GB, free: 43.23 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000315/0.4538, allocations: 487 kB / 0.5159 GB, free: 42.88 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004884/0.4543, allocations: 406.5 kB / 0.5163 GB, free: 42.68 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.156e-05/0.4544, allocations: 307 kB / 0.5166 GB, free: 42.38 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001013/0.4554, allocations: 0.68 MB / 0.5173 GB, free: 42.18 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001412/0.4568, allocations: 1.585 MB / 0.5188 GB, free: 40.82 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.00921/0.466, allocations: 4.608 MB / 0.5233 GB, free: 38.43 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.316e-05/0.4661, allocations: 9.156 kB / 0.5233 GB, free: 38.43 MB / 382.1 MB Notification: Performance of matching and sorting (n=280) (initialization): time 0.004956/0.471, allocations: 3.043 MB / 0.5263 GB, free: 37.22 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.146e-05/0.4711, allocations: 22.09 kB / 0.5263 GB, free: 37.21 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.0009549/0.4721, allocations: 0.625 MB / 0.5269 GB, free: 36.97 MB / 382.1 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated