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.242/2.242, allocations: 393.5 MB / 408.4 MB, free: 11.02 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.001101/0.001101, allocations: 186.5 kB / 0.4902 GB, free: 2.246 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.796/1.796, allocations: 223.2 MB / 0.7992 GB, free: 15.69 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.001103/0.001104, allocations: 105.9 kB / 0.9396 GB, free: 2.848 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004252/0.0004252, allocations: 8.969 kB / 1.09 GB, free: 212.8 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3112/0.3116, allocations: 143 MB / 1.229 GB, free: 85.48 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.155/1.466, allocations: 204.7 MB / 1.429 GB, free: 72.89 MB / 0.9011 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003087/1.467, allocations: 101 kB / 1.429 GB, free: 72.89 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 0.2848/1.752, allocations: 129.2 MB / 1.555 GB, free: 28.76 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.064e-06/1.752, allocations: 4 kB / 1.555 GB, free: 28.76 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.0001006/1.752, allocations: 58.41 kB / 1.555 GB, free: 28.75 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: 792 * Number of variables: 792 Notification: Performance of Generate backend data structure: time 0.007079/1.759, allocations: 2.535 MB / 1.558 GB, free: 26.53 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 5.431e-05/1.759, allocations: 8.562 kB / 1.558 GB, free: 26.52 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01225/1.771, allocations: 2.052 MB / 1.56 GB, free: 24.46 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006079/1.777, allocations: 1.802 MB / 1.562 GB, free: 23.1 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001571/1.777, allocations: 220.8 kB / 1.562 GB, free: 22.97 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00115/1.779, allocations: 287.3 kB / 1.562 GB, free: 22.77 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0108/1.789, allocations: 5.46 MB / 1.568 GB, free: 18.93 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.608e-05/1.79, allocations: 8 kB / 1.568 GB, free: 18.93 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000358/1.79, allocations: 119.8 kB / 1.568 GB, free: 18.89 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003705/1.79, allocations: 255.1 kB / 1.568 GB, free: 18.66 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01105/1.801, allocations: 5.656 MB / 1.573 GB, free: 14.71 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02748/1.829, allocations: 22.44 MB / 1.595 GB, free: 8.418 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005545/1.834, allocations: 2.518 MB / 1.598 GB, free: 5.836 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002161/1.835, allocations: 118 kB / 1.598 GB, free: 5.703 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.16e-05/1.835, allocations: 43.56 kB / 1.598 GB, free: 5.652 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=122): time 2.544e-06/1.835, allocations: 0 / 1.598 GB, free: 5.652 MB / 0.9167 GB Notification: Performance of matching and sorting (n=173): time 0.0509/1.886, allocations: 14.72 MB / 1.612 GB, free: 6.852 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.957e-05/1.886, allocations: 73.34 kB / 1.612 GB, free: 6.77 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002112/1.888, allocations: 1.033 MB / 1.613 GB, free: 5.715 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0002917/1.888, allocations: 49.7 kB / 1.613 GB, free: 5.66 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.001036/1.889, allocations: 1.278 MB / 1.615 GB, free: 4.363 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008031/1.89, allocations: 0.5892 MB / 1.615 GB, free: 3.766 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002525/1.89, allocations: 48 kB / 1.615 GB, free: 3.719 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0003009/1.891, allocations: 451.5 kB / 1.616 GB, free: 3.27 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004742/1.895, allocations: 2.007 MB / 1.618 GB, free: 1.258 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005478/1.901, allocations: 2.718 MB / 1.62 GB, free: 14.21 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005261/1.906, allocations: 2.355 MB / 1.623 GB, free: 11.86 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.52e-05/1.906, allocations: 8 kB / 1.623 GB, free: 11.85 MB / 0.948 GB Notification: Performance of matching and sorting (n=301) (initialization): time 0.01509/1.921, allocations: 6.16 MB / 1.629 GB, free: 5.66 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.004238/1.926, allocations: 8.881 MB / 1.637 GB, free: 12.09 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.293e-05/1.926, allocations: 31.92 kB / 1.637 GB, free: 12.05 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004747/1.93, allocations: 1.402 MB / 1.639 GB, free: 10.63 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003868/1.934, allocations: 0.7682 MB / 1.64 GB, free: 9.863 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02284/1.957, allocations: 17.75 MB / 1.657 GB, free: 7.309 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004402/1.962, allocations: 498.9 kB / 1.657 GB, free: 6.82 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00102/1.963, allocations: 120 kB / 1.657 GB, free: 6.703 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/1.963, allocations: 7.938 kB / 1.657 GB, free: 6.695 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01633/1.979, allocations: 6.008 MB / 1.663 GB, free: 0.6641 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.673e-05/1.979, allocations: 27.98 kB / 1.663 GB, free: 0.6367 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003921/1.983, allocations: 1.368 MB / 1.665 GB, free: 15.25 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003699/1.987, allocations: 0.7682 MB / 1.665 GB, free: 14.48 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02231/2.009, allocations: 17.59 MB / 1.683 GB, free: 12.09 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004918/2.014, allocations: 479 kB / 1.683 GB, free: 11.62 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001112/2.015, allocations: 120 kB / 1.683 GB, free: 11.5 MB / 1.01 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 () * Number of clocked 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.00512/2.02, allocations: 1.324 MB / 1.684 GB, free: 10.17 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009141/2.021, allocations: 138.4 kB / 1.685 GB, free: 10.03 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01608/2.037, allocations: 5.763 MB / 1.69 GB, free: 4.211 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.3e-05/2.037, allocations: 16 kB / 1.69 GB, free: 4.195 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.037e-05/2.038, allocations: 15.98 kB / 1.69 GB, free: 4.18 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.632e-05/2.038, allocations: 7.969 kB / 1.69 GB, free: 4.172 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02497/2.063, allocations: 9.326 MB / 1.699 GB, free: 10.67 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.849e-05/2.063, allocations: 4.094 kB / 1.699 GB, free: 10.66 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002582/2.065, allocations: 0.5186 MB / 1.7 GB, free: 10.14 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004445/2.07, allocations: 1.199 MB / 1.701 GB, free: 8.926 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003137/2.07, allocations: 47.97 kB / 1.701 GB, free: 8.879 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02177/2.092, allocations: 17.04 MB / 1.718 GB, free: 7.039 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.121e-05/2.092, allocations: 15.88 kB / 1.718 GB, free: 7.023 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01304/2.105, allocations: 5.331 MB / 1.723 GB, free: 1.414 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001349/2.106, allocations: 0.5499 MB / 1.724 GB, free: 0.8438 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005582/2.107, allocations: 43.98 kB / 1.724 GB, free: 0.8008 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003069/2.11, allocations: 443.2 kB / 1.724 GB, free: 376 kB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005691/2.111, allocations: 152.9 kB / 1.724 GB, free: 224 kB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002079/2.111, allocations: 71.95 kB / 1.724 GB, free: 152 kB / 1.042 GB Notification: Performance of sorting global known variables: time 0.001765/2.113, allocations: 0.8012 MB / 1.725 GB, free: 15.34 MB / 1.057 GB Notification: Performance of sort global known variables: time 6.21e-07/2.113, allocations: 0 / 1.725 GB, free: 15.34 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.006322/2.119, allocations: 1.324 MB / 1.726 GB, free: 14.01 MB / 1.057 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 (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.0005062/2.119, allocations: 174.8 kB / 1.726 GB, free: 13.83 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.02297/2.142, allocations: 9.544 MB / 1.736 GB, free: 4.133 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 1.492e-05/2.142, allocations: 4 kB / 1.736 GB, free: 4.129 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 0.00793/2.15, allocations: 3.301 MB / 1.739 GB, free: 0.75 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00157/2.152, allocations: 197.4 kB / 1.739 GB, free: 0.5586 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02402/2.176, allocations: 8.704 MB / 1.748 GB, free: 7.742 MB / 1.073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004243/2.18, allocations: 2.418 MB / 1.75 GB, free: 5.289 MB / 1.073 GB Notification: Performance of simCode: alias equations: time 0.004664/2.185, allocations: 1.266 MB / 1.751 GB, free: 4.016 MB / 1.073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005694/2.186, allocations: 131.3 kB / 1.751 GB, free: 3.887 MB / 1.073 GB Notification: Performance of SimCode: time 1.362e-06/2.186, allocations: 0 / 1.751 GB, free: 3.887 MB / 1.073 GB Notification: Performance of Templates: time 0.07218/2.258, allocations: 41.32 MB / 1.792 GB, free: 10.77 MB / 1.12 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