Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD.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.TransformerStepUpYD,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.TransformerStepUpYD") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD,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.TransformerStepUpYD") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.567/2.567, allocations: 393.5 MB / 408.4 MB, free: 11.04 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.001172/0.001173, allocations: 186.8 kB / 0.4902 GB, free: 2.246 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.661/1.661, allocations: 223.2 MB / 0.7992 GB, free: 15.61 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.001159/0.001159, allocations: 92.2 kB / 0.9396 GB, free: 2.816 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003585/0.0003585, allocations: 9.125 kB / 1.09 GB, free: 212.9 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2948/0.2952, allocations: 143 MB / 1.229 GB, free: 85.44 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8925/1.188, allocations: 199.9 MB / 1.424 GB, free: 71.96 MB / 0.9011 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004199/1.188, allocations: 101.6 kB / 1.425 GB, free: 71.96 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 0.25/1.438, allocations: 110.2 MB / 1.532 GB, free: 38.01 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.805e-06/1.438, allocations: 3.219 kB / 1.532 GB, free: 38.01 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.0001562/1.438, allocations: 53.12 kB / 1.532 GB, free: 38.01 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: 769 * Number of variables: 769 Notification: Performance of Generate backend data structure: time 0.009704/1.448, allocations: 2.402 MB / 1.535 GB, free: 36.58 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 5.275e-05/1.448, allocations: 8.516 kB / 1.535 GB, free: 36.58 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01173/1.46, allocations: 1.894 MB / 1.536 GB, free: 35.73 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005072/1.465, allocations: 1.663 MB / 1.538 GB, free: 35.12 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002378/1.465, allocations: 217.6 kB / 1.538 GB, free: 35.1 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001689/1.467, allocations: 282.5 kB / 1.539 GB, free: 35.1 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01651/1.484, allocations: 5.238 MB / 1.544 GB, free: 33.64 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001431/1.484, allocations: 0 / 1.544 GB, free: 33.64 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001249/1.485, allocations: 121.9 kB / 1.544 GB, free: 33.63 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003392/1.485, allocations: 194.9 kB / 1.544 GB, free: 33.59 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01436/1.5, allocations: 5.366 MB / 1.549 GB, free: 32.47 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03198/1.532, allocations: 22.5 MB / 1.571 GB, free: 14.39 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005456/1.537, allocations: 2.985 MB / 1.574 GB, free: 11.93 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002128/1.538, allocations: 118.9 kB / 1.574 GB, free: 11.8 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.354e-05/1.538, allocations: 60.42 kB / 1.574 GB, free: 11.74 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=132): time 3.576e-06/1.538, allocations: 0 / 1.574 GB, free: 11.74 MB / 0.9011 GB Notification: Performance of matching and sorting (n=174): time 0.04034/1.578, allocations: 12.94 MB / 1.587 GB, free: 312 kB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.977e-05/1.578, allocations: 230.9 kB / 1.587 GB, free: 28 kB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001467/1.58, allocations: 0.8586 MB / 1.588 GB, free: 15.16 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0003639/1.58, allocations: 57.73 kB / 1.588 GB, free: 15.09 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008442/1.581, allocations: 1.158 MB / 1.589 GB, free: 13.92 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007768/1.582, allocations: 0.5853 MB / 1.59 GB, free: 13.33 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001609/1.582, allocations: 44 kB / 1.59 GB, free: 13.29 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0002506/1.582, allocations: 427.2 kB / 1.59 GB, free: 12.86 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004653/1.587, allocations: 1.846 MB / 1.592 GB, free: 11.01 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005106/1.592, allocations: 2.423 MB / 1.594 GB, free: 8.336 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004977/1.597, allocations: 2.156 MB / 1.596 GB, free: 6.184 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.36e-05/1.597, allocations: 4 kB / 1.596 GB, free: 6.18 MB / 0.9167 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.01303/1.61, allocations: 5.306 MB / 1.602 GB, free: 0.8555 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.003494/1.613, allocations: 6.882 MB / 1.608 GB, free: 9.434 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.825e-05/1.613, allocations: 19.94 kB / 1.608 GB, free: 9.414 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002672/1.616, allocations: 1.082 MB / 1.609 GB, free: 8.324 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003547/1.62, allocations: 0.7331 MB / 1.61 GB, free: 7.59 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01403/1.634, allocations: 10.6 MB / 1.62 GB, free: 12.72 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003436/1.637, allocations: 467 kB / 1.621 GB, free: 12.26 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005607/1.638, allocations: 107.9 kB / 1.621 GB, free: 12.16 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/1.638, allocations: 5.094 kB / 1.621 GB, free: 12.15 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01227/1.65, allocations: 5.169 MB / 1.626 GB, free: 6.973 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.195e-05/1.65, allocations: 20 kB / 1.626 GB, free: 6.953 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002141/1.652, allocations: 0.8798 MB / 1.627 GB, free: 6.066 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003593/1.656, allocations: 0.7332 MB / 1.628 GB, free: 5.332 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.014/1.67, allocations: 10.55 MB / 1.638 GB, free: 10.51 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003308/1.673, allocations: 447.3 kB / 1.638 GB, free: 10.07 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006135/1.674, allocations: 115.9 kB / 1.638 GB, free: 9.961 MB / 0.9636 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 () * Number of clocked 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.00358/1.678, allocations: 1.278 MB / 1.64 GB, free: 8.672 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008026/1.678, allocations: 118.6 kB / 1.64 GB, free: 8.555 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01241/1.691, allocations: 4.922 MB / 1.645 GB, free: 3.59 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.629e-05/1.691, allocations: 16 kB / 1.645 GB, free: 3.574 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.952e-05/1.691, allocations: 12 kB / 1.645 GB, free: 3.562 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.583e-05/1.691, allocations: 11.97 kB / 1.645 GB, free: 3.551 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01927/1.71, allocations: 8.671 MB / 1.653 GB, free: 10.72 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-05/1.71, allocations: 15.88 kB / 1.653 GB, free: 10.71 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002588/1.713, allocations: 0.5311 MB / 1.654 GB, free: 10.18 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002318/1.715, allocations: 0.881 MB / 1.655 GB, free: 9.289 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003203/1.716, allocations: 51.95 kB / 1.655 GB, free: 9.238 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01401/1.73, allocations: 10.12 MB / 1.664 GB, free: 14.85 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.708e-06/1.73, allocations: 8 kB / 1.664 GB, free: 14.84 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01123/1.741, allocations: 4.996 MB / 1.669 GB, free: 9.574 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001381/1.742, allocations: 0.5188 MB / 1.67 GB, free: 9.035 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004427/1.743, allocations: 43.98 kB / 1.67 GB, free: 8.992 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002661/1.745, allocations: 399.3 kB / 1.67 GB, free: 8.602 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004998/1.746, allocations: 153 kB / 1.67 GB, free: 8.453 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000199/1.746, allocations: 67.95 kB / 1.671 GB, free: 8.387 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.001348/1.748, allocations: 0.6708 MB / 1.671 GB, free: 7.719 MB / 0.9948 GB Notification: Performance of sort global known variables: time 2.9e-07/1.748, allocations: 0 / 1.671 GB, free: 7.719 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.006305/1.754, allocations: 1.234 MB / 1.672 GB, free: 6.484 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 (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.000498/1.754, allocations: 162.9 kB / 1.673 GB, free: 6.312 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.01886/1.773, allocations: 7.937 MB / 1.68 GB, free: 14.32 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.244e-05/1.773, allocations: 0 / 1.68 GB, free: 14.32 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.00643/1.78, allocations: 2.605 MB / 1.683 GB, free: 11.7 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001441/1.781, allocations: 148.5 kB / 1.683 GB, free: 11.56 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02403/1.805, allocations: 8.274 MB / 1.691 GB, free: 3.168 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004498/1.81, allocations: 2.351 MB / 1.693 GB, free: 0.7812 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.007606/1.817, allocations: 1.229 MB / 1.695 GB, free: 15.55 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001013/1.819, allocations: 123.3 kB / 1.695 GB, free: 15.43 MB / 1.026 GB Notification: Performance of SimCode: time 1.303e-06/1.819, allocations: 0 / 1.695 GB, free: 15.43 MB / 1.026 GB Notification: Performance of Templates: time 0.08994/1.909, allocations: 33.07 MB / 1.727 GB, free: 14.47 MB / 1.057 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerStepUpYD.csv","../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches