Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD,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_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD,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_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.219/2.219, allocations: 387.1 MB / 399.7 MB, free: 9.438 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.0012/0.0012, allocations: 176.9 kB / 492.3 MB, free: 0.5742 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.521/1.521, allocations: 221.3 MB / 0.7871 GB, free: 12.88 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.0009091/0.0009093, allocations: 98.27 kB / 0.9267 GB, free: 13.94 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.42e-05/3.422e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3068/0.3069, allocations: 142.3 MB / 1.212 GB, free: 38.48 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.042/1.349, allocations: 198.7 MB / 1.406 GB, free: 1.395 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003058/1.35, allocations: 95.44 kB / 1.407 GB, free: 1.344 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.2405/1.59, allocations: 105.7 MB / 1.51 GB, free: 6.141 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.803e-06/1.59, allocations: 0 / 1.51 GB, free: 6.141 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 9.494e-05/1.59, allocations: 56 kB / 1.51 GB, free: 6.086 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: 729 * Number of variables: 729 Notification: Performance of Generate backend data structure: time 0.006115/1.596, allocations: 2.255 MB / 1.512 GB, free: 3.777 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 5.241e-05/1.596, allocations: 8.031 kB / 1.512 GB, free: 3.77 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01181/1.608, allocations: 1.881 MB / 1.514 GB, free: 1.883 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004765/1.613, allocations: 1.595 MB / 1.515 GB, free: 244 kB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002119/1.613, allocations: 205.5 kB / 1.516 GB, free: 36 kB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001274/1.615, allocations: 268 kB / 1.516 GB, free: 15.77 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01431/1.629, allocations: 4.514 MB / 1.52 GB, free: 11.16 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001469/1.629, allocations: 4 kB / 1.52 GB, free: 11.16 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001309/1.63, allocations: 116 kB / 1.52 GB, free: 11.05 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004302/1.631, allocations: 184.5 kB / 1.521 GB, free: 10.86 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01065/1.642, allocations: 4.254 MB / 1.525 GB, free: 6.594 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03736/1.679, allocations: 20.99 MB / 1.545 GB, free: 15.76 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003772/1.683, allocations: 2.502 MB / 1.548 GB, free: 13.09 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003634/1.686, allocations: 1.641 MB / 1.549 GB, free: 11.43 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002743/1.687, allocations: 118 kB / 1.549 GB, free: 11.3 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.993e-05/1.687, allocations: 59.55 kB / 1.549 GB, free: 11.23 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=139): time 4.999e-06/1.687, allocations: 0 / 1.549 GB, free: 11.23 MB / 0.9636 GB Notification: Performance of matching and sorting (n=181): time 0.0355/1.722, allocations: 9.974 MB / 1.559 GB, free: 1.219 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001323/1.723, allocations: 226.9 kB / 1.559 GB, free: 0.9453 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001543/1.724, allocations: 0.8782 MB / 1.56 GB, free: 64 kB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0003415/1.724, allocations: 53.7 kB / 1.56 GB, free: 4 kB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008322/1.725, allocations: 1.096 MB / 1.561 GB, free: 14.89 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009069/1.726, allocations: 0.6239 MB / 1.562 GB, free: 14.26 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002736/1.727, allocations: 52.03 kB / 1.562 GB, free: 14.21 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.00029/1.727, allocations: 427.3 kB / 1.562 GB, free: 13.78 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002346/1.729, allocations: 1.387 MB / 1.564 GB, free: 12.39 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002705/1.732, allocations: 1.979 MB / 1.566 GB, free: 10.16 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002873/1.735, allocations: 1.712 MB / 1.567 GB, free: 8.449 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.241e-05/1.735, allocations: 8 kB / 1.567 GB, free: 8.441 MB / 0.9792 GB Notification: Performance of matching and sorting (n=290) (initialization): time 0.008264/1.743, allocations: 4.405 MB / 1.572 GB, free: 4.02 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.002973/1.746, allocations: 6.878 MB / 1.578 GB, free: 12.61 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.631e-05/1.746, allocations: 16 kB / 1.578 GB, free: 12.59 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002615/1.749, allocations: 1.067 MB / 1.58 GB, free: 11.52 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003668/1.752, allocations: 0.7448 MB / 1.58 GB, free: 10.77 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01414/1.767, allocations: 10.1 MB / 1.59 GB, free: 400 kB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003767/1.77, allocations: 463.2 kB / 1.591 GB, free: 15.93 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006569/1.771, allocations: 115.9 kB / 1.591 GB, free: 15.82 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/1.771, allocations: 8 kB / 1.591 GB, free: 15.81 MB / 1.01 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008666/1.78, allocations: 4.26 MB / 1.595 GB, free: 11.55 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.257e-05/1.78, allocations: 16 kB / 1.595 GB, free: 11.53 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002182/1.782, allocations: 0.8761 MB / 1.596 GB, free: 10.65 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003591/1.786, allocations: 0.7448 MB / 1.596 GB, free: 9.902 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0134/1.799, allocations: 10.04 MB / 1.606 GB, free: 15.59 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003581/1.803, allocations: 455.4 kB / 1.607 GB, free: 15.14 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007077/1.804, allocations: 108 kB / 1.607 GB, free: 15.04 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 (220): * Single equations (assignments): 218 * 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.001166/1.805, allocations: 232.3 kB / 1.607 GB, free: 14.8 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007837/1.806, allocations: 134.5 kB / 1.607 GB, free: 14.67 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008087/1.814, allocations: 4.176 MB / 1.611 GB, free: 10.45 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.501e-05/1.814, allocations: 16 kB / 1.611 GB, free: 10.43 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.642e-05/1.814, allocations: 16 kB / 1.611 GB, free: 10.41 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.396e-05/1.814, allocations: 7.969 kB / 1.611 GB, free: 10.41 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0149/1.829, allocations: 7.8 MB / 1.619 GB, free: 2.434 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.286e-05/1.829, allocations: 8 kB / 1.619 GB, free: 2.426 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002665/1.831, allocations: 0.546 MB / 1.619 GB, free: 1.879 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002191/1.834, allocations: 0.8798 MB / 1.62 GB, free: 0.9922 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00024/1.834, allocations: 55.95 kB / 1.62 GB, free: 0.9375 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01356/1.847, allocations: 9.679 MB / 1.63 GB, free: 6.988 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.569e-05/1.848, allocations: 11.94 kB / 1.63 GB, free: 6.977 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007653/1.855, allocations: 4.225 MB / 1.634 GB, free: 2.41 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001502/1.857, allocations: 0.5266 MB / 1.634 GB, free: 1.863 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006055/1.857, allocations: 43.98 kB / 1.634 GB, free: 1.82 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003093/1.86, allocations: 403.3 kB / 1.635 GB, free: 1.426 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004927/1.861, allocations: 164.9 kB / 1.635 GB, free: 1.266 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002304/1.861, allocations: 71.95 kB / 1.635 GB, free: 1.195 MB / 1.042 GB Notification: Performance of sorting global known variables: time 0.001583/1.863, allocations: 0.7021 MB / 1.636 GB, free: 0.4961 MB / 1.042 GB Notification: Performance of sort global known variables: time 6.22e-07/1.863, allocations: 0 / 1.636 GB, free: 0.4961 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.006481/1.869, allocations: 1.219 MB / 1.637 GB, free: 15.27 MB / 1.057 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 36 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (109): * Single equations (assignments): 107 * 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.0005364/1.87, allocations: 176.6 kB / 1.637 GB, free: 15.09 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.01266/1.883, allocations: 6.557 MB / 1.644 GB, free: 8.492 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 1.734e-05/1.883, allocations: 8 kB / 1.644 GB, free: 8.484 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 0.003919/1.887, allocations: 2.11 MB / 1.646 GB, free: 6.348 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00143/1.888, allocations: 156.9 kB / 1.646 GB, free: 6.199 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01783/1.906, allocations: 5.887 MB / 1.651 GB, free: 172 kB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003428/1.909, allocations: 2.277 MB / 1.654 GB, free: 13.86 MB / 1.073 GB Notification: Performance of simCode: alias equations: time 0.005087/1.914, allocations: 1.319 MB / 1.655 GB, free: 12.53 MB / 1.073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006924/1.915, allocations: 119.3 kB / 1.655 GB, free: 12.41 MB / 1.073 GB Notification: Performance of SimCode: time 1.573e-06/1.915, allocations: 0 / 1.655 GB, free: 12.41 MB / 1.073 GB Notification: Performance of Templates: time 0.06223/1.977, allocations: 34.03 MB / 1.688 GB, free: 10.46 MB / 1.104 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerDD.csv","../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches