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.417/2.417, allocations: 393.5 MB / 408.4 MB, free: 10.99 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.001094/0.001094, allocations: 180 kB / 0.4902 GB, free: 2.234 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.738/1.738, 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.001015/0.001015, allocations: 96.33 kB / 0.9396 GB, free: 1.879 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000444/0.0004441, allocations: 7.094 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3421/0.3426, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2588/0.6014, allocations: 198.6 MB / 1.423 GB, free: 2.863 MB / 0.9167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002991/0.6018, allocations: 95.94 kB / 1.423 GB, free: 2.77 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 1.607/2.209, allocations: 386.5 MB / 1.801 GB, free: 11.55 MB / 1.089 GB Notification: Performance of FrontEnd: time 2.304e-06/2.209, allocations: 0 / 1.801 GB, free: 11.55 MB / 1.089 GB Notification: Performance of Transformations before backend: time 0.0006711/2.21, allocations: 171.8 kB / 1.801 GB, free: 11.38 MB / 1.089 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.02612/2.236, allocations: 6.169 MB / 1.807 GB, free: 5.133 MB / 1.089 GB Notification: Performance of prepare preOptimizeDAE: time 6.014e-05/2.236, allocations: 8.562 kB / 1.807 GB, free: 5.125 MB / 1.089 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01589/2.252, allocations: 1.779 MB / 1.809 GB, free: 3.336 MB / 1.089 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01716/2.269, allocations: 5.062 MB / 1.814 GB, free: 14.2 MB / 1.104 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006346/2.27, allocations: 460.1 kB / 1.814 GB, free: 13.74 MB / 1.104 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004231/2.274, allocations: 0.5935 MB / 1.815 GB, free: 13.15 MB / 1.104 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03184/2.306, allocations: 9.989 MB / 1.824 GB, free: 2.676 MB / 1.104 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002802/2.306, allocations: 23.78 kB / 1.824 GB, free: 2.652 MB / 1.104 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001852/2.308, allocations: 275.9 kB / 1.825 GB, free: 2.383 MB / 1.104 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004647/2.309, allocations: 380.1 kB / 1.825 GB, free: 2.008 MB / 1.104 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02041/2.329, allocations: 7.835 MB / 1.833 GB, free: 10.15 MB / 1.12 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 1.279/3.608, allocations: 46.36 MB / 1.878 GB, free: 187.6 MB / 1.136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01232/3.62, allocations: 4.193 MB / 1.882 GB, free: 187.6 MB / 1.136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006898/3.621, allocations: 34.7 kB / 1.882 GB, free: 187.6 MB / 1.136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000144/3.621, allocations: 73.17 kB / 1.882 GB, free: 187.5 MB / 1.136 GB Notification: Performance of pre-optimization done (n=353): time 2.065e-05/3.621, allocations: 3.609 kB / 1.882 GB, free: 187.5 MB / 1.136 GB Notification: Performance of matching and sorting (n=578): time 0.4655/4.087, allocations: 106.4 MB / 1.986 GB, free: 179.9 MB / 1.136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.89e-05/4.087, allocations: 109.2 kB / 1.986 GB, free: 179.8 MB / 1.136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005301/4.092, allocations: 2.146 MB / 1.988 GB, free: 179.6 MB / 1.136 GB Notification: Performance of collectPreVariables (initialization): time 0.00164/4.094, allocations: 117.3 kB / 1.988 GB, free: 179.5 MB / 1.136 GB Notification: Performance of collectInitialEqns (initialization): time 0.002012/4.096, allocations: 2.7 MB / 1.991 GB, free: 178.6 MB / 1.136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0033/4.099, allocations: 1.959 MB / 1.993 GB, free: 177.6 MB / 1.136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001257/4.1, allocations: 114.1 kB / 1.993 GB, free: 177.6 MB / 1.136 GB Notification: Performance of setup shared object (initialization): time 0.0003572/4.101, allocations: 0.5289 MB / 1.993 GB, free: 177.3 MB / 1.136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005412/4.106, allocations: 3.787 MB / 1.997 GB, free: 177.3 MB / 1.136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006151/4.112, allocations: 4.902 MB / 2.002 GB, free: 176.1 MB / 1.136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006386/4.119, allocations: 4.585 MB / 2.006 GB, free: 176 MB / 1.136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.284e-05/4.119, allocations: 7.344 kB / 2.006 GB, free: 176 MB / 1.136 GB Notification: Performance of matching and sorting (n=725) (initialization): time 0.03294/4.152, allocations: 15.99 MB / 2.022 GB, free: 175.1 MB / 1.136 GB Notification: Performance of prepare postOptimizeDAE: time 5.651e-05/4.152, allocations: 18.66 kB / 2.022 GB, free: 175.1 MB / 1.136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.943e-05/4.152, allocations: 31.38 kB / 2.022 GB, free: 175.1 MB / 1.136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02347/4.175, allocations: 7.746 MB / 2.03 GB, free: 174.8 MB / 1.136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002378/4.178, allocations: 0.5588 MB / 2.03 GB, free: 174.8 MB / 1.136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08171/4.26, allocations: 70.51 MB / 2.099 GB, free: 122 MB / 1.136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007655/4.267, allocations: 241.5 kB / 2.099 GB, free: 121.8 MB / 1.136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001779/4.269, allocations: 200 kB / 2.099 GB, free: 121.6 MB / 1.136 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.009217/4.278, allocations: 2.435 MB / 2.102 GB, free: 119.6 MB / 1.136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001926/4.28, allocations: 471.2 kB / 2.102 GB, free: 119.2 MB / 1.136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05251/4.333, allocations: 15.9 MB / 2.118 GB, free: 106.5 MB / 1.136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.417e-05/4.333, allocations: 59.94 kB / 2.118 GB, free: 106.4 MB / 1.136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002864/4.333, allocations: 72 kB / 2.118 GB, free: 106.4 MB / 1.136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001277/4.333, allocations: 25.64 kB / 2.118 GB, free: 106.4 MB / 1.136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06845/4.402, allocations: 23.98 MB / 2.141 GB, free: 87.34 MB / 1.136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.73e-05/4.402, allocations: 11.66 kB / 2.141 GB, free: 87.33 MB / 1.136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002847/4.405, allocations: 321.2 kB / 2.142 GB, free: 87.09 MB / 1.136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03336/4.438, allocations: 6.882 MB / 2.148 GB, free: 81.78 MB / 1.136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001039/4.439, allocations: 111.7 kB / 2.149 GB, free: 81.67 MB / 1.136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08812/4.527, allocations: 67.36 MB / 2.214 GB, free: 21.03 MB / 1.136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.152e-06/4.527, allocations: 10.25 kB / 2.214 GB, free: 21.02 MB / 1.136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03449/4.562, allocations: 20.95 MB / 2.235 GB, free: 3.059 MB / 1.136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003438/4.565, allocations: 1.257 MB / 2.236 GB, free: 1.906 MB / 1.136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007854/4.566, allocations: 103.7 kB / 2.236 GB, free: 1.809 MB / 1.136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002612/4.569, allocations: 234.3 kB / 2.236 GB, free: 1.645 MB / 1.136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001541/4.57, allocations: 0.5274 MB / 2.237 GB, free: 1.32 MB / 1.136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003413/4.571, allocations: 136 kB / 2.237 GB, free: 1.188 MB / 1.136 GB Notification: Performance of sorting global known variables: time 0.002477/4.573, allocations: 1.673 MB / 2.239 GB, free: 0 / 1.136 GB Notification: Performance of sort global known variables: time 1.4e-07/4.573, allocations: 336 / 2.239 GB, free: 0 / 1.136 GB Notification: Performance of remove unused functions: time 0.02096/4.594, allocations: 3.349 MB / 2.242 GB, free: 15.82 MB / 1.151 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.002397/4.597, allocations: 238.9 kB / 2.242 GB, free: 15.6 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.03082/4.627, allocations: 13.82 MB / 2.256 GB, free: 1.691 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.332e-05/4.627, allocations: 0 / 2.256 GB, free: 1.691 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.02149/4.649, allocations: 9.059 MB / 2.264 GB, free: 8.535 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007656/4.657, allocations: 1.104 MB / 2.266 GB, free: 7.488 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05084/4.708, allocations: 17.93 MB / 2.283 GB, free: 5.59 MB / 1.182 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0123/4.72, allocations: 5.011 MB / 2.288 GB, free: 0.5352 MB / 1.182 GB Notification: Performance of simCode: alias equations: time 0.005401/4.725, allocations: 0.7522 MB / 2.289 GB, free: 15.83 MB / 1.198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005978/4.726, allocations: 195.4 kB / 2.289 GB, free: 15.64 MB / 1.198 GB Notification: Performance of SimCode: time 1.422e-06/4.726, allocations: 0 / 2.289 GB, free: 15.64 MB / 1.198 GB Notification: Performance of Templates: time 0.8567/5.583, allocations: 125.1 MB / 2.411 GB, free: 234.4 MB / 1.198 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