Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Transformation.PhaseShifts.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000965/0.0009651, allocations: 177.9 kB / 16.71 MB, free: 5.09 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.197/1.197, allocations: 225.7 MB / 243.2 MB, free: 10.21 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007307/0.0007307, allocations: 101.5 kB / 294.4 MB, free: 9.738 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.271/0.271, allocations: 38.18 MB / 383.7 MB, free: 40.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002721/0.0002721, allocations: 12 kB / 453.6 MB, free: 8.832 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2674/0.2677, allocations: 59.15 MB / 0.5007 GB, free: 39.08 MB / 378.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transformation.PhaseShifts): time 0.01005/0.2778, allocations: 12.33 MB / 0.5127 GB, free: 33.14 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.007472/0.2853, allocations: 7.974 MB / 0.5205 GB, free: 25.89 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001105/0.2865, allocations: 84.31 kB / 0.5206 GB, free: 25.85 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001012/0.2875, allocations: 0.4929 MB / 0.5211 GB, free: 25.62 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002159/0.2897, allocations: 1.446 MB / 0.5225 GB, free: 24.88 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001481/0.2912, allocations: 0.8128 MB / 0.5233 GB, free: 24.52 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.003888/0.2951, allocations: 5.795 MB / 0.5289 GB, free: 22.89 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002069/0.2971, allocations: 2.31 MB / 0.5312 GB, free: 21.15 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001567/0.2987, allocations: 1.16 MB / 0.5323 GB, free: 20.7 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001988/0.3007, allocations: 1.945 MB / 0.5342 GB, free: 20.14 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002045/0.3009, allocations: 85.22 kB / 0.5343 GB, free: 20.14 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001188/0.3021, allocations: 0.6731 MB / 0.535 GB, free: 19.96 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007964/0.3029, allocations: 1.191 MB / 0.5361 GB, free: 19.65 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001011/0.304, allocations: 1.119 MB / 0.5372 GB, free: 19 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002083/0.306, allocations: 3.006 MB / 0.5402 GB, free: 18.14 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.3061, allocations: 0.5625 kB / 0.5402 GB, free: 18.14 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.684e-06/0.3061, allocations: 0 / 0.5402 GB, free: 18.14 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.099e-05/0.3061, allocations: 0 / 0.5402 GB, free: 18.14 MB / 378.7 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.003172/0.3093, allocations: 2.114 MB / 0.5422 GB, free: 16.87 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.365e-05/0.3093, allocations: 12.78 kB / 0.5422 GB, free: 16.86 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002041/0.3114, allocations: 475.9 kB / 0.5427 GB, free: 16.73 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001935/0.3133, allocations: 1.334 MB / 0.544 GB, free: 16.02 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.41e-05/0.3134, allocations: 144 kB / 0.5441 GB, free: 15.95 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003536/0.3138, allocations: 222.7 kB / 0.5443 GB, free: 15.88 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003832/0.3176, allocations: 3.126 MB / 0.5474 GB, free: 14.42 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.797e-05/0.3177, allocations: 14.16 kB / 0.5474 GB, free: 14.41 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001591/0.3178, allocations: 84.02 kB / 0.5475 GB, free: 14.35 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007142/0.3186, allocations: 321 kB / 0.5478 GB, free: 14.31 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003746/0.3223, allocations: 2.554 MB / 0.5503 GB, free: 13.5 MB / 378.7 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.01227/0.3346, allocations: 13.63 MB / 0.5636 GB, free: 2.289 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001815/0.3364, allocations: 1.465 MB / 0.565 GB, free: 1.445 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007852/0.3372, allocations: 0.653 MB / 0.5657 GB, free: 1.121 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.952e-05/0.3373, allocations: 23.48 kB / 0.5657 GB, free: 1.113 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.311e-05/0.3373, allocations: 53.98 kB / 0.5658 GB, free: 1.059 MB / 378.7 MB Notification: Performance of pre-optimization done (n=132): time 3.476e-06/0.3373, allocations: 0 / 0.5658 GB, free: 1.059 MB / 378.7 MB Notification: Performance of matching and sorting (n=134): time 0.005932/0.3433, allocations: 4.081 MB / 0.5697 GB, free: 14.62 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.787e-05/0.3434, allocations: 92.08 kB / 0.5698 GB, free: 14.52 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001474/0.3448, allocations: 1.248 MB / 0.571 GB, free: 13.4 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 7.341e-05/0.3449, allocations: 49.69 kB / 0.5711 GB, free: 13.34 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006639/0.3456, allocations: 1.096 MB / 0.5722 GB, free: 12.23 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003391/0.3459, allocations: 485.2 kB / 0.5726 GB, free: 11.75 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.056e-05/0.346, allocations: 40 kB / 0.5727 GB, free: 11.71 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001532/0.3462, allocations: 398.3 kB / 0.573 GB, free: 11.32 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000923/0.3471, allocations: 0.6718 MB / 0.5737 GB, free: 10.64 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001481/0.3486, allocations: 1.583 MB / 0.5752 GB, free: 8.629 MB / 394.7 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.008219/0.3568, allocations: 3.981 MB / 0.5791 GB, free: 4.227 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.918e-05/0.3569, allocations: 8 kB / 0.5791 GB, free: 4.219 MB / 394.7 MB Notification: Performance of matching and sorting (n=280) (initialization): time 0.004928/0.3618, allocations: 3.017 MB / 0.5821 GB, free: 1.152 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.76e-05/0.3619, allocations: 16 kB / 0.5821 GB, free: 1.137 MB / 394.7 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.0008663/0.3627, allocations: 0.6138 MB / 0.5827 GB, free: 0.5234 MB / 394.7 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated