Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.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.UnbalancedStepDown.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.UnbalancedStepDown.DY") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.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.UnbalancedStepDown.DY") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.391/2.391, allocations: 393.5 MB / 408.4 MB, free: 11.1 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.001343/0.001343, allocations: 186.8 kB / 0.4902 GB, free: 2.289 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.784/1.784, allocations: 223.1 MB / 0.7992 GB, free: 14.75 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.00119/0.00119, allocations: 102.8 kB / 0.9396 GB, free: 1.938 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003996/0.0003994, allocations: 6.969 kB / 1.09 GB, free: 216.5 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2901/0.2905, allocations: 143 MB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8094/1.1, allocations: 212.6 MB / 1.437 GB, free: 193.2 MB / 0.9167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004374/1.101, allocations: 118.2 kB / 1.437 GB, free: 193.2 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 0.3878/1.488, allocations: 165 MB / 1.598 GB, free: 45.77 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.933e-06/1.488, allocations: 0 / 1.598 GB, free: 45.77 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.000174/1.489, allocations: 76 kB / 1.598 GB, free: 45.69 MB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1034 * Number of variables: 1034 Notification: Performance of Generate backend data structure: time 0.009822/1.498, allocations: 3.222 MB / 1.601 GB, free: 42.41 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.533e-05/1.498, allocations: 11.97 kB / 1.601 GB, free: 42.39 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01257/1.511, allocations: 2.25 MB / 1.604 GB, free: 40.14 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005939/1.517, allocations: 2.263 MB / 1.606 GB, free: 37.82 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002362/1.517, allocations: 283.4 kB / 1.606 GB, free: 37.55 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00159/1.519, allocations: 364 kB / 1.606 GB, free: 37.19 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01611/1.535, allocations: 6.743 MB / 1.613 GB, free: 30.32 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001317/1.535, allocations: 11.94 kB / 1.613 GB, free: 30.31 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001138/1.536, allocations: 152 kB / 1.613 GB, free: 30.16 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000476/1.537, allocations: 310.4 kB / 1.613 GB, free: 29.86 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01538/1.552, allocations: 6.569 MB / 1.62 GB, free: 23.28 MB / 0.9167 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.03404/1.586, allocations: 28.5 MB / 1.648 GB, free: 8.309 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008086/1.594, allocations: 4.232 MB / 1.652 GB, free: 3.859 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002848/1.595, allocations: 139.1 kB / 1.652 GB, free: 3.707 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.11e-05/1.595, allocations: 64.48 kB / 1.652 GB, free: 3.637 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=198): time 4.008e-06/1.595, allocations: 0 / 1.652 GB, free: 3.637 MB / 0.9323 GB Notification: Performance of matching and sorting (n=255): time 0.1011/1.696, allocations: 28.79 MB / 1.68 GB, free: 6.793 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001492/1.696, allocations: 247.5 kB / 1.68 GB, free: 6.5 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002462/1.699, allocations: 1.326 MB / 1.682 GB, free: 5.168 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0005866/1.699, allocations: 69.7 kB / 1.682 GB, free: 5.094 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009957/1.7, allocations: 1.567 MB / 1.683 GB, free: 3.504 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.001061/1.701, allocations: 0.8625 MB / 1.684 GB, free: 2.629 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002277/1.701, allocations: 60 kB / 1.684 GB, free: 2.57 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0002896/1.702, allocations: 440.4 kB / 1.685 GB, free: 2.133 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005666/1.707, allocations: 2.523 MB / 1.687 GB, free: 15.61 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006466/1.714, allocations: 3.431 MB / 1.69 GB, free: 11.78 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006333/1.72, allocations: 2.957 MB / 1.693 GB, free: 8.801 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.542e-05/1.72, allocations: 11.94 kB / 1.693 GB, free: 8.789 MB / 0.9792 GB Notification: Performance of matching and sorting (n=396) (initialization): time 0.02276/1.743, allocations: 8.801 MB / 1.702 GB, free: 15.92 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.004735/1.748, allocations: 10.79 MB / 1.712 GB, free: 4.273 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.329e-05/1.748, allocations: 28 kB / 1.712 GB, free: 4.246 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02443/1.772, allocations: 5.961 MB / 1.718 GB, free: 14.27 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004299/1.777, allocations: 0.8774 MB / 1.719 GB, free: 13.39 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02359/1.8, allocations: 14.02 MB / 1.733 GB, free: 15.2 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004841/1.805, allocations: 0.534 MB / 1.733 GB, free: 14.67 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008199/1.806, allocations: 175.9 kB / 1.733 GB, free: 14.5 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/1.806, allocations: 4 kB / 1.733 GB, free: 14.49 MB / 1.026 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02171/1.828, allocations: 8.089 MB / 1.741 GB, free: 6.352 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.361e-05/1.828, allocations: 28 kB / 1.741 GB, free: 6.324 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01289/1.841, allocations: 3.213 MB / 1.745 GB, free: 3.105 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005118/1.846, allocations: 1.033 MB / 1.746 GB, free: 2.07 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01926/1.865, allocations: 11.55 MB / 1.757 GB, free: 6.375 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0047/1.87, allocations: 0.5185 MB / 1.757 GB, free: 5.855 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007336/1.871, allocations: 171.9 kB / 1.757 GB, free: 5.688 MB / 1.042 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 () * Number of clocked 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.004286/1.875, allocations: 1.616 MB / 1.759 GB, free: 4.059 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007736/1.876, allocations: 205.6 kB / 1.759 GB, free: 3.855 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02151/1.897, allocations: 8.533 MB / 1.768 GB, free: 11.28 MB / 1.057 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.952e-05/1.898, allocations: 28 kB / 1.768 GB, free: 11.25 MB / 1.057 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.456e-05/1.898, allocations: 12 kB / 1.768 GB, free: 11.24 MB / 1.057 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.915e-05/1.898, allocations: 11.95 kB / 1.768 GB, free: 11.23 MB / 1.057 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03121/1.929, allocations: 13.6 MB / 1.781 GB, free: 13.44 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.994e-05/1.929, allocations: 15.98 kB / 1.781 GB, free: 13.43 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003055/1.932, allocations: 0.6123 MB / 1.782 GB, free: 12.81 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02245/1.954, allocations: 5.785 MB / 1.787 GB, free: 7.016 MB / 1.073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005364/1.955, allocations: 83.94 kB / 1.787 GB, free: 6.934 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02069/1.976, allocations: 13.57 MB / 1.801 GB, free: 9.188 MB / 1.089 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-05/1.976, allocations: 12 kB / 1.801 GB, free: 9.176 MB / 1.089 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01915/1.995, allocations: 8.484 MB / 1.809 GB, free: 316 kB / 1.089 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002038/1.997, allocations: 0.7171 MB / 1.81 GB, free: 15.57 MB / 1.104 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004025/1.997, allocations: 48 kB / 1.81 GB, free: 15.52 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00317/2.001, allocations: 0.5068 MB / 1.81 GB, free: 15.02 MB / 1.104 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004794/2.001, allocations: 186.1 kB / 1.81 GB, free: 14.83 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002407/2.001, allocations: 107.9 kB / 1.81 GB, free: 14.73 MB / 1.104 GB Notification: Performance of sorting global known variables: time 0.001518/2.003, allocations: 1.037 MB / 1.811 GB, free: 13.69 MB / 1.104 GB Notification: Performance of sort global known variables: time 1.3e-07/2.003, allocations: 0 / 1.811 GB, free: 13.69 MB / 1.104 GB Notification: Performance of remove unused functions: time 0.005193/2.008, allocations: 1.668 MB / 1.813 GB, free: 12.02 MB / 1.104 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 () * Number of clocked 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.0004399/2.009, allocations: 194.8 kB / 1.813 GB, free: 11.82 MB / 1.104 GB Notification: Performance of simCode: created initialization part: time 0.02442/2.033, allocations: 10.62 MB / 1.824 GB, free: 1.168 MB / 1.104 GB Notification: Performance of simCode: created event and clocks part: time 9.989e-06/2.033, allocations: 64 / 1.824 GB, free: 1.168 MB / 1.104 GB Notification: Performance of simCode: created simulation system equations: time 0.008937/2.042, allocations: 3.649 MB / 1.827 GB, free: 13.5 MB / 1.12 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001517/2.044, allocations: 222 kB / 1.827 GB, free: 13.29 MB / 1.12 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03082/2.074, allocations: 12.02 MB / 1.839 GB, free: 1.141 MB / 1.12 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003733/2.078, allocations: 2.881 MB / 1.842 GB, free: 14.22 MB / 1.135 GB Notification: Performance of simCode: alias equations: time 0.005313/2.083, allocations: 1.656 MB / 1.843 GB, free: 12.56 MB / 1.135 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006834/2.084, allocations: 167.3 kB / 1.844 GB, free: 12.4 MB / 1.135 GB Notification: Performance of SimCode: time 1.653e-06/2.084, allocations: 0 / 1.844 GB, free: 12.4 MB / 1.135 GB Notification: Performance of Templates: time 0.5684/2.653, allocations: 56.84 MB / 1.899 GB, free: 311.5 MB / 1.135 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.DY.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.DY.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.DY.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.DY.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.DY.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.DY -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.DY.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.DY_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Validation_IEEETests_Test4NodesFeeder_UnbalancedStepDown_DY.csv","../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.DY.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches