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.TransformerStepDownYD.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.TransformerStepDownYD,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.TransformerStepDownYD") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD,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.TransformerStepDownYD") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.497/1.497, allocations: 249.5 MB / 257 MB, free: 6.859 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.0009526/0.0009526, allocations: 183.5 kB / 316.3 MB, free: 3.234 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.443/1.443, allocations: 205.3 MB / 0.5671 GB, free: 15.83 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.00088/0.00088, allocations: 84.59 kB / 0.6714 GB, free: 4.949 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.896e-05/1.899e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2159/0.2159, allocations: 106.3 MB / 0.8852 GB, free: 12.26 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7627/0.9786, allocations: 181.5 MB / 1.062 GB, free: 6.574 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002888/0.979, allocations: 93.31 kB / 1.063 GB, free: 6.523 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.2389/1.218, allocations: 101.9 MB / 1.162 GB, free: 9.918 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.763e-06/1.218, allocations: 0 / 1.162 GB, free: 9.918 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 9.233e-05/1.218, allocations: 55.98 kB / 1.162 GB, free: 9.863 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: 769 * Number of variables: 769 Notification: Performance of Generate backend data structure: time 0.005609/1.224, allocations: 2.341 MB / 1.164 GB, free: 7.465 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 6.026e-05/1.224, allocations: 8.031 kB / 1.164 GB, free: 7.457 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01161/1.235, allocations: 1.904 MB / 1.166 GB, free: 5.547 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004608/1.24, allocations: 1.65 MB / 1.168 GB, free: 3.852 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000119/1.24, allocations: 104 kB / 1.168 GB, free: 3.75 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007248/1.241, allocations: 160 kB / 1.168 GB, free: 3.594 MB / 0.7761 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008325/1.249, allocations: 3.947 MB / 1.172 GB, free: 15.64 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009758/1.259, allocations: 4.312 MB / 1.176 GB, free: 11.24 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.217e-05/1.259, allocations: 0 / 1.176 GB, free: 11.24 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004953/1.26, allocations: 3.953 kB / 1.176 GB, free: 11.23 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003715/1.26, allocations: 192.8 kB / 1.176 GB, free: 11.04 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03032/1.29, allocations: 21.82 MB / 1.198 GB, free: 3.203 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003669/1.294, allocations: 2.471 MB / 1.2 GB, free: 0.5664 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002112/1.296, allocations: 1.329 MB / 1.201 GB, free: 15.21 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002363/1.297, allocations: 118.4 kB / 1.201 GB, free: 15.08 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.469e-05/1.297, allocations: 59.89 kB / 1.202 GB, free: 15.01 MB / 0.823 GB Notification: Performance of pre-optimization done (n=132): time 3.296e-06/1.297, allocations: 0 / 1.202 GB, free: 15.01 MB / 0.823 GB Notification: Performance of matching and sorting (n=174): time 0.01695/1.314, allocations: 7.716 MB / 1.209 GB, free: 7.262 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001278/1.314, allocations: 226.9 kB / 1.209 GB, free: 6.992 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001433/1.315, allocations: 0.8155 MB / 1.21 GB, free: 6.168 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001653/1.315, allocations: 25.7 kB / 1.21 GB, free: 6.137 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007959/1.316, allocations: 1.146 MB / 1.211 GB, free: 4.973 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006585/1.317, allocations: 0.5814 MB / 1.212 GB, free: 4.383 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001722/1.317, allocations: 3.938 kB / 1.212 GB, free: 4.379 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0002678/1.317, allocations: 435.2 kB / 1.212 GB, free: 3.945 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001926/1.319, allocations: 1.328 MB / 1.213 GB, free: 2.613 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002339/1.322, allocations: 1.889 MB / 1.215 GB, free: 488 kB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003948/1.326, allocations: 1.973 MB / 1.217 GB, free: 14.51 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.687e-05/1.326, allocations: 8 kB / 1.217 GB, free: 14.5 MB / 0.8386 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.00917/1.335, allocations: 4.487 MB / 1.222 GB, free: 9.996 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.002739/1.338, allocations: 6.882 MB / 1.228 GB, free: 2.574 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.939e-05/1.338, allocations: 16 kB / 1.228 GB, free: 2.559 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00252/1.34, allocations: 0.9886 MB / 1.229 GB, free: 1.562 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003525/1.344, allocations: 0.7333 MB / 1.23 GB, free: 0.8281 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01449/1.358, allocations: 10.1 MB / 1.24 GB, free: 6.492 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00343/1.362, allocations: 423 kB / 1.24 GB, free: 6.074 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005309/1.362, allocations: 115.9 kB / 1.24 GB, free: 5.961 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/1.362, allocations: 4 kB / 1.24 GB, free: 5.957 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008354/1.371, allocations: 4.225 MB / 1.245 GB, free: 1.723 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.744e-05/1.371, allocations: 20 kB / 1.245 GB, free: 1.703 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001951/1.373, allocations: 0.8452 MB / 1.245 GB, free: 0.8516 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003305/1.376, allocations: 0.7294 MB / 1.246 GB, free: 124 kB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01238/1.388, allocations: 9.63 MB / 1.256 GB, free: 6.254 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003421/1.392, allocations: 403.1 kB / 1.256 GB, free: 5.859 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006598/1.393, allocations: 111.9 kB / 1.256 GB, free: 5.75 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 79 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (212): * Single equations (assignments): 210 * 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.0009599/1.393, allocations: 157.2 kB / 1.256 GB, free: 5.594 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006244/1.394, allocations: 126.6 kB / 1.256 GB, free: 5.469 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008181/1.402, allocations: 4.021 MB / 1.26 GB, free: 1.406 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-05/1.402, allocations: 16.09 kB / 1.26 GB, free: 1.391 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.352e-05/1.402, allocations: 15.98 kB / 1.26 GB, free: 1.375 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.282e-05/1.402, allocations: 11.97 kB / 1.26 GB, free: 1.363 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.51/1.912, allocations: 7.334 MB / 1.267 GB, free: 252.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.817e-05/1.912, allocations: 9.406 kB / 1.267 GB, free: 252.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002716/1.915, allocations: 0.5233 MB / 1.268 GB, free: 252.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00227/1.918, allocations: 0.8648 MB / 1.269 GB, free: 252.7 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001584/1.918, allocations: 31.59 kB / 1.269 GB, free: 252.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01197/1.93, allocations: 9.362 MB / 1.278 GB, free: 250.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-05/1.93, allocations: 10.77 kB / 1.278 GB, free: 250.3 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006469/1.936, allocations: 4.098 MB / 1.282 GB, free: 249.2 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009563/1.937, allocations: 0.5151 MB / 1.282 GB, free: 249.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002349/1.937, allocations: 12.48 kB / 1.282 GB, free: 249.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00261/1.94, allocations: 380.7 kB / 1.283 GB, free: 249.1 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003723/1.94, allocations: 150.9 kB / 1.283 GB, free: 249.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000185/1.941, allocations: 68.34 kB / 1.283 GB, free: 249.1 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0009508/1.942, allocations: 0.6288 MB / 1.284 GB, free: 249 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.5e-07/1.942, allocations: 0 / 1.284 GB, free: 249 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.004204/1.946, allocations: 1.088 MB / 1.285 GB, free: 249 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 (101): * Single equations (assignments): 99 * 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.0003474/1.946, allocations: 143.7 kB / 1.285 GB, free: 248.9 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.01124/1.957, allocations: 6.188 MB / 1.291 GB, free: 248.3 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.025e-05/1.957, allocations: 3.906 kB / 1.291 GB, free: 248.3 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.003616/1.961, allocations: 2.025 MB / 1.293 GB, free: 248 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001122/1.962, allocations: 116.4 kB / 1.293 GB, free: 248 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01717/1.979, allocations: 5.856 MB / 1.299 GB, free: 247.1 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003158/1.983, allocations: 2.353 MB / 1.301 GB, free: 246.3 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.003861/1.986, allocations: 1.268 MB / 1.302 GB, free: 246.3 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004562/1.987, allocations: 114.2 kB / 1.302 GB, free: 246.3 MB / 0.8698 GB Notification: Performance of SimCode: time 1.403e-06/1.987, allocations: 3.875 kB / 1.302 GB, free: 246.3 MB / 0.8698 GB Notification: Performance of Templates: time 0.04412/2.031, allocations: 33.09 MB / 1.335 GB, free: 245 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerStepDownYD.csv","../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches