Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepUp.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.UnbalancedStepUp.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.UnbalancedStepUp.YY") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepUp.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.UnbalancedStepUp.YY") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.181/2.181, allocations: 393.5 MB / 408.4 MB, free: 11.03 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.001084/0.001084, allocations: 176 kB / 0.4902 GB, free: 2.238 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.68/1.68, allocations: 223.2 MB / 0.7992 GB, free: 14.7 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.001081/0.001081, allocations: 102.9 kB / 0.9396 GB, free: 1.875 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003622/0.0003622, allocations: 14.34 kB / 1.09 GB, free: 216.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3824/0.3828, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.004/1.387, allocations: 212.5 MB / 1.437 GB, free: 193.2 MB / 0.9167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003508/1.387, allocations: 116.4 kB / 1.437 GB, free: 193.2 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 0.3934/1.781, allocations: 166.2 MB / 1.599 GB, free: 44.47 MB / 0.9167 GB Notification: Performance of FrontEnd: time 6.292e-06/1.781, allocations: 0 / 1.599 GB, free: 44.47 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.0003743/1.781, allocations: 83.98 kB / 1.599 GB, free: 44.39 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: 1094 * Number of variables: 1094 Notification: Performance of Generate backend data structure: time 0.01696/1.798, allocations: 3.337 MB / 1.603 GB, free: 40.99 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 6.46e-05/1.798, allocations: 8.031 kB / 1.603 GB, free: 40.98 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01395/1.812, allocations: 2.156 MB / 1.605 GB, free: 38.82 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007269/1.819, allocations: 2.338 MB / 1.607 GB, free: 36.43 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003517/1.82, allocations: 295.9 kB / 1.607 GB, free: 36.14 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002585/1.822, allocations: 384 kB / 1.608 GB, free: 35.77 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02477/1.847, allocations: 7.012 MB / 1.614 GB, free: 28.64 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002626/1.847, allocations: 0 / 1.614 GB, free: 28.64 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002488/1.85, allocations: 160 kB / 1.615 GB, free: 28.48 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007613/1.851, allocations: 326.7 kB / 1.615 GB, free: 28.16 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02002/1.871, allocations: 6.656 MB / 1.621 GB, free: 21.5 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.04958/1.92, allocations: 28.69 MB / 1.649 GB, free: 6.418 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008629/1.929, allocations: 3.704 MB / 1.653 GB, free: 2.539 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004025/1.93, allocations: 134.4 kB / 1.653 GB, free: 2.391 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.187e-05/1.93, allocations: 63.81 kB / 1.653 GB, free: 2.32 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=176): time 4.098e-06/1.93, allocations: 0 / 1.653 GB, free: 2.32 MB / 0.9323 GB Notification: Performance of matching and sorting (n=221): time 0.08927/2.019, allocations: 24.23 MB / 1.677 GB, free: 9.969 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001596/2.019, allocations: 235.6 kB / 1.677 GB, free: 9.691 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00283/2.022, allocations: 1.48 MB / 1.679 GB, free: 8.203 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0005807/2.023, allocations: 61.7 kB / 1.679 GB, free: 8.137 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.001287/2.024, allocations: 1.752 MB / 1.68 GB, free: 6.359 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009331/2.025, allocations: 0.7626 MB / 1.681 GB, free: 5.586 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002162/2.025, allocations: 60 kB / 1.681 GB, free: 5.527 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0002729/2.025, allocations: 440.5 kB / 1.682 GB, free: 5.09 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005348/2.031, allocations: 2.41 MB / 1.684 GB, free: 2.676 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006179/2.037, allocations: 3.529 MB / 1.687 GB, free: 14.64 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006011/2.043, allocations: 2.894 MB / 1.69 GB, free: 11.74 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.287e-05/2.043, allocations: 12 kB / 1.69 GB, free: 11.73 MB / 0.9792 GB Notification: Performance of matching and sorting (n=400) (initialization): time 0.02104/2.064, allocations: 8.552 MB / 1.699 GB, free: 3.156 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.006212/2.07, allocations: 14.1 MB / 1.712 GB, free: 3.957 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.114e-05/2.07, allocations: 43.92 kB / 1.712 GB, free: 3.914 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02709/2.098, allocations: 6.43 MB / 1.719 GB, free: 13.47 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005108/2.103, allocations: 0.9281 MB / 1.72 GB, free: 12.54 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02158/2.124, allocations: 11.95 MB / 1.731 GB, free: 428 kB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005433/2.13, allocations: 0.5493 MB / 1.732 GB, free: 15.87 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001134/2.131, allocations: 203.9 kB / 1.732 GB, free: 15.67 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/2.131, allocations: 0 / 1.732 GB, free: 15.67 MB / 1.026 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02212/2.153, allocations: 7.904 MB / 1.74 GB, free: 7.754 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001962/2.153, allocations: 36 kB / 1.74 GB, free: 7.719 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01262/2.166, allocations: 3.091 MB / 1.743 GB, free: 4.621 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005971/2.172, allocations: 1.069 MB / 1.744 GB, free: 3.551 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0194/2.192, allocations: 9.815 MB / 1.753 GB, free: 9.59 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004918/2.197, allocations: 0.5144 MB / 1.754 GB, free: 9.074 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001145/2.198, allocations: 203.9 kB / 1.754 GB, free: 8.875 MB / 1.042 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 () * Number of clocked 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.005428/2.203, allocations: 1.698 MB / 1.756 GB, free: 7.164 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001549/2.205, allocations: 197.7 kB / 1.756 GB, free: 6.969 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02147/2.226, allocations: 7.44 MB / 1.763 GB, free: 15.5 MB / 1.057 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.835e-05/2.226, allocations: 24 kB / 1.763 GB, free: 15.47 MB / 1.057 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.871e-05/2.226, allocations: 12 kB / 1.763 GB, free: 15.46 MB / 1.057 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-05/2.226, allocations: 11.95 kB / 1.763 GB, free: 15.45 MB / 1.057 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03467/2.261, allocations: 12.82 MB / 1.776 GB, free: 2.457 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.236e-05/2.261, allocations: 8 kB / 1.776 GB, free: 2.449 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003333/2.265, allocations: 0.6087 MB / 1.776 GB, free: 1.84 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02739/2.292, allocations: 6.236 MB / 1.782 GB, free: 11.59 MB / 1.073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007712/2.293, allocations: 83.92 kB / 1.782 GB, free: 11.51 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02096/2.314, allocations: 11.6 MB / 1.794 GB, free: 15.74 MB / 1.089 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.459e-05/2.314, allocations: 12 kB / 1.794 GB, free: 15.73 MB / 1.089 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02091/2.335, allocations: 8 MB / 1.802 GB, free: 7.359 MB / 1.089 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002666/2.337, allocations: 0.6858 MB / 1.802 GB, free: 6.652 MB / 1.089 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009801/2.339, allocations: 47.95 kB / 1.802 GB, free: 6.605 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003765/2.342, allocations: 479.1 kB / 1.803 GB, free: 6.137 MB / 1.089 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007284/2.343, allocations: 177.6 kB / 1.803 GB, free: 5.961 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004922/2.344, allocations: 115.9 kB / 1.803 GB, free: 5.848 MB / 1.089 GB Notification: Performance of sorting global known variables: time 0.002951/2.347, allocations: 1.106 MB / 1.804 GB, free: 4.742 MB / 1.089 GB Notification: Performance of sort global known variables: time 5.01e-07/2.347, allocations: 0 / 1.804 GB, free: 4.742 MB / 1.089 GB Notification: Performance of remove unused functions: time 0.009708/2.356, allocations: 1.664 MB / 1.806 GB, free: 3.078 MB / 1.089 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 (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.0008531/2.357, allocations: 194.8 kB / 1.806 GB, free: 2.879 MB / 1.089 GB Notification: Performance of simCode: created initialization part: time 0.02753/2.385, allocations: 10.17 MB / 1.816 GB, free: 8.695 MB / 1.104 GB Notification: Performance of simCode: created event and clocks part: time 1.897e-05/2.385, allocations: 0 / 1.816 GB, free: 8.695 MB / 1.104 GB Notification: Performance of simCode: created simulation system equations: time 0.009675/2.394, allocations: 3.391 MB / 1.819 GB, free: 5.297 MB / 1.104 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002418/2.397, allocations: 230.7 kB / 1.819 GB, free: 5.07 MB / 1.104 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03076/2.428, allocations: 10.79 MB / 1.83 GB, free: 10.16 MB / 1.12 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006003/2.434, allocations: 2.949 MB / 1.833 GB, free: 7.172 MB / 1.12 GB Notification: Performance of simCode: alias equations: time 0.006662/2.441, allocations: 1.687 MB / 1.835 GB, free: 5.48 MB / 1.12 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000974/2.442, allocations: 167.3 kB / 1.835 GB, free: 5.316 MB / 1.12 GB Notification: Performance of SimCode: time 1.894e-06/2.442, allocations: 7.938 kB / 1.835 GB, free: 5.309 MB / 1.12 GB Notification: Performance of Templates: time 0.7636/3.205, allocations: 52.9 MB / 1.886 GB, free: 306.5 MB / 1.135 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepUp.YY.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepUp.YY.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepUp.YY.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepUp.YY.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepUp.YY.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepUp.YY -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepUp.YY.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepUp.YY_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Validation_IEEETests_Test4NodesFeeder_UnbalancedStepUp_YY.csv","../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepUp.YY.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches