Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.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.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_latest_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_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.278/2.278, allocations: 390.3 MB / 402.8 MB, free: 6.664 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.001192/0.001192, allocations: 172 kB / 496.1 MB, free: 12.87 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.68/1.68, allocations: 221.3 MB / 0.7915 GB, free: 5.402 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.0008499/0.0008496, allocations: 95.89 kB / 0.9317 GB, free: 5.723 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 5.339e-05/5.397e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.332/0.3321, allocations: 143 MB / 1.219 GB, free: 13.5 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.11/1.442, allocations: 199.6 MB / 1.414 GB, free: 4.762 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003064/1.442, allocations: 92.62 kB / 1.414 GB, free: 4.711 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.2638/1.706, allocations: 105.7 MB / 1.517 GB, free: 364 kB / 0.9636 GB Notification: Performance of FrontEnd: time 2.244e-06/1.706, allocations: 0 / 1.517 GB, free: 364 kB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0001861/1.706, allocations: 55.98 kB / 1.517 GB, free: 308 kB / 0.9636 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.009809/1.716, allocations: 2.25 MB / 1.519 GB, free: 14 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 6.303e-05/1.716, allocations: 8.031 kB / 1.519 GB, free: 13.99 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01281/1.729, allocations: 1.881 MB / 1.521 GB, free: 12.1 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005467/1.735, allocations: 1.603 MB / 1.523 GB, free: 10.46 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002715/1.735, allocations: 201.5 kB / 1.523 GB, free: 10.26 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001856/1.737, allocations: 268 kB / 1.523 GB, free: 9.996 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01617/1.753, allocations: 4.508 MB / 1.527 GB, free: 5.391 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001452/1.753, allocations: 3.938 kB / 1.527 GB, free: 5.387 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001491/1.755, allocations: 116 kB / 1.528 GB, free: 5.273 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004228/1.755, allocations: 188.5 kB / 1.528 GB, free: 5.086 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01104/1.766, allocations: 4.262 MB / 1.532 GB, free: 0.8086 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03578/1.802, allocations: 20.98 MB / 1.552 GB, free: 9.988 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003889/1.806, allocations: 2.506 MB / 1.555 GB, free: 7.309 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003056/1.809, allocations: 1.637 MB / 1.556 GB, free: 5.656 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002721/1.809, allocations: 122 kB / 1.557 GB, free: 5.52 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.259e-05/1.809, allocations: 55.56 kB / 1.557 GB, free: 5.457 MB / 1.01 GB Notification: Performance of pre-optimization done (n=139): time 4.529e-06/1.809, allocations: 0 / 1.557 GB, free: 5.457 MB / 1.01 GB Notification: Performance of matching and sorting (n=181): time 0.03429/1.844, allocations: 9.97 MB / 1.566 GB, free: 11.45 MB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001566/1.844, allocations: 238.9 kB / 1.567 GB, free: 11.16 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001444/1.845, allocations: 0.8781 MB / 1.567 GB, free: 10.27 MB / 1.026 GB Notification: Performance of collectPreVariables (initialization): time 0.0004366/1.846, allocations: 49.7 kB / 1.568 GB, free: 10.22 MB / 1.026 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009043/1.847, allocations: 1.1 MB / 1.569 GB, free: 9.102 MB / 1.026 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008582/1.848, allocations: 0.6239 MB / 1.569 GB, free: 8.469 MB / 1.026 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001627/1.848, allocations: 44 kB / 1.569 GB, free: 8.426 MB / 1.026 GB Notification: Performance of setup shared object (initialization): time 0.0002992/1.848, allocations: 431.3 kB / 1.57 GB, free: 7.996 MB / 1.026 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002234/1.85, allocations: 1.387 MB / 1.571 GB, free: 6.605 MB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002605/1.853, allocations: 1.979 MB / 1.573 GB, free: 4.375 MB / 1.026 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002738/1.856, allocations: 1.716 MB / 1.575 GB, free: 2.664 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.146e-05/1.856, allocations: 4 kB / 1.575 GB, free: 2.66 MB / 1.026 GB Notification: Performance of matching and sorting (n=290) (initialization): time 0.008366/1.864, allocations: 4.405 MB / 1.579 GB, free: 14.24 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 0.004086/1.868, allocations: 6.874 MB / 1.586 GB, free: 6.82 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.451e-05/1.868, allocations: 19.94 kB / 1.586 GB, free: 6.801 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002748/1.871, allocations: 1.063 MB / 1.587 GB, free: 5.73 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003943/1.875, allocations: 0.7448 MB / 1.587 GB, free: 4.984 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01462/1.89, allocations: 10.12 MB / 1.597 GB, free: 10.59 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003955/1.894, allocations: 459.1 kB / 1.598 GB, free: 10.14 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004935/1.894, allocations: 115.9 kB / 1.598 GB, free: 10.02 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/1.894, allocations: 4 kB / 1.598 GB, free: 10.02 MB / 1.057 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008137/1.902, allocations: 4.26 MB / 1.602 GB, free: 5.75 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.844e-05/1.902, allocations: 20.28 kB / 1.602 GB, free: 5.73 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00211/1.905, allocations: 0.8723 MB / 1.603 GB, free: 4.852 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003636/1.908, allocations: 0.7448 MB / 1.604 GB, free: 4.105 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01434/1.923, allocations: 10.04 MB / 1.613 GB, free: 9.793 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003822/1.926, allocations: 447.2 kB / 1.614 GB, free: 9.355 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003969/1.927, allocations: 108 kB / 1.614 GB, free: 9.25 MB / 1.073 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.0007018/1.928, allocations: 241.3 kB / 1.614 GB, free: 9.008 MB / 1.073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007069/1.928, allocations: 130.6 kB / 1.614 GB, free: 8.879 MB / 1.073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007756/1.936, allocations: 4.18 MB / 1.618 GB, free: 4.648 MB / 1.073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.649e-05/1.936, allocations: 20 kB / 1.618 GB, free: 4.629 MB / 1.073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.61e-05/1.936, allocations: 12 kB / 1.618 GB, free: 4.617 MB / 1.073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.305e-05/1.936, allocations: 7.969 kB / 1.618 GB, free: 4.609 MB / 1.073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0143/1.95, allocations: 7.799 MB / 1.626 GB, free: 12.64 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.69e-05/1.951, allocations: 11.94 kB / 1.626 GB, free: 12.63 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00263/1.953, allocations: 0.5386 MB / 1.627 GB, free: 12.09 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0022/1.955, allocations: 0.8759 MB / 1.627 GB, free: 11.21 MB / 1.089 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001772/1.956, allocations: 59.95 kB / 1.627 GB, free: 11.15 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01319/1.969, allocations: 9.683 MB / 1.637 GB, free: 1.191 MB / 1.089 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.081e-05/1.969, allocations: 11.94 kB / 1.637 GB, free: 1.18 MB / 1.089 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00708/1.976, allocations: 4.217 MB / 1.641 GB, free: 12.62 MB / 1.104 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001227/1.977, allocations: 0.5305 MB / 1.642 GB, free: 12.07 MB / 1.104 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002235/1.977, allocations: 47.98 kB / 1.642 GB, free: 12.02 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002621/1.98, allocations: 403.4 kB / 1.642 GB, free: 11.63 MB / 1.104 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004096/1.98, allocations: 160.9 kB / 1.642 GB, free: 11.47 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001565/1.981, allocations: 71.95 kB / 1.642 GB, free: 11.4 MB / 1.104 GB Notification: Performance of sorting global known variables: time 0.001148/1.982, allocations: 0.6982 MB / 1.643 GB, free: 10.71 MB / 1.104 GB Notification: Performance of sort global known variables: time 1.9e-07/1.982, allocations: 0 / 1.643 GB, free: 10.71 MB / 1.104 GB Notification: Performance of remove unused functions: time 0.004932/1.987, allocations: 1.227 MB / 1.644 GB, free: 9.48 MB / 1.104 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.000421/1.987, allocations: 162.9 kB / 1.644 GB, free: 9.309 MB / 1.104 GB Notification: Performance of simCode: created initialization part: time 0.01241/2, allocations: 6.557 MB / 1.651 GB, free: 2.699 MB / 1.104 GB Notification: Performance of simCode: created event and clocks part: time 1.329e-05/2, allocations: 4.125 kB / 1.651 GB, free: 2.695 MB / 1.104 GB Notification: Performance of simCode: created simulation system equations: time 0.003902/2.004, allocations: 2.112 MB / 1.653 GB, free: 0.5586 MB / 1.104 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001295/2.005, allocations: 161.4 kB / 1.653 GB, free: 416 kB / 1.104 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01726/2.022, allocations: 5.883 MB / 1.659 GB, free: 10.38 MB / 1.12 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00274/2.025, allocations: 2.273 MB / 1.661 GB, free: 8.07 MB / 1.12 GB Notification: Performance of simCode: alias equations: time 0.00432/2.029, allocations: 1.316 MB / 1.662 GB, free: 6.75 MB / 1.12 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000537/2.03, allocations: 123.3 kB / 1.662 GB, free: 6.629 MB / 1.12 GB Notification: Performance of SimCode: time 1.272e-06/2.03, allocations: 7.938 kB / 1.662 GB, free: 6.621 MB / 1.12 GB Notification: Performance of Templates: time 0.06065/2.091, allocations: 34.04 MB / 1.696 GB, free: 4.688 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerDD.csv","../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches