Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY.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.TransformerStepDownDY,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.TransformerStepDownDY") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY,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.TransformerStepDownDY") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.275/2.275, allocations: 390.5 MB / 398 MB, free: 10.89 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.001243/0.001244, allocations: 180.9 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.412/1.412, allocations: 221.5 MB / 0.7868 GB, free: 13.28 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.0008757/0.0008758, allocations: 85.59 kB / 0.9269 GB, free: 13.79 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.459e-05/1.454e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2397/0.2397, allocations: 143 MB / 1.212 GB, free: 39.51 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8706/1.11, allocations: 199.2 MB / 1.407 GB, free: 1.363 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002562/1.111, allocations: 96.12 kB / 1.407 GB, free: 1.312 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.2556/1.366, allocations: 113 MB / 1.517 GB, free: 14.89 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.014e-06/1.366, allocations: 0 / 1.517 GB, free: 14.89 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0001046/1.366, allocations: 55.98 kB / 1.517 GB, free: 14.83 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 809 * Number of variables: 809 Notification: Performance of Generate backend data structure: time 0.007767/1.374, allocations: 2.42 MB / 1.52 GB, free: 12.36 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.094e-05/1.374, allocations: 11.97 kB / 1.52 GB, free: 12.35 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01212/1.386, allocations: 1.912 MB / 1.522 GB, free: 10.43 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005027/1.391, allocations: 1.709 MB / 1.523 GB, free: 8.676 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001573/1.392, allocations: 100 kB / 1.523 GB, free: 8.578 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001215/1.393, allocations: 176 kB / 1.524 GB, free: 8.406 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00911/1.402, allocations: 4.061 MB / 1.528 GB, free: 4.34 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01175/1.414, allocations: 4.504 MB / 1.532 GB, free: 15.74 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.51e-05/1.414, allocations: 3.953 kB / 1.532 GB, free: 15.74 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003399/1.414, allocations: 4 kB / 1.532 GB, free: 15.73 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003214/1.415, allocations: 196.9 kB / 1.532 GB, free: 15.54 MB / 0.948 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02586/1.44, allocations: 22.13 MB / 1.554 GB, free: 7.41 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002674/1.443, allocations: 1.999 MB / 1.556 GB, free: 5.293 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001559/1.445, allocations: 1.188 MB / 1.557 GB, free: 4.082 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001884/1.445, allocations: 118.3 kB / 1.557 GB, free: 3.945 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.611e-05/1.445, allocations: 59.8 kB / 1.557 GB, free: 3.879 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=123): time 3.266e-06/1.445, allocations: 0 / 1.557 GB, free: 3.879 MB / 0.9636 GB Notification: Performance of matching and sorting (n=153): time 0.01384/1.459, allocations: 7.232 MB / 1.564 GB, free: 12.61 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.914e-05/1.459, allocations: 226.9 kB / 1.564 GB, free: 12.34 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001206/1.46, allocations: 0.9057 MB / 1.565 GB, free: 11.43 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0002662/1.46, allocations: 25.7 kB / 1.565 GB, free: 11.39 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006969/1.461, allocations: 1.258 MB / 1.566 GB, free: 10.12 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005404/1.462, allocations: 0.5043 MB / 1.567 GB, free: 9.605 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000141/1.462, allocations: 3.938 kB / 1.567 GB, free: 9.602 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001996/1.462, allocations: 431.2 kB / 1.567 GB, free: 9.172 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001822/1.464, allocations: 1.289 MB / 1.569 GB, free: 7.879 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002229/1.466, allocations: 1.947 MB / 1.57 GB, free: 5.629 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003296/1.469, allocations: 1.906 MB / 1.572 GB, free: 3.727 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.59e-05/1.469, allocations: 15.94 kB / 1.572 GB, free: 3.711 MB / 0.9792 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.007699/1.477, allocations: 4.23 MB / 1.576 GB, free: 15.45 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.002604/1.48, allocations: 8.439 MB / 1.585 GB, free: 6.355 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.341e-05/1.48, allocations: 20 kB / 1.585 GB, free: 6.336 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002143/1.482, allocations: 0.7388 MB / 1.585 GB, free: 5.578 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003628/1.486, allocations: 0.776 MB / 1.586 GB, free: 4.801 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01334/1.499, allocations: 12.24 MB / 1.598 GB, free: 7.871 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003476/1.503, allocations: 427 kB / 1.599 GB, free: 7.453 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004272/1.503, allocations: 112 kB / 1.599 GB, free: 7.344 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.079e-05/1.503, allocations: 0 / 1.599 GB, free: 7.344 MB / 1.01 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007358/1.51, allocations: 3.96 MB / 1.603 GB, free: 3.363 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.034e-05/1.51, allocations: 24.06 kB / 1.603 GB, free: 3.34 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001592/1.512, allocations: 0.6531 MB / 1.603 GB, free: 2.668 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003605/1.516, allocations: 0.776 MB / 1.604 GB, free: 1.891 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01109/1.527, allocations: 11.72 MB / 1.615 GB, free: 5.477 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003619/1.53, allocations: 411.1 kB / 1.616 GB, free: 5.074 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003743/1.531, allocations: 116 kB / 1.616 GB, free: 4.961 MB / 1.026 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 97 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (240): * Single equations (assignments): 234 * 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%) 6,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007065/1.532, allocations: 180.1 kB / 1.616 GB, free: 4.777 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004108/1.532, allocations: 122.5 kB / 1.616 GB, free: 4.656 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006824/1.539, allocations: 3.644 MB / 1.62 GB, free: 0.9492 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.182e-05/1.539, allocations: 16 kB / 1.62 GB, free: 0.9336 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.338e-05/1.539, allocations: 8 kB / 1.62 GB, free: 0.9258 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.169e-05/1.539, allocations: 19.92 kB / 1.62 GB, free: 0.9062 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01116/1.55, allocations: 6.705 MB / 1.626 GB, free: 10.03 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.358e-05/1.55, allocations: 4 kB / 1.626 GB, free: 10.02 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00252/1.553, allocations: 0.5265 MB / 1.627 GB, free: 9.496 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001667/1.554, allocations: 0.6181 MB / 1.627 GB, free: 8.859 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001741/1.555, allocations: 31.95 kB / 1.628 GB, free: 8.828 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01093/1.566, allocations: 11.51 MB / 1.639 GB, free: 12.62 MB / 1.057 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.167e-05/1.566, allocations: 15.89 kB / 1.639 GB, free: 12.61 MB / 1.057 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005918/1.572, allocations: 3.642 MB / 1.642 GB, free: 8.684 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001046/1.573, allocations: 0.4993 MB / 1.643 GB, free: 8.164 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002453/1.573, allocations: 12 kB / 1.643 GB, free: 8.152 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002491/1.575, allocations: 375.3 kB / 1.643 GB, free: 7.785 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000271/1.576, allocations: 125 kB / 1.643 GB, free: 7.664 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000136/1.576, allocations: 67.95 kB / 1.643 GB, free: 7.598 MB / 1.057 GB Notification: Performance of sorting global known variables: time 0.001039/1.577, allocations: 0.7021 MB / 1.644 GB, free: 6.898 MB / 1.057 GB Notification: Performance of sort global known variables: time 2.334e-06/1.577, allocations: 0 / 1.644 GB, free: 6.898 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.005475/1.582, allocations: 1.078 MB / 1.645 GB, free: 5.82 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (105): * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003876/1.583, allocations: 144 kB / 1.645 GB, free: 5.672 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.01102/1.594, allocations: 6.462 MB / 1.652 GB, free: 15.11 MB / 1.073 GB Notification: Performance of simCode: created event and clocks part: time 1.163e-05/1.594, allocations: 0.5 kB / 1.652 GB, free: 15.11 MB / 1.073 GB Notification: Performance of simCode: created simulation system equations: time 0.003505/1.597, allocations: 2.175 MB / 1.654 GB, free: 12.87 MB / 1.073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00119/1.599, allocations: 138.9 kB / 1.654 GB, free: 12.73 MB / 1.073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01621/1.615, allocations: 5.822 MB / 1.659 GB, free: 6.785 MB / 1.073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002613/1.617, allocations: 2.378 MB / 1.662 GB, free: 4.367 MB / 1.073 GB Notification: Performance of simCode: alias equations: time 0.004308/1.622, allocations: 1.327 MB / 1.663 GB, free: 3.035 MB / 1.073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005759/1.622, allocations: 123.3 kB / 1.663 GB, free: 2.914 MB / 1.073 GB Notification: Performance of SimCode: time 1.192e-06/1.622, allocations: 0 / 1.663 GB, free: 2.914 MB / 1.073 GB Notification: Performance of Templates: time 0.05097/1.673, allocations: 29.33 MB / 1.692 GB, free: 5.668 MB / 1.104 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerStepDownDY.csv","../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches