Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD.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.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_9_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_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.252/2.252, allocations: 387.4 MB / 394.9 MB, free: 13.4 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.001634/0.001634, allocations: 188.8 kB / 487.4 MB, free: 5.066 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.408/1.408, allocations: 221.5 MB / 0.7824 GB, free: 1.035 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001015/0.001015, allocations: 106.4 kB / 0.9219 GB, free: 2.27 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.71e-05/1.723e-05, allocations: 7.984 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2503/0.2504, allocations: 142.3 MB / 1.206 GB, free: 43.96 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8933/1.144, allocations: 198.4 MB / 1.4 GB, free: 9.852 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002589/1.144, allocations: 93.31 kB / 1.4 GB, free: 9.801 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.2612/1.405, allocations: 109.2 MB / 1.506 GB, free: 11.22 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.064e-06/1.405, allocations: 0 / 1.506 GB, free: 11.22 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.0001741/1.405, allocations: 63.94 kB / 1.507 GB, free: 11.16 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: 769 * Number of variables: 769 Notification: Performance of Generate backend data structure: time 0.00869/1.414, allocations: 2.335 MB / 1.509 GB, free: 8.766 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.75e-05/1.414, allocations: 8.031 kB / 1.509 GB, free: 8.758 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01252/1.427, allocations: 1.9 MB / 1.511 GB, free: 6.852 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004735/1.432, allocations: 1.658 MB / 1.512 GB, free: 5.148 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001751/1.432, allocations: 96 kB / 1.512 GB, free: 5.055 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001513/1.433, allocations: 160 kB / 1.513 GB, free: 4.898 MB / 0.9167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009918/1.443, allocations: 3.943 MB / 1.516 GB, free: 0.9492 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01265/1.456, allocations: 4.32 MB / 1.521 GB, free: 12.54 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001022/1.456, allocations: 0 / 1.521 GB, free: 12.54 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009442/1.457, allocations: 7.953 kB / 1.521 GB, free: 12.53 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003781/1.457, allocations: 192.8 kB / 1.521 GB, free: 12.34 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02872/1.486, allocations: 21.82 MB / 1.542 GB, free: 4.508 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00359/1.49, allocations: 2.486 MB / 1.545 GB, free: 1.848 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00205/1.492, allocations: 1.317 MB / 1.546 GB, free: 0.5117 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002345/1.492, allocations: 122.4 kB / 1.546 GB, free: 384 kB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.478e-05/1.492, allocations: 63.75 kB / 1.546 GB, free: 308 kB / 0.948 GB Notification: Performance of pre-optimization done (n=132): time 3.647e-06/1.492, allocations: 0 / 1.546 GB, free: 308 kB / 0.948 GB Notification: Performance of matching and sorting (n=174): time 0.01772/1.51, allocations: 7.708 MB / 1.554 GB, free: 8.562 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001378/1.51, allocations: 238.9 kB / 1.554 GB, free: 8.281 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00143/1.512, allocations: 0.8001 MB / 1.555 GB, free: 7.473 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0003608/1.512, allocations: 25.7 kB / 1.555 GB, free: 7.441 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008672/1.513, allocations: 1.158 MB / 1.556 GB, free: 6.266 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009457/1.514, allocations: 0.5735 MB / 1.556 GB, free: 5.684 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002639/1.514, allocations: 0 / 1.556 GB, free: 5.684 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0003056/1.514, allocations: 427.2 kB / 1.557 GB, free: 5.258 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002122/1.516, allocations: 1.324 MB / 1.558 GB, free: 3.93 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002616/1.519, allocations: 1.892 MB / 1.56 GB, free: 1.785 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003993/1.523, allocations: 1.981 MB / 1.562 GB, free: 15.81 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-05/1.523, allocations: 8 kB / 1.562 GB, free: 15.8 MB / 0.9792 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.009023/1.532, allocations: 4.484 MB / 1.566 GB, free: 11.3 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.002717/1.535, allocations: 6.886 MB / 1.573 GB, free: 3.879 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.309e-05/1.535, allocations: 16 kB / 1.573 GB, free: 3.863 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002626/1.538, allocations: 0.981 MB / 1.574 GB, free: 2.875 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003718/1.541, allocations: 0.7331 MB / 1.575 GB, free: 2.141 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01461/1.556, allocations: 10.11 MB / 1.584 GB, free: 7.797 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003635/1.56, allocations: 423 kB / 1.585 GB, free: 7.383 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006386/1.56, allocations: 115.9 kB / 1.585 GB, free: 7.27 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/1.56, allocations: 4 kB / 1.585 GB, free: 7.266 MB / 0.9948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009206/1.57, allocations: 4.225 MB / 1.589 GB, free: 3.031 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.827e-05/1.57, allocations: 20 kB / 1.589 GB, free: 3.012 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001964/1.572, allocations: 0.8449 MB / 1.59 GB, free: 2.16 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003516/1.575, allocations: 0.7408 MB / 1.591 GB, free: 1.418 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01294/1.588, allocations: 9.615 MB / 1.6 GB, free: 7.559 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003522/1.592, allocations: 407.1 kB / 1.6 GB, free: 7.16 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006375/1.592, allocations: 112 kB / 1.6 GB, free: 7.051 MB / 1.01 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 (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.001/1.593, allocations: 160.3 kB / 1.601 GB, free: 6.887 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006547/1.594, allocations: 122.6 kB / 1.601 GB, free: 6.766 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008539/1.603, allocations: 4.017 MB / 1.605 GB, free: 2.707 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.62e-05/1.603, allocations: 20 kB / 1.605 GB, free: 2.688 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.495e-05/1.603, allocations: 15.94 kB / 1.605 GB, free: 2.672 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-05/1.603, allocations: 11.97 kB / 1.605 GB, free: 2.66 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01457/1.617, allocations: 7.323 MB / 1.612 GB, free: 11.17 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.932e-05/1.617, allocations: 4 kB / 1.612 GB, free: 11.17 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002677/1.62, allocations: 0.5265 MB / 1.612 GB, free: 10.64 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002224/1.622, allocations: 0.8564 MB / 1.613 GB, free: 9.777 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001772/1.623, allocations: 35.91 kB / 1.613 GB, free: 9.742 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01306/1.636, allocations: 9.369 MB / 1.622 GB, free: 144 kB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.499e-05/1.636, allocations: 15.88 kB / 1.622 GB, free: 128 kB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008575/1.644, allocations: 4.103 MB / 1.626 GB, free: 11.76 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001459/1.646, allocations: 0.5111 MB / 1.627 GB, free: 11.23 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006223/1.646, allocations: 12.17 kB / 1.627 GB, free: 11.21 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003057/1.65, allocations: 383.3 kB / 1.627 GB, free: 10.84 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005467/1.65, allocations: 148.9 kB / 1.627 GB, free: 10.7 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002076/1.65, allocations: 67.95 kB / 1.628 GB, free: 10.63 MB / 1.042 GB Notification: Performance of sorting global known variables: time 0.001393/1.652, allocations: 0.6279 MB / 1.628 GB, free: 10 MB / 1.042 GB Notification: Performance of sort global known variables: time 2.3e-07/1.652, allocations: 0 / 1.628 GB, free: 10 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.006533/1.658, allocations: 1.094 MB / 1.629 GB, free: 8.906 MB / 1.042 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 (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.0006115/1.659, allocations: 144.9 kB / 1.629 GB, free: 8.754 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.01268/1.672, allocations: 6.189 MB / 1.635 GB, free: 2.535 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 1.111e-05/1.672, allocations: 0 / 1.635 GB, free: 2.535 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.00382/1.676, allocations: 2.029 MB / 1.637 GB, free: 0.4922 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001361/1.677, allocations: 128 kB / 1.637 GB, free: 372 kB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01959/1.697, allocations: 5.857 MB / 1.643 GB, free: 10.39 MB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004172/1.701, allocations: 2.347 MB / 1.645 GB, free: 8.004 MB / 1.057 GB Notification: Performance of simCode: alias equations: time 0.005957/1.707, allocations: 1.264 MB / 1.647 GB, free: 6.734 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008382/1.708, allocations: 115.3 kB / 1.647 GB, free: 6.621 MB / 1.057 GB Notification: Performance of SimCode: time 8.01e-07/1.708, allocations: 0 / 1.647 GB, free: 6.621 MB / 1.057 GB Notification: Performance of Templates: time 0.05755/1.765, allocations: 33.1 MB / 1.679 GB, free: 5.637 MB / 1.089 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerStepDownYD.csv","../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches