Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|probe_Y_1.V.1.|probe_Y_1.V.2.|probe_Y_1.V.3.|probe_D_1.V.1.|probe_D_1.V.2.|probe_D_1.V.3.|probe_2.V.1.|probe_2.V.2.|probe_2.V.3.|probe_Y_1.theta.1.|probe_Y_1.theta.2.|probe_Y_1.theta.3.|probe_D_1.theta.1.|probe_D_1.theta.2.|probe_D_1.theta.3.|probe_2.theta.1.|probe_2.theta.2.|probe_2.theta.3.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|probe_Y_1.V.1.|probe_Y_1.V.2.|probe_Y_1.V.3.|probe_D_1.V.1.|probe_D_1.V.2.|probe_D_1.V.3.|probe_2.V.1.|probe_2.V.2.|probe_2.V.3.|probe_Y_1.theta.1.|probe_Y_1.theta.2.|probe_Y_1.theta.3.|probe_D_1.theta.1.|probe_D_1.theta.2.|probe_D_1.theta.3.|probe_2.theta.1.|probe_2.theta.2.|probe_2.theta.3.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.389/1.389, allocations: 251.9 MB / 266.9 MB, free: 10.99 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001278/0.001278, allocations: 180.1 kB / 326.5 MB, free: 2.223 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.925/1.925, allocations: 205.4 MB / 0.5775 GB, free: 20.23 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009396/0.0009396, allocations: 90.28 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003539/0.0003539, allocations: 8.781 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2413/0.2417, allocations: 106.3 MB / 0.9001 GB, free: 63.9 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8169/1.059, allocations: 180.9 MB / 1.077 GB, free: 65.47 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003623/1.059, allocations: 105.2 kB / 1.077 GB, free: 65.47 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.226/1.285, allocations: 99.03 MB / 1.174 GB, free: 33.05 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.566e-06/1.285, allocations: 3.875 kB / 1.174 GB, free: 33.05 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001614/1.285, allocations: 53.62 kB / 1.174 GB, free: 33.05 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 729 * Number of variables: 729 Notification: Performance of Generate backend data structure: time 0.009504/1.295, allocations: 2.318 MB / 1.176 GB, free: 31.66 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.919e-05/1.295, allocations: 9.594 kB / 1.176 GB, free: 31.66 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01187/1.307, allocations: 1.892 MB / 1.178 GB, free: 30.81 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006045/1.313, allocations: 1.6 MB / 1.179 GB, free: 30.21 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002816/1.313, allocations: 199.2 kB / 1.18 GB, free: 30.2 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002128/1.315, allocations: 263.1 kB / 1.18 GB, free: 30.19 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01713/1.333, allocations: 5.033 MB / 1.185 GB, free: 27.14 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001454/1.333, allocations: 0 / 1.185 GB, free: 27.14 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001343/1.334, allocations: 109.4 kB / 1.185 GB, free: 27.11 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003784/1.335, allocations: 187.1 kB / 1.185 GB, free: 26.94 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01405/1.349, allocations: 5.253 MB / 1.19 GB, free: 23.21 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03298/1.382, allocations: 21 MB / 1.211 GB, free: 1.258 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005822/1.388, allocations: 2.979 MB / 1.214 GB, free: 14.11 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003031/1.388, allocations: 122 kB / 1.214 GB, free: 13.97 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.681e-05/1.388, allocations: 55.5 kB / 1.214 GB, free: 13.91 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=139): time 7.243e-06/1.388, allocations: 3.984 kB / 1.214 GB, free: 13.91 MB / 0.7136 GB Notification: Performance of matching and sorting (n=181): time 0.04513/1.433, allocations: 12.94 MB / 1.226 GB, free: 0.9258 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001377/1.433, allocations: 234.9 kB / 1.227 GB, free: 0.6484 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001544/1.435, allocations: 0.8858 MB / 1.227 GB, free: 15.76 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0004422/1.435, allocations: 53.73 kB / 1.227 GB, free: 15.7 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007926/1.436, allocations: 1.104 MB / 1.229 GB, free: 14.58 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.000745/1.437, allocations: 0.6201 MB / 1.229 GB, free: 13.95 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001634/1.437, allocations: 44 kB / 1.229 GB, free: 13.91 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0002442/1.437, allocations: 439.2 kB / 1.23 GB, free: 13.47 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004655/1.442, allocations: 1.893 MB / 1.231 GB, free: 11.57 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005224/1.447, allocations: 2.461 MB / 1.234 GB, free: 8.867 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005081/1.452, allocations: 2.203 MB / 1.236 GB, free: 6.664 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.658e-05/1.452, allocations: 8 kB / 1.236 GB, free: 6.656 MB / 0.7292 GB Notification: Performance of matching and sorting (n=290) (initialization): time 0.01289/1.465, allocations: 5.399 MB / 1.241 GB, free: 1.238 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.003224/1.469, allocations: 6.709 MB / 1.248 GB, free: 10.01 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.103e-05/1.469, allocations: 19.95 kB / 1.248 GB, free: 9.988 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002723/1.471, allocations: 1.063 MB / 1.249 GB, free: 8.918 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003937/1.475, allocations: 0.7487 MB / 1.25 GB, free: 8.168 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01448/1.49, allocations: 10.51 MB / 1.26 GB, free: 13.39 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003831/1.494, allocations: 463 kB / 1.26 GB, free: 12.93 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004489/1.494, allocations: 112 kB / 1.26 GB, free: 12.82 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/1.494, allocations: 4 kB / 1.26 GB, free: 12.82 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01267/1.507, allocations: 5.259 MB / 1.266 GB, free: 7.551 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.266e-05/1.507, allocations: 20 kB / 1.266 GB, free: 7.531 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002163/1.509, allocations: 0.8692 MB / 1.266 GB, free: 6.656 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00369/1.513, allocations: 0.7487 MB / 1.267 GB, free: 5.906 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01384/1.527, allocations: 10.49 MB / 1.277 GB, free: 11.14 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00362/1.53, allocations: 447.2 kB / 1.278 GB, free: 10.7 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004284/1.531, allocations: 111.9 kB / 1.278 GB, free: 10.59 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 77 * 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 (220): * Single equations (assignments): 218 * 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: 2 {(4,100.0%) 32,(4,100.0%) 32} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002999/1.534, allocations: 1.211 MB / 1.279 GB, free: 9.367 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005136/1.534, allocations: 130.5 kB / 1.279 GB, free: 9.238 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01235/1.547, allocations: 5.166 MB / 1.284 GB, free: 4.02 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.045e-05/1.547, allocations: 24 kB / 1.284 GB, free: 3.996 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.803e-05/1.547, allocations: 12 kB / 1.284 GB, free: 3.984 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.443e-05/1.547, allocations: 7.969 kB / 1.284 GB, free: 3.977 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01926/1.566, allocations: 8.649 MB / 1.293 GB, free: 11.18 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.069e-05/1.566, allocations: 11.94 kB / 1.293 GB, free: 11.16 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002917/1.569, allocations: 0.5307 MB / 1.293 GB, free: 10.63 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002538/1.572, allocations: 0.8718 MB / 1.294 GB, free: 9.754 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003688/1.572, allocations: 55.95 kB / 1.294 GB, free: 9.699 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01429/1.586, allocations: 10.1 MB / 1.304 GB, free: 15.33 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.258e-06/1.587, allocations: 11.94 kB / 1.304 GB, free: 15.32 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0116/1.598, allocations: 5.034 MB / 1.309 GB, free: 10.01 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001568/1.6, allocations: 0.5305 MB / 1.31 GB, free: 9.461 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002228/1.6, allocations: 43.98 kB / 1.31 GB, free: 9.418 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002371/1.602, allocations: 407.2 kB / 1.31 GB, free: 9.02 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003935/1.603, allocations: 145 kB / 1.31 GB, free: 8.879 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001605/1.603, allocations: 67.95 kB / 1.31 GB, free: 8.812 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.001116/1.604, allocations: 0.7136 MB / 1.311 GB, free: 8.102 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1.2e-07/1.604, allocations: 0 / 1.311 GB, free: 8.102 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.004477/1.609, allocations: 1.234 MB / 1.312 GB, free: 6.867 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (105): * Single equations (assignments): 103 * 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: 2 {(4,100.0%) 32,(4,100.0%) 32} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004017/1.609, allocations: 159.5 kB / 1.312 GB, free: 6.699 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.019/1.628, allocations: 8.062 MB / 1.32 GB, free: 14.59 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.165e-05/1.628, allocations: 4.062 kB / 1.32 GB, free: 14.59 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.006883/1.635, allocations: 2.618 MB / 1.323 GB, free: 11.95 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00181/1.637, allocations: 152 kB / 1.323 GB, free: 11.8 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03218/1.669, allocations: 8.075 MB / 1.331 GB, free: 3.617 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00387/1.673, allocations: 2.273 MB / 1.333 GB, free: 1.309 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.007619/1.681, allocations: 1.292 MB / 1.334 GB, free: 12 kB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009326/1.682, allocations: 127.3 kB / 1.334 GB, free: 15.89 MB / 0.8386 GB Notification: Performance of SimCode: time 2.324e-06/1.682, allocations: 0 / 1.334 GB, free: 15.89 MB / 0.8386 GB Notification: Performance of Templates: time 0.08759/1.769, allocations: 33.33 MB / 1.367 GB, free: 14.57 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerDD.csv","../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches