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.0009722/0.0009722, allocations: 107 kB / 17.74 MB, free: 5.359 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.001009/0.001009, allocations: 186.4 kB / 18.67 MB, free: 4.438 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.27/1.27, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1719/0.1719, allocations: 38.05 MB / 330.6 MB, free: 8.746 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001182/0.001182, allocations: 63.91 kB / 458.8 MB, free: 6.84 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2857/0.2869, allocations: 58.06 MB / 0.5048 GB, free: 7.766 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transformation.PhaseShifts): time 0.009186/0.2961, allocations: 11.32 MB / 0.5158 GB, free: 15.79 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00717/0.3033, allocations: 4.194 MB / 0.5199 GB, free: 12.84 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008176/0.3041, allocations: 49.97 kB / 0.52 GB, free: 12.82 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003528/0.3077, allocations: 1.422 MB / 0.5214 GB, free: 11.99 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003325/0.311, allocations: 1.498 MB / 0.5228 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00234/0.3134, allocations: 0.8965 MB / 0.5237 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004188/0.3176, allocations: 3.29 MB / 0.5269 GB, free: 9.438 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001353/0.3189, allocations: 1.037 MB / 0.5279 GB, free: 8.992 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002448/0.3214, allocations: 1.376 MB / 0.5293 GB, free: 8.402 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00289/0.3243, allocations: 1.899 MB / 0.5311 GB, free: 7.699 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003783/0.3247, allocations: 176.3 kB / 0.5313 GB, free: 7.699 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001638/0.3263, allocations: 0.7285 MB / 0.532 GB, free: 7.395 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001293/0.3276, allocations: 1.279 MB / 0.5333 GB, free: 6.617 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001452/0.3291, allocations: 1.218 MB / 0.5344 GB, free: 5.805 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003468/0.3326, allocations: 3.167 MB / 0.5375 GB, free: 3.734 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.3326, allocations: 0 / 0.5375 GB, free: 3.734 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3326, allocations: 0 / 0.5375 GB, free: 3.734 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.303e-05/0.3327, allocations: 0 / 0.5375 GB, free: 3.734 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.004668/0.3373, allocations: 2.542 MB / 0.54 GB, free: 1.945 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/0.3374, allocations: 9.125 kB / 0.54 GB, free: 1.945 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002401/0.3398, allocations: 477.1 kB / 0.5405 GB, free: 1.711 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002951/0.3428, allocations: 1.408 MB / 0.5419 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000108/0.3429, allocations: 143.6 kB / 0.542 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004349/0.3433, allocations: 226.8 kB / 0.5422 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004501/0.3478, allocations: 3.145 MB / 0.5453 GB, free: 14.58 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.685e-05/0.3479, allocations: 14.88 kB / 0.5453 GB, free: 14.57 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001977/0.3481, allocations: 80.72 kB / 0.5454 GB, free: 14.51 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007349/0.3488, allocations: 322.6 kB / 0.5457 GB, free: 14.35 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003935/0.3528, allocations: 2.564 MB / 0.5482 GB, free: 11.77 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.01537/0.3682, allocations: 13.55 MB / 0.5614 GB, free: 13.39 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001962/0.3701, allocations: 1.48 MB / 0.5629 GB, free: 11.86 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009056/0.3711, allocations: 0.6425 MB / 0.5635 GB, free: 11.22 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.057e-05/0.3711, allocations: 21.28 kB / 0.5635 GB, free: 11.2 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.998e-05/0.3712, allocations: 47.88 kB / 0.5636 GB, free: 11.14 MB / 430.1 MB Notification: Performance of pre-optimization done (n=132): time 1.253e-05/0.3712, allocations: 3.984 kB / 0.5636 GB, free: 11.14 MB / 430.1 MB Notification: Performance of matching and sorting (n=134): time 0.006777/0.378, allocations: 4.099 MB / 0.5676 GB, free: 6.941 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.022e-05/0.3781, allocations: 90.42 kB / 0.5677 GB, free: 6.832 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00167/0.3797, allocations: 1.265 MB / 0.5689 GB, free: 5.551 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.651e-05/0.3798, allocations: 53.7 kB / 0.5689 GB, free: 5.492 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006879/0.3805, allocations: 1.088 MB / 0.57 GB, free: 4.387 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004014/0.3809, allocations: 485.2 kB / 0.5705 GB, free: 3.906 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005129/0.3815, allocations: 407.6 kB / 0.5709 GB, free: 3.5 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001261/0.3816, allocations: 301.1 kB / 0.5711 GB, free: 3.203 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001043/0.3826, allocations: 0.6796 MB / 0.5718 GB, free: 2.52 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00182/0.3845, allocations: 1.587 MB / 0.5734 GB, free: 0.5039 MB / 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.009897/0.3944, allocations: 4.605 MB / 0.5779 GB, free: 11.46 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.017e-05/0.3944, allocations: 15.94 kB / 0.5779 GB, free: 11.45 MB / 446.1 MB Notification: Performance of matching and sorting (n=280) (initialization): time 0.005351/0.3998, allocations: 3.042 MB / 0.5808 GB, free: 8.355 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.269e-05/0.3998, allocations: 20.97 kB / 0.5809 GB, free: 8.336 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.0009343/0.4008, allocations: 0.6122 MB / 0.5815 GB, free: 7.719 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