Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepUp.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.UnbalancedStepUp.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.UnbalancedStepUp.DY") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepUp.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.UnbalancedStepUp.DY") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.25/2.25, allocations: 393.5 MB / 408.4 MB, free: 10.84 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.001207/0.001207, allocations: 187.9 kB / 0.4902 GB, free: 2.082 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.459/1.459, allocations: 223.1 MB / 0.7992 GB, free: 14.76 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.000902/0.0009021, allocations: 94.98 kB / 0.9396 GB, free: 1.906 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004458/0.0004454, allocations: 10.34 kB / 1.09 GB, free: 215.8 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3558/0.3562, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.087/1.444, allocations: 212.6 MB / 1.437 GB, free: 90.21 MB / 0.9167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004195/1.444, allocations: 120.8 kB / 1.437 GB, free: 90.21 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 0.383/1.827, allocations: 159.4 MB / 1.593 GB, free: 29.12 MB / 0.9167 GB Notification: Performance of FrontEnd: time 3.436e-06/1.827, allocations: 0 / 1.593 GB, free: 29.12 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.0002679/1.827, allocations: 75.98 kB / 1.593 GB, free: 29.04 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.0146/1.842, allocations: 3.218 MB / 1.596 GB, free: 25.98 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 6.188e-05/1.842, allocations: 12.03 kB / 1.596 GB, free: 25.97 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01378/1.856, allocations: 2.145 MB / 1.598 GB, free: 23.82 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008382/1.864, allocations: 2.262 MB / 1.6 GB, free: 22.1 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003963/1.865, allocations: 276.7 kB / 1.6 GB, free: 21.94 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002789/1.868, allocations: 368.3 kB / 1.601 GB, free: 21.69 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02436/1.892, allocations: 6.714 MB / 1.607 GB, free: 16.11 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002658/1.892, allocations: 3.938 kB / 1.607 GB, free: 16.11 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002452/1.895, allocations: 156 kB / 1.608 GB, free: 15.95 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006987/1.895, allocations: 306.3 kB / 1.608 GB, free: 15.65 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0188/1.914, allocations: 6.534 MB / 1.614 GB, free: 9.105 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.05226/1.967, allocations: 28.32 MB / 1.642 GB, free: 10.39 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009263/1.976, allocations: 4.238 MB / 1.646 GB, free: 5.934 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003972/1.976, allocations: 135.1 kB / 1.646 GB, free: 5.785 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.413e-05/1.976, allocations: 68.42 kB / 1.646 GB, free: 5.711 MB / 0.948 GB Notification: Performance of pre-optimization done (n=198): time 6.161e-06/1.976, allocations: 0 / 1.646 GB, free: 5.711 MB / 0.948 GB Notification: Performance of matching and sorting (n=255): time 0.107/2.083, allocations: 28.46 MB / 1.674 GB, free: 9.199 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001364/2.084, allocations: 247.5 kB / 1.674 GB, free: 8.91 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003353/2.087, allocations: 1.326 MB / 1.676 GB, free: 7.578 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0008033/2.088, allocations: 65.7 kB / 1.676 GB, free: 7.508 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.001411/2.089, allocations: 1.571 MB / 1.677 GB, free: 5.914 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.001647/2.091, allocations: 0.8626 MB / 1.678 GB, free: 5.039 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007115/2.092, allocations: 60 kB / 1.678 GB, free: 4.98 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0003992/2.092, allocations: 444.4 kB / 1.678 GB, free: 4.539 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006321/2.098, allocations: 2.527 MB / 1.681 GB, free: 2.008 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006855/2.105, allocations: 3.431 MB / 1.684 GB, free: 14.18 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006394/2.112, allocations: 2.965 MB / 1.687 GB, free: 11.2 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.236e-05/2.112, allocations: 8 kB / 1.687 GB, free: 11.19 MB / 0.9948 GB Notification: Performance of matching and sorting (n=396) (initialization): time 0.02171/2.133, allocations: 8.84 MB / 1.696 GB, free: 2.285 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.004543/2.138, allocations: 10.8 MB / 1.706 GB, free: 6.629 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.991e-05/2.138, allocations: 28 kB / 1.706 GB, free: 6.602 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02827/2.166, allocations: 6.652 MB / 1.713 GB, free: 15.93 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004558/2.171, allocations: 0.8813 MB / 1.714 GB, free: 15.05 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02738/2.199, allocations: 14.04 MB / 1.727 GB, free: 0.8398 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004913/2.203, allocations: 0.5224 MB / 1.728 GB, free: 324 kB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001121/2.205, allocations: 188.7 kB / 1.728 GB, free: 136 kB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 2.054e-05/2.205, allocations: 5.25 kB / 1.728 GB, free: 132 kB / 1.026 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02465/2.229, allocations: 8.116 MB / 1.736 GB, free: 7.957 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001501/2.23, allocations: 28 kB / 1.736 GB, free: 7.93 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01201/2.242, allocations: 3.209 MB / 1.739 GB, free: 4.715 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005324/2.247, allocations: 1.05 MB / 1.74 GB, free: 3.664 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02062/2.268, allocations: 11.54 MB / 1.751 GB, free: 7.984 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005683/2.273, allocations: 0.4951 MB / 1.752 GB, free: 7.488 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001443/2.275, allocations: 199.8 kB / 1.752 GB, free: 7.293 MB / 1.057 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.005744/2.281, allocations: 1.616 MB / 1.754 GB, free: 5.664 MB / 1.057 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001237/2.282, allocations: 197.7 kB / 1.754 GB, free: 5.469 MB / 1.057 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02259/2.304, allocations: 8.572 MB / 1.762 GB, free: 12.85 MB / 1.073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.497e-05/2.305, allocations: 24 kB / 1.762 GB, free: 12.82 MB / 1.073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.081e-05/2.305, allocations: 15.94 kB / 1.762 GB, free: 12.81 MB / 1.073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.433e-05/2.305, allocations: 15.95 kB / 1.762 GB, free: 12.79 MB / 1.073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03679/2.341, allocations: 13.67 MB / 1.776 GB, free: 14.94 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.638e-05/2.342, allocations: 11.94 kB / 1.776 GB, free: 14.93 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003228/2.345, allocations: 0.6162 MB / 1.776 GB, free: 14.31 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02613/2.371, allocations: 6.472 MB / 1.783 GB, free: 7.824 MB / 1.089 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008493/2.372, allocations: 91.92 kB / 1.783 GB, free: 7.734 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02273/2.395, allocations: 13.64 MB / 1.796 GB, free: 9.926 MB / 1.104 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.607e-05/2.395, allocations: 23.83 kB / 1.796 GB, free: 9.902 MB / 1.104 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02108/2.416, allocations: 8.527 MB / 1.804 GB, free: 0.9922 MB / 1.104 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003021/2.419, allocations: 0.7327 MB / 1.805 GB, free: 244 kB / 1.104 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001341/2.42, allocations: 51.98 kB / 1.805 GB, free: 192 kB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004269/2.425, allocations: 487.1 kB / 1.806 GB, free: 15.71 MB / 1.12 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000899/2.425, allocations: 194 kB / 1.806 GB, free: 15.52 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005626/2.426, allocations: 127.9 kB / 1.806 GB, free: 15.4 MB / 1.12 GB Notification: Performance of sorting global known variables: time 0.002921/2.429, allocations: 1.041 MB / 1.807 GB, free: 14.36 MB / 1.12 GB Notification: Performance of sort global known variables: time 5.81e-07/2.429, allocations: 0 / 1.807 GB, free: 14.36 MB / 1.12 GB Notification: Performance of remove unused functions: time 0.009119/2.438, allocations: 1.652 MB / 1.809 GB, free: 12.7 MB / 1.12 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.0007647/2.439, allocations: 200.8 kB / 1.809 GB, free: 12.5 MB / 1.12 GB Notification: Performance of simCode: created initialization part: time 0.0273/2.466, allocations: 10.69 MB / 1.819 GB, free: 1.781 MB / 1.12 GB Notification: Performance of simCode: created event and clocks part: time 2.313e-05/2.466, allocations: 4.062 kB / 1.819 GB, free: 1.777 MB / 1.12 GB Notification: Performance of simCode: created simulation system equations: time 0.0105/2.477, allocations: 3.669 MB / 1.823 GB, free: 14.09 MB / 1.135 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002791/2.48, allocations: 212.9 kB / 1.823 GB, free: 13.89 MB / 1.135 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03822/2.518, allocations: 12.07 MB / 1.835 GB, free: 1.691 MB / 1.135 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005819/2.524, allocations: 2.885 MB / 1.838 GB, free: 14.77 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.006474/2.53, allocations: 1.664 MB / 1.839 GB, free: 13.11 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001036/2.531, allocations: 167.3 kB / 1.839 GB, free: 12.94 MB / 1.151 GB Notification: Performance of SimCode: time 9.92e-07/2.531, allocations: 0 / 1.839 GB, free: 12.94 MB / 1.151 GB Notification: Performance of Templates: time 0.9256/3.457, allocations: 57.54 MB / 1.896 GB, free: 333.3 MB / 1.167 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepUp.DY.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepUp.DY.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepUp.DY.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepUp.DY.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepUp.DY.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepUp.DY -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepUp.DY.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepUp.DY_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Validation_IEEETests_Test4NodesFeeder_UnbalancedStepUp_DY.csv","../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepUp.DY.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches