Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.YD.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/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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(Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.YD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err_V2.1.|err_V2.2.|err_V2.3.|err_V3.1.|err_V3.2.|err_V3.3.|err_V4.1.|err_V4.2.|err_V4.3.|err_Theta2.1.|err_Theta2.2.|err_Theta2.3.|err_Theta3.1.|err_Theta3.2.|err_Theta3.3.|err_Theta4.1.|err_Theta4.2.|err_Theta4.3.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.YD") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.YD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err_V2.1.|err_V2.2.|err_V2.3.|err_V3.1.|err_V3.2.|err_V3.3.|err_V4.1.|err_V4.2.|err_V4.3.|err_Theta2.1.|err_Theta2.2.|err_Theta2.3.|err_Theta3.1.|err_Theta3.2.|err_Theta3.3.|err_Theta4.1.|err_Theta4.2.|err_Theta4.3.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.YD") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0011/0.001103, allocations: 90.67 kB / 15.36 MB, free: 0.7383 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.01042/0.01042, allocations: 170.9 kB / 16.26 MB, free: 6.613 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.492/1.492, allocations: 223.3 MB / 240.3 MB, free: 5.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.859/2.859, allocations: 462.6 MB / 0.7364 GB, free: 316 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003613/0.0003613, allocations: 8.031 kB / 0.9028 GB, free: 36.64 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3377/0.3381, allocations: 159.6 MB / 1.059 GB, free: 5.465 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.YD): time 0.02215/0.3603, allocations: 17.58 MB / 1.076 GB, free: 3.828 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.01281/0.3732, allocations: 6.777 MB / 1.082 GB, free: 13.04 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002078/0.3753, allocations: 43.88 kB / 1.083 GB, free: 12.99 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.001628/0.377, allocations: 373.3 kB / 1.083 GB, free: 12.62 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.00427/0.3813, allocations: 1.359 MB / 1.084 GB, free: 11.26 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.003125/0.3844, allocations: 0.9867 MB / 1.085 GB, free: 10.27 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.009817/0.3942, allocations: 8.514 MB / 1.093 GB, free: 1.742 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01306/0.4073, allocations: 8.343 MB / 1.102 GB, free: 9.305 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003528/0.4109, allocations: 1.654 MB / 1.103 GB, free: 7.645 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004728/0.4157, allocations: 2.652 MB / 1.106 GB, free: 4.984 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.001157/0.4168, allocations: 244 kB / 1.106 GB, free: 4.746 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003216/0.4201, allocations: 1.178 MB / 1.107 GB, free: 3.566 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.003004/0.4231, allocations: 1.89 MB / 1.109 GB, free: 1.672 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.003964/0.4271, allocations: 1.806 MB / 1.111 GB, free: 15.85 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.009315/0.4364, allocations: 7.422 MB / 1.118 GB, free: 8.406 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.4365, allocations: 0 / 1.118 GB, free: 8.406 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.986e-06/0.4365, allocations: 0 / 1.118 GB, free: 8.406 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 0.0001915/0.4367, allocations: 0 / 1.118 GB, free: 8.406 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 994 * Number of variables: 994 Notification: Performance of Generate backend data structure: time 0.007215/0.4439, allocations: 3.105 MB / 1.121 GB, free: 5.242 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5.265e-05/0.444, allocations: 12.02 kB / 1.121 GB, free: 5.23 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01394/0.4579, allocations: 2.427 MB / 1.123 GB, free: 2.797 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00526/0.4632, allocations: 2.155 MB / 1.126 GB, free: 0.5977 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002443/0.4635, allocations: 267.5 kB / 1.126 GB, free: 344 kB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001143/0.4646, allocations: 359.9 kB / 1.126 GB, free: 15.98 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01697/0.4816, allocations: 7.164 MB / 1.133 GB, free: 8.719 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.14e-05/0.4817, allocations: 4 kB / 1.133 GB, free: 8.715 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004715/0.4822, allocations: 152 kB / 1.133 GB, free: 8.566 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004773/0.4827, allocations: 334.1 kB / 1.134 GB, free: 8.238 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01737/0.5001, allocations: 7.055 MB / 1.141 GB, free: 1.172 MB / 0.8887 GB 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.04016/0.5403, allocations: 26.77 MB / 1.167 GB, free: 4.215 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009796/0.5501, allocations: 4.997 MB / 1.172 GB, free: 14.92 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006456/0.5566, allocations: 2.596 MB / 1.174 GB, free: 12.3 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003339/0.557, allocations: 127 kB / 1.174 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.716e-05/0.5571, allocations: 68.5 kB / 1.174 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=208): time 4.809e-06/0.5571, allocations: 0 / 1.174 GB, free: 12.09 MB / 0.9356 GB Warning: The linear system: 1 : line2.v1_n[1] - line2.v1_p[1] = line2.Z11[1] * line2.i1[1] - line2.Z11[2] * line2.i1[2] + line2.Z12[1] * line2.i2[1] - line2.Z12[2] * line2.i2[2] + line2.Z13[1] * line2.i3[1] - line2.Z13[2] * line2.i3[2] 2 : loadRL.load1.v[1] = line2.v1_p[1] - line2.v2_p[1] 3 : line2.v2_n[1] - line2.v2_p[1] = line2.Z21[1] * line2.i1[1] - line2.Z21[2] * line2.i1[2] + line2.Z22[1] * line2.i2[1] - line2.Z22[2] * line2.i2[2] + line2.Z23[1] * line2.i3[1] - line2.Z23[2] * line2.i3[2] 4 : transformer.conv1.V2[1] = line2.v1_n[1] - line2.v2_n[1] [ 1.0 , 0.0 , 0.0 , -1.0 ; 0.0 , 0.0 , 1.0 , -1.0 ; 0.0 , 1.0 , -1.0 , 0.0 ; -1.0 , 1.0 , 0.0 , 0.0 ] * [ line2.v1_n[1] ; line2.v2_n[1] ; line2.v2_p[1] ; line2.v1_p[1] ] = [ line2.Z11[1] * line2.i1[1] + line2.Z13[1] * line2.i3[1] + line2.Z12[1] * line2.i2[1] - line2.Z11[2] * line2.i1[2] - line2.Z13[2] * line2.i3[2] - line2.Z12[2] * line2.i2[2] ; -loadRL.load1.v[1] ; line2.Z21[1] * line2.i1[1] + line2.Z23[1] * line2.i3[1] + line2.Z22[1] * line2.i2[1] - line2.Z21[2] * line2.i1[2] - line2.Z23[2] * line2.i3[2] - line2.Z22[2] * line2.i2[2] ; -transformer.conv1.V2[1] ] might be structurally or numerically singular for variable line2.v1_p[1] since U(4,4) = 0.0. It might be hard to solve. Compilation continues anyway. Notification: Performance of matching and sorting (n=271): time 0.1132/0.6703, allocations: 31.04 MB / 1.205 GB, free: 12.95 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001322/0.6704, allocations: 239.6 kB / 1.205 GB, free: 12.67 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002404/0.6729, allocations: 1.473 MB / 1.206 GB, free: 11.19 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0006508/0.6735, allocations: 73.7 kB / 1.206 GB, free: 11.11 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.001053/0.6746, allocations: 1.493 MB / 1.208 GB, free: 9.598 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.001207/0.6758, allocations: 0.9203 MB / 1.209 GB, free: 8.664 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004804/0.6763, allocations: 260.4 kB / 1.209 GB, free: 8.402 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001076/0.6764, allocations: 309.1 kB / 1.209 GB, free: 8.098 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006565/0.683, allocations: 2.668 MB / 1.212 GB, free: 5.426 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007319/0.6904, allocations: 3.571 MB / 1.215 GB, free: 1.477 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01374/0.7041, allocations: 6.406 MB / 1.222 GB, free: 10.67 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.167e-05/0.7042, allocations: 8 kB / 1.222 GB, free: 10.66 MB / 0.9825 GB Warning: The linear system: 1 : line2.v1_n[1] - line2.v1_p[1] = line2.Z11[1] * line2.i1[1] - line2.Z11[2] * line2.i1[2] + line2.Z12[1] * line2.i2[1] - line2.Z12[2] * line2.i2[2] + line2.Z13[1] * line2.i3[1] - line2.Z13[2] * line2.i3[2] 2 : loadRL.load1.v[1] = line2.v1_p[1] - line2.v2_p[1] 3 : line2.v2_n[1] - line2.v2_p[1] = line2.Z21[1] * line2.i1[1] - line2.Z21[2] * line2.i1[2] + line2.Z22[1] * line2.i2[1] - line2.Z22[2] * line2.i2[2] + line2.Z23[1] * line2.i3[1] - line2.Z23[2] * line2.i3[2] 4 : transformer.conv1.V2[1] = line2.v1_n[1] - line2.v2_n[1] [ 1.0 , 0.0 , 0.0 , -1.0 ; 0.0 , 0.0 , 1.0 , -1.0 ; 0.0 , 1.0 , -1.0 , 0.0 ; -1.0 , 1.0 , 0.0 , 0.0 ] * [ line2.v1_n[1] ; line2.v2_n[1] ; line2.v2_p[1] ; line2.v1_p[1] ] = [ line2.Z11[1] * line2.i1[1] + line2.Z13[1] * line2.i3[1] + line2.Z12[1] * line2.i2[1] - line2.Z11[2] * line2.i1[2] - line2.Z13[2] * line2.i3[2] - line2.Z12[2] * line2.i2[2] ; -loadRL.load1.v[1] ; line2.Z21[1] * line2.i1[1] + line2.Z23[1] * line2.i3[1] + line2.Z22[1] * line2.i2[1] - line2.Z21[2] * line2.i1[2] - line2.Z23[2] * line2.i3[2] - line2.Z22[2] * line2.i2[2] ; -transformer.conv1.V2[1] ] might be structurally or numerically singular for variable line2.v1_p[1] since U(4,4) = 0.0. It might be hard to solve. Compilation continues anyway. Notification: Performance of matching and sorting (n=410) (initialization): time 0.03272/0.7369, allocations: 11.1 MB / 1.232 GB, free: 15.46 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007496/0.7377, allocations: 0.8668 MB / 1.233 GB, free: 14.22 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.134e-05/0.7378, allocations: 28 kB / 1.233 GB, free: 14.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02372/0.7615, allocations: 5.961 MB / 1.239 GB, free: 8.215 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004756/0.7663, allocations: 0.9906 MB / 1.24 GB, free: 7.223 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.6862/1.453, allocations: 25.94 MB / 1.265 GB, free: 164.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005516/1.458, allocations: 0.5734 MB / 1.266 GB, free: 164.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007611/1.459, allocations: 153.9 kB / 1.266 GB, free: 164.2 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/1.459, allocations: 3.531 kB / 1.266 GB, free: 164.2 MB / 0.9981 GB 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 replaceHomotopyWithSimplified (initialization): time 0.008293/1.467, allocations: 3.116 MB / 1.269 GB, free: 164 MB / 0.9981 GB Error: post-optimization module replaceHomotopyWithSimplified (initialization) failed. Error: No system for the symbolic initialization was generated