Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull.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.TransformerFull,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.TransformerFull") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull,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.TransformerFull") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.253/2.253, allocations: 390.5 MB / 398 MB, free: 10.93 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.001489/0.001489, allocations: 184.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.637/1.637, allocations: 221.5 MB / 0.7868 GB, free: 13.26 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.0009106/0.0009105, allocations: 90.92 kB / 0.9269 GB, free: 13.76 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.828e-05/1.838e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2608/0.2608, allocations: 143 MB / 1.212 GB, free: 39.5 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9759/1.237, allocations: 204 MB / 1.412 GB, free: 12.71 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002894/1.237, allocations: 100.7 kB / 1.412 GB, free: 12.65 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 0.3177/1.555, allocations: 128.2 MB / 1.537 GB, free: 10.71 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.284e-06/1.555, allocations: 0 / 1.537 GB, free: 10.71 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001846/1.555, allocations: 59.98 kB / 1.537 GB, free: 10.65 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 792 * Number of variables: 792 Notification: Performance of Generate backend data structure: time 0.009022/1.564, allocations: 2.424 MB / 1.539 GB, free: 8.168 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.852e-05/1.564, allocations: 8.031 kB / 1.539 GB, free: 8.16 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01398/1.578, allocations: 2.052 MB / 1.541 GB, free: 6.102 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005639/1.584, allocations: 1.794 MB / 1.543 GB, free: 4.262 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001726/1.584, allocations: 95.95 kB / 1.543 GB, free: 4.168 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001619/1.586, allocations: 168 kB / 1.543 GB, free: 4.004 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01051/1.596, allocations: 4.092 MB / 1.547 GB, free: 15.91 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0141/1.61, allocations: 4.531 MB / 1.552 GB, free: 11.31 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001337/1.611, allocations: 8 kB / 1.552 GB, free: 11.3 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001041/1.612, allocations: 0 / 1.552 GB, free: 11.3 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005371/1.612, allocations: 246 kB / 1.552 GB, free: 11.06 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0289/1.641, allocations: 21.79 MB / 1.573 GB, free: 3.328 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003373/1.644, allocations: 2.031 MB / 1.575 GB, free: 1.23 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001896/1.646, allocations: 1.201 MB / 1.576 GB, free: 32 kB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002368/1.647, allocations: 114.4 kB / 1.576 GB, free: 15.9 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.357e-05/1.647, allocations: 59.73 kB / 1.576 GB, free: 15.83 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=122): time 3.737e-06/1.647, allocations: 0 / 1.576 GB, free: 15.83 MB / 0.9948 GB Notification: Performance of matching and sorting (n=173): time 0.01637/1.663, allocations: 6.974 MB / 1.583 GB, free: 8.852 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.157e-05/1.663, allocations: 69.41 kB / 1.583 GB, free: 8.77 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001744/1.665, allocations: 0.9698 MB / 1.584 GB, free: 7.777 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.000249/1.665, allocations: 29.7 kB / 1.584 GB, free: 7.742 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008811/1.666, allocations: 1.262 MB / 1.586 GB, free: 6.457 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006589/1.667, allocations: 0.5619 MB / 1.586 GB, free: 5.887 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002236/1.667, allocations: 0 / 1.586 GB, free: 5.887 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0002594/1.667, allocations: 451.5 kB / 1.587 GB, free: 5.438 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002196/1.67, allocations: 1.477 MB / 1.588 GB, free: 3.957 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002635/1.672, allocations: 2.181 MB / 1.59 GB, free: 1.461 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004055/1.676, allocations: 2.137 MB / 1.592 GB, free: 15.32 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.708e-05/1.676, allocations: 4 kB / 1.592 GB, free: 15.32 MB / 1.01 GB Notification: Performance of matching and sorting (n=301) (initialization): time 0.01108/1.687, allocations: 5.252 MB / 1.597 GB, free: 10.04 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 0.00365/1.691, allocations: 8.877 MB / 1.606 GB, free: 476 kB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.614e-05/1.691, allocations: 24 kB / 1.606 GB, free: 452 kB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004413/1.696, allocations: 1.375 MB / 1.607 GB, free: 15.05 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003871/1.699, allocations: 0.7643 MB / 1.608 GB, free: 14.28 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02221/1.722, allocations: 16.72 MB / 1.624 GB, free: 12.87 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004444/1.726, allocations: 454.9 kB / 1.625 GB, free: 12.42 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008216/1.727, allocations: 120 kB / 1.625 GB, free: 12.3 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.558e-05/1.727, allocations: 4 kB / 1.625 GB, free: 12.3 MB / 1.042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01133/1.738, allocations: 4.959 MB / 1.63 GB, free: 7.32 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.675e-05/1.739, allocations: 24 kB / 1.63 GB, free: 7.297 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003685/1.742, allocations: 1.317 MB / 1.631 GB, free: 5.961 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003794/1.746, allocations: 0.7565 MB / 1.632 GB, free: 5.203 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01946/1.766, allocations: 16.09 MB / 1.648 GB, free: 4.418 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00383/1.769, allocations: 439 kB / 1.648 GB, free: 3.988 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007312/1.77, allocations: 116 kB / 1.648 GB, free: 3.875 MB / 1.057 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 102 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (235): * Single equations (assignments): 229 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(2,100.0%) 10,(2,100.0%) 10,(3,100.0%) 9,(2,100.0%) 10,(3,100.0%) 9,(2,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009925/1.771, allocations: 168.2 kB / 1.648 GB, free: 3.703 MB / 1.057 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005198/1.772, allocations: 142.4 kB / 1.648 GB, free: 3.562 MB / 1.057 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01135/1.783, allocations: 4.786 MB / 1.653 GB, free: 14.72 MB / 1.073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.111e-05/1.783, allocations: 16 kB / 1.653 GB, free: 14.71 MB / 1.073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.799e-05/1.783, allocations: 11.98 kB / 1.653 GB, free: 14.7 MB / 1.073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.571e-05/1.783, allocations: 11.97 kB / 1.653 GB, free: 14.68 MB / 1.073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01652/1.8, allocations: 8.047 MB / 1.661 GB, free: 6.426 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.466e-05/1.8, allocations: 12 kB / 1.661 GB, free: 6.414 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002463/1.802, allocations: 0.5193 MB / 1.662 GB, free: 5.895 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00328/1.806, allocations: 1.16 MB / 1.663 GB, free: 4.715 MB / 1.073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001676/1.806, allocations: 27.95 kB / 1.663 GB, free: 4.688 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01916/1.825, allocations: 15.88 MB / 1.678 GB, free: 4.109 MB / 1.089 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.05e-05/1.825, allocations: 11.89 kB / 1.678 GB, free: 4.098 MB / 1.089 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008416/1.834, allocations: 4.413 MB / 1.683 GB, free: 15.39 MB / 1.104 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00128/1.835, allocations: 0.5422 MB / 1.683 GB, free: 14.83 MB / 1.104 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002494/1.835, allocations: 11.98 kB / 1.683 GB, free: 14.82 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002677/1.838, allocations: 419.1 kB / 1.683 GB, free: 14.41 MB / 1.104 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000429/1.838, allocations: 149 kB / 1.684 GB, free: 14.27 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001561/1.838, allocations: 63.97 kB / 1.684 GB, free: 14.2 MB / 1.104 GB Notification: Performance of sorting global known variables: time 0.001141/1.84, allocations: 0.7426 MB / 1.684 GB, free: 13.45 MB / 1.104 GB Notification: Performance of sort global known variables: time 1.7e-07/1.84, allocations: 0 / 1.684 GB, free: 13.45 MB / 1.104 GB Notification: Performance of remove unused functions: time 0.004832/1.844, allocations: 1.191 MB / 1.686 GB, free: 12.26 MB / 1.104 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 (104): * Single equations (assignments): 98 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(2,100.0%) 10,(2,100.0%) 10,(2,100.0%) 10,(2,100.0%) 10,(2,100.0%) 10,(2,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003935/1.845, allocations: 151 kB / 1.686 GB, free: 12.1 MB / 1.104 GB Notification: Performance of simCode: created initialization part: time 0.0135/1.858, allocations: 7.659 MB / 1.693 GB, free: 4.336 MB / 1.104 GB Notification: Performance of simCode: created event and clocks part: time 1.464e-05/1.858, allocations: 0 / 1.693 GB, free: 4.336 MB / 1.104 GB Notification: Performance of simCode: created simulation system equations: time 0.004982/1.863, allocations: 2.697 MB / 1.696 GB, free: 1.582 MB / 1.104 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001327/1.865, allocations: 179.2 kB / 1.696 GB, free: 1.406 MB / 1.104 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01704/1.882, allocations: 6.196 MB / 1.702 GB, free: 11.08 MB / 1.12 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002583/1.884, allocations: 2.43 MB / 1.704 GB, free: 8.613 MB / 1.12 GB Notification: Performance of simCode: alias equations: time 0.004232/1.889, allocations: 1.285 MB / 1.706 GB, free: 7.32 MB / 1.12 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000491/1.889, allocations: 119.4 kB / 1.706 GB, free: 7.203 MB / 1.12 GB Notification: Performance of SimCode: time 8.52e-07/1.889, allocations: 0 / 1.706 GB, free: 7.203 MB / 1.12 GB Notification: Performance of Templates: time 0.7797/2.669, allocations: 40.94 MB / 1.746 GB, free: 334.7 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerFull.csv","../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches