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.411/1.411, allocations: 249.5 MB / 257 MB, free: 6.938 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.0009272/0.000927, allocations: 184.6 kB / 316.3 MB, free: 3.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.38/1.38, allocations: 205.3 MB / 0.5671 GB, free: 15.8 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.0009622/0.000962, allocations: 86.28 kB / 0.6714 GB, free: 4.914 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.56e-05/1.562e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2175/0.2175, allocations: 106.3 MB / 0.8852 GB, free: 12.24 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7782/0.9958, allocations: 181.5 MB / 1.062 GB, free: 6.594 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00031/0.9962, allocations: 97.12 kB / 1.063 GB, free: 6.543 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.242/1.238, allocations: 105.4 MB / 1.166 GB, free: 6.254 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.894e-06/1.238, allocations: 0 / 1.166 GB, free: 6.254 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 9.604e-05/1.238, allocations: 59.94 kB / 1.166 GB, free: 6.195 MB / 0.7761 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.005458/1.244, allocations: 2.432 MB / 1.168 GB, free: 3.707 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.439e-05/1.244, allocations: 8.562 kB / 1.168 GB, free: 3.699 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01158/1.255, allocations: 1.912 MB / 1.17 GB, free: 1.781 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004352/1.26, allocations: 1.713 MB / 1.171 GB, free: 28 kB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001239/1.26, allocations: 96.05 kB / 1.172 GB, free: 15.93 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008489/1.261, allocations: 175.9 kB / 1.172 GB, free: 15.76 MB / 0.7917 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008444/1.269, allocations: 4.061 MB / 1.176 GB, free: 11.7 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01049/1.28, allocations: 4.507 MB / 1.18 GB, free: 7.102 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.225e-05/1.28, allocations: 7.875 kB / 1.18 GB, free: 7.094 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006328/1.281, allocations: 7.953 kB / 1.18 GB, free: 7.086 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003569/1.281, allocations: 193 kB / 1.18 GB, free: 6.895 MB / 0.7917 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.03397/1.315, allocations: 22.13 MB / 1.202 GB, free: 14.76 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003157/1.318, allocations: 2.009 MB / 1.204 GB, free: 12.63 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001929/1.32, allocations: 1.173 MB / 1.205 GB, free: 11.44 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000235/1.32, allocations: 118.4 kB / 1.205 GB, free: 11.3 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.265e-05/1.32, allocations: 59.77 kB / 1.205 GB, free: 11.24 MB / 0.823 GB Notification: Performance of pre-optimization done (n=123): time 4.689e-06/1.32, allocations: 0 / 1.205 GB, free: 11.24 MB / 0.823 GB Notification: Performance of matching and sorting (n=153): time 0.01703/1.338, allocations: 7.232 MB / 1.212 GB, free: 3.969 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001417/1.338, allocations: 226.9 kB / 1.212 GB, free: 3.695 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001586/1.339, allocations: 0.9173 MB / 1.213 GB, free: 2.77 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002724/1.34, allocations: 25.7 kB / 1.213 GB, free: 2.738 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009117/1.341, allocations: 1.25 MB / 1.215 GB, free: 1.469 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007839/1.341, allocations: 0.5004 MB / 1.215 GB, free: 0.9609 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002445/1.342, allocations: 0 / 1.215 GB, free: 0.9609 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0002949/1.342, allocations: 431.2 kB / 1.216 GB, free: 0.5312 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002077/1.344, allocations: 1.289 MB / 1.217 GB, free: 15.23 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002585/1.347, allocations: 1.947 MB / 1.219 GB, free: 12.98 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0037/1.35, allocations: 1.906 MB / 1.221 GB, free: 11.08 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-05/1.35, allocations: 8 kB / 1.221 GB, free: 11.07 MB / 0.8386 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.008403/1.359, allocations: 4.23 MB / 1.225 GB, free: 6.816 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.003525/1.362, allocations: 8.447 MB / 1.233 GB, free: 13.71 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.171e-05/1.362, allocations: 28 kB / 1.233 GB, free: 13.68 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002257/1.365, allocations: 0.7426 MB / 1.234 GB, free: 12.92 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003841/1.369, allocations: 0.7682 MB / 1.234 GB, free: 12.15 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01481/1.383, allocations: 12.23 MB / 1.246 GB, free: 15.22 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003609/1.387, allocations: 434.8 kB / 1.247 GB, free: 14.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006087/1.388, allocations: 119.9 kB / 1.247 GB, free: 14.68 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/1.388, allocations: 4 kB / 1.247 GB, free: 14.68 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008559/1.396, allocations: 3.968 MB / 1.251 GB, free: 10.69 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.651e-05/1.396, allocations: 20 kB / 1.251 GB, free: 10.67 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001659/1.398, allocations: 0.6453 MB / 1.251 GB, free: 10 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003721/1.402, allocations: 0.776 MB / 1.252 GB, free: 9.227 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5185/1.92, allocations: 11.71 MB / 1.264 GB, free: 247.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003777/1.924, allocations: 411.3 kB / 1.264 GB, free: 247.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003735/1.925, allocations: 116.3 kB / 1.264 GB, free: 247.1 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.000663/1.925, allocations: 173.8 kB / 1.264 GB, free: 247 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004961/1.926, allocations: 119.1 kB / 1.264 GB, free: 247 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008493/1.934, allocations: 3.644 MB / 1.268 GB, free: 246.9 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.646e-05/1.934, allocations: 18.66 kB / 1.268 GB, free: 246.9 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.502e-05/1.934, allocations: 9.656 kB / 1.268 GB, free: 246.9 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.957e-05/1.934, allocations: 9.141 kB / 1.268 GB, free: 246.9 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01351/1.948, allocations: 6.706 MB / 1.275 GB, free: 245.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.529e-05/1.948, allocations: 6.156 kB / 1.275 GB, free: 245.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002697/1.951, allocations: 0.5275 MB / 1.275 GB, free: 245.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001808/1.952, allocations: 0.6144 MB / 1.276 GB, free: 245.8 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000164/1.953, allocations: 31.72 kB / 1.276 GB, free: 245.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01103/1.964, allocations: 11.52 MB / 1.287 GB, free: 238.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.38e-05/1.964, allocations: 11.31 kB / 1.287 GB, free: 238.7 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006971/1.971, allocations: 3.636 MB / 1.291 GB, free: 237.6 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001451/1.972, allocations: 0.4971 MB / 1.291 GB, free: 237.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002398/1.972, allocations: 14.47 kB / 1.291 GB, free: 237.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002899/1.975, allocations: 378 kB / 1.291 GB, free: 237.5 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005054/1.976, allocations: 133.5 kB / 1.292 GB, free: 237.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001634/1.976, allocations: 59.58 kB / 1.292 GB, free: 237.5 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001278/1.977, allocations: 0.7052 MB / 1.292 GB, free: 237.4 MB / 0.8698 GB Notification: Performance of sort global known variables: time 4.41e-07/1.977, allocations: 0 / 1.292 GB, free: 237.4 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.005189/1.983, allocations: 1.075 MB / 1.293 GB, free: 237.4 MB / 0.8698 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (105): * 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: 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.0003168/1.983, allocations: 138.3 kB / 1.293 GB, free: 237.3 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.01134/1.994, allocations: 6.464 MB / 1.3 GB, free: 235.9 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 9.017e-06/1.994, allocations: 1.188 kB / 1.3 GB, free: 235.9 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.003353/1.998, allocations: 2.167 MB / 1.302 GB, free: 235.3 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001114/1.999, allocations: 132 kB / 1.302 GB, free: 235.3 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01622/2.015, allocations: 5.842 MB / 1.308 GB, free: 234.3 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002175/2.017, allocations: 2.38 MB / 1.31 GB, free: 233.6 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.003895/2.021, allocations: 1.328 MB / 1.311 GB, free: 233.5 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004713/2.022, allocations: 126.1 kB / 1.311 GB, free: 233.5 MB / 0.8698 GB Notification: Performance of SimCode: time 1.302e-06/2.022, allocations: 3.188 kB / 1.311 GB, free: 233.5 MB / 0.8698 GB Notification: Performance of Templates: time 0.04309/2.065, allocations: 29.32 MB / 1.34 GB, free: 232.3 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