Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.431/2.431, allocations: 390.3 MB / 402.8 MB, free: 6.668 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00102/0.00102, allocations: 176.9 kB / 496.1 MB, free: 12.85 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.562/1.562, allocations: 221.3 MB / 0.7915 GB, free: 5.418 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001086/0.001086, allocations: 91.97 kB / 0.9317 GB, free: 5.73 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.685e-05/2.697e-05, allocations: 8 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2738/0.2738, allocations: 143 MB / 1.219 GB, free: 13.49 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8708/1.145, allocations: 199.9 MB / 1.414 GB, free: 4.383 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002662/1.145, allocations: 97.86 kB / 1.414 GB, free: 4.328 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.2658/1.411, allocations: 109.6 MB / 1.521 GB, free: 12.07 MB / 0.9792 GB Notification: Performance of FrontEnd: time 3.737e-06/1.411, allocations: 4 kB / 1.521 GB, free: 12.07 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.0001383/1.411, allocations: 55.98 kB / 1.521 GB, free: 12.01 MB / 0.9792 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.007592/1.419, allocations: 2.329 MB / 1.523 GB, free: 9.625 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.859e-05/1.419, allocations: 16.02 kB / 1.523 GB, free: 9.609 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01224/1.431, allocations: 1.896 MB / 1.525 GB, free: 7.707 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00463/1.436, allocations: 1.658 MB / 1.527 GB, free: 6.008 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002377/1.436, allocations: 213.8 kB / 1.527 GB, free: 5.797 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001498/1.437, allocations: 280 kB / 1.527 GB, free: 5.523 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01288/1.45, allocations: 4.726 MB / 1.532 GB, free: 0.7031 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001251/1.45, allocations: 7.938 kB / 1.532 GB, free: 0.6953 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001258/1.452, allocations: 119.9 kB / 1.532 GB, free: 0.5781 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003745/1.452, allocations: 188.8 kB / 1.532 GB, free: 400 kB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01016/1.462, allocations: 4.376 MB / 1.537 GB, free: 12 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03173/1.494, allocations: 22.47 MB / 1.559 GB, free: 3.492 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003758/1.498, allocations: 2.512 MB / 1.561 GB, free: 0.8047 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00245/1.5, allocations: 1.469 MB / 1.562 GB, free: 15.32 MB / 1.026 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002227/1.501, allocations: 118 kB / 1.563 GB, free: 15.19 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.429e-05/1.501, allocations: 59.5 kB / 1.563 GB, free: 15.12 MB / 1.026 GB Notification: Performance of pre-optimization done (n=132): time 4.638e-06/1.501, allocations: 0 / 1.563 GB, free: 15.12 MB / 1.026 GB Notification: Performance of matching and sorting (n=174): time 0.03098/1.532, allocations: 10.03 MB / 1.572 GB, free: 5.055 MB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001305/1.532, allocations: 222.9 kB / 1.573 GB, free: 4.789 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001371/1.533, allocations: 0.847 MB / 1.573 GB, free: 3.934 MB / 1.026 GB Notification: Performance of collectPreVariables (initialization): time 0.0003986/1.534, allocations: 57.7 kB / 1.573 GB, free: 3.871 MB / 1.026 GB Notification: Performance of collectInitialEqns (initialization): time 0.000848/1.534, allocations: 1.162 MB / 1.575 GB, free: 2.691 MB / 1.026 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006861/1.535, allocations: 0.5969 MB / 1.575 GB, free: 2.086 MB / 1.026 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001663/1.535, allocations: 48 kB / 1.575 GB, free: 2.039 MB / 1.026 GB Notification: Performance of setup shared object (initialization): time 0.0002358/1.536, allocations: 423.2 kB / 1.576 GB, free: 1.617 MB / 1.026 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002108/1.538, allocations: 1.351 MB / 1.577 GB, free: 268 kB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002452/1.54, allocations: 1.93 MB / 1.579 GB, free: 14.07 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002407/1.543, allocations: 1.669 MB / 1.58 GB, free: 12.41 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.094e-05/1.543, allocations: 4 kB / 1.58 GB, free: 12.41 MB / 1.042 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.007329/1.55, allocations: 4.312 MB / 1.585 GB, free: 8.074 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 0.002792/1.553, allocations: 7.056 MB / 1.592 GB, free: 476 kB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.03e-05/1.553, allocations: 16 kB / 1.592 GB, free: 460 kB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002649/1.555, allocations: 1.094 MB / 1.593 GB, free: 15.35 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003621/1.559, allocations: 0.7331 MB / 1.593 GB, free: 14.61 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01378/1.573, allocations: 10.15 MB / 1.603 GB, free: 4.184 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003472/1.576, allocations: 467.3 kB / 1.604 GB, free: 3.727 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003118/1.577, allocations: 107.9 kB / 1.604 GB, free: 3.621 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 1.226e-05/1.577, allocations: 11.94 kB / 1.604 GB, free: 3.609 MB / 1.057 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007261/1.584, allocations: 4.175 MB / 1.608 GB, free: 15.43 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.299e-05/1.584, allocations: 20 kB / 1.608 GB, free: 15.41 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002184/1.586, allocations: 0.8803 MB / 1.609 GB, free: 14.52 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003468/1.59, allocations: 0.7331 MB / 1.61 GB, free: 13.79 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01305/1.603, allocations: 10.1 MB / 1.619 GB, free: 3.406 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003384/1.606, allocations: 451.1 kB / 1.62 GB, free: 2.965 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002921/1.607, allocations: 108 kB / 1.62 GB, free: 2.859 MB / 1.073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 81 * 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.0005469/1.607, allocations: 228.4 kB / 1.62 GB, free: 2.629 MB / 1.073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003844/1.608, allocations: 126.4 kB / 1.62 GB, free: 2.504 MB / 1.073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0072/1.615, allocations: 3.939 MB / 1.624 GB, free: 14.52 MB / 1.089 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-05/1.615, allocations: 16 kB / 1.624 GB, free: 14.5 MB / 1.089 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.884e-05/1.615, allocations: 15.94 kB / 1.624 GB, free: 14.49 MB / 1.089 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.79e-05/1.615, allocations: 11.97 kB / 1.624 GB, free: 14.48 MB / 1.089 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01347/1.628, allocations: 7.896 MB / 1.632 GB, free: 6.395 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.327e-05/1.628, allocations: 8 kB / 1.632 GB, free: 6.387 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002684/1.631, allocations: 0.5264 MB / 1.632 GB, free: 5.859 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002204/1.633, allocations: 0.8801 MB / 1.633 GB, free: 4.973 MB / 1.089 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001682/1.634, allocations: 59.95 kB / 1.633 GB, free: 4.914 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01337/1.647, allocations: 9.679 MB / 1.643 GB, free: 10.96 MB / 1.104 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.08e-05/1.647, allocations: 11.94 kB / 1.643 GB, free: 10.95 MB / 1.104 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006582/1.654, allocations: 4.104 MB / 1.647 GB, free: 6.543 MB / 1.104 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001232/1.655, allocations: 0.515 MB / 1.647 GB, free: 6.008 MB / 1.104 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002249/1.655, allocations: 43.98 kB / 1.647 GB, free: 5.965 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002646/1.658, allocations: 399.3 kB / 1.648 GB, free: 5.574 MB / 1.104 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004099/1.658, allocations: 153 kB / 1.648 GB, free: 5.422 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001603/1.658, allocations: 71.91 kB / 1.648 GB, free: 5.352 MB / 1.104 GB Notification: Performance of sorting global known variables: time 0.001033/1.659, allocations: 0.667 MB / 1.649 GB, free: 4.684 MB / 1.104 GB Notification: Performance of sort global known variables: time 1.41e-07/1.659, allocations: 4 kB / 1.649 GB, free: 4.68 MB / 1.104 GB Notification: Performance of remove unused functions: time 0.004518/1.664, allocations: 1.234 MB / 1.65 GB, free: 3.445 MB / 1.104 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (103): * Single equations (assignments): 101 * 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.0003828/1.664, allocations: 158.9 kB / 1.65 GB, free: 3.281 MB / 1.104 GB Notification: Performance of simCode: created initialization part: time 0.01195/1.676, allocations: 6.422 MB / 1.656 GB, free: 12.81 MB / 1.12 GB Notification: Performance of simCode: created event and clocks part: time 1.095e-05/1.676, allocations: 4.062 kB / 1.656 GB, free: 12.81 MB / 1.12 GB Notification: Performance of simCode: created simulation system equations: time 0.003904/1.68, allocations: 2.095 MB / 1.658 GB, free: 10.69 MB / 1.12 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001253/1.681, allocations: 153.1 kB / 1.658 GB, free: 10.54 MB / 1.12 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01697/1.698, allocations: 5.979 MB / 1.664 GB, free: 4.434 MB / 1.12 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002451/1.701, allocations: 2.347 MB / 1.667 GB, free: 2.051 MB / 1.12 GB Notification: Performance of simCode: alias equations: time 0.004053/1.705, allocations: 1.268 MB / 1.668 GB, free: 0.7773 MB / 1.12 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005244/1.706, allocations: 115.3 kB / 1.668 GB, free: 0.668 MB / 1.12 GB Notification: Performance of SimCode: time 1.002e-06/1.706, allocations: 4 kB / 1.668 GB, free: 0.6641 MB / 1.12 GB Notification: Performance of Templates: time 0.6401/2.346, allocations: 33.82 MB / 1.701 GB, free: 337.7 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerStepDownYD.csv","../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches