Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepUp.DY.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepUp.DY,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err_V2.1.|err_V2.2.|err_V2.3.|err_V3.1.|err_V3.2.|err_V3.3.|err_V4.1.|err_V4.2.|err_V4.3.|err_Theta2.1.|err_Theta2.2.|err_Theta2.3.|err_Theta3.1.|err_Theta3.2.|err_Theta3.3.|err_Theta4.1.|err_Theta4.2.|err_Theta4.3.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepUp.DY") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepUp.DY,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err_V2.1.|err_V2.2.|err_V2.3.|err_V3.1.|err_V3.2.|err_V3.3.|err_V4.1.|err_V4.2.|err_V4.3.|err_Theta2.1.|err_Theta2.2.|err_Theta2.3.|err_Theta3.1.|err_Theta3.2.|err_Theta3.3.|err_Theta4.1.|err_Theta4.2.|err_Theta4.3.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepUp.DY") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.504/2.504, allocations: 390.5 MB / 398 MB, free: 10.97 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001079/0.001079, allocations: 184.4 kB / 491.2 MB, free: 1.586 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.684/1.684, allocations: 221.5 MB / 0.7868 GB, free: 13.31 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009867/0.0009867, allocations: 93.27 kB / 0.9269 GB, free: 13.81 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.135e-05/2.137e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2357/0.2357, allocations: 143 MB / 1.212 GB, free: 39.53 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9289/1.165, allocations: 211.3 MB / 1.419 GB, free: 5.484 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004732/1.165, allocations: 114.6 kB / 1.419 GB, free: 5.414 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 0.3788/1.544, allocations: 157.5 MB / 1.573 GB, free: 5.77 MB / 0.9792 GB Notification: Performance of FrontEnd: time 2.204e-06/1.544, allocations: 0 / 1.573 GB, free: 5.77 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.0001503/1.544, allocations: 79.98 kB / 1.573 GB, free: 5.691 MB / 0.9792 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1023 * Number of variables: 1023 Notification: Performance of Generate backend data structure: time 0.01049/1.555, allocations: 3.028 MB / 1.576 GB, free: 2.605 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 5.518e-05/1.555, allocations: 8.031 kB / 1.576 GB, free: 2.598 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01348/1.568, allocations: 2.137 MB / 1.578 GB, free: 464 kB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005773/1.574, allocations: 2.236 MB / 1.58 GB, free: 14.17 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001617/1.574, allocations: 120 kB / 1.58 GB, free: 14.05 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001454/1.576, allocations: 219.9 kB / 1.58 GB, free: 13.84 MB / 0.9948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01122/1.587, allocations: 4.97 MB / 1.585 GB, free: 8.859 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01503/1.602, allocations: 5.631 MB / 1.591 GB, free: 3.102 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.258e-05/1.602, allocations: 11.84 kB / 1.591 GB, free: 3.09 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004099/1.603, allocations: 0 / 1.591 GB, free: 3.09 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005573/1.603, allocations: 302.3 kB / 1.591 GB, free: 2.793 MB / 0.9948 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.03722/1.64, allocations: 27.5 MB / 1.618 GB, free: 4.906 MB / 1.026 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005181/1.646, allocations: 3.664 MB / 1.621 GB, free: 1.039 MB / 1.026 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00263/1.648, allocations: 1.807 MB / 1.623 GB, free: 15.22 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002537/1.649, allocations: 131 kB / 1.623 GB, free: 15.07 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.602e-05/1.649, allocations: 60.5 kB / 1.623 GB, free: 15 MB / 1.042 GB Notification: Performance of pre-optimization done (n=198): time 4.128e-06/1.649, allocations: 0 / 1.623 GB, free: 15 MB / 1.042 GB Notification: Performance of matching and sorting (n=255): time 0.03444/1.683, allocations: 14.11 MB / 1.637 GB, free: 0.8906 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001161/1.683, allocations: 235.6 kB / 1.637 GB, free: 0.6133 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002007/1.685, allocations: 1.181 MB / 1.638 GB, free: 15.42 MB / 1.057 GB Notification: Performance of collectPreVariables (initialization): time 0.00057/1.686, allocations: 29.7 kB / 1.639 GB, free: 15.39 MB / 1.057 GB Notification: Performance of collectInitialEqns (initialization): time 0.001068/1.687, allocations: 1.551 MB / 1.64 GB, free: 13.81 MB / 1.057 GB Notification: Performance of collectInitialBindings (initialization): time 0.001125/1.688, allocations: 0.8353 MB / 1.641 GB, free: 12.96 MB / 1.057 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002263/1.688, allocations: 0 / 1.641 GB, free: 12.96 MB / 1.057 GB Notification: Performance of setup shared object (initialization): time 0.0002359/1.689, allocations: 440.4 kB / 1.641 GB, free: 12.53 MB / 1.057 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002782/1.691, allocations: 1.978 MB / 1.643 GB, free: 10.55 MB / 1.057 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003397/1.695, allocations: 2.863 MB / 1.646 GB, free: 7.289 MB / 1.057 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005985/1.701, allocations: 2.836 MB / 1.649 GB, free: 4.43 MB / 1.057 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-05/1.701, allocations: 8 kB / 1.649 GB, free: 4.422 MB / 1.057 GB Notification: Performance of matching and sorting (n=396) (initialization): time 0.01775/1.719, allocations: 7.667 MB / 1.656 GB, free: 12.69 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 0.003998/1.723, allocations: 10.8 MB / 1.667 GB, free: 1.039 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.668e-05/1.723, allocations: 28 kB / 1.667 GB, free: 1.012 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01272/1.735, allocations: 3.644 MB / 1.67 GB, free: 13.36 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004173/1.74, allocations: 0.8696 MB / 1.671 GB, free: 12.48 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02151/1.761, allocations: 13.33 MB / 1.684 GB, free: 15 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004414/1.766, allocations: 471.3 kB / 1.685 GB, free: 14.54 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005972/1.766, allocations: 188 kB / 1.685 GB, free: 14.36 MB / 1.104 GB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/1.766, allocations: 5.719 kB / 1.685 GB, free: 14.36 MB / 1.104 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008869/1.775, allocations: 4.952 MB / 1.69 GB, free: 9.359 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.496e-05/1.775, allocations: 24 kB / 1.69 GB, free: 9.336 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.121e-05/1.775, allocations: 51.95 kB / 1.69 GB, free: 9.285 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005467/1.781, allocations: 1.213 MB / 1.691 GB, free: 8.07 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.751e-05/1.781, allocations: 59.8 kB / 1.691 GB, free: 8.012 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003806/1.785, allocations: 422.9 kB / 1.691 GB, free: 7.598 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005535/1.785, allocations: 195.9 kB / 1.692 GB, free: 7.406 MB / 1.104 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 124 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (302): * Single equations (assignments): 300 * 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: 1 {(6,100.0%) 42} * Non-linear torn systems: 1 {6 42} Notification: Performance of prepare postOptimizeDAE: time 0.0008842/1.786, allocations: 180.1 kB / 1.692 GB, free: 7.223 MB / 1.104 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006595/1.787, allocations: 185.8 kB / 1.692 GB, free: 7.039 MB / 1.104 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01558/1.802, allocations: 7.607 MB / 1.699 GB, free: 15.38 MB / 1.12 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.334e-05/1.803, allocations: 24 kB / 1.699 GB, free: 15.36 MB / 1.12 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.462e-05/1.803, allocations: 12 kB / 1.699 GB, free: 15.35 MB / 1.12 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.221e-05/1.803, allocations: 12.28 kB / 1.699 GB, free: 15.34 MB / 1.12 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02421/1.827, allocations: 12.1 MB / 1.711 GB, free: 3.074 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.717e-05/1.827, allocations: 8 kB / 1.711 GB, free: 3.066 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003215/1.83, allocations: 0.6207 MB / 1.712 GB, free: 2.445 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01327/1.843, allocations: 4.112 MB / 1.716 GB, free: 14.32 MB / 1.135 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006394/1.844, allocations: 51.92 kB / 1.716 GB, free: 14.27 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01982/1.864, allocations: 13 MB / 1.729 GB, free: 1.121 MB / 1.135 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.072e-05/1.864, allocations: 15.92 kB / 1.729 GB, free: 1.105 MB / 1.135 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01441/1.878, allocations: 7.551 MB / 1.736 GB, free: 9.285 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001642/1.88, allocations: 0.7288 MB / 1.737 GB, free: 8.535 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004574/1.881, allocations: 16.23 kB / 1.737 GB, free: 8.52 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003619/1.884, allocations: 0.4912 MB / 1.737 GB, free: 8.027 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005167/1.885, allocations: 206 kB / 1.737 GB, free: 7.828 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002586/1.885, allocations: 127.9 kB / 1.738 GB, free: 7.703 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001336/1.886, allocations: 0.9054 MB / 1.738 GB, free: 6.793 MB / 1.151 GB Notification: Performance of sort global known variables: time 2.11e-07/1.886, allocations: 0 / 1.738 GB, free: 6.793 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.004823/1.891, allocations: 1.402 MB / 1.74 GB, free: 5.391 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (158): * Single equations (assignments): 156 * 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: 1 {(6,100.0%) 42} * Non-linear torn systems: 1 {6 42} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004328/1.892, allocations: 162.8 kB / 1.74 GB, free: 5.223 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.6424/2.534, allocations: 7.981 MB / 1.748 GB, free: 324.1 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.8e-05/2.534, allocations: 1.5 kB / 1.748 GB, free: 324.1 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.00837/2.543, allocations: 3.104 MB / 1.751 GB, free: 324 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001915/2.545, allocations: 156 kB / 1.751 GB, free: 324 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03315/2.578, allocations: 8.91 MB / 1.76 GB, free: 322.8 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003806/2.582, allocations: 2.852 MB / 1.762 GB, free: 322 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.006746/2.588, allocations: 1.812 MB / 1.764 GB, free: 322 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000668/2.589, allocations: 160.1 kB / 1.764 GB, free: 322 MB / 1.151 GB Notification: Performance of SimCode: time 1.853e-06/2.589, allocations: 0 / 1.764 GB, free: 322 MB / 1.151 GB Notification: Performance of Templates: time 0.08699/2.676, allocations: 51.32 MB / 1.814 GB, free: 320.2 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepUp.DY.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepUp.DY.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepUp.DY.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepUp.DY.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepUp.DY.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepUp.DY -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepUp.DY.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepUp.DY_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Validation_IEEETests_Test4NodesFeeder_BalancedStepUp_DY.csv","../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepUp.DY.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches