Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.DD.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.DD,fileNamePrefix="Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Validation_IEEETests_Test4NodesFeeder_UnbalancedStepDown_DD",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01659/0.01659, allocations: 107.3 kB / 15.05 MB, free: 5.934 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001849/0.001849, allocations: 182.2 kB / 15.94 MB, free: 5.898 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 2.326/2.326, allocations: 194.6 MB / 211.3 MB, free: 11.09 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.303/2.303, allocations: 236.2 MB / 492.6 MB, free: 11.39 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006506/0.0006507, allocations: 15.98 kB / 0.5871 GB, free: 2.035 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6876/0.6882, allocations: 98.71 MB / 0.6835 GB, free: 16.78 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3176/1.006, allocations: 185.7 MB / 0.8648 GB, free: 4.453 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004399/1.006, allocations: 119.9 kB / 0.8649 GB, free: 4.336 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.09/2.097, allocations: 124.5 MB / 0.9865 GB, free: 164.3 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.945e-06/2.097, allocations: 0 / 0.9865 GB, free: 164.3 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0001921/2.097, allocations: 65.38 kB / 0.9865 GB, free: 164.3 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 874 * Number of variables: 874 Notification: Performance of Generate backend data structure: time 0.01443/2.112, allocations: 2.863 MB / 0.9893 GB, free: 162 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.175e-05/2.112, allocations: 16.03 kB / 0.9894 GB, free: 162 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002717/2.114, allocations: 488.3 kB / 0.9898 GB, free: 161.5 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0226/2.137, allocations: 2.091 MB / 0.9919 GB, free: 159.4 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006591/2.144, allocations: 2.013 MB / 0.9938 GB, free: 157.4 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000252/2.144, allocations: 234.2 kB / 0.9941 GB, free: 157.1 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001699/2.146, allocations: 300 kB / 0.9943 GB, free: 156.9 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02243/2.168, allocations: 5.872 MB / 1 GB, free: 150.9 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001226/2.168, allocations: 3.938 kB / 1 GB, free: 150.9 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007844/2.169, allocations: 135.9 kB / 1 GB, free: 150.7 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007628/2.17, allocations: 289.3 kB / 1 GB, free: 150.4 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02547/2.195, allocations: 6.028 MB / 1.006 GB, free: 144.4 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04913/2.245, allocations: 24.85 MB / 1.031 GB, free: 117.5 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0169/2.262, allocations: 5.466 MB / 1.036 GB, free: 111.7 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000665/2.262, allocations: 139.1 kB / 1.036 GB, free: 111.5 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.217e-05/2.262, allocations: 72.44 kB / 1.036 GB, free: 111.4 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=230): time 1.078e-05/2.262, allocations: 0 / 1.036 GB, free: 111.4 MB / 0.7292 GB Notification: Performance of matching and sorting (n=311): time 0.4051/2.668, allocations: 36.14 MB / 1.071 GB, free: 75.15 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001231/2.668, allocations: 251.8 kB / 1.072 GB, free: 74.85 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003968/2.672, allocations: 1.164 MB / 1.073 GB, free: 73.68 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.001194/2.673, allocations: 77.7 kB / 1.073 GB, free: 73.59 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.001419/2.674, allocations: 1.246 MB / 1.074 GB, free: 72.33 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.002379/2.677, allocations: 1.044 MB / 1.075 GB, free: 71.27 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001119/2.678, allocations: 60 kB / 1.075 GB, free: 71.21 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0005753/2.679, allocations: 440.7 kB / 1.076 GB, free: 70.77 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01547/2.694, allocations: 2.731 MB / 1.078 GB, free: 68.04 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01704/2.711, allocations: 3.422 MB / 1.082 GB, free: 64.35 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01733/2.729, allocations: 3.137 MB / 1.085 GB, free: 61.19 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.861e-05/2.729, allocations: 4 kB / 1.085 GB, free: 61.19 MB / 0.7292 GB Notification: Performance of matching and sorting (n=412) (initialization): time 0.0436/2.772, allocations: 9.514 MB / 1.094 GB, free: 51.62 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.001687/2.774, allocations: 7.322 MB / 1.101 GB, free: 43.72 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.639e-05/2.774, allocations: 20 kB / 1.101 GB, free: 43.7 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05082/2.825, allocations: 7.275 MB / 1.108 GB, free: 36.41 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007305/2.832, allocations: 0.8267 MB / 1.109 GB, free: 35.58 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04442/2.877, allocations: 17.42 MB / 1.126 GB, free: 17.98 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007422/2.884, allocations: 0.507 MB / 1.127 GB, free: 17.47 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00141/2.886, allocations: 187.9 kB / 1.127 GB, free: 17.29 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.244e-05/2.886, allocations: 0 / 1.127 GB, free: 17.29 MB / 0.7292 GB Warning: The linear system: 1 : line2.i3[1] - transformer.conv2.terminal_p.i[1] = -transformer.conv3.terminal_p.i[1] 2 : line2.i2[1] - transformer.conv1.terminal_p.i[1] = -transformer.conv2.terminal_p.i[1] 3 : line2.i1[1] - transformer.conv3.terminal_p.i[1] = -transformer.conv1.terminal_p.i[1] [ 1.0 , 0.0 , -1.0 ; 0.0 , -1.0 , 1.0 ; -1.0 , 1.0 , 0.0 ] * [ transformer.conv3.terminal_p.i[1] ; transformer.conv1.terminal_p.i[1] ; transformer.conv2.terminal_p.i[1] ] = [ -line2.i3[1] ; -line2.i2[1] ; -line2.i1[1] ] might be structurally or numerically singular for variable transformer.conv2.terminal_p.i[1] since U(3,3) = 0.0. It might be hard to solve. Compilation continues anyway. Warning: The linear system: 1 : line2.i3[2] - transformer.conv2.terminal_p.i[2] = -transformer.conv3.terminal_p.i[2] 2 : line2.i1[2] - transformer.conv3.terminal_p.i[2] = -transformer.conv1.terminal_p.i[2] 3 : line2.i2[2] - transformer.conv1.terminal_p.i[2] = -transformer.conv2.terminal_p.i[2] [ -1.0 , 0.0 , 1.0 ; 0.0 , 1.0 , -1.0 ; 1.0 , -1.0 , 0.0 ] * [ transformer.conv2.terminal_p.i[2] ; transformer.conv1.terminal_p.i[2] ; transformer.conv3.terminal_p.i[2] ] = [ -line2.i3[2] ; -line2.i1[2] ; -line2.i2[2] ] might be structurally or numerically singular for variable transformer.conv3.terminal_p.i[2] since U(3,3) = 0.0. It might be hard to solve. Compilation continues anyway. Warning: The linear system: 1 : transformer.conv1.V2[2] = line2.v1_n[2] - line2.v2_n[2] 2 : transformer.conv3.V2[2] = line2.v3_n[2] - line2.v1_n[2] 3 : transformer.conv2.V2[2] = line2.v2_n[2] - line2.v3_n[2] [ 1.0 , 0.0 , -1.0 ; 0.0 , -1.0 , 1.0 ; -1.0 , 1.0 , 0.0 ] * [ line2.v2_n[2] ; line2.v3_n[2] ; line2.v1_n[2] ] = [ -transformer.conv1.V2[2] ; -transformer.conv3.V2[2] ; -transformer.conv2.V2[2] ] might be structurally or numerically singular for variable line2.v1_n[2] since U(3,3) = 0.0. It might be hard to solve. Compilation continues anyway. Warning: The linear system: 1 : transformer.conv1.V2[1] = line2.v1_n[1] - line2.v2_n[1] 2 : transformer.conv2.V2[1] = line2.v2_n[1] - line2.v3_n[1] 3 : transformer.conv3.V2[1] = line2.v3_n[1] - line2.v1_n[1] [ -1.0 , 0.0 , 1.0 ; 0.0 , 1.0 , -1.0 ; 1.0 , -1.0 , 0.0 ] * [ line2.v1_n[1] ; line2.v3_n[1] ; line2.v2_n[1] ] = [ -transformer.conv1.V2[1] ; -transformer.conv2.V2[1] ; -transformer.conv3.V2[1] ] might be structurally or numerically singular for variable line2.v2_n[1] since U(3,3) = 0.0. It might be hard to solve. Compilation continues anyway. Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.06067/2.947, allocations: 9.589 MB / 1.136 GB, free: 7.492 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001016/2.947, allocations: 20 kB / 1.136 GB, free: 7.473 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03731/2.984, allocations: 3.653 MB / 1.14 GB, free: 3.801 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01367/2.998, allocations: 1.01 MB / 1.141 GB, free: 2.789 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07642/3.074, allocations: 26.16 MB / 1.166 GB, free: 7.711 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01043/3.085, allocations: 0.4913 MB / 1.167 GB, free: 7.219 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001669/3.087, allocations: 187.9 kB / 1.167 GB, free: 7.035 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 84 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (270): * Single equations (assignments): 268 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(10,73.0%) 62} * Non-linear torn systems: 1 {10 62} Notification: Performance of prepare postOptimizeDAE: time 0.007018/3.094, allocations: 1.406 MB / 1.168 GB, free: 5.617 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001957/3.096, allocations: 205.6 kB / 1.168 GB, free: 5.414 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05408/3.15, allocations: 9.793 MB / 1.178 GB, free: 11.54 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.468e-05/3.15, allocations: 32 kB / 1.178 GB, free: 11.5 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.742e-05/3.15, allocations: 15.95 kB / 1.178 GB, free: 11.49 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.205e-05/3.15, allocations: 19.94 kB / 1.178 GB, free: 11.47 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05891/3.209, allocations: 15.15 MB / 1.193 GB, free: 12.05 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.33e-05/3.209, allocations: 8 kB / 1.193 GB, free: 12.05 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006173/3.215, allocations: 0.6279 MB / 1.194 GB, free: 11.42 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0539/3.269, allocations: 7.056 MB / 1.2 GB, free: 4.352 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008613/3.27, allocations: 91.92 kB / 1.2 GB, free: 4.262 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04745/3.318, allocations: 17.02 MB / 1.217 GB, free: 3.062 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.554e-05/3.318, allocations: 12.03 kB / 1.217 GB, free: 3.051 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.6314/3.949, allocations: 9.542 MB / 1.226 GB, free: 231.7 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00319/3.952, allocations: 0.8067 MB / 1.227 GB, free: 231.6 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009476/3.953, allocations: 61.5 kB / 1.227 GB, free: 231.6 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007112/3.96, allocations: 0.4924 MB / 1.228 GB, free: 231.6 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001333/3.962, allocations: 233.5 kB / 1.228 GB, free: 231.6 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006345/3.963, allocations: 143.2 kB / 1.228 GB, free: 231.6 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.002645/3.965, allocations: 0.9317 MB / 1.229 GB, free: 231.4 MB / 0.8073 GB Notification: Performance of sort global known variables: time 8.81e-07/3.965, allocations: 0 / 1.229 GB, free: 231.4 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.01093/3.976, allocations: 1.642 MB / 1.231 GB, free: 231.4 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (166): * Single equations (assignments): 164 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(10,73.0%) 62} * Non-linear torn systems: 1 {10 62} Notification: Performance of Backend phase and start with SimCode phase: time 0.06983/4.046, allocations: 13.28 MB / 1.244 GB, free: 227.3 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.05419/4.1, allocations: 12.1 MB / 1.255 GB, free: 226.3 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-05/4.1, allocations: 0 / 1.255 GB, free: 226.3 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.01713/4.118, allocations: 4.143 MB / 1.259 GB, free: 226.1 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002816/4.12, allocations: 226.3 kB / 1.26 GB, free: 226.1 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1551/4.275, allocations: 42.9 MB / 1.302 GB, free: 203.9 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004372/4.28, allocations: 2.65 MB / 1.304 GB, free: 202.8 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.008473/4.288, allocations: 1.646 MB / 1.306 GB, free: 202.8 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002979/4.291, allocations: 1.101 MB / 1.307 GB, free: 201.9 MB / 0.8073 GB Notification: Performance of SimCode: time 1.363e-06/4.291, allocations: 3.828 kB / 1.307 GB, free: 201.9 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1941/4.486, allocations: 90.57 MB / 1.395 GB, free: 121.2 MB / 0.8073 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002141/4.486, allocations: 278.9 kB / 1.396 GB, free: 120.8 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.196/9.682, allocations: 64 / 1.396 GB, free: 120.8 MB / 0.8073 GB