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.TransformerStepDownYD.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.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_maint.7.0.x_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_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.426/1.426, allocations: 251.9 MB / 266.9 MB, free: 11 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.001142/0.001142, allocations: 180.1 kB / 326.5 MB, free: 2.25 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.971/1.971, allocations: 205.4 MB / 0.5775 GB, free: 20.25 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.0009775/0.0009774, allocations: 99.09 kB / 0.6821 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004139/0.0004139, allocations: 12.53 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2507/0.2512, allocations: 106.3 MB / 0.9001 GB, free: 63.96 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8172/1.068, allocations: 181.3 MB / 1.077 GB, free: 65.29 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003437/1.069, allocations: 103.9 kB / 1.077 GB, free: 65.29 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.2248/1.294, allocations: 102.7 MB / 1.178 GB, free: 31.24 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.565e-06/1.294, allocations: 0 / 1.178 GB, free: 31.24 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001382/1.294, allocations: 54.41 kB / 1.178 GB, free: 31.24 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.01045/1.304, allocations: 2.418 MB / 1.18 GB, free: 29.8 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.765e-05/1.304, allocations: 9.625 kB / 1.18 GB, free: 29.8 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01141/1.316, allocations: 1.898 MB / 1.182 GB, free: 28.95 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004704/1.32, allocations: 1.666 MB / 1.183 GB, free: 27.71 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000206/1.321, allocations: 216.7 kB / 1.184 GB, free: 27.58 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001502/1.322, allocations: 279.7 kB / 1.184 GB, free: 27.39 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01275/1.335, allocations: 5.235 MB / 1.189 GB, free: 23.67 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.9e-05/1.335, allocations: 3.938 kB / 1.189 GB, free: 23.66 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003717/1.335, allocations: 119.7 kB / 1.189 GB, free: 23.63 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002765/1.336, allocations: 203.6 kB / 1.189 GB, free: 23.45 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0119/1.348, allocations: 5.365 MB / 1.195 GB, free: 19.66 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02509/1.373, allocations: 22.48 MB / 1.217 GB, free: 11.14 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005675/1.379, allocations: 2.99 MB / 1.219 GB, free: 7.98 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002123/1.379, allocations: 126 kB / 1.22 GB, free: 7.84 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.582e-05/1.379, allocations: 51.52 kB / 1.22 GB, free: 7.781 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=132): time 3.828e-06/1.379, allocations: 0 / 1.22 GB, free: 7.781 MB / 0.7136 GB Notification: Performance of matching and sorting (n=174): time 0.04111/1.42, allocations: 12.96 MB / 1.232 GB, free: 10.78 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001189/1.42, allocations: 231 kB / 1.232 GB, free: 10.5 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001331/1.421, allocations: 0.8663 MB / 1.233 GB, free: 9.633 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0002604/1.422, allocations: 53.7 kB / 1.233 GB, free: 9.574 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.000746/1.423, allocations: 1.15 MB / 1.235 GB, free: 8.406 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006098/1.423, allocations: 0.5969 MB / 1.235 GB, free: 7.801 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001563/1.423, allocations: 44 kB / 1.235 GB, free: 7.758 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0002163/1.424, allocations: 423.2 kB / 1.236 GB, free: 7.336 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004396/1.428, allocations: 1.85 MB / 1.237 GB, free: 5.48 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00486/1.433, allocations: 2.423 MB / 1.24 GB, free: 2.809 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004735/1.438, allocations: 2.149 MB / 1.242 GB, free: 0.6602 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.341e-05/1.438, allocations: 8 kB / 1.242 GB, free: 0.6523 MB / 0.7292 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.01206/1.45, allocations: 5.302 MB / 1.247 GB, free: 11.33 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.003286/1.453, allocations: 6.883 MB / 1.254 GB, free: 3.914 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-05/1.453, allocations: 16.19 kB / 1.254 GB, free: 3.898 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002729/1.456, allocations: 1.079 MB / 1.255 GB, free: 2.812 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003576/1.459, allocations: 0.7448 MB / 1.256 GB, free: 2.066 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01364/1.473, allocations: 10.62 MB / 1.266 GB, free: 7.18 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003645/1.477, allocations: 463.1 kB / 1.266 GB, free: 6.727 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003679/1.477, allocations: 108 kB / 1.266 GB, free: 6.621 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/1.477, allocations: 4 kB / 1.266 GB, free: 6.617 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01195/1.489, allocations: 5.169 MB / 1.271 GB, free: 1.438 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.888e-05/1.489, allocations: 16 kB / 1.271 GB, free: 1.422 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002126/1.491, allocations: 0.8887 MB / 1.272 GB, free: 0.5273 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003373/1.495, allocations: 0.7333 MB / 1.273 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01308/1.508, allocations: 10.55 MB / 1.283 GB, free: 4.969 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00363/1.512, allocations: 455.1 kB / 1.284 GB, free: 4.523 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003793/1.512, allocations: 104 kB / 1.284 GB, free: 4.422 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.003013/1.515, allocations: 1.281 MB / 1.285 GB, free: 3.129 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005107/1.515, allocations: 118.6 kB / 1.285 GB, free: 3.012 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01165/1.527, allocations: 4.918 MB / 1.29 GB, free: 14.05 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.824e-05/1.527, allocations: 16 kB / 1.29 GB, free: 14.04 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.678e-05/1.527, allocations: 12 kB / 1.29 GB, free: 14.02 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.443e-05/1.527, allocations: 20 kB / 1.29 GB, free: 14 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01881/1.546, allocations: 8.684 MB / 1.299 GB, free: 5.164 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.915e-05/1.546, allocations: 8 kB / 1.299 GB, free: 5.156 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002543/1.549, allocations: 0.5225 MB / 1.299 GB, free: 4.633 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00221/1.551, allocations: 0.8836 MB / 1.3 GB, free: 3.742 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001848/1.551, allocations: 59.95 kB / 1.3 GB, free: 3.684 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01343/1.565, allocations: 10.14 MB / 1.31 GB, free: 9.273 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.088e-05/1.565, allocations: 11.94 kB / 1.31 GB, free: 9.262 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01196/1.577, allocations: 4.992 MB / 1.315 GB, free: 4 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001587/1.578, allocations: 0.5227 MB / 1.315 GB, free: 3.457 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002332/1.579, allocations: 39.98 kB / 1.315 GB, free: 3.418 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002511/1.581, allocations: 395.4 kB / 1.316 GB, free: 3.031 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004247/1.581, allocations: 152.9 kB / 1.316 GB, free: 2.883 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000175/1.582, allocations: 71.95 kB / 1.316 GB, free: 2.812 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.001155/1.583, allocations: 0.6786 MB / 1.317 GB, free: 2.137 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1.1e-07/1.583, allocations: 0 / 1.317 GB, free: 2.137 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.004959/1.588, allocations: 1.234 MB / 1.318 GB, free: 0.9023 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.0004205/1.588, allocations: 159 kB / 1.318 GB, free: 0.7344 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.01918/1.607, allocations: 7.937 MB / 1.326 GB, free: 8.758 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.204e-05/1.607, allocations: 4.25 kB / 1.326 GB, free: 8.754 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.006091/1.614, allocations: 2.601 MB / 1.328 GB, free: 6.125 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001233/1.615, allocations: 161.4 kB / 1.328 GB, free: 5.973 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02087/1.636, allocations: 8.26 MB / 1.337 GB, free: 13.6 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002814/1.639, allocations: 2.347 MB / 1.339 GB, free: 11.21 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.004118/1.643, allocations: 1.234 MB / 1.34 GB, free: 9.977 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005466/1.643, allocations: 123.3 kB / 1.34 GB, free: 9.859 MB / 0.8386 GB Notification: Performance of SimCode: time 1.412e-06/1.643, allocations: 3.938 kB / 1.34 GB, free: 9.855 MB / 0.8386 GB Notification: Performance of Templates: time 0.05727/1.701, allocations: 33.07 MB / 1.372 GB, free: 8.805 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerStepDownYD.csv","../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches