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.393/1.393, allocations: 249.5 MB / 257 MB, free: 6.961 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001048/0.001049, allocations: 171.5 kB / 316.3 MB, free: 3.227 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.513/1.513, allocations: 205.3 MB / 0.5671 GB, free: 15.86 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.0008217/0.0008216, allocations: 88.25 kB / 0.6714 GB, free: 4.977 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.822e-05/1.824e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.198/0.198, allocations: 106.3 MB / 0.8852 GB, free: 12.23 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7647/0.9628, allocations: 181.2 MB / 1.062 GB, free: 6.836 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002628/0.9631, allocations: 93.44 kB / 1.062 GB, free: 6.785 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.2283/1.191, allocations: 98.17 MB / 1.158 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.333e-06/1.191, allocations: 0 / 1.158 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 9.124e-05/1.192, allocations: 51.98 kB / 1.158 GB, free: 13.88 MB / 0.7761 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.004684/1.196, allocations: 2.254 MB / 1.16 GB, free: 11.57 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.921e-05/1.196, allocations: 8.031 kB / 1.16 GB, free: 11.57 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01095/1.207, allocations: 1.877 MB / 1.162 GB, free: 9.684 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00369/1.211, allocations: 1.599 MB / 1.164 GB, free: 8.039 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.741e-05/1.211, allocations: 88 kB / 1.164 GB, free: 7.953 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004373/1.211, allocations: 152 kB / 1.164 GB, free: 7.805 MB / 0.7761 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007256/1.219, allocations: 3.833 MB / 1.168 GB, free: 3.965 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007045/1.226, allocations: 4.119 MB / 1.172 GB, free: 15.75 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.228e-05/1.226, allocations: 7.922 kB / 1.172 GB, free: 15.74 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002814/1.226, allocations: 8 kB / 1.172 GB, free: 15.73 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00033/1.227, allocations: 192.4 kB / 1.172 GB, free: 15.55 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0236/1.25, allocations: 20.39 MB / 1.192 GB, free: 9.324 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002896/1.253, allocations: 2.463 MB / 1.194 GB, free: 6.695 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001846/1.255, allocations: 1.365 MB / 1.196 GB, free: 5.312 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000208/1.255, allocations: 126.3 kB / 1.196 GB, free: 5.168 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.154e-05/1.255, allocations: 51.88 kB / 1.196 GB, free: 5.109 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=139): time 4.859e-06/1.255, allocations: 0 / 1.196 GB, free: 5.109 MB / 0.8073 GB Notification: Performance of matching and sorting (n=181): time 0.01483/1.27, allocations: 7.765 MB / 1.203 GB, free: 13.31 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001286/1.27, allocations: 226.9 kB / 1.204 GB, free: 13.04 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001168/1.271, allocations: 0.8313 MB / 1.204 GB, free: 12.2 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001578/1.272, allocations: 29.7 kB / 1.204 GB, free: 12.16 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006904/1.272, allocations: 1.096 MB / 1.205 GB, free: 11.05 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005859/1.273, allocations: 0.5889 MB / 1.206 GB, free: 10.45 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001563/1.273, allocations: 0 / 1.206 GB, free: 10.45 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0002435/1.273, allocations: 435.3 kB / 1.206 GB, free: 10.02 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001959/1.275, allocations: 1.375 MB / 1.208 GB, free: 8.641 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002354/1.278, allocations: 1.938 MB / 1.21 GB, free: 6.461 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003594/1.281, allocations: 2.024 MB / 1.212 GB, free: 4.445 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.065e-05/1.281, allocations: 4 kB / 1.212 GB, free: 4.441 MB / 0.823 GB Notification: Performance of matching and sorting (n=290) (initialization): time 0.008218/1.289, allocations: 4.577 MB / 1.216 GB, free: 15.85 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.002685/1.292, allocations: 6.705 MB / 1.223 GB, free: 8.617 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.671e-05/1.292, allocations: 23.94 kB / 1.223 GB, free: 8.594 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002492/1.295, allocations: 0.9734 MB / 1.224 GB, free: 7.613 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003315/1.298, allocations: 0.7526 MB / 1.224 GB, free: 6.859 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0137/1.312, allocations: 10 MB / 1.234 GB, free: 12.61 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003122/1.315, allocations: 415 kB / 1.235 GB, free: 12.2 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002234/1.315, allocations: 115.9 kB / 1.235 GB, free: 12.09 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 9.978e-06/1.315, allocations: 4 kB / 1.235 GB, free: 12.09 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007552/1.323, allocations: 4.303 MB / 1.239 GB, free: 7.773 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.676e-05/1.323, allocations: 20 kB / 1.239 GB, free: 7.754 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001906/1.325, allocations: 0.8334 MB / 1.24 GB, free: 6.914 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003242/1.328, allocations: 0.745 MB / 1.24 GB, free: 6.164 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01205/1.34, allocations: 9.591 MB / 1.25 GB, free: 12.34 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002992/1.343, allocations: 411 kB / 1.25 GB, free: 11.93 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002139/1.343, allocations: 111.9 kB / 1.25 GB, free: 11.82 MB / 0.8698 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 () * 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.0005646/1.344, allocations: 163.2 kB / 1.25 GB, free: 11.66 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003687/1.344, allocations: 122.5 kB / 1.251 GB, free: 11.54 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007542/1.352, allocations: 4.277 MB / 1.255 GB, free: 7.211 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.821e-05/1.352, allocations: 16 kB / 1.255 GB, free: 7.195 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.433e-05/1.352, allocations: 15.94 kB / 1.255 GB, free: 7.18 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.186e-05/1.352, allocations: 19.95 kB / 1.255 GB, free: 7.16 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4731/1.825, allocations: 7.236 MB / 1.262 GB, free: 253.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.511e-05/1.825, allocations: 6.531 kB / 1.262 GB, free: 253.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00298/1.828, allocations: 0.5316 MB / 1.262 GB, free: 253.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002444/1.83, allocations: 0.8468 MB / 1.263 GB, free: 253.8 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003068/1.831, allocations: 34.97 kB / 1.263 GB, free: 253.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01251/1.843, allocations: 9.305 MB / 1.272 GB, free: 251.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.245e-05/1.843, allocations: 13.81 kB / 1.272 GB, free: 251.5 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006975/1.85, allocations: 4.153 MB / 1.276 GB, free: 250.4 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00105/1.851, allocations: 0.5283 MB / 1.277 GB, free: 250.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002593/1.852, allocations: 11.08 kB / 1.277 GB, free: 250.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002738/1.854, allocations: 380.1 kB / 1.277 GB, free: 250.3 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004676/1.855, allocations: 151.5 kB / 1.277 GB, free: 250.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001761/1.855, allocations: 66.78 kB / 1.278 GB, free: 250.3 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001034/1.856, allocations: 0.6535 MB / 1.278 GB, free: 250.2 MB / 0.8698 GB Notification: Performance of sort global known variables: time 5.11e-07/1.856, allocations: 0 / 1.278 GB, free: 250.2 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.004144/1.86, allocations: 1.083 MB / 1.279 GB, free: 250.2 MB / 0.8698 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 () * 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.0003348/1.861, allocations: 141.7 kB / 1.279 GB, free: 250.1 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.01054/1.871, allocations: 6.339 MB / 1.286 GB, free: 249.5 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 8.416e-06/1.871, allocations: 0 / 1.286 GB, free: 249.5 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.003636/1.875, allocations: 2.043 MB / 1.288 GB, free: 249.2 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001157/1.876, allocations: 130.2 kB / 1.288 GB, free: 249.2 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0173/1.893, allocations: 5.736 MB / 1.293 GB, free: 248.3 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002506/1.896, allocations: 2.278 MB / 1.295 GB, free: 247.6 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.00419/1.9, allocations: 1.325 MB / 1.297 GB, free: 247.6 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005192/1.901, allocations: 120.4 kB / 1.297 GB, free: 247.6 MB / 0.8698 GB Notification: Performance of SimCode: time 2.424e-06/1.901, allocations: 0 / 1.297 GB, free: 247.6 MB / 0.8698 GB Notification: Performance of Templates: time 0.04598/1.947, allocations: 33.29 MB / 1.329 GB, free: 246.2 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