Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_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/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/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="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Transformation.PhaseShifts") translateModel(PowerSystems.Examples.AC3ph.Transformation.PhaseShifts,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_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.001308/0.001308, allocations: 110.2 kB / 17.75 MB, free: 5.344 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.00132/0.001321, allocations: 185.4 kB / 18.68 MB, free: 4.418 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.293/1.293, allocations: 222.9 MB / 242.4 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1752/0.1752, allocations: 38.02 MB / 330.6 MB, free: 8.719 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001283/0.001283, allocations: 71.88 kB / 458.8 MB, free: 6.852 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2748/0.2761, allocations: 58.06 MB / 0.5048 GB, free: 7.801 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transformation.PhaseShifts): time 0.009407/0.2856, allocations: 11.33 MB / 0.5158 GB, free: 15.83 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007023/0.2926, allocations: 4.19 MB / 0.5199 GB, free: 12.87 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008426/0.2935, allocations: 48.88 kB / 0.52 GB, free: 12.85 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003423/0.2969, allocations: 1.423 MB / 0.5214 GB, free: 12.02 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003324/0.3003, allocations: 1.521 MB / 0.5228 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002273/0.3026, allocations: 0.8922 MB / 0.5237 GB, free: 10.81 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004043/0.3066, allocations: 3.287 MB / 0.5269 GB, free: 9.465 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001322/0.3079, allocations: 1.04 MB / 0.5279 GB, free: 9.012 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002603/0.3106, allocations: 1.384 MB / 0.5293 GB, free: 8.414 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002856/0.3134, allocations: 1.898 MB / 0.5311 GB, free: 7.758 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000326/0.3138, allocations: 175.4 kB / 0.5313 GB, free: 7.758 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001557/0.3153, allocations: 0.7286 MB / 0.532 GB, free: 7.453 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00123/0.3166, allocations: 1.281 MB / 0.5333 GB, free: 6.676 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00131/0.3179, allocations: 1.217 MB / 0.5345 GB, free: 5.863 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003369/0.3213, allocations: 3.176 MB / 0.5376 GB, free: 3.781 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.3213, allocations: 4 kB / 0.5376 GB, free: 3.777 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.3213, allocations: 1.281 kB / 0.5376 GB, free: 3.777 MB / 398.1 MB Notification: Performance of Transformations before backend: time 3.765e-05/0.3213, allocations: 0 / 0.5376 GB, free: 3.777 MB / 398.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.004459/0.3258, allocations: 2.608 MB / 0.5401 GB, free: 1.918 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/0.3259, allocations: 13.27 kB / 0.5401 GB, free: 1.914 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002366/0.3282, allocations: 486.4 kB / 0.5406 GB, free: 1.672 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00244/0.3307, allocations: 1.413 MB / 0.542 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.971e-05/0.3308, allocations: 142.3 kB / 0.5421 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004377/0.3312, allocations: 227.4 kB / 0.5423 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004497/0.3357, allocations: 3.142 MB / 0.5454 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.819e-05/0.3358, allocations: 9.812 kB / 0.5454 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001955/0.336, allocations: 84.95 kB / 0.5455 GB, free: 14.47 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006916/0.3367, allocations: 318.9 kB / 0.5458 GB, free: 14.27 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003902/0.3406, allocations: 2.572 MB / 0.5483 GB, free: 11.68 MB / 414.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.0143/0.3549, allocations: 13.58 MB / 0.5616 GB, free: 13.29 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001865/0.3568, allocations: 1.472 MB / 0.563 GB, free: 11.76 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008393/0.3577, allocations: 0.6502 MB / 0.5636 GB, free: 11.11 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.69e-05/0.3578, allocations: 21.23 kB / 0.5637 GB, free: 11.09 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.624e-05/0.3578, allocations: 59.86 kB / 0.5637 GB, free: 11.02 MB / 430.1 MB Notification: Performance of pre-optimization done (n=132): time 3.316e-06/0.3578, allocations: 0 / 0.5637 GB, free: 11.02 MB / 430.1 MB Notification: Performance of matching and sorting (n=134): time 0.00597/0.3638, allocations: 4.144 MB / 0.5678 GB, free: 6.785 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.349e-05/0.3638, allocations: 90.42 kB / 0.5678 GB, free: 6.676 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001343/0.3652, allocations: 1.265 MB / 0.5691 GB, free: 5.395 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.22e-05/0.3653, allocations: 45.7 kB / 0.5691 GB, free: 5.344 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006212/0.3659, allocations: 1.131 MB / 0.5702 GB, free: 4.199 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003274/0.3662, allocations: 0.4997 MB / 0.5707 GB, free: 3.695 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004838/0.3667, allocations: 411.8 kB / 0.5711 GB, free: 3.285 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.863e-05/0.3668, allocations: 309.1 kB / 0.5714 GB, free: 2.98 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009886/0.3678, allocations: 0.6757 MB / 0.5721 GB, free: 2.301 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001462/0.3693, allocations: 1.583 MB / 0.5736 GB, free: 296 kB / 430.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.00923/0.3785, allocations: 4.602 MB / 0.5781 GB, free: 11.25 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-05/0.3786, allocations: 15.94 kB / 0.5781 GB, free: 11.23 MB / 446.1 MB Notification: Performance of matching and sorting (n=280) (initialization): time 0.005/0.3836, allocations: 3.056 MB / 0.5811 GB, free: 8.133 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.023e-05/0.3836, allocations: 20 kB / 0.5811 GB, free: 8.113 MB / 446.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.0009403/0.3846, allocations: 0.6083 MB / 0.5817 GB, free: 7.5 MB / 446.1 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated Error: Internal error SimCode DAEmode: The model PowerSystems.Examples.AC3ph.Transformation.PhaseShifts could not be translated