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.001006/0.001006, allocations: 91.36 kB / 16.65 MB, free: 6.234 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.001202/0.001202, allocations: 177.5 kB / 17.56 MB, free: 5.848 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.365/1.365, allocations: 223.3 MB / 241.6 MB, free: 14.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.2165/0.2165, allocations: 38.09 MB / 330.8 MB, free: 8.539 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000325/0.0003253, allocations: 8 kB / 400.7 MB, free: 34.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1054/0.1057, allocations: 59.17 MB / 459.9 MB, free: 7.059 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transformation.PhaseShifts): time 0.01298/0.1187, allocations: 13 MB / 472.9 MB, free: 10 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008551/0.1273, allocations: 4.885 MB / 477.8 MB, free: 5.105 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001648/0.129, allocations: 83.38 kB / 477.9 MB, free: 5.023 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00141/0.1304, allocations: 0.5011 MB / 478.4 MB, free: 4.52 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003233/0.1337, allocations: 1.448 MB / 479.8 MB, free: 3.066 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002063/0.1358, allocations: 0.8072 MB / 480.6 MB, free: 2.258 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005877/0.1417, allocations: 5.791 MB / 486.4 MB, free: 12.45 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00271/0.1444, allocations: 1.573 MB / 488 MB, free: 10.83 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002029/0.1464, allocations: 1.085 MB / 489.1 MB, free: 9.742 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002939/0.1494, allocations: 1.978 MB / 491 MB, free: 7.758 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004444/0.1498, allocations: 88 kB / 491.1 MB, free: 7.672 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001633/0.1515, allocations: 0.6941 MB / 491.8 MB, free: 6.977 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001468/0.153, allocations: 1.204 MB / 493 MB, free: 5.77 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00181/0.1548, allocations: 1.105 MB / 494.1 MB, free: 4.652 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00381/0.1586, allocations: 3.017 MB / 497.1 MB, free: 1.625 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.093e-06/0.1586, allocations: 4 kB / 497.1 MB, free: 1.621 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.1586, allocations: 4 kB / 497.1 MB, free: 1.617 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001502/0.1588, allocations: 0 / 497.1 MB, free: 1.617 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.004491/0.1633, allocations: 2.11 MB / 499.3 MB, free: 15.45 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.818e-05/0.1634, allocations: 16.03 kB / 499.3 MB, free: 15.43 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002395/0.1658, allocations: 473.5 kB / 499.7 MB, free: 14.96 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002253/0.168, allocations: 1.332 MB / 0.4893 GB, free: 13.59 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001043/0.1681, allocations: 144.1 kB / 0.4895 GB, free: 13.45 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004596/0.1686, allocations: 228 kB / 0.4897 GB, free: 13.23 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004371/0.173, allocations: 3.147 MB / 0.4928 GB, free: 9.871 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.959e-05/0.1731, allocations: 11.94 kB / 0.4928 GB, free: 9.859 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000184/0.1733, allocations: 83.95 kB / 0.4928 GB, free: 9.777 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007289/0.174, allocations: 323.8 kB / 0.4932 GB, free: 9.457 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003853/0.1779, allocations: 2.564 MB / 0.4957 GB, free: 6.875 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.2023/0.3802, allocations: 13.62 MB / 0.509 GB, free: 46.23 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001988/0.3822, allocations: 1.478 MB / 0.5104 GB, free: 45.98 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000866/0.3831, allocations: 0.6505 MB / 0.511 GB, free: 45.96 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.392e-05/0.3832, allocations: 25.39 kB / 0.5111 GB, free: 45.96 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.426e-05/0.3832, allocations: 47.59 kB / 0.5111 GB, free: 45.92 MB / 382.1 MB Notification: Performance of pre-optimization done (n=132): time 3.317e-06/0.3832, allocations: 1.406 kB / 0.5111 GB, free: 45.92 MB / 382.1 MB Notification: Performance of matching and sorting (n=134): time 0.005978/0.3892, allocations: 4.097 MB / 0.5151 GB, free: 44 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.168e-05/0.3893, allocations: 92.86 kB / 0.5152 GB, free: 43.91 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001558/0.3908, allocations: 1.262 MB / 0.5164 GB, free: 43.43 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.102e-05/0.3909, allocations: 48.05 kB / 0.5165 GB, free: 43.38 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006319/0.3916, allocations: 1.098 MB / 0.5175 GB, free: 42.53 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003421/0.3919, allocations: 482.6 kB / 0.518 GB, free: 42.17 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002248/0.3921, allocations: 183.2 kB / 0.5182 GB, free: 42.08 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.807e-05/0.3922, allocations: 305.5 kB / 0.5185 GB, free: 41.79 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001037/0.3932, allocations: 0.682 MB / 0.5191 GB, free: 41.58 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001367/0.3946, allocations: 1.582 MB / 0.5207 GB, free: 40.23 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.00971/0.4043, allocations: 4.611 MB / 0.5252 GB, free: 37.83 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.179e-05/0.4044, allocations: 8.625 kB / 0.5252 GB, free: 37.83 MB / 382.1 MB Notification: Performance of matching and sorting (n=280) (initialization): time 0.004942/0.4093, allocations: 3.044 MB / 0.5282 GB, free: 36.62 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.28e-05/0.4094, allocations: 17.88 kB / 0.5282 GB, free: 36.62 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.0008038/0.4102, allocations: 0.6211 MB / 0.5288 GB, free: 36.38 MB / 382.1 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated