Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpDY.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.TransformerStepUpDY,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.TransformerStepUpDY") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpDY,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.TransformerStepUpDY") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.442/2.442, allocations: 393.5 MB / 408.4 MB, free: 11.03 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.001224/0.001224, allocations: 187.9 kB / 0.4902 GB, free: 2.285 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.677/1.677, allocations: 223.2 MB / 0.7992 GB, free: 15.68 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.001086/0.001085, allocations: 92.31 kB / 0.9396 GB, free: 2.879 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003701/0.0003701, allocations: 13.22 kB / 1.09 GB, free: 212.6 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3273/0.3277, allocations: 143 MB / 1.229 GB, free: 85.5 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8364/1.164, allocations: 199.9 MB / 1.424 GB, free: 174.9 MB / 0.9011 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003503/1.165, allocations: 101 kB / 1.425 GB, free: 174.9 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 0.2782/1.443, allocations: 114 MB / 1.536 GB, free: 74.95 MB / 0.9011 GB Notification: Performance of FrontEnd: time 3.606e-06/1.443, allocations: 0 / 1.536 GB, free: 74.95 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.0001498/1.443, allocations: 59.94 kB / 1.536 GB, free: 74.89 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: 809 * Number of variables: 809 Notification: Performance of Generate backend data structure: time 0.009065/1.452, allocations: 2.498 MB / 1.538 GB, free: 72.33 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.855e-05/1.452, allocations: 8.031 kB / 1.538 GB, free: 72.32 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01112/1.463, allocations: 1.912 MB / 1.54 GB, free: 70.41 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005588/1.469, allocations: 1.726 MB / 1.542 GB, free: 68.64 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002218/1.469, allocations: 222.1 kB / 1.542 GB, free: 68.42 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001621/1.471, allocations: 300 kB / 1.542 GB, free: 68.12 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01856/1.489, allocations: 5.443 MB / 1.548 GB, free: 62.59 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001834/1.49, allocations: 7.938 kB / 1.548 GB, free: 62.58 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001832/1.492, allocations: 127.9 kB / 1.548 GB, free: 62.46 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003905/1.492, allocations: 201 kB / 1.548 GB, free: 62.26 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01423/1.506, allocations: 5.501 MB / 1.553 GB, free: 56.74 MB / 0.9011 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.0313/1.538, allocations: 22.78 MB / 1.576 GB, free: 31.94 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005246/1.543, allocations: 2.5 MB / 1.578 GB, free: 29.32 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002422/1.543, allocations: 118.1 kB / 1.578 GB, free: 29.19 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.042e-05/1.543, allocations: 51.5 kB / 1.578 GB, free: 29.13 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=123): time 3.426e-06/1.543, allocations: 4 kB / 1.578 GB, free: 29.13 MB / 0.9011 GB Notification: Performance of matching and sorting (n=153): time 0.03889/1.582, allocations: 11.71 MB / 1.59 GB, free: 17.38 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.79e-05/1.582, allocations: 222.9 kB / 1.59 GB, free: 17.11 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001332/1.584, allocations: 0.972 MB / 1.591 GB, free: 16.12 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0003523/1.584, allocations: 53.7 kB / 1.591 GB, free: 16.06 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006002/1.585, allocations: 1.258 MB / 1.592 GB, free: 14.79 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005825/1.585, allocations: 0.5199 MB / 1.593 GB, free: 14.26 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002158/1.585, allocations: 44 kB / 1.593 GB, free: 14.21 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001689/1.586, allocations: 431.2 kB / 1.593 GB, free: 13.79 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003947/1.59, allocations: 1.803 MB / 1.595 GB, free: 11.98 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004196/1.594, allocations: 2.486 MB / 1.597 GB, free: 9.184 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004225/1.598, allocations: 2.137 MB / 1.599 GB, free: 7.051 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.858e-05/1.598, allocations: 8 kB / 1.599 GB, free: 7.043 MB / 0.9011 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.01025/1.608, allocations: 5.107 MB / 1.604 GB, free: 1.906 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.003067/1.611, allocations: 8.447 MB / 1.613 GB, free: 8.797 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.58e-05/1.611, allocations: 20 kB / 1.613 GB, free: 8.777 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002314/1.614, allocations: 0.7465 MB / 1.613 GB, free: 8.012 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00379/1.618, allocations: 0.7721 MB / 1.614 GB, free: 7.238 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01415/1.632, allocations: 12.78 MB / 1.627 GB, free: 9.656 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003554/1.635, allocations: 470.9 kB / 1.627 GB, free: 9.195 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005643/1.636, allocations: 115.9 kB / 1.627 GB, free: 9.082 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.097e-05/1.636, allocations: 4 kB / 1.627 GB, free: 9.078 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01293/1.649, allocations: 4.958 MB / 1.632 GB, free: 4.098 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.385e-05/1.649, allocations: 24.19 kB / 1.632 GB, free: 4.074 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00192/1.651, allocations: 0.689 MB / 1.633 GB, free: 3.367 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003628/1.655, allocations: 0.7799 MB / 1.633 GB, free: 2.586 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01235/1.667, allocations: 12.63 MB / 1.646 GB, free: 5.148 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003476/1.67, allocations: 455.1 kB / 1.646 GB, free: 4.703 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005511/1.671, allocations: 119.9 kB / 1.646 GB, free: 4.586 MB / 0.948 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 () * Number of clocked 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.00302/1.674, allocations: 1.328 MB / 1.648 GB, free: 3.246 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005878/1.675, allocations: 126.5 kB / 1.648 GB, free: 3.121 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0115/1.686, allocations: 4.561 MB / 1.652 GB, free: 14.5 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.158e-05/1.686, allocations: 19.95 kB / 1.652 GB, free: 14.48 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.357e-05/1.686, allocations: 12 kB / 1.652 GB, free: 14.46 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.032e-05/1.686, allocations: 7.969 kB / 1.652 GB, free: 14.46 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01835/1.705, allocations: 8.027 MB / 1.66 GB, free: 6.262 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.326e-05/1.705, allocations: 12 kB / 1.66 GB, free: 6.25 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002494/1.707, allocations: 0.5272 MB / 1.661 GB, free: 5.723 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001974/1.709, allocations: 0.6418 MB / 1.661 GB, free: 5.062 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004049/1.71, allocations: 51.92 kB / 1.661 GB, free: 5.012 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0148/1.724, allocations: 12.31 MB / 1.673 GB, free: 7.898 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.979e-06/1.725, allocations: 11.94 kB / 1.673 GB, free: 7.887 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01096/1.735, allocations: 4.536 MB / 1.678 GB, free: 3.074 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001547/1.737, allocations: 0.4954 MB / 1.678 GB, free: 2.559 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005375/1.738, allocations: 36 kB / 1.678 GB, free: 2.523 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002943/1.741, allocations: 399.3 kB / 1.679 GB, free: 2.133 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004588/1.741, allocations: 128.7 kB / 1.679 GB, free: 2.008 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002177/1.741, allocations: 63.95 kB / 1.679 GB, free: 1.945 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.001862/1.743, allocations: 0.7566 MB / 1.68 GB, free: 1.188 MB / 0.9792 GB Notification: Performance of sort global known variables: time 5.11e-07/1.743, allocations: 0 / 1.68 GB, free: 1.188 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.005538/1.749, allocations: 1.203 MB / 1.681 GB, free: 15.98 MB / 0.9948 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 (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.0003714/1.749, allocations: 162.5 kB / 1.681 GB, free: 15.82 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.01917/1.768, allocations: 8.242 MB / 1.689 GB, free: 7.434 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.313e-05/1.768, allocations: 3.938 kB / 1.689 GB, free: 7.43 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.006044/1.774, allocations: 2.752 MB / 1.692 GB, free: 4.602 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001252/1.776, allocations: 154.2 kB / 1.692 GB, free: 4.457 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02089/1.797, allocations: 8.297 MB / 1.7 GB, free: 12.04 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002738/1.799, allocations: 2.377 MB / 1.702 GB, free: 9.629 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.004255/1.804, allocations: 1.303 MB / 1.704 GB, free: 8.32 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005357/1.804, allocations: 131.3 kB / 1.704 GB, free: 8.191 MB / 1.01 GB Notification: Performance of SimCode: time 1.393e-06/1.804, allocations: 3.938 kB / 1.704 GB, free: 8.188 MB / 1.01 GB Notification: Performance of Templates: time 0.05302/1.857, allocations: 29.42 MB / 1.732 GB, free: 10.86 MB / 1.042 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpDY.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpDY.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpDY.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpDY.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpDY.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpDY -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpDY.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpDY_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerStepUpDY.csv","../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpDY.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches