Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.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.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_latest_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_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.557/2.557, allocations: 390.3 MB / 402.8 MB, free: 6.641 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.001043/0.001043, allocations: 169 kB / 496.1 MB, free: 12.86 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.49/1.49, allocations: 221.3 MB / 0.7915 GB, free: 5.453 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.001156/0.001156, allocations: 95.89 kB / 0.9317 GB, free: 5.77 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.239e-05/3.241e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2631/0.2632, allocations: 143 MB / 1.219 GB, free: 13.5 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9381/1.201, allocations: 198.5 MB / 1.413 GB, free: 5.711 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002959/1.202, allocations: 96.19 kB / 1.413 GB, free: 5.66 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 1.759/2.961, allocations: 384.6 MB / 1.788 GB, free: 251.5 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.535e-06/2.961, allocations: 0 / 1.788 GB, free: 251.5 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0008689/2.962, allocations: 173.5 kB / 1.788 GB, free: 251.5 MB / 1.151 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.02424/2.986, allocations: 5.527 MB / 1.794 GB, free: 249.3 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.625e-05/2.986, allocations: 11.34 kB / 1.794 GB, free: 249.3 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01519/3.001, allocations: 1.771 MB / 1.796 GB, free: 248.9 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01827/3.02, allocations: 5.052 MB / 1.801 GB, free: 248 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005533/3.02, allocations: 458.7 kB / 1.801 GB, free: 248 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004355/3.025, allocations: 0.5945 MB / 1.802 GB, free: 248 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0349/3.059, allocations: 9.868 MB / 1.811 GB, free: 246.6 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005066/3.06, allocations: 34.17 kB / 1.811 GB, free: 246.6 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003822/3.064, allocations: 272.4 kB / 1.812 GB, free: 246.6 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006125/3.064, allocations: 378.9 kB / 1.812 GB, free: 246.6 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02103/3.086, allocations: 7.694 MB / 1.819 GB, free: 246.5 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07469/3.16, allocations: 46.38 MB / 1.865 GB, free: 215.4 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00659/3.167, allocations: 4.145 MB / 1.869 GB, free: 213.7 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005933/3.173, allocations: 3.571 MB / 1.872 GB, free: 212.2 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005416/3.173, allocations: 36.69 kB / 1.872 GB, free: 212.2 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.058e-05/3.174, allocations: 71.94 kB / 1.872 GB, free: 212.1 MB / 1.151 GB Notification: Performance of pre-optimization done (n=353): time 6.682e-06/3.174, allocations: 3.812 kB / 1.872 GB, free: 212.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=578): time 0.4067/3.58, allocations: 98.51 MB / 1.969 GB, free: 162.9 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001114/3.58, allocations: 115.9 kB / 1.969 GB, free: 162.8 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003932/3.584, allocations: 2.116 MB / 1.971 GB, free: 160.6 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.001784/3.586, allocations: 117.7 kB / 1.971 GB, free: 160.5 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.001585/3.588, allocations: 2.702 MB / 1.973 GB, free: 157.8 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.003108/3.591, allocations: 1.955 MB / 1.975 GB, free: 155.9 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004101/3.591, allocations: 112 kB / 1.975 GB, free: 155.8 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0003356/3.592, allocations: 0.5264 MB / 1.976 GB, free: 155.2 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005073/3.597, allocations: 3.725 MB / 1.98 GB, free: 151.5 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00555/3.602, allocations: 4.845 MB / 1.984 GB, free: 146.2 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006006/3.608, allocations: 4.54 MB / 1.989 GB, free: 141.6 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.11e-05/3.608, allocations: 8 kB / 1.989 GB, free: 141.6 MB / 1.151 GB Notification: Performance of matching and sorting (n=725) (initialization): time 0.03286/3.641, allocations: 15.86 MB / 2.004 GB, free: 125.6 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 4.862e-05/3.641, allocations: 20.31 kB / 2.004 GB, free: 125.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.019e-05/3.641, allocations: 32 kB / 2.004 GB, free: 125.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02282/3.664, allocations: 7.703 MB / 2.012 GB, free: 117.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002698/3.667, allocations: 0.5615 MB / 2.012 GB, free: 117.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08121/3.748, allocations: 67.26 MB / 2.078 GB, free: 48.58 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006036/3.754, allocations: 239.9 kB / 2.078 GB, free: 48.35 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001083/3.755, allocations: 200 kB / 2.078 GB, free: 48.15 MB / 1.151 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 () * 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.001114/3.757, allocations: 401.6 kB / 2.079 GB, free: 47.75 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001314/3.758, allocations: 462.5 kB / 2.079 GB, free: 47.3 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03208/3.79, allocations: 15.8 MB / 2.095 GB, free: 31.37 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.893e-05/3.79, allocations: 52 kB / 2.095 GB, free: 31.32 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001779/3.79, allocations: 72 kB / 2.095 GB, free: 31.25 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001288/3.79, allocations: 27.89 kB / 2.095 GB, free: 31.22 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05013/3.841, allocations: 23.89 MB / 2.118 GB, free: 7.121 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.466e-05/3.841, allocations: 4 kB / 2.118 GB, free: 7.117 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00199/3.843, allocations: 327.4 kB / 2.119 GB, free: 6.797 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02074/3.863, allocations: 6.838 MB / 2.125 GB, free: 15.92 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001263/3.865, allocations: 111.3 kB / 2.125 GB, free: 15.82 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.9944/4.859, allocations: 64.11 MB / 2.188 GB, free: 231.8 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.298e-05/4.859, allocations: 11.22 kB / 2.188 GB, free: 231.8 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05094/4.91, allocations: 20.79 MB / 2.208 GB, free: 229.7 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004721/4.915, allocations: 1.267 MB / 2.209 GB, free: 229.6 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001539/4.917, allocations: 100 kB / 2.21 GB, free: 229.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003917/4.92, allocations: 241.4 kB / 2.21 GB, free: 229.6 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002586/4.923, allocations: 0.5251 MB / 2.21 GB, free: 229.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003991/4.924, allocations: 139.6 kB / 2.21 GB, free: 229.6 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.002576/4.926, allocations: 1.6 MB / 2.212 GB, free: 229.4 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.3e-07/4.926, allocations: 0 / 2.212 GB, free: 229.4 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.009831/4.936, allocations: 2.334 MB / 2.214 GB, free: 229.4 MB / 1.167 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 () * 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.000913/4.937, allocations: 236.9 kB / 2.215 GB, free: 229.3 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.0245/4.961, allocations: 13.57 MB / 2.228 GB, free: 227.4 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.476e-05/4.961, allocations: 0 / 2.228 GB, free: 227.4 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.02193/4.983, allocations: 8.869 MB / 2.236 GB, free: 225 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008263/4.992, allocations: 1.108 MB / 2.238 GB, free: 224.7 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02939/5.021, allocations: 12.97 MB / 2.25 GB, free: 219.7 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008254/5.029, allocations: 5.016 MB / 2.255 GB, free: 218.2 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.003594/5.033, allocations: 0.7445 MB / 2.256 GB, free: 218.1 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005844/5.034, allocations: 195.2 kB / 2.256 GB, free: 218.1 MB / 1.167 GB Notification: Performance of SimCode: time 1.773e-06/5.034, allocations: 0 / 2.256 GB, free: 218.1 MB / 1.167 GB Notification: Performance of Templates: time 0.2185/5.252, allocations: 125.1 MB / 2.378 GB, free: 190.9 MB / 1.167 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N.csv","../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches