Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|RLCLine_1.terminal_n.phase.1..i.1.|RLCLine_1.terminal_n.phase.1..i.2.|RLCLine_sc.terminal_n.phase.1..i.1.|RLCLine_sc.terminal_n.phase.1..i.2.|RLCLine_2a.terminal_n.phase.1..i.1.|RLCLine_2a.terminal_n.phase.1..i.2.|RLCLine_3a.terminal_n.phase.1..i.1.|RLCLine_3a.terminal_n.phase.1..i.2.|RLCLine_3b.terminal_n.phase.1..i.1.|RLCLine_3b.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|RLCLine_1.terminal_n.phase.1..i.1.|RLCLine_1.terminal_n.phase.1..i.2.|RLCLine_sc.terminal_n.phase.1..i.1.|RLCLine_sc.terminal_n.phase.1..i.2.|RLCLine_2a.terminal_n.phase.1..i.1.|RLCLine_2a.terminal_n.phase.1..i.2.|RLCLine_3a.terminal_n.phase.1..i.1.|RLCLine_3a.terminal_n.phase.1..i.2.|RLCLine_3b.terminal_n.phase.1..i.1.|RLCLine_3b.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.379/1.379, allocations: 251.9 MB / 266.9 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001136/0.001136, allocations: 172.7 kB / 326.5 MB, free: 2.273 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.992/1.992, allocations: 205.4 MB / 0.5775 GB, free: 20.26 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009348/0.0009348, allocations: 88.47 kB / 0.6821 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000353/0.000353, allocations: 15.95 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2647/0.2651, allocations: 106.3 MB / 0.9001 GB, free: 63.94 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8062/1.071, allocations: 179.7 MB / 1.076 GB, free: 64.93 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003676/1.072, allocations: 93.05 kB / 1.076 GB, free: 64.93 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.324/2.396, allocations: 320.8 MB / 1.389 GB, free: 152.4 MB / 0.8698 GB Notification: Performance of FrontEnd: time 3.486e-06/2.396, allocations: 0 / 1.389 GB, free: 152.4 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0008553/2.397, allocations: 169.6 kB / 1.389 GB, free: 152.4 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1668 * Number of variables: 1668 Notification: Performance of Generate backend data structure: time 0.03809/2.435, allocations: 6.133 MB / 1.395 GB, free: 150 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 6.14e-05/2.435, allocations: 9.219 kB / 1.395 GB, free: 150 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01772/2.453, allocations: 1.779 MB / 1.397 GB, free: 149.6 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0229/2.476, allocations: 5.045 MB / 1.402 GB, free: 148.7 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001278/2.477, allocations: 453.8 kB / 1.402 GB, free: 148.7 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00584/2.483, allocations: 0.5945 MB / 1.403 GB, free: 148.7 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03742/2.521, allocations: 9.989 MB / 1.413 GB, free: 147.3 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005677/2.521, allocations: 31.86 kB / 1.413 GB, free: 147.3 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003932/2.525, allocations: 269.9 kB / 1.413 GB, free: 147.3 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006671/2.526, allocations: 378.1 kB / 1.413 GB, free: 147.3 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02262/2.549, allocations: 7.838 MB / 1.421 GB, free: 147.2 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08525/2.634, allocations: 46.38 MB / 1.466 GB, free: 120.6 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005811/2.64, allocations: 4.199 MB / 1.47 GB, free: 120.5 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004297/2.64, allocations: 40.06 kB / 1.47 GB, free: 120.5 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.9e-05/2.64, allocations: 68 kB / 1.47 GB, free: 120.5 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=353): time 5.76e-06/2.64, allocations: 0 / 1.47 GB, free: 120.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=578): time 0.4145/3.055, allocations: 106.4 MB / 1.574 GB, free: 100.6 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.873e-05/3.055, allocations: 107.9 kB / 1.574 GB, free: 100.5 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003291/3.058, allocations: 2.159 MB / 1.576 GB, free: 98.91 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.00121/3.059, allocations: 117.7 kB / 1.577 GB, free: 98.79 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001466/3.061, allocations: 2.699 MB / 1.579 GB, free: 96.38 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.002338/3.063, allocations: 1.956 MB / 1.581 GB, free: 94.61 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004108/3.064, allocations: 108 kB / 1.581 GB, free: 94.5 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0002934/3.064, allocations: 0.5318 MB / 1.582 GB, free: 94.04 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005139/3.069, allocations: 3.783 MB / 1.585 GB, free: 90.77 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006119/3.075, allocations: 4.905 MB / 1.59 GB, free: 86.03 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006365/3.082, allocations: 4.578 MB / 1.595 GB, free: 81.87 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-05/3.082, allocations: 8 kB / 1.595 GB, free: 81.86 MB / 0.8698 GB Notification: Performance of matching and sorting (n=725) (initialization): time 0.03349/3.115, allocations: 16 MB / 1.61 GB, free: 68.9 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 4.295e-05/3.115, allocations: 17.69 kB / 1.61 GB, free: 68.89 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.185e-05/3.115, allocations: 32 kB / 1.61 GB, free: 68.86 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02438/3.14, allocations: 7.745 MB / 1.618 GB, free: 62.82 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002753/3.143, allocations: 0.5609 MB / 1.619 GB, free: 62.39 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08274/3.225, allocations: 70.51 MB / 1.687 GB, free: 15.02 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005566/3.231, allocations: 245 kB / 1.688 GB, free: 14.83 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001198/3.232, allocations: 204 kB / 1.688 GB, free: 14.63 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 137 * 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 (286): * Single equations (assignments): 275 * 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: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 11 {(5,84.0%) 17,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(6,77.8%) 40,(6,77.8%) 72,(14,57.1%) 72,(14,51.0%) 72,(8,70.3%) 70,(6,77.8%) 40} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0061/3.238, allocations: 2.434 MB / 1.69 GB, free: 12.62 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001391/3.24, allocations: 466.5 kB / 1.691 GB, free: 12.16 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03652/3.276, allocations: 15.91 MB / 1.706 GB, free: 13.95 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.919e-05/3.276, allocations: 59.28 kB / 1.706 GB, free: 13.89 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002369/3.277, allocations: 75.98 kB / 1.706 GB, free: 13.82 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001186/3.277, allocations: 23.91 kB / 1.706 GB, free: 13.79 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.6069/3.884, allocations: 23.98 MB / 1.73 GB, free: 160.8 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.85e-05/3.884, allocations: 7.219 kB / 1.73 GB, free: 160.8 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002024/3.886, allocations: 320.1 kB / 1.73 GB, free: 160.8 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02272/3.908, allocations: 6.877 MB / 1.737 GB, free: 160.7 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00106/3.91, allocations: 107.8 kB / 1.737 GB, free: 160.7 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07798/3.988, allocations: 67.36 MB / 1.803 GB, free: 146.6 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.323e-06/3.988, allocations: 11.66 kB / 1.803 GB, free: 146.6 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0373/4.025, allocations: 20.94 MB / 1.823 GB, free: 144.5 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004342/4.029, allocations: 1.263 MB / 1.824 GB, free: 144.2 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001585/4.031, allocations: 115.1 kB / 1.824 GB, free: 144.2 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003577/4.035, allocations: 232.5 kB / 1.825 GB, free: 144.2 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001893/4.036, allocations: 0.5184 MB / 1.825 GB, free: 144.2 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004666/4.037, allocations: 143.7 kB / 1.825 GB, free: 144.2 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.002275/4.039, allocations: 1.618 MB / 1.827 GB, free: 144 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.1e-07/4.039, allocations: 3.562 kB / 1.827 GB, free: 144 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.00851/4.048, allocations: 2.31 MB / 1.829 GB, free: 144 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 8 (RLCLine_sc.phase1.Vc[1],RLCLine_sc.phase1.Vc[2],RLCLine_sc.phase2.Vc[1],RLCLine_sc.phase2.Vc[2],RLCLine_sc.phase3.Vc[1],RLCLine_sc.phase3.Vc[2],RLCLine_sc.neutral.Vc[1],RLCLine_sc.neutral.Vc[2]) * 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 (142): * Single equations (assignments): 131 * 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: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 11 {(6,77.8%) 40,(7,71.4%) 71,(14,57.1%) 72,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(5,84.0%) 17,(6,77.8%) 40,(8,70.3%) 70,(14,51.0%) 72} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009007/4.049, allocations: 241.4 kB / 1.829 GB, free: 143.9 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.02214/4.071, allocations: 13.82 MB / 1.843 GB, free: 138 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.165e-05/4.071, allocations: 2.906 kB / 1.843 GB, free: 138 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.01702/4.088, allocations: 9.062 MB / 1.852 GB, free: 133.5 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005437/4.093, allocations: 1.109 MB / 1.853 GB, free: 133.2 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02622/4.12, allocations: 17.92 MB / 1.87 GB, free: 124.3 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007643/4.127, allocations: 5.012 MB / 1.875 GB, free: 122.7 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.003199/4.131, allocations: 0.7466 MB / 1.876 GB, free: 122.6 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005631/4.131, allocations: 196.5 kB / 1.876 GB, free: 122.6 MB / 0.9011 GB Notification: Performance of SimCode: time 1.523e-06/4.131, allocations: 0 / 1.876 GB, free: 122.6 MB / 0.9011 GB Notification: Performance of Templates: time 0.1876/4.319, allocations: 125 MB / 1.998 GB, free: 53.26 MB / 0.9011 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N.csv","../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches