Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.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,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") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.307/2.307, allocations: 390.5 MB / 398 MB, free: 10.95 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.001128/0.001128, allocations: 176.9 kB / 491.2 MB, free: 1.605 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.605/1.605, allocations: 221.5 MB / 0.7868 GB, free: 13.33 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.0009624/0.0009625, allocations: 103.6 kB / 0.9269 GB, free: 13.82 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.12e-05/2.143e-05, allocations: 4.219 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2861/0.2862, allocations: 143 MB / 1.212 GB, free: 39.52 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.02/1.306, allocations: 196.8 MB / 1.404 GB, free: 3.707 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003096/1.306, allocations: 93.88 kB / 1.405 GB, free: 3.656 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.7982/2.105, allocations: 323.5 MB / 1.721 GB, free: 12.1 MB / 1.135 GB Notification: Performance of FrontEnd: time 1.493e-06/2.105, allocations: 0 / 1.721 GB, free: 12.1 MB / 1.135 GB Notification: Performance of Transformations before backend: time 0.0007072/2.105, allocations: 151.8 kB / 1.721 GB, free: 11.95 MB / 1.135 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1394 * Number of variables: 1394 Notification: Performance of Generate backend data structure: time 0.02021/2.126, allocations: 4.651 MB / 1.725 GB, free: 7.234 MB / 1.135 GB Notification: Performance of prepare preOptimizeDAE: time 4.856e-05/2.126, allocations: 8.031 kB / 1.725 GB, free: 7.227 MB / 1.135 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01247/2.138, allocations: 1.491 MB / 1.727 GB, free: 5.727 MB / 1.135 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01461/2.153, allocations: 4.226 MB / 1.731 GB, free: 1.418 MB / 1.135 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003909/2.153, allocations: 160 kB / 1.731 GB, free: 1.262 MB / 1.135 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003085/2.156, allocations: 300.2 kB / 1.731 GB, free: 0.9688 MB / 1.135 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01718/2.173, allocations: 5.577 MB / 1.737 GB, free: 11.39 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02578/2.199, allocations: 7.538 MB / 1.744 GB, free: 3.391 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000335/2.2, allocations: 27.72 kB / 1.744 GB, free: 3.363 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002336/2.202, allocations: 15.98 kB / 1.744 GB, free: 3.348 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000516/2.203, allocations: 330 kB / 1.744 GB, free: 3.023 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.9336/3.136, allocations: 38.92 MB / 1.782 GB, free: 221.2 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004902/3.141, allocations: 2.704 MB / 1.785 GB, free: 221.2 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004612/3.146, allocations: 2.479 MB / 1.787 GB, free: 221.2 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003066/3.146, allocations: 26.84 kB / 1.787 GB, free: 221.1 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.466e-05/3.146, allocations: 61.17 kB / 1.788 GB, free: 221.1 MB / 1.151 GB Notification: Performance of pre-optimization done (n=265): time 6.973e-06/3.146, allocations: 3.703 kB / 1.788 GB, free: 221.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=424): time 0.07972/3.226, allocations: 27.34 MB / 1.814 GB, free: 218.9 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.903e-05/3.226, allocations: 95.11 kB / 1.814 GB, free: 218.8 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002986/3.229, allocations: 1.627 MB / 1.816 GB, free: 218.6 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.001133/3.23, allocations: 25.7 kB / 1.816 GB, free: 218.6 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.001539/3.232, allocations: 2.364 MB / 1.818 GB, free: 217.8 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.002056/3.234, allocations: 1.38 MB / 1.82 GB, free: 217 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002675/3.234, allocations: 0 / 1.82 GB, free: 217 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0002343/3.234, allocations: 479.8 kB / 1.82 GB, free: 216.7 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003346/3.238, allocations: 2.648 MB / 1.823 GB, free: 216.7 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003817/3.242, allocations: 3.58 MB / 1.826 GB, free: 215.7 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004545/3.246, allocations: 3.233 MB / 1.829 GB, free: 215.6 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.106e-05/3.246, allocations: 10.31 kB / 1.829 GB, free: 215.6 MB / 1.151 GB Notification: Performance of matching and sorting (n=557) (initialization): time 0.02468/3.271, allocations: 11.16 MB / 1.84 GB, free: 215 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 4.788e-05/3.271, allocations: 13.91 kB / 1.84 GB, free: 215 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.422e-05/3.271, allocations: 28.69 kB / 1.84 GB, free: 215 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01729/3.288, allocations: 4.892 MB / 1.845 GB, free: 214.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002882/3.291, allocations: 0.5103 MB / 1.846 GB, free: 214.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06452/3.356, allocations: 62.27 MB / 1.906 GB, free: 176.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005535/3.361, allocations: 104.7 kB / 1.906 GB, free: 176.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00129/3.363, allocations: 166.7 kB / 1.907 GB, free: 176.4 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 125 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (275): * Single equations (assignments): 251 * 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: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 24 {(2,100.0%) 2,(1,100.0%) 1,(2,100.0%) 2,(1,100.0%) 1,(2,100.0%) 2,(1,100.0%) 1,(2,100.0%) 8,(2,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(2,100.0%) 16,(2,100.0%) 8,(2,100.0%) 8,(2,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(3,100.0%) 15,(2,100.0%) 8,(2,100.0%) 8,(2,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(3,100.0%) 15,(2,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001064/3.364, allocations: 189.4 kB / 1.907 GB, free: 176.3 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001432/3.365, allocations: 369.8 kB / 1.907 GB, free: 176.1 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0238/3.389, allocations: 11 MB / 1.918 GB, free: 172 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.479e-05/3.389, allocations: 45.75 kB / 1.918 GB, free: 172 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002029/3.389, allocations: 51.56 kB / 1.918 GB, free: 172 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001377/3.39, allocations: 21.7 kB / 1.918 GB, free: 172 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03569/3.425, allocations: 16.53 MB / 1.934 GB, free: 165.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.019e-05/3.425, allocations: 10.88 kB / 1.934 GB, free: 165.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001709/3.427, allocations: 292 kB / 1.934 GB, free: 165.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01437/3.441, allocations: 4.424 MB / 1.939 GB, free: 164.5 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008887/3.442, allocations: 19.53 kB / 1.939 GB, free: 164.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06163/3.504, allocations: 60.01 MB / 1.997 GB, free: 121.2 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.098e-05/3.504, allocations: 8.875 kB / 1.997 GB, free: 121.2 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0263/3.53, allocations: 14.7 MB / 2.012 GB, free: 114.4 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003156/3.534, allocations: 0.9529 MB / 2.013 GB, free: 113.9 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001073/3.535, allocations: 19 kB / 2.013 GB, free: 113.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002828/3.538, allocations: 111.1 kB / 2.013 GB, free: 113.9 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001675/3.539, allocations: 401.5 kB / 2.013 GB, free: 113.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002796/3.54, allocations: 106.6 kB / 2.013 GB, free: 113.8 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.00194/3.542, allocations: 1.191 MB / 2.014 GB, free: 113.3 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.092e-06/3.542, allocations: 0 / 2.014 GB, free: 113.3 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.008289/3.55, allocations: 1.553 MB / 2.016 GB, free: 113.3 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 6 (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]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (145): * Single equations (assignments): 121 * 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: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 24 {(2,100.0%) 8,(2,100.0%) 8,(2,100.0%) 8,(3,100.0%) 15,(3,100.0%) 15,(3,100.0%) 15,(4,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 8,(2,100.0%) 16,(4,100.0%) 16,(2,100.0%) 8,(3,100.0%) 15,(4,100.0%) 16,(2,100.0%) 8,(2,100.0%) 16,(4,100.0%) 16} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007605/3.551, allocations: 147.6 kB / 2.016 GB, free: 113.2 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.01791/3.569, allocations: 10.96 MB / 2.027 GB, free: 105.8 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.367e-05/3.569, allocations: 0.75 kB / 2.027 GB, free: 105.8 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.01351/3.582, allocations: 7.587 MB / 2.034 GB, free: 98.78 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006236/3.588, allocations: 0.8738 MB / 2.035 GB, free: 98.13 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.019/3.607, allocations: 9.758 MB / 2.045 GB, free: 89.42 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004415/3.612, allocations: 4.188 MB / 2.049 GB, free: 86.24 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.002724/3.615, allocations: 0.6521 MB / 2.049 GB, free: 85.79 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000422/3.615, allocations: 171.1 kB / 2.049 GB, free: 85.63 MB / 1.151 GB Notification: Performance of SimCode: time 2.514e-06/3.615, allocations: 0 / 2.049 GB, free: 85.63 MB / 1.151 GB Notification: Performance of Templates: time 0.1449/3.76, allocations: 90.49 MB / 2.138 GB, free: 24.7 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC.csv","../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches