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.TransformerStepDownDY.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.TransformerStepDownDY,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.TransformerStepDownDY") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY,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.TransformerStepDownDY") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.397/1.397, allocations: 249.3 MB / 261.8 MB, free: 5.863 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.001083/0.001083, allocations: 184.9 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.416/1.416, allocations: 205.2 MB / 0.572 GB, free: 10.73 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.0008526/0.0008528, allocations: 90.45 kB / 0.6764 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 2.956e-05/2.959e-05, allocations: 4 kB / 0.788 GB, free: 97.12 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2168/0.2169, allocations: 106.3 MB / 0.8918 GB, free: 6.688 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7665/0.9834, allocations: 181.2 MB / 1.069 GB, free: 3.848 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002659/0.9837, allocations: 100.7 kB / 1.069 GB, free: 3.793 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.2493/1.233, allocations: 105.8 MB / 1.172 GB, free: 15.27 MB / 0.7917 GB Notification: Performance of FrontEnd: time 2.655e-06/1.233, allocations: 0 / 1.172 GB, free: 15.27 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 0.0001006/1.233, allocations: 59.98 kB / 1.172 GB, free: 15.21 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.006209/1.239, allocations: 2.424 MB / 1.175 GB, free: 12.74 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.716e-05/1.239, allocations: 8.031 kB / 1.175 GB, free: 12.73 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01191/1.251, allocations: 1.92 MB / 1.177 GB, free: 10.8 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004638/1.256, allocations: 1.713 MB / 1.178 GB, free: 9.047 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001822/1.256, allocations: 222.1 kB / 1.178 GB, free: 8.828 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009309/1.257, allocations: 304 kB / 1.179 GB, free: 8.531 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01008/1.267, allocations: 4.93 MB / 1.183 GB, free: 3.504 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.505e-05/1.267, allocations: 8 kB / 1.184 GB, free: 3.496 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003741/1.268, allocations: 123.9 kB / 1.184 GB, free: 3.375 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003258/1.268, allocations: 205 kB / 1.184 GB, free: 3.172 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007956/1.276, allocations: 4.501 MB / 1.188 GB, free: 14.66 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.03207/1.308, allocations: 22.78 MB / 1.21 GB, free: 5.859 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002782/1.311, allocations: 2.022 MB / 1.212 GB, free: 3.723 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002015/1.313, allocations: 1.331 MB / 1.214 GB, free: 2.375 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001957/1.313, allocations: 122 kB / 1.214 GB, free: 2.234 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.621e-05/1.313, allocations: 51.5 kB / 1.214 GB, free: 2.176 MB / 0.823 GB Notification: Performance of pre-optimization done (n=123): time 3.617e-06/1.313, allocations: 0 / 1.214 GB, free: 2.176 MB / 0.823 GB Notification: Performance of matching and sorting (n=153): time 0.02604/1.339, allocations: 8.884 MB / 1.223 GB, free: 9.242 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000114/1.339, allocations: 231 kB / 1.223 GB, free: 8.969 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001419/1.341, allocations: 0.9527 MB / 1.224 GB, free: 8.008 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.000237/1.341, allocations: 53.7 kB / 1.224 GB, free: 7.949 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008304/1.342, allocations: 1.258 MB / 1.225 GB, free: 6.672 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005667/1.343, allocations: 0.5277 MB / 1.226 GB, free: 6.137 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001445/1.343, allocations: 40 kB / 1.226 GB, free: 6.098 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002349/1.343, allocations: 435.1 kB / 1.226 GB, free: 5.664 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001989/1.345, allocations: 1.312 MB / 1.227 GB, free: 4.348 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002386/1.347, allocations: 1.982 MB / 1.229 GB, free: 2.062 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002278/1.35, allocations: 1.653 MB / 1.231 GB, free: 420 kB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.163e-05/1.35, allocations: 4 kB / 1.231 GB, free: 416 kB / 0.8386 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.007074/1.357, allocations: 4.113 MB / 1.235 GB, free: 12.27 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.003586/1.36, allocations: 8.439 MB / 1.243 GB, free: 3.164 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.657e-05/1.36, allocations: 23.95 kB / 1.243 GB, free: 3.141 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002261/1.363, allocations: 0.7309 MB / 1.244 GB, free: 2.391 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003917/1.367, allocations: 0.7799 MB / 1.245 GB, free: 1.609 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01339/1.38, allocations: 12.47 MB / 1.257 GB, free: 4.336 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003541/1.384, allocations: 471 kB / 1.257 GB, free: 3.875 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003563/1.384, allocations: 112 kB / 1.257 GB, free: 3.766 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.183e-05/1.384, allocations: 4 kB / 1.257 GB, free: 3.762 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.4907/1.875, allocations: 3.97 MB / 1.261 GB, free: 246.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000106/1.875, allocations: 21.56 kB / 1.261 GB, free: 246.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002074/1.877, allocations: 0.6828 MB / 1.262 GB, free: 246.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003934/1.881, allocations: 0.7729 MB / 1.263 GB, free: 246.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01119/1.892, allocations: 12.34 MB / 1.275 GB, free: 238.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003857/1.896, allocations: 449.3 kB / 1.275 GB, free: 238.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004834/1.897, allocations: 119.8 kB / 1.275 GB, free: 238.8 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.0005818/1.897, allocations: 239 kB / 1.275 GB, free: 238.7 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005153/1.898, allocations: 121.4 kB / 1.276 GB, free: 238.7 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007454/1.905, allocations: 3.596 MB / 1.279 GB, free: 238.4 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.392e-05/1.905, allocations: 16.16 kB / 1.279 GB, free: 238.4 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.712e-05/1.905, allocations: 7.531 kB / 1.279 GB, free: 238.4 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.247e-05/1.905, allocations: 10.06 kB / 1.279 GB, free: 238.4 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01306/1.918, allocations: 7.242 MB / 1.286 GB, free: 237.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.891e-05/1.918, allocations: 8.094 kB / 1.286 GB, free: 237.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002731/1.921, allocations: 0.5313 MB / 1.287 GB, free: 237.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001821/1.923, allocations: 0.6316 MB / 1.287 GB, free: 237.3 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001585/1.923, allocations: 50.72 kB / 1.287 GB, free: 237.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01191/1.935, allocations: 12.01 MB / 1.299 GB, free: 229.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.418e-05/1.935, allocations: 17.88 kB / 1.299 GB, free: 229.8 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006501/1.942, allocations: 3.639 MB / 1.303 GB, free: 228.6 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001182/1.943, allocations: 0.5023 MB / 1.303 GB, free: 228.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002175/1.943, allocations: 32.36 kB / 1.303 GB, free: 228.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002683/1.946, allocations: 398.5 kB / 1.304 GB, free: 228.4 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003636/1.946, allocations: 137 kB / 1.304 GB, free: 228.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001431/1.946, allocations: 59.98 kB / 1.304 GB, free: 228.4 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001111/1.947, allocations: 0.7564 MB / 1.304 GB, free: 228.3 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.4e-07/1.947, allocations: 0 / 1.304 GB, free: 228.3 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.004637/1.952, allocations: 1.196 MB / 1.306 GB, free: 228.3 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.0003596/1.952, allocations: 156.3 kB / 1.306 GB, free: 228.2 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.01146/1.964, allocations: 6.742 MB / 1.312 GB, free: 226.8 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.202e-05/1.964, allocations: 4.25 kB / 1.312 GB, free: 226.8 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.003667/1.968, allocations: 2.242 MB / 1.315 GB, free: 226.1 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001185/1.969, allocations: 151 kB / 1.315 GB, free: 226 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01516/1.984, allocations: 5.919 MB / 1.32 GB, free: 224.2 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002083/1.986, allocations: 2.387 MB / 1.323 GB, free: 223.1 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.00389/1.99, allocations: 1.322 MB / 1.324 GB, free: 223.1 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004892/1.99, allocations: 129.7 kB / 1.324 GB, free: 223.1 MB / 0.8698 GB Notification: Performance of SimCode: time 7.41e-07/1.99, allocations: 0 / 1.324 GB, free: 223.1 MB / 0.8698 GB Notification: Performance of Templates: time 0.04046/2.031, allocations: 30.17 MB / 1.354 GB, free: 221.8 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerStepDownDY.csv","../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches