Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.YY.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.BalancedStepDown.YY,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.BalancedStepDown.YY") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.YY,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.BalancedStepDown.YY") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.257/2.257, allocations: 390.5 MB / 398 MB, free: 10.95 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.001245/0.001245, allocations: 187.1 kB / 491.2 MB, free: 1.594 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.611/1.611, allocations: 221.5 MB / 0.7868 GB, free: 13.25 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.0009572/0.0009575, allocations: 98.7 kB / 0.9269 GB, free: 13.75 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.391e-05/1.385e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.285/0.285, allocations: 143 MB / 1.212 GB, free: 39.5 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.022/1.307, allocations: 210.8 MB / 1.418 GB, free: 5.945 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003315/1.308, allocations: 115.7 kB / 1.418 GB, free: 5.875 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 0.4081/1.716, allocations: 164.2 MB / 1.579 GB, free: 15.43 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.053e-06/1.716, allocations: 0 / 1.579 GB, free: 15.43 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.0002319/1.716, allocations: 76 kB / 1.579 GB, free: 15.36 MB / 0.9948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1083 * Number of variables: 1083 Notification: Performance of Generate backend data structure: time 0.01145/1.728, allocations: 3.134 MB / 1.582 GB, free: 12.17 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.619e-05/1.728, allocations: 8.031 kB / 1.582 GB, free: 12.16 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01359/1.741, allocations: 2.156 MB / 1.584 GB, free: 9.996 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005683/1.747, allocations: 2.322 MB / 1.586 GB, free: 7.625 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001893/1.747, allocations: 131.9 kB / 1.586 GB, free: 7.496 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001579/1.749, allocations: 224 kB / 1.587 GB, free: 7.277 MB / 0.9948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01303/1.762, allocations: 5.08 MB / 1.591 GB, free: 2.191 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02077/1.783, allocations: 5.882 MB / 1.597 GB, free: 12.2 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002331/1.783, allocations: 4 kB / 1.597 GB, free: 12.19 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001987/1.785, allocations: 4 kB / 1.597 GB, free: 12.19 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007408/1.786, allocations: 318.6 kB / 1.598 GB, free: 11.88 MB / 1.01 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.04566/1.831, allocations: 27.82 MB / 1.625 GB, free: 13.7 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004839/1.836, allocations: 3.152 MB / 1.628 GB, free: 10.39 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002177/1.838, allocations: 1.545 MB / 1.629 GB, free: 8.824 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002314/1.839, allocations: 130.3 kB / 1.629 GB, free: 8.68 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.624e-05/1.839, allocations: 67.86 kB / 1.629 GB, free: 8.605 MB / 1.042 GB Notification: Performance of pre-optimization done (n=176): time 3.928e-06/1.839, allocations: 0 / 1.629 GB, free: 8.605 MB / 1.042 GB Notification: Performance of matching and sorting (n=221): time 0.02931/1.868, allocations: 13.17 MB / 1.642 GB, free: 11.38 MB / 1.057 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001173/1.868, allocations: 235.6 kB / 1.643 GB, free: 11.1 MB / 1.057 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002029/1.87, allocations: 1.319 MB / 1.644 GB, free: 9.77 MB / 1.057 GB Notification: Performance of collectPreVariables (initialization): time 0.0002747/1.871, allocations: 29.7 kB / 1.644 GB, free: 9.734 MB / 1.057 GB Notification: Performance of collectInitialEqns (initialization): time 0.001132/1.872, allocations: 1.728 MB / 1.646 GB, free: 7.98 MB / 1.057 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007806/1.872, allocations: 0.7276 MB / 1.646 GB, free: 7.242 MB / 1.057 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000202/1.873, allocations: 4 kB / 1.646 GB, free: 7.238 MB / 1.057 GB Notification: Performance of setup shared object (initialization): time 0.0002261/1.873, allocations: 432.5 kB / 1.647 GB, free: 6.809 MB / 1.057 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002523/1.875, allocations: 1.865 MB / 1.649 GB, free: 4.941 MB / 1.057 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003247/1.879, allocations: 2.962 MB / 1.651 GB, free: 1.477 MB / 1.057 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004634/1.883, allocations: 2.706 MB / 1.654 GB, free: 14.77 MB / 1.073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.845e-05/1.883, allocations: 15.94 kB / 1.654 GB, free: 14.75 MB / 1.073 GB Notification: Performance of matching and sorting (n=400) (initialization): time 0.01477/1.898, allocations: 7.32 MB / 1.661 GB, free: 7.414 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 0.005255/1.903, allocations: 14.1 MB / 1.675 GB, free: 8.203 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.434e-05/1.903, allocations: 36 kB / 1.675 GB, free: 8.168 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01169/1.915, allocations: 3.419 MB / 1.678 GB, free: 4.738 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00431/1.92, allocations: 0.9241 MB / 1.679 GB, free: 3.812 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01962/1.939, allocations: 11.39 MB / 1.69 GB, free: 8.266 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004716/1.944, allocations: 494.6 kB / 1.691 GB, free: 7.781 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005644/1.945, allocations: 200 kB / 1.691 GB, free: 7.586 MB / 1.104 GB Notification: Performance of prepare postOptimizeDAE: time 1.91e-05/1.945, allocations: 8 kB / 1.691 GB, free: 7.578 MB / 1.104 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008546/1.953, allocations: 4.764 MB / 1.696 GB, free: 2.812 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.449e-05/1.953, allocations: 36.5 kB / 1.696 GB, free: 2.777 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.56e-05/1.953, allocations: 60 kB / 1.696 GB, free: 2.719 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005295/1.959, allocations: 1.205 MB / 1.697 GB, free: 1.512 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.824e-05/1.959, allocations: 75.72 kB / 1.697 GB, free: 1.438 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003651/1.962, allocations: 446.8 kB / 1.697 GB, free: 1 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003574/1.963, allocations: 203.9 kB / 1.698 GB, free: 0.8008 MB / 1.104 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 162 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (330): * Single equations (assignments): 328 * 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%) 30} * Non-linear torn systems: 1 {6 30} Notification: Performance of prepare postOptimizeDAE: time 0.0008354/1.964, allocations: 200.6 kB / 1.698 GB, free: 0.5977 MB / 1.104 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005649/1.964, allocations: 189.8 kB / 1.698 GB, free: 420 kB / 1.104 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01412/1.978, allocations: 6.468 MB / 1.704 GB, free: 9.914 MB / 1.12 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.049e-05/1.978, allocations: 20 kB / 1.704 GB, free: 9.895 MB / 1.12 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.641e-05/1.978, allocations: 12 kB / 1.704 GB, free: 9.883 MB / 1.12 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.696e-05/1.978, allocations: 11.95 kB / 1.704 GB, free: 9.871 MB / 1.12 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02528/2.004, allocations: 11.16 MB / 1.715 GB, free: 14.55 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.635e-05/2.004, allocations: 8 kB / 1.715 GB, free: 14.54 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002959/2.007, allocations: 0.6127 MB / 1.716 GB, free: 13.93 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01274/2.019, allocations: 3.884 MB / 1.72 GB, free: 10.04 MB / 1.135 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005384/2.02, allocations: 47.92 kB / 1.72 GB, free: 9.988 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01865/2.039, allocations: 11.13 MB / 1.731 GB, free: 14.7 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.474e-05/2.039, allocations: 12.06 kB / 1.731 GB, free: 14.69 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01648/2.055, allocations: 7.021 MB / 1.737 GB, free: 7.281 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001806/2.057, allocations: 0.682 MB / 1.738 GB, free: 6.578 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007289/2.058, allocations: 8 kB / 1.738 GB, free: 6.57 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00389/2.062, allocations: 0.4951 MB / 1.739 GB, free: 6.074 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005454/2.062, allocations: 177.6 kB / 1.739 GB, free: 5.902 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003355/2.063, allocations: 119.9 kB / 1.739 GB, free: 5.785 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.00211/2.065, allocations: 0.9707 MB / 1.74 GB, free: 4.812 MB / 1.151 GB Notification: Performance of sort global known variables: time 3.21e-07/2.065, allocations: 0 / 1.74 GB, free: 4.812 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.007372/2.072, allocations: 1.426 MB / 1.741 GB, free: 3.387 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 (154): * Single equations (assignments): 152 * 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%) 30} * Non-linear torn systems: 1 {6 30} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005685/2.073, allocations: 166.8 kB / 1.741 GB, free: 3.215 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.7103/2.783, allocations: 7.537 MB / 1.749 GB, free: 319 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.412e-05/2.783, allocations: 0 / 1.749 GB, free: 319 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.006946/2.79, allocations: 2.797 MB / 1.752 GB, free: 318.8 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001685/2.792, allocations: 157.6 kB / 1.752 GB, free: 318.8 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02379/2.816, allocations: 7.579 MB / 1.759 GB, free: 317.6 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005133/2.821, allocations: 2.928 MB / 1.762 GB, free: 316.8 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.00715/2.828, allocations: 1.826 MB / 1.764 GB, free: 316.8 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006745/2.829, allocations: 162.2 kB / 1.764 GB, free: 316.8 MB / 1.151 GB Notification: Performance of SimCode: time 1.193e-06/2.829, allocations: 0 / 1.764 GB, free: 316.8 MB / 1.151 GB Notification: Performance of Templates: time 0.09225/2.921, allocations: 47.24 MB / 1.81 GB, free: 315.1 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.YY.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.YY.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.YY.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.YY.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.YY.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.YY -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.YY.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.YY_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Validation_IEEETests_Test4NodesFeeder_BalancedStepDown_YY.csv","../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.YY.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches