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.459/2.459, allocations: 393.5 MB / 408.4 MB, free: 11.04 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.001196/0.001196, allocations: 191.6 kB / 0.4902 GB, free: 2.23 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.776/1.776, allocations: 223.1 MB / 0.7992 GB, free: 15.7 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.001055/0.001055, allocations: 88.34 kB / 0.9396 GB, free: 2.879 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003759/0.0003759, allocations: 13.03 kB / 1.09 GB, free: 212.7 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3407/0.3411, allocations: 143 MB / 1.229 GB, free: 85.49 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9733/1.314, allocations: 199.9 MB / 1.424 GB, free: 174.8 MB / 0.9011 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003938/1.315, allocations: 102.4 kB / 1.425 GB, free: 174.8 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 0.2652/1.58, allocations: 110.1 MB / 1.532 GB, free: 78.81 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.435e-06/1.58, allocations: 0 / 1.532 GB, free: 78.81 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 9.713e-05/1.58, allocations: 56 kB / 1.532 GB, free: 78.76 MB / 0.9011 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.004973/1.585, allocations: 2.407 MB / 1.534 GB, free: 76.29 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.561e-05/1.585, allocations: 8.828 kB / 1.534 GB, free: 76.28 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009926/1.595, allocations: 1.9 MB / 1.536 GB, free: 74.38 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004044/1.599, allocations: 1.671 MB / 1.538 GB, free: 72.66 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001288/1.599, allocations: 209.8 kB / 1.538 GB, free: 72.45 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005239/1.6, allocations: 284 kB / 1.538 GB, free: 72.18 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009691/1.61, allocations: 5.24 MB / 1.544 GB, free: 66.84 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.674e-05/1.61, allocations: 0 / 1.544 GB, free: 66.84 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003239/1.61, allocations: 119.9 kB / 1.544 GB, free: 66.72 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000253/1.61, allocations: 192.8 kB / 1.544 GB, free: 66.53 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01173/1.622, allocations: 5.374 MB / 1.549 GB, free: 61.14 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02995/1.652, allocations: 22.48 MB / 1.571 GB, free: 36.62 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005107/1.657, allocations: 2.989 MB / 1.574 GB, free: 33.47 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001971/1.657, allocations: 122.1 kB / 1.574 GB, free: 33.33 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.586e-05/1.658, allocations: 59.5 kB / 1.574 GB, free: 33.27 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=132): time 3.136e-06/1.658, allocations: 0 / 1.574 GB, free: 33.27 MB / 0.9011 GB Notification: Performance of matching and sorting (n=174): time 0.03999/1.698, allocations: 12.96 MB / 1.587 GB, free: 20.27 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.933e-05/1.698, allocations: 230.9 kB / 1.587 GB, free: 19.99 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001297/1.699, allocations: 0.8586 MB / 1.588 GB, free: 19.12 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0003039/1.699, allocations: 57.64 kB / 1.588 GB, free: 19.06 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005284/1.7, allocations: 1.158 MB / 1.589 GB, free: 17.89 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006335/1.7, allocations: 0.5892 MB / 1.59 GB, free: 17.29 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000151/1.701, allocations: 48 kB / 1.59 GB, free: 17.24 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001704/1.701, allocations: 423.2 kB / 1.59 GB, free: 16.82 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003799/1.705, allocations: 1.85 MB / 1.592 GB, free: 14.96 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003975/1.709, allocations: 2.423 MB / 1.594 GB, free: 12.29 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003984/1.713, allocations: 2.149 MB / 1.596 GB, free: 10.15 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.889e-06/1.713, allocations: 8 kB / 1.596 GB, free: 10.14 MB / 0.9011 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.01029/1.723, allocations: 5.306 MB / 1.602 GB, free: 4.816 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.002085/1.725, allocations: 6.875 MB / 1.608 GB, free: 13.4 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.899e-05/1.725, allocations: 20 kB / 1.608 GB, free: 13.38 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002557/1.728, allocations: 1.086 MB / 1.609 GB, free: 12.29 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003416/1.731, allocations: 0.7331 MB / 1.61 GB, free: 11.55 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01516/1.746, allocations: 10.62 MB / 1.62 GB, free: 0.6641 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003571/1.75, allocations: 471 kB / 1.621 GB, free: 208 kB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006542/1.751, allocations: 108 kB / 1.621 GB, free: 100 kB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/1.751, allocations: 4 kB / 1.621 GB, free: 96 kB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01316/1.764, allocations: 5.169 MB / 1.626 GB, free: 10.91 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.307e-05/1.764, allocations: 20 kB / 1.626 GB, free: 10.89 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002163/1.766, allocations: 0.872 MB / 1.627 GB, free: 10.02 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003487/1.77, allocations: 0.737 MB / 1.628 GB, free: 9.277 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01433/1.784, allocations: 10.55 MB / 1.638 GB, free: 14.45 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003295/1.787, allocations: 455.1 kB / 1.638 GB, free: 14 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006006/1.788, allocations: 108 kB / 1.638 GB, free: 13.89 MB / 0.948 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 () * Number of clocked 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.003485/1.791, allocations: 1.273 MB / 1.64 GB, free: 12.61 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007124/1.792, allocations: 122.6 kB / 1.64 GB, free: 12.49 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01271/1.805, allocations: 4.922 MB / 1.645 GB, free: 7.523 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.092e-05/1.805, allocations: 20 kB / 1.645 GB, free: 7.504 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.701e-05/1.805, allocations: 12 kB / 1.645 GB, free: 7.492 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.77e-05/1.805, allocations: 7.969 kB / 1.645 GB, free: 7.484 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02094/1.826, allocations: 8.675 MB / 1.653 GB, free: 14.66 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.848e-05/1.826, allocations: 12.75 kB / 1.653 GB, free: 14.64 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002563/1.829, allocations: 0.5303 MB / 1.654 GB, free: 14.11 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002295/1.831, allocations: 0.8809 MB / 1.655 GB, free: 13.23 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002164/1.831, allocations: 51.95 kB / 1.655 GB, free: 13.18 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01425/1.845, allocations: 10.14 MB / 1.664 GB, free: 2.766 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.089e-05/1.845, allocations: 16.05 kB / 1.664 GB, free: 2.75 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0116/1.857, allocations: 4.992 MB / 1.669 GB, free: 13.49 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001498/1.859, allocations: 0.5152 MB / 1.67 GB, free: 12.95 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004837/1.859, allocations: 47.92 kB / 1.67 GB, free: 12.91 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002689/1.862, allocations: 403.2 kB / 1.67 GB, free: 12.51 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004271/1.862, allocations: 156.9 kB / 1.67 GB, free: 12.36 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001859/1.862, allocations: 67.95 kB / 1.671 GB, free: 12.29 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.001314/1.864, allocations: 0.6708 MB / 1.671 GB, free: 11.62 MB / 0.9792 GB Notification: Performance of sort global known variables: time 1.31e-07/1.864, allocations: 0 / 1.671 GB, free: 11.62 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.005568/1.869, allocations: 1.238 MB / 1.672 GB, free: 10.38 MB / 0.9792 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 (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.0004385/1.87, allocations: 159.7 kB / 1.673 GB, free: 10.22 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.01959/1.889, allocations: 7.953 MB / 1.68 GB, free: 2.219 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.333e-05/1.889, allocations: 3.938 kB / 1.68 GB, free: 2.215 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.00636/1.896, allocations: 2.602 MB / 1.683 GB, free: 15.59 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001414/1.897, allocations: 149.2 kB / 1.683 GB, free: 15.45 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02281/1.92, allocations: 8.26 MB / 1.691 GB, free: 7.07 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004167/1.924, allocations: 2.355 MB / 1.693 GB, free: 4.68 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.004664/1.929, allocations: 1.225 MB / 1.695 GB, free: 3.449 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006874/1.93, allocations: 123.3 kB / 1.695 GB, free: 3.332 MB / 0.9948 GB Notification: Performance of SimCode: time 9.82e-07/1.93, allocations: 0 / 1.695 GB, free: 3.332 MB / 0.9948 GB Notification: Performance of Templates: time 0.06692/1.997, allocations: 33.08 MB / 1.727 GB, free: 2.363 MB / 1.026 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