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.0008968/0.0009015, allocations: 89.17 kB / 16.65 MB, free: 6.598 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.001156/0.001156, allocations: 176.4 kB / 17.56 MB, free: 6.203 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.223/1.223, allocations: 223.2 MB / 241.6 MB, free: 212 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1589/0.1589, allocations: 38.09 MB / 330.8 MB, free: 8.828 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002846/0.0002847, allocations: 8 kB / 400.7 MB, free: 34.15 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08762/0.08792, allocations: 59.16 MB / 459.9 MB, free: 7.066 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transformation.PhaseShifts): time 0.01041/0.09836, allocations: 13 MB / 472.9 MB, free: 10.01 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006863/0.1053, allocations: 4.888 MB / 477.8 MB, free: 5.109 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007701/0.106, allocations: 87.38 kB / 477.9 MB, free: 5.023 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009157/0.107, allocations: 0.4933 MB / 478.3 MB, free: 4.527 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00221/0.1092, allocations: 1.448 MB / 479.8 MB, free: 3.074 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001593/0.1108, allocations: 0.8072 MB / 480.6 MB, free: 2.266 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004843/0.1157, allocations: 5.795 MB / 486.4 MB, free: 12.46 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00225/0.1179, allocations: 1.576 MB / 488 MB, free: 10.84 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001698/0.1196, allocations: 1.085 MB / 489.1 MB, free: 9.746 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002316/0.122, allocations: 1.978 MB / 491 MB, free: 7.762 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001844/0.1221, allocations: 88 kB / 491.1 MB, free: 7.676 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001208/0.1234, allocations: 0.6902 MB / 491.8 MB, free: 6.984 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009425/0.1243, allocations: 1.204 MB / 493 MB, free: 5.777 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009376/0.1253, allocations: 1.113 MB / 494.1 MB, free: 4.652 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002475/0.1277, allocations: 3.013 MB / 497.1 MB, free: 1.629 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.1278, allocations: 0 / 497.1 MB, free: 1.629 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1278, allocations: 4 kB / 497.1 MB, free: 1.625 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.766e-05/0.1278, allocations: 0 / 497.1 MB, free: 1.625 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.003912/0.1317, allocations: 2.114 MB / 499.3 MB, free: 15.45 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.348e-05/0.1318, allocations: 12.03 kB / 499.3 MB, free: 15.44 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002138/0.1339, allocations: 477.5 kB / 499.7 MB, free: 14.97 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001951/0.1359, allocations: 1.332 MB / 0.4893 GB, free: 13.59 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.7e-05/0.136, allocations: 140.1 kB / 0.4895 GB, free: 13.46 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003995/0.1364, allocations: 231.9 kB / 0.4897 GB, free: 13.23 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003829/0.1403, allocations: 3.143 MB / 0.4928 GB, free: 9.879 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.285e-05/0.1403, allocations: 15.92 kB / 0.4928 GB, free: 9.863 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001663/0.1405, allocations: 79.97 kB / 0.4928 GB, free: 9.785 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006356/0.1411, allocations: 319.8 kB / 0.4931 GB, free: 9.469 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003418/0.1446, allocations: 2.564 MB / 0.4957 GB, free: 6.887 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.1978/0.3424, allocations: 13.62 MB / 0.509 GB, free: 46.52 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00223/0.3446, allocations: 1.482 MB / 0.5104 GB, free: 46.27 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001008/0.3457, allocations: 0.6496 MB / 0.511 GB, free: 46.25 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.827e-05/0.3458, allocations: 24.94 kB / 0.5111 GB, free: 46.25 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.887e-05/0.3458, allocations: 50.09 kB / 0.5111 GB, free: 46.21 MB / 382.1 MB Notification: Performance of pre-optimization done (n=132): time 3.657e-06/0.3458, allocations: 0 / 0.5111 GB, free: 46.21 MB / 382.1 MB Notification: Performance of matching and sorting (n=134): time 0.007044/0.3529, allocations: 4.096 MB / 0.5151 GB, free: 44.28 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.333e-05/0.353, allocations: 94.31 kB / 0.5152 GB, free: 44.18 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001991/0.355, allocations: 1.262 MB / 0.5164 GB, free: 43.7 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.081e-05/0.3551, allocations: 49.48 kB / 0.5165 GB, free: 43.66 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000705/0.3558, allocations: 1.092 MB / 0.5175 GB, free: 42.81 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000354/0.3561, allocations: 485.8 kB / 0.518 GB, free: 42.45 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002404/0.3564, allocations: 181.1 kB / 0.5182 GB, free: 42.36 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.643e-05/0.3564, allocations: 308.6 kB / 0.5185 GB, free: 42.06 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00107/0.3575, allocations: 0.6782 MB / 0.5191 GB, free: 41.86 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001425/0.3589, allocations: 1.587 MB / 0.5207 GB, free: 40.5 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.008921/0.3679, allocations: 4.607 MB / 0.5252 GB, free: 38.11 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.751e-05/0.3679, allocations: 7.781 kB / 0.5252 GB, free: 38.11 MB / 382.1 MB Notification: Performance of matching and sorting (n=280) (initialization): time 0.004657/0.3726, allocations: 3.053 MB / 0.5282 GB, free: 36.9 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.808e-05/0.3726, allocations: 15.75 kB / 0.5282 GB, free: 36.9 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.0007452/0.3734, allocations: 0.6233 MB / 0.5288 GB, free: 36.65 MB / 382.1 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated