Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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_maint.7.0.x_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_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.473/1.473, allocations: 251.9 MB / 266.9 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001121/0.00112, allocations: 184.2 kB / 326.5 MB, free: 2.258 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.97/1.97, allocations: 205.4 MB / 0.5775 GB, free: 20.55 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001006/0.001006, allocations: 95.14 kB / 0.6821 GB, free: 13.36 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003357/0.0003358, allocations: 12.47 kB / 0.7963 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2423/0.2427, allocations: 106.3 MB / 0.9001 GB, free: 64.45 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8217/1.064, allocations: 181.3 MB / 1.077 GB, free: 65.59 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002843/1.065, allocations: 101.7 kB / 1.077 GB, free: 65.59 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.3168/1.382, allocations: 102.8 MB / 1.178 GB, free: 31.59 MB / 0.698 GB Notification: Performance of FrontEnd: time 4.308e-06/1.382, allocations: 0 / 1.178 GB, free: 31.59 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001284/1.382, allocations: 57.72 kB / 1.178 GB, free: 31.59 MB / 0.698 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.01055/1.392, allocations: 2.41 MB / 1.18 GB, free: 30.15 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.888e-05/1.392, allocations: 11.8 kB / 1.18 GB, free: 30.15 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01739/1.41, allocations: 1.888 MB / 1.182 GB, free: 29.02 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005739/1.416, allocations: 1.67 MB / 1.183 GB, free: 27.76 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003155/1.416, allocations: 219.8 kB / 1.184 GB, free: 27.63 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001851/1.418, allocations: 276.9 kB / 1.184 GB, free: 27.45 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01987/1.438, allocations: 5.241 MB / 1.189 GB, free: 23.71 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.697e-05/1.438, allocations: 4 kB / 1.189 GB, free: 23.7 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006456/1.439, allocations: 116 kB / 1.189 GB, free: 23.68 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004412/1.439, allocations: 198.1 kB / 1.189 GB, free: 23.49 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02071/1.46, allocations: 5.37 MB / 1.195 GB, free: 19.7 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03848/1.498, allocations: 22.48 MB / 1.217 GB, free: 11.31 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007986/1.506, allocations: 2.986 MB / 1.22 GB, free: 8.152 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003055/1.507, allocations: 118.1 kB / 1.22 GB, free: 8.02 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.931e-05/1.507, allocations: 59.44 kB / 1.22 GB, free: 7.953 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=132): time 4.028e-06/1.507, allocations: 0 / 1.22 GB, free: 7.953 MB / 0.7136 GB Notification: Performance of matching and sorting (n=174): time 0.04148/1.548, allocations: 12.96 MB / 1.232 GB, free: 10.95 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001233/1.548, allocations: 234.9 kB / 1.233 GB, free: 10.68 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001369/1.55, allocations: 0.8624 MB / 1.233 GB, free: 9.809 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0003326/1.55, allocations: 49.7 kB / 1.233 GB, free: 9.754 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007815/1.551, allocations: 1.15 MB / 1.235 GB, free: 8.59 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006945/1.552, allocations: 0.593 MB / 1.235 GB, free: 7.988 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001591/1.552, allocations: 44 kB / 1.235 GB, free: 7.945 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0002438/1.552, allocations: 431.2 kB / 1.236 GB, free: 7.516 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004574/1.557, allocations: 1.843 MB / 1.237 GB, free: 5.668 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00502/1.562, allocations: 2.423 MB / 1.24 GB, free: 2.996 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004962/1.567, allocations: 2.156 MB / 1.242 GB, free: 0.8398 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.534e-05/1.567, allocations: 4 kB / 1.242 GB, free: 0.8359 MB / 0.7292 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.01334/1.58, allocations: 5.306 MB / 1.247 GB, free: 11.51 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.002705/1.583, allocations: 6.883 MB / 1.254 GB, free: 4.094 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.844e-05/1.583, allocations: 16 kB / 1.254 GB, free: 4.078 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002591/1.585, allocations: 1.083 MB / 1.255 GB, free: 2.988 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003578/1.589, allocations: 0.7331 MB / 1.256 GB, free: 2.254 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01451/1.604, allocations: 10.59 MB / 1.266 GB, free: 7.387 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003319/1.607, allocations: 459.1 kB / 1.266 GB, free: 6.938 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003766/1.607, allocations: 111.9 kB / 1.266 GB, free: 6.828 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.214e-05/1.607, allocations: 4 kB / 1.266 GB, free: 6.824 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01175/1.619, allocations: 5.173 MB / 1.272 GB, free: 1.641 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.241e-05/1.619, allocations: 16 kB / 1.272 GB, free: 1.625 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002125/1.621, allocations: 0.8848 MB / 1.272 GB, free: 0.7344 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003425/1.625, allocations: 0.741 MB / 1.273 GB, free: 15.99 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01324/1.638, allocations: 10.54 MB / 1.283 GB, free: 5.176 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00335/1.641, allocations: 443.2 kB / 1.284 GB, free: 4.742 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000287/1.642, allocations: 115.9 kB / 1.284 GB, free: 4.629 MB / 0.7761 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.002622/1.644, allocations: 1.269 MB / 1.285 GB, free: 3.348 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000421/1.645, allocations: 126.6 kB / 1.285 GB, free: 3.223 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0116/1.656, allocations: 4.922 MB / 1.29 GB, free: 14.26 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.619e-05/1.656, allocations: 27.94 kB / 1.29 GB, free: 14.23 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.86e-05/1.656, allocations: 12 kB / 1.29 GB, free: 14.22 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.167e-05/1.656, allocations: 7.969 kB / 1.29 GB, free: 14.21 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01952/1.676, allocations: 8.676 MB / 1.299 GB, free: 5.379 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.078e-05/1.676, allocations: 4 kB / 1.299 GB, free: 5.375 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003158/1.679, allocations: 0.5264 MB / 1.299 GB, free: 4.848 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002424/1.682, allocations: 0.8877 MB / 1.3 GB, free: 3.953 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002636/1.682, allocations: 55.95 kB / 1.3 GB, free: 3.898 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01295/1.695, allocations: 10.12 MB / 1.31 GB, free: 9.5 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.216e-06/1.695, allocations: 12 kB / 1.31 GB, free: 9.488 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01101/1.706, allocations: 4.988 MB / 1.315 GB, free: 4.23 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001267/1.707, allocations: 0.5266 MB / 1.315 GB, free: 3.684 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002184/1.708, allocations: 39.98 kB / 1.315 GB, free: 3.645 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002329/1.71, allocations: 395.4 kB / 1.316 GB, free: 3.258 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003641/1.71, allocations: 149 kB / 1.316 GB, free: 3.113 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001593/1.71, allocations: 67.95 kB / 1.316 GB, free: 3.047 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.001024/1.711, allocations: 0.6708 MB / 1.317 GB, free: 2.379 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1.3e-07/1.711, allocations: 0 / 1.317 GB, free: 2.379 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.004473/1.716, allocations: 1.242 MB / 1.318 GB, free: 1.137 MB / 0.8073 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.0003282/1.716, allocations: 164.8 kB / 1.318 GB, free: 0.9688 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.01758/1.734, allocations: 7.945 MB / 1.326 GB, free: 8.98 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 9.909e-06/1.734, allocations: 0 / 1.326 GB, free: 8.98 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.005643/1.74, allocations: 2.601 MB / 1.328 GB, free: 6.352 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001025/1.741, allocations: 153 kB / 1.328 GB, free: 6.211 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01948/1.76, allocations: 8.259 MB / 1.336 GB, free: 13.84 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002497/1.763, allocations: 2.351 MB / 1.339 GB, free: 11.45 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.003843/1.766, allocations: 1.234 MB / 1.34 GB, free: 10.21 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000499/1.767, allocations: 123.3 kB / 1.34 GB, free: 10.09 MB / 0.8386 GB Notification: Performance of SimCode: time 1.062e-06/1.767, allocations: 0 / 1.34 GB, free: 10.09 MB / 0.8386 GB Notification: Performance of Templates: time 0.05503/1.822, allocations: 33.05 MB / 1.372 GB, free: 9.055 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerStepUpYD.csv","../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches