Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD.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.TransformerStepUpYD,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.TransformerStepUpYD") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD,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.TransformerStepUpYD") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.326/2.326, allocations: 390.5 MB / 398 MB, free: 10.94 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.001257/0.001257, allocations: 180.8 kB / 491.2 MB, free: 1.543 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.614/1.614, allocations: 221.5 MB / 0.7868 GB, free: 13.25 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.001072/0.001072, allocations: 91.53 kB / 0.9269 GB, free: 13.76 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.605e-05/1.604e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.29/0.29, allocations: 143 MB / 1.212 GB, free: 39.49 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9118/1.202, allocations: 199.2 MB / 1.407 GB, free: 1.355 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002516/1.202, allocations: 92.69 kB / 1.407 GB, free: 1.305 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.2575/1.46, allocations: 109.3 MB / 1.514 GB, free: 2.656 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.703e-06/1.46, allocations: 0 / 1.514 GB, free: 2.656 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.0001474/1.46, allocations: 60 kB / 1.514 GB, free: 2.598 MB / 0.9167 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.007665/1.467, allocations: 2.337 MB / 1.516 GB, free: 208 kB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.445e-05/1.468, allocations: 8.031 kB / 1.516 GB, free: 200 kB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01188/1.479, allocations: 1.896 MB / 1.518 GB, free: 14.29 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004879/1.484, allocations: 1.662 MB / 1.519 GB, free: 12.59 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001671/1.485, allocations: 92 kB / 1.52 GB, free: 12.5 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001457/1.486, allocations: 160 kB / 1.52 GB, free: 12.34 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01106/1.497, allocations: 3.943 MB / 1.524 GB, free: 8.391 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01233/1.509, allocations: 4.316 MB / 1.528 GB, free: 3.98 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.316e-05/1.51, allocations: 3.953 kB / 1.528 GB, free: 3.977 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007994/1.51, allocations: 4 kB / 1.528 GB, free: 3.973 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003804/1.511, allocations: 192.8 kB / 1.528 GB, free: 3.781 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03188/1.543, allocations: 21.82 MB / 1.549 GB, free: 11.96 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004634/1.547, allocations: 2.491 MB / 1.552 GB, free: 9.297 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003159/1.551, allocations: 1.317 MB / 1.553 GB, free: 7.965 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002858/1.551, allocations: 122.4 kB / 1.553 GB, free: 7.828 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.35e-05/1.551, allocations: 63.75 kB / 1.553 GB, free: 7.758 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=132): time 6.432e-06/1.551, allocations: 3.984 kB / 1.553 GB, free: 7.754 MB / 0.9636 GB Notification: Performance of matching and sorting (n=174): time 0.01731/1.568, allocations: 7.712 MB / 1.561 GB, free: 8 kB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001156/1.569, allocations: 238.9 kB / 1.561 GB, free: 15.72 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00133/1.57, allocations: 0.8078 MB / 1.562 GB, free: 14.91 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0002626/1.57, allocations: 25.7 kB / 1.562 GB, free: 14.88 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007442/1.571, allocations: 1.154 MB / 1.563 GB, free: 13.71 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006987/1.572, allocations: 0.5697 MB / 1.563 GB, free: 13.13 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001876/1.572, allocations: 0 / 1.563 GB, free: 13.13 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0002472/1.572, allocations: 423.2 kB / 1.564 GB, free: 12.71 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001975/1.574, allocations: 1.328 MB / 1.565 GB, free: 11.38 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002259/1.576, allocations: 1.896 MB / 1.567 GB, free: 9.227 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003688/1.58, allocations: 1.977 MB / 1.569 GB, free: 7.254 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.528e-05/1.58, allocations: 7.938 kB / 1.569 GB, free: 7.246 MB / 0.9792 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.0082/1.588, allocations: 4.487 MB / 1.573 GB, free: 2.742 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.002433/1.591, allocations: 6.886 MB / 1.58 GB, free: 11.32 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.388e-05/1.591, allocations: 16 kB / 1.58 GB, free: 11.3 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002632/1.593, allocations: 0.9966 MB / 1.581 GB, free: 10.3 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003608/1.597, allocations: 0.7292 MB / 1.582 GB, free: 9.57 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01354/1.611, allocations: 10.06 MB / 1.592 GB, free: 15.27 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00344/1.614, allocations: 427 kB / 1.592 GB, free: 14.85 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005069/1.615, allocations: 104 kB / 1.592 GB, free: 14.75 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.244e-05/1.615, allocations: 4 kB / 1.592 GB, free: 14.75 MB / 1.01 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008394/1.623, allocations: 4.233 MB / 1.596 GB, free: 10.51 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.139e-05/1.623, allocations: 16 kB / 1.596 GB, free: 10.49 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001999/1.625, allocations: 0.8449 MB / 1.597 GB, free: 9.641 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00356/1.629, allocations: 0.7373 MB / 1.598 GB, free: 8.902 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01218/1.641, allocations: 9.618 MB / 1.607 GB, free: 15.05 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003315/1.644, allocations: 407.1 kB / 1.608 GB, free: 14.65 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005356/1.645, allocations: 108 kB / 1.608 GB, free: 14.54 MB / 1.026 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.0007762/1.646, allocations: 164.3 kB / 1.608 GB, free: 14.38 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000548/1.646, allocations: 118.6 kB / 1.608 GB, free: 14.26 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008063/1.654, allocations: 4.017 MB / 1.612 GB, free: 10.2 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.339e-05/1.654, allocations: 16 kB / 1.612 GB, free: 10.18 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.128e-05/1.654, allocations: 12 kB / 1.612 GB, free: 10.17 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.36e-05/1.654, allocations: 11.97 kB / 1.612 GB, free: 10.16 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01302/1.667, allocations: 7.342 MB / 1.619 GB, free: 2.652 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.866e-05/1.667, allocations: 8 kB / 1.619 GB, free: 2.645 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002675/1.67, allocations: 0.5233 MB / 1.62 GB, free: 2.121 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002239/1.672, allocations: 0.8644 MB / 1.62 GB, free: 1.25 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001899/1.673, allocations: 31.95 kB / 1.62 GB, free: 1.219 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01311/1.686, allocations: 9.369 MB / 1.63 GB, free: 7.609 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-05/1.686, allocations: 11.94 kB / 1.63 GB, free: 7.598 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007146/1.693, allocations: 4.099 MB / 1.634 GB, free: 3.23 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001064/1.694, allocations: 0.5188 MB / 1.634 GB, free: 2.691 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003788/1.694, allocations: 8 kB / 1.634 GB, free: 2.684 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00274/1.697, allocations: 387.3 kB / 1.634 GB, free: 2.305 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003571/1.698, allocations: 149 kB / 1.635 GB, free: 2.16 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001732/1.698, allocations: 67.95 kB / 1.635 GB, free: 2.094 MB / 1.042 GB Notification: Performance of sorting global known variables: time 0.001047/1.699, allocations: 0.6318 MB / 1.635 GB, free: 1.461 MB / 1.042 GB Notification: Performance of sort global known variables: time 1.5e-07/1.699, allocations: 0 / 1.635 GB, free: 1.461 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.005046/1.704, allocations: 1.094 MB / 1.636 GB, free: 376 kB / 1.042 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.0004043/1.704, allocations: 135 kB / 1.636 GB, free: 232 kB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.01255/1.717, allocations: 6.149 MB / 1.642 GB, free: 10.04 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 1.057e-05/1.717, allocations: 0 / 1.642 GB, free: 10.04 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 0.003657/1.721, allocations: 2.029 MB / 1.644 GB, free: 7.996 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001192/1.722, allocations: 123 kB / 1.645 GB, free: 7.879 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01749/1.739, allocations: 5.857 MB / 1.65 GB, free: 1.902 MB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003151/1.743, allocations: 2.355 MB / 1.653 GB, free: 15.51 MB / 1.073 GB Notification: Performance of simCode: alias equations: time 0.004718/1.747, allocations: 1.253 MB / 1.654 GB, free: 14.25 MB / 1.073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006789/1.748, allocations: 119.3 kB / 1.654 GB, free: 14.14 MB / 1.073 GB Notification: Performance of SimCode: time 9.11e-07/1.748, allocations: 0 / 1.654 GB, free: 14.14 MB / 1.073 GB Notification: Performance of Templates: time 0.05647/1.804, allocations: 33.21 MB / 1.686 GB, free: 13.04 MB / 1.104 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerStepUpYD.csv","../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches