Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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_9_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_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.404/2.404, allocations: 390.3 MB / 405.3 MB, free: 13.48 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.001109/0.001109, allocations: 173.1 kB / 498.1 MB, free: 5.73 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.663/1.663, allocations: 223.2 MB / 0.7948 GB, free: 17.87 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.0009284/0.0009289, allocations: 104.2 kB / 0.9346 GB, free: 6.121 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003858/0.0003858, allocations: 13.56 kB / 1.084 GB, free: 221.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3389/0.3393, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2548/0.5941, allocations: 196.7 MB / 1.415 GB, free: 13.18 MB / 0.9167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002957/0.5944, allocations: 99.92 kB / 1.415 GB, free: 13.09 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 1.458/2.052, allocations: 326.3 MB / 1.734 GB, free: 5.293 MB / 1.01 GB Notification: Performance of FrontEnd: time 4.208e-06/2.052, allocations: 4 kB / 1.734 GB, free: 5.289 MB / 1.01 GB Notification: Performance of Transformations before backend: time 0.0005669/2.053, allocations: 147.8 kB / 1.734 GB, free: 5.145 MB / 1.01 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.02088/2.074, allocations: 5.173 MB / 1.739 GB, free: 15.89 MB / 1.026 GB Notification: Performance of prepare preOptimizeDAE: time 4.825e-05/2.074, allocations: 8.031 kB / 1.739 GB, free: 15.89 MB / 1.026 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01241/2.086, allocations: 1.491 MB / 1.74 GB, free: 14.39 MB / 1.026 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01428/2.101, allocations: 4.246 MB / 1.745 GB, free: 10.06 MB / 1.026 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00052/2.101, allocations: 374.1 kB / 1.745 GB, free: 9.695 MB / 1.026 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003145/2.104, allocations: 0.5073 MB / 1.745 GB, free: 9.191 MB / 1.026 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02472/2.129, allocations: 8.373 MB / 1.754 GB, free: 368 kB / 1.026 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002072/2.129, allocations: 27.7 kB / 1.754 GB, free: 340 kB / 1.026 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008875/2.13, allocations: 235.9 kB / 1.754 GB, free: 104 kB / 1.026 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004429/2.131, allocations: 330 kB / 1.754 GB, free: 15.78 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01574/2.146, allocations: 6.445 MB / 1.76 GB, free: 9.32 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06244/2.209, allocations: 40.01 MB / 1.799 GB, free: 14.07 MB / 1.089 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004649/2.214, allocations: 2.812 MB / 1.802 GB, free: 11.26 MB / 1.089 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002517/2.214, allocations: 30.08 kB / 1.802 GB, free: 11.23 MB / 1.089 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.974e-05/2.214, allocations: 60.66 kB / 1.802 GB, free: 11.16 MB / 1.089 GB Notification: Performance of pre-optimization done (n=265): time 5.35e-06/2.214, allocations: 0 / 1.802 GB, free: 11.16 MB / 1.089 GB Notification: Performance of matching and sorting (n=424): time 1.107/3.321, allocations: 64.89 MB / 1.866 GB, free: 229.1 MB / 1.12 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.332e-05/3.321, allocations: 99.55 kB / 1.866 GB, free: 229.1 MB / 1.12 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003209/3.324, allocations: 1.932 MB / 1.868 GB, free: 228.8 MB / 1.12 GB Notification: Performance of collectPreVariables (initialization): time 0.001159/3.326, allocations: 93.05 kB / 1.868 GB, free: 228.8 MB / 1.12 GB Notification: Performance of collectInitialEqns (initialization): time 0.001655/3.327, allocations: 2.337 MB / 1.87 GB, free: 228 MB / 1.12 GB Notification: Performance of collectInitialBindings (initialization): time 0.0023/3.33, allocations: 1.441 MB / 1.871 GB, free: 227.3 MB / 1.12 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003067/3.33, allocations: 87.69 kB / 1.872 GB, free: 227.3 MB / 1.12 GB Notification: Performance of setup shared object (initialization): time 0.000349/3.33, allocations: 482.2 kB / 1.872 GB, free: 227 MB / 1.12 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004578/3.335, allocations: 2.787 MB / 1.875 GB, free: 227 MB / 1.12 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004227/3.339, allocations: 3.732 MB / 1.878 GB, free: 225.9 MB / 1.12 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004168/3.343, allocations: 3.371 MB / 1.882 GB, free: 225.9 MB / 1.12 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.899e-05/3.343, allocations: 10.94 kB / 1.882 GB, free: 225.9 MB / 1.12 GB Notification: Performance of matching and sorting (n=557) (initialization): time 0.02523/3.369, allocations: 11.78 MB / 1.893 GB, free: 225.2 MB / 1.12 GB Notification: Performance of prepare postOptimizeDAE: time 4.383e-05/3.369, allocations: 17.53 kB / 1.893 GB, free: 225.2 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.059e-05/3.369, allocations: 33.03 kB / 1.893 GB, free: 225.2 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0172/3.386, allocations: 5.005 MB / 1.898 GB, free: 225 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002338/3.388, allocations: 0.5071 MB / 1.899 GB, free: 225 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1221/3.51, allocations: 66.88 MB / 1.964 GB, free: 188.1 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007018/3.517, allocations: 186.6 kB / 1.964 GB, free: 188.1 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001721/3.519, allocations: 164.9 kB / 1.964 GB, free: 188 MB / 1.12 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 () * Number of clocked 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.008699/3.528, allocations: 2.005 MB / 1.966 GB, free: 187.1 MB / 1.12 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002505/3.53, allocations: 386.8 kB / 1.967 GB, free: 187 MB / 1.12 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04643/3.577, allocations: 11.55 MB / 1.978 GB, free: 182.4 MB / 1.12 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.303e-05/3.577, allocations: 42.31 kB / 1.978 GB, free: 182.4 MB / 1.12 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002457/3.577, allocations: 49.05 kB / 1.978 GB, free: 182.4 MB / 1.12 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001032/3.577, allocations: 31.03 kB / 1.978 GB, free: 182.4 MB / 1.12 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07024/3.648, allocations: 17.88 MB / 1.995 GB, free: 175.6 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001025/3.648, allocations: 21.08 kB / 1.995 GB, free: 175.6 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002775/3.651, allocations: 287.5 kB / 1.996 GB, free: 175.6 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02674/3.677, allocations: 4.521 MB / 2 GB, free: 174.4 MB / 1.12 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001304/3.679, allocations: 82.03 kB / 2 GB, free: 174.3 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08991/3.769, allocations: 64.4 MB / 2.063 GB, free: 128 MB / 1.12 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.219e-05/3.769, allocations: 11.19 kB / 2.063 GB, free: 128 MB / 1.12 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03006/3.799, allocations: 15.29 MB / 2.078 GB, free: 120.9 MB / 1.12 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003393/3.802, allocations: 0.9698 MB / 2.079 GB, free: 120.3 MB / 1.12 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001467/3.804, allocations: 84.98 kB / 2.079 GB, free: 120.3 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003108/3.807, allocations: 174.4 kB / 2.079 GB, free: 120.2 MB / 1.12 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001474/3.808, allocations: 400.5 kB / 2.08 GB, free: 120.2 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002877/3.809, allocations: 104.5 kB / 2.08 GB, free: 120.1 MB / 1.12 GB Notification: Performance of sorting global known variables: time 0.001832/3.811, allocations: 1.462 MB / 2.081 GB, free: 119.2 MB / 1.12 GB Notification: Performance of sort global known variables: time 3.11e-07/3.811, allocations: 0 / 2.081 GB, free: 119.2 MB / 1.12 GB Notification: Performance of remove unused functions: time 0.007365/3.818, allocations: 1.776 MB / 2.083 GB, free: 117.5 MB / 1.12 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 () * Number of clocked 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.001001/3.819, allocations: 214 kB / 2.083 GB, free: 117.3 MB / 1.12 GB Notification: Performance of simCode: created initialization part: time 0.01842/3.837, allocations: 11.64 MB / 2.094 GB, free: 106.6 MB / 1.12 GB Notification: Performance of simCode: created event and clocks part: time 1.192e-05/3.837, allocations: 0 / 2.094 GB, free: 106.6 MB / 1.12 GB Notification: Performance of simCode: created simulation system equations: time 0.01391/3.851, allocations: 8.088 MB / 2.102 GB, free: 99.17 MB / 1.12 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005178/3.857, allocations: 0.9716 MB / 2.103 GB, free: 98.43 MB / 1.12 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02065/3.877, allocations: 14.08 MB / 2.117 GB, free: 85.62 MB / 1.12 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004699/3.882, allocations: 4.192 MB / 2.121 GB, free: 82.44 MB / 1.12 GB Notification: Performance of simCode: alias equations: time 0.00265/3.885, allocations: 0.6715 MB / 2.122 GB, free: 81.98 MB / 1.12 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004345/3.885, allocations: 182.7 kB / 2.122 GB, free: 81.8 MB / 1.12 GB Notification: Performance of SimCode: time 8.42e-07/3.885, allocations: 0 / 2.122 GB, free: 81.8 MB / 1.12 GB Notification: Performance of Templates: time 0.1343/4.019, allocations: 94.97 MB / 2.215 GB, free: 12.84 MB / 1.12 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC.csv","../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches