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.TransformerStepUpDY.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.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_maint.7.0.x_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_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpDY") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.482/1.482, allocations: 249.3 MB / 261.8 MB, free: 5.973 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009813/0.0009814, allocations: 184.7 kB / 321.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.339/1.339, allocations: 205.2 MB / 0.572 GB, free: 10.67 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.001075/0.001075, allocations: 98.45 kB / 0.6764 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.136e-05/3.14e-05, allocations: 7.984 kB / 0.788 GB, free: 97.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2036/0.2037, allocations: 106.3 MB / 0.8918 GB, free: 6.672 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7309/0.9346, allocations: 181.2 MB / 1.069 GB, free: 3.758 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002921/0.935, allocations: 100.1 kB / 1.069 GB, free: 3.703 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.2437/1.179, allocations: 105.9 MB / 1.172 GB, free: 15.2 MB / 0.7917 GB Notification: Performance of FrontEnd: time 3.657e-06/1.179, allocations: 3.984 kB / 1.172 GB, free: 15.2 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 8.956e-05/1.179, allocations: 60 kB / 1.172 GB, free: 15.14 MB / 0.7917 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.005705/1.185, allocations: 2.43 MB / 1.175 GB, free: 12.66 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.737e-05/1.185, allocations: 8.031 kB / 1.175 GB, free: 12.65 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01165/1.196, allocations: 1.908 MB / 1.177 GB, free: 10.73 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004274/1.201, allocations: 1.725 MB / 1.178 GB, free: 8.965 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001624/1.201, allocations: 222.1 kB / 1.178 GB, free: 8.746 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007665/1.202, allocations: 296 kB / 1.179 GB, free: 8.457 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009264/1.211, allocations: 4.937 MB / 1.184 GB, free: 3.426 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.161e-05/1.211, allocations: 7.938 kB / 1.184 GB, free: 3.418 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003577/1.211, allocations: 120 kB / 1.184 GB, free: 3.301 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003206/1.212, allocations: 208.9 kB / 1.184 GB, free: 3.094 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008049/1.22, allocations: 4.5 MB / 1.188 GB, free: 14.58 MB / 0.8073 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.02795/1.248, allocations: 22.76 MB / 1.21 GB, free: 5.809 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002727/1.25, allocations: 2.024 MB / 1.212 GB, free: 3.668 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002052/1.252, allocations: 1.347 MB / 1.214 GB, free: 2.301 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002112/1.253, allocations: 118 kB / 1.214 GB, free: 2.164 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.028e-05/1.253, allocations: 51.5 kB / 1.214 GB, free: 2.105 MB / 0.823 GB Notification: Performance of pre-optimization done (n=123): time 3.917e-06/1.253, allocations: 4 kB / 1.214 GB, free: 2.102 MB / 0.823 GB Notification: Performance of matching and sorting (n=153): time 0.02635/1.279, allocations: 8.888 MB / 1.223 GB, free: 9.164 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001147/1.279, allocations: 222.9 kB / 1.223 GB, free: 8.895 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001444/1.281, allocations: 0.9566 MB / 1.224 GB, free: 7.93 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.000168/1.281, allocations: 49.7 kB / 1.224 GB, free: 7.875 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007889/1.282, allocations: 1.258 MB / 1.225 GB, free: 6.598 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.000545/1.282, allocations: 0.5238 MB / 1.226 GB, free: 6.066 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001431/1.282, allocations: 44.03 kB / 1.226 GB, free: 6.023 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002331/1.283, allocations: 435.1 kB / 1.226 GB, free: 5.59 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002014/1.285, allocations: 1.312 MB / 1.227 GB, free: 4.273 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00238/1.287, allocations: 1.986 MB / 1.229 GB, free: 1.984 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002309/1.289, allocations: 1.653 MB / 1.231 GB, free: 340 kB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.888e-06/1.289, allocations: 8 kB / 1.231 GB, free: 332 kB / 0.8386 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.006984/1.296, allocations: 4.109 MB / 1.235 GB, free: 12.19 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.003034/1.299, allocations: 8.439 MB / 1.243 GB, free: 3.086 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.458e-05/1.3, allocations: 27.95 kB / 1.243 GB, free: 3.059 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002074/1.302, allocations: 0.7348 MB / 1.244 GB, free: 2.305 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003639/1.305, allocations: 0.7798 MB / 1.245 GB, free: 1.523 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01271/1.318, allocations: 12.46 MB / 1.257 GB, free: 4.262 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003648/1.322, allocations: 471 kB / 1.257 GB, free: 3.801 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003446/1.322, allocations: 119.9 kB / 1.257 GB, free: 3.684 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/1.322, allocations: 4.781 kB / 1.257 GB, free: 3.68 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.5564/1.878, allocations: 3.959 MB / 1.261 GB, free: 245.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001027/1.879, allocations: 21.41 kB / 1.261 GB, free: 245.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002065/1.881, allocations: 0.6832 MB / 1.262 GB, free: 245.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004075/1.885, allocations: 0.7751 MB / 1.263 GB, free: 245.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01233/1.897, allocations: 12.34 MB / 1.275 GB, free: 238.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003852/1.901, allocations: 452.6 kB / 1.275 GB, free: 238.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004432/1.901, allocations: 110.3 kB / 1.275 GB, free: 238.5 MB / 0.8698 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.0006583/1.902, allocations: 240.9 kB / 1.275 GB, free: 238.4 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004608/1.903, allocations: 121.1 kB / 1.276 GB, free: 238.4 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007316/1.91, allocations: 3.588 MB / 1.279 GB, free: 238.1 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.694e-05/1.91, allocations: 16.44 kB / 1.279 GB, free: 238.1 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.82e-05/1.91, allocations: 12.48 kB / 1.279 GB, free: 238.1 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.453e-05/1.91, allocations: 7.984 kB / 1.279 GB, free: 238.1 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01299/1.923, allocations: 7.256 MB / 1.286 GB, free: 237 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.567e-05/1.923, allocations: 8.844 kB / 1.286 GB, free: 237 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002748/1.926, allocations: 0.5249 MB / 1.287 GB, free: 237 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001916/1.928, allocations: 0.6342 MB / 1.287 GB, free: 237 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001796/1.928, allocations: 51.95 kB / 1.287 GB, free: 237 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01139/1.939, allocations: 12.01 MB / 1.299 GB, free: 229.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.028e-05/1.939, allocations: 10.94 kB / 1.299 GB, free: 229.5 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006008/1.945, allocations: 3.639 MB / 1.303 GB, free: 228.3 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001112/1.947, allocations: 0.5011 MB / 1.303 GB, free: 228.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002084/1.947, allocations: 35.28 kB / 1.303 GB, free: 228.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002676/1.949, allocations: 397.9 kB / 1.304 GB, free: 228.1 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003581/1.95, allocations: 141.4 kB / 1.304 GB, free: 228.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001736/1.95, allocations: 61.52 kB / 1.304 GB, free: 228.1 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001148/1.951, allocations: 0.7529 MB / 1.305 GB, free: 228 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.6e-07/1.951, allocations: 0 / 1.305 GB, free: 228 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.004634/1.956, allocations: 1.196 MB / 1.306 GB, free: 228 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (107): * Single equations (assignments): 101 * 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.0003531/1.956, allocations: 168.1 kB / 1.306 GB, free: 227.9 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.012/1.968, allocations: 6.736 MB / 1.312 GB, free: 226.5 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.17e-05/1.968, allocations: 1 kB / 1.312 GB, free: 226.5 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.003733/1.972, allocations: 2.238 MB / 1.315 GB, free: 225.8 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001276/1.973, allocations: 151.4 kB / 1.315 GB, free: 225.7 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01747/1.991, allocations: 5.931 MB / 1.321 GB, free: 223.9 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002547/1.993, allocations: 2.381 MB / 1.323 GB, free: 222.8 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.00419/1.998, allocations: 1.327 MB / 1.324 GB, free: 222.8 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005288/1.998, allocations: 131.5 kB / 1.324 GB, free: 222.8 MB / 0.8698 GB Notification: Performance of SimCode: time 1.673e-06/1.998, allocations: 0 / 1.324 GB, free: 222.8 MB / 0.8698 GB Notification: Performance of Templates: time 0.04287/2.041, allocations: 30.17 MB / 1.354 GB, free: 221.5 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpDY.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpDY.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpDY.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpDY.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpDY.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpDY -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpDY.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpDY_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerStepUpDY.csv","../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpDY.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches