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.537/2.537, allocations: 390.5 MB / 398 MB, free: 10.94 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.001315/0.001315, allocations: 184.8 kB / 491.2 MB, free: 1.543 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.496/1.496, allocations: 221.5 MB / 0.7868 GB, free: 13.31 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.001134/0.001134, allocations: 91.83 kB / 0.9269 GB, free: 13.81 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.701e-05/1.7e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.268/0.2681, allocations: 143 MB / 1.212 GB, free: 39.5 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9883/1.256, allocations: 197.8 MB / 1.405 GB, free: 2.676 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002723/1.257, allocations: 95.12 kB / 1.406 GB, free: 2.625 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 1.894/3.151, allocations: 383.2 MB / 1.78 GB, free: 168.1 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.375e-06/3.151, allocations: 0 / 1.78 GB, free: 168.1 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.001519/3.152, allocations: 168.9 kB / 1.78 GB, free: 168.1 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.03899/3.191, allocations: 5.536 MB / 1.785 GB, free: 165.9 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001014/3.191, allocations: 9.219 kB / 1.785 GB, free: 165.9 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02533/3.217, allocations: 1.762 MB / 1.787 GB, free: 165.6 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02597/3.243, allocations: 5.053 MB / 1.792 GB, free: 164.6 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006415/3.243, allocations: 193.6 kB / 1.792 GB, free: 164.6 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004245/3.248, allocations: 356.7 kB / 1.793 GB, free: 164.6 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02265/3.27, allocations: 6.837 MB / 1.799 GB, free: 164.6 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03236/3.303, allocations: 8.978 MB / 1.808 GB, free: 163.3 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004598/3.303, allocations: 34.77 kB / 1.808 GB, free: 163.3 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00395/3.307, allocations: 15.34 kB / 1.808 GB, free: 163.3 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006672/3.308, allocations: 378.1 kB / 1.808 GB, free: 163.2 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06717/3.375, allocations: 45.11 MB / 1.853 GB, free: 136.7 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005413/3.381, allocations: 4.039 MB / 1.856 GB, free: 136.7 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004751/3.385, allocations: 3.452 MB / 1.86 GB, free: 136.6 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004053/3.386, allocations: 40.81 kB / 1.86 GB, free: 136.6 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.71e-05/3.386, allocations: 69.89 kB / 1.86 GB, free: 136.6 MB / 1.151 GB Notification: Performance of pre-optimization done (n=353): time 8.015e-06/3.386, allocations: 3.797 kB / 1.86 GB, free: 136.6 MB / 1.151 GB Notification: Performance of matching and sorting (n=578): time 0.09857/3.485, allocations: 37.28 MB / 1.896 GB, free: 133 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.108e-05/3.485, allocations: 115.7 kB / 1.896 GB, free: 133 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004241/3.489, allocations: 1.819 MB / 1.898 GB, free: 132.7 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.001146/3.49, allocations: 25.7 kB / 1.898 GB, free: 132.7 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.001731/3.492, allocations: 2.717 MB / 1.901 GB, free: 131.4 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.002503/3.494, allocations: 1.871 MB / 1.903 GB, free: 130.1 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008861/3.495, allocations: 4.938 kB / 1.903 GB, free: 130.1 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0004005/3.496, allocations: 0.5288 MB / 1.903 GB, free: 129.8 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005324/3.501, allocations: 3.616 MB / 1.907 GB, free: 129.8 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005914/3.507, allocations: 4.698 MB / 1.911 GB, free: 128.6 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006229/3.513, allocations: 4.409 MB / 1.916 GB, free: 128.5 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.24e-05/3.513, allocations: 9.781 kB / 1.916 GB, free: 128.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=725) (initialization): time 0.03095/3.544, allocations: 15.16 MB / 1.93 GB, free: 124.7 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 7.672e-05/3.544, allocations: 22.7 kB / 1.931 GB, free: 124.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.022e-05/3.544, allocations: 33.31 kB / 1.931 GB, free: 124.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02315/3.567, allocations: 7.306 MB / 1.938 GB, free: 122.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002698/3.57, allocations: 0.5614 MB / 1.938 GB, free: 122.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09001/3.66, allocations: 65.15 MB / 2.002 GB, free: 85.73 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006962/3.667, allocations: 132.8 kB / 2.002 GB, free: 85.73 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002463/3.67, allocations: 208.5 kB / 2.002 GB, free: 85.68 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.00435/3.674, allocations: 186.1 kB / 2.002 GB, free: 85.55 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003504/3.678, allocations: 453.2 kB / 2.003 GB, free: 85.32 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03691/3.715, allocations: 15.16 MB / 2.018 GB, free: 79.71 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.641e-05/3.715, allocations: 56.81 kB / 2.018 GB, free: 79.71 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001798/3.715, allocations: 71.62 kB / 2.018 GB, free: 79.71 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001496/3.715, allocations: 29.06 kB / 2.018 GB, free: 79.71 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05206/3.767, allocations: 22.28 MB / 2.039 GB, free: 71.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.749e-05/3.767, allocations: 6.406 kB / 2.04 GB, free: 71.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001938/3.769, allocations: 322.1 kB / 2.04 GB, free: 71.28 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02145/3.791, allocations: 6.729 MB / 2.046 GB, free: 69.63 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001497/3.792, allocations: 14.91 kB / 2.046 GB, free: 69.63 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07856/3.871, allocations: 62.24 MB / 2.107 GB, free: 18 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.124e-05/3.871, allocations: 15.94 kB / 2.107 GB, free: 17.99 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04245/3.913, allocations: 20.16 MB / 2.127 GB, free: 280 kB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004905/3.918, allocations: 1.236 MB / 2.128 GB, free: 15.14 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002659/3.921, allocations: 16 kB / 2.128 GB, free: 15.12 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005127/3.926, allocations: 144.8 kB / 2.128 GB, free: 15.05 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003048/3.929, allocations: 0.5233 MB / 2.129 GB, free: 14.71 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001201/3.93, allocations: 144 kB / 2.129 GB, free: 14.57 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.004247/3.935, allocations: 1.33 MB / 2.13 GB, free: 13.39 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.1e-07/3.935, allocations: 0 / 2.13 GB, free: 13.39 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.0161/3.951, allocations: 2.038 MB / 2.132 GB, free: 11.36 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.001773/3.953, allocations: 146.8 kB / 2.132 GB, free: 11.21 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.03158/3.984, allocations: 13.01 MB / 2.145 GB, free: 15.33 MB / 1.182 GB Notification: Performance of simCode: created event and clocks part: time 1.749e-05/3.984, allocations: 0 / 2.145 GB, free: 15.33 MB / 1.182 GB Notification: Performance of simCode: created simulation system equations: time 0.0225/4.007, allocations: 8.497 MB / 2.153 GB, free: 7.68 MB / 1.182 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007891/4.015, allocations: 0.9789 MB / 2.154 GB, free: 6.949 MB / 1.182 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04639/4.061, allocations: 13.4 MB / 2.167 GB, free: 13.01 MB / 1.198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01132/4.073, allocations: 5.018 MB / 2.172 GB, free: 9.227 MB / 1.198 GB Notification: Performance of simCode: alias equations: time 0.00416/4.077, allocations: 0.7227 MB / 2.173 GB, free: 8.727 MB / 1.198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009023/4.078, allocations: 183.4 kB / 2.173 GB, free: 8.551 MB / 1.198 GB Notification: Performance of SimCode: time 1.292e-06/4.078, allocations: 0 / 2.173 GB, free: 8.551 MB / 1.198 GB Notification: Performance of Templates: time 1.072/5.15, allocations: 120 MB / 2.29 GB, free: 252.1 MB / 1.214 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