Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.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_RL_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load_sc_1.load1.v.1.|load_sc_1.load1.v.2.|load_sc_2.load1.v.1.|load_sc_2.load1.v.2.|load_sc_1.load1.i.1.|load_sc_1.load1.i.2.|load_sc_2.load1.i.1.|load_sc_2.load1.i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load_sc_1.load1.v.1.|load_sc_1.load1.v.2.|load_sc_2.load1.v.1.|load_sc_2.load1.v.2.|load_sc_1.load1.i.1.|load_sc_1.load1.i.2.|load_sc_2.load1.i.1.|load_sc_2.load1.i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.531/2.531, allocations: 387.4 MB / 394.9 MB, free: 13.37 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.00105/0.001049, allocations: 176.9 kB / 487.4 MB, free: 5.059 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.46/1.46, allocations: 221.5 MB / 0.7824 GB, free: 0.9844 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008661/0.0008661, allocations: 94.78 kB / 0.9219 GB, free: 2.223 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.849e-05/1.852e-05, allocations: 8 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2366/0.2366, allocations: 142.4 MB / 1.206 GB, free: 43.98 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8753/1.112, allocations: 207.2 MB / 1.408 GB, free: 1.379 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003322/1.112, allocations: 93.88 kB / 1.408 GB, free: 1.328 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.3483/1.461, allocations: 120.1 MB / 1.526 GB, free: 7.172 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.823e-06/1.461, allocations: 4 kB / 1.526 GB, free: 7.168 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0002388/1.461, allocations: 75.98 kB / 1.526 GB, free: 7.094 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.008833/1.47, allocations: 2.665 MB / 1.528 GB, free: 4.371 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.228e-05/1.47, allocations: 8.031 kB / 1.528 GB, free: 4.363 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005329/1.475, allocations: 0.6636 MB / 1.529 GB, free: 3.695 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008266/1.484, allocations: 2.071 MB / 1.531 GB, free: 1.562 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002631/1.484, allocations: 96 kB / 1.531 GB, free: 1.469 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001648/1.485, allocations: 171.9 kB / 1.531 GB, free: 1.301 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01054/1.496, allocations: 2.976 MB / 1.534 GB, free: 14.32 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01262/1.509, allocations: 4.119 MB / 1.538 GB, free: 9.945 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001393/1.509, allocations: 15.92 kB / 1.538 GB, free: 9.93 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008451/1.51, allocations: 8 kB / 1.538 GB, free: 9.922 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002373/1.51, allocations: 161.8 kB / 1.538 GB, free: 9.762 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0261/1.536, allocations: 21 MB / 1.559 GB, free: 2.789 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0021/1.538, allocations: 1.24 MB / 1.56 GB, free: 1.535 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001461/1.54, allocations: 0.9968 MB / 1.561 GB, free: 0.543 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 6.575e-05/1.54, allocations: 13.31 kB / 1.561 GB, free: 0.5312 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.136e-05/1.54, allocations: 43.88 kB / 1.561 GB, free: 488 kB / 0.9636 GB Notification: Performance of pre-optimization done (n=107): time 3.046e-06/1.54, allocations: 0 / 1.561 GB, free: 488 kB / 0.9636 GB Notification: Performance of matching and sorting (n=138): time 0.009466/1.549, allocations: 4.719 MB / 1.566 GB, free: 11.77 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.067e-05/1.55, allocations: 64.72 kB / 1.566 GB, free: 11.69 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001104/1.551, allocations: 0.8189 MB / 1.567 GB, free: 10.86 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 7.798e-05/1.551, allocations: 29.64 kB / 1.567 GB, free: 10.83 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008087/1.552, allocations: 1.311 MB / 1.568 GB, free: 9.5 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.000373/1.552, allocations: 461.1 kB / 1.568 GB, free: 9.043 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.284e-05/1.552, allocations: 0 / 1.568 GB, free: 9.043 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001481/1.552, allocations: 373.9 kB / 1.569 GB, free: 8.672 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001075/1.553, allocations: 0.8278 MB / 1.57 GB, free: 7.844 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00137/1.555, allocations: 1.28 MB / 1.571 GB, free: 6.359 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001341/1.556, allocations: 1.068 MB / 1.572 GB, free: 5.293 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.464e-06/1.556, allocations: 4 kB / 1.572 GB, free: 5.289 MB / 0.9792 GB Notification: Performance of matching and sorting (n=205) (initialization): time 0.005325/1.561, allocations: 3.175 MB / 1.575 GB, free: 2.094 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 2.506e-05/1.561, allocations: 12 kB / 1.575 GB, free: 2.082 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.916e-05/1.561, allocations: 12 kB / 1.575 GB, free: 2.07 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002803/1.564, allocations: 1.085 MB / 1.576 GB, free: 0.9805 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009513/1.565, allocations: 271.5 kB / 1.576 GB, free: 0.7148 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01496/1.58, allocations: 12.03 MB / 1.588 GB, free: 4.336 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001283/1.581, allocations: 55.91 kB / 1.588 GB, free: 4.281 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001429/1.582, allocations: 68.06 kB / 1.588 GB, free: 4.215 MB / 0.9948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (134): * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(5,84.0%) 17,(5,84.0%) 17,(5,88.0%) 25} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00027/1.582, allocations: 152.4 kB / 1.588 GB, free: 4.059 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002251/1.582, allocations: 150.2 kB / 1.588 GB, free: 3.91 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005283/1.587, allocations: 2.942 MB / 1.591 GB, free: 0.9414 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.361e-05/1.587, allocations: 19.98 kB / 1.591 GB, free: 0.9219 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.223e-05/1.587, allocations: 12 kB / 1.591 GB, free: 0.9102 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.1e-05/1.587, allocations: 3.984 kB / 1.591 GB, free: 0.9062 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009452/1.597, allocations: 5.503 MB / 1.597 GB, free: 11.29 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.538e-06/1.597, allocations: 8 kB / 1.597 GB, free: 11.29 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006863/1.598, allocations: 147.8 kB / 1.597 GB, free: 11.14 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002617/1.6, allocations: 1.009 MB / 1.598 GB, free: 10.12 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.606e-05/1.6, allocations: 7.953 kB / 1.598 GB, free: 10.12 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01443/1.615, allocations: 11.73 MB / 1.609 GB, free: 14.04 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.017e-06/1.615, allocations: 7.938 kB / 1.609 GB, free: 14.03 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004839/1.62, allocations: 3.179 MB / 1.612 GB, free: 10.69 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006964/1.62, allocations: 415 kB / 1.613 GB, free: 10.26 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001872/1.621, allocations: 7.984 kB / 1.613 GB, free: 10.25 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007438/1.621, allocations: 55.91 kB / 1.613 GB, free: 10.2 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002796/1.622, allocations: 132.9 kB / 1.613 GB, free: 10.07 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.086e-05/1.622, allocations: 40 kB / 1.613 GB, free: 10.03 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.0008152/1.623, allocations: 0.6126 MB / 1.614 GB, free: 9.41 MB / 1.026 GB Notification: Performance of sort global known variables: time 1.6e-07/1.623, allocations: 0 / 1.614 GB, free: 9.41 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.001965/1.625, allocations: 0.5976 MB / 1.614 GB, free: 8.812 MB / 1.026 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 67 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(5,84.0%) 17,(5,88.0%) 25,(5,84.0%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000221/1.625, allocations: 125.2 kB / 1.614 GB, free: 8.684 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.004318/1.629, allocations: 2.88 MB / 1.617 GB, free: 5.773 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 5.631e-06/1.629, allocations: 4 kB / 1.617 GB, free: 5.77 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.002706/1.632, allocations: 1.816 MB / 1.619 GB, free: 3.922 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001922/1.634, allocations: 393.9 kB / 1.619 GB, free: 3.543 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007967/1.642, allocations: 4.239 MB / 1.623 GB, free: 15.21 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002601/1.644, allocations: 2.391 MB / 1.626 GB, free: 12.78 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 0.001176/1.646, allocations: 337.3 kB / 1.626 GB, free: 12.45 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001996/1.646, allocations: 83.42 kB / 1.626 GB, free: 12.37 MB / 1.042 GB Notification: Performance of SimCode: time 7.61e-07/1.646, allocations: 0 / 1.626 GB, free: 12.37 MB / 1.042 GB Notification: Performance of Templates: time 0.04383/1.69, allocations: 27.31 MB / 1.653 GB, free: 1.418 MB / 1.057 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N.csv","../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches