Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|sc_load.i.1.|sc_load.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|sc_load.i.1.|sc_load.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.387/1.387, allocations: 249.4 MB / 256.7 MB, free: 6.992 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001024/0.001024, allocations: 181.3 kB / 316 MB, free: 3.504 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.207/1.207, allocations: 205.2 MB / 0.5667 GB, free: 15.65 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008628/0.0008628, allocations: 86.7 kB / 0.671 GB, free: 4.785 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.414e-06/7.434e-06, allocations: 0 / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1996/0.1997, allocations: 106.3 MB / 0.8846 GB, free: 12.61 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6589/0.8586, allocations: 157.6 MB / 1.038 GB, free: 14.71 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003093/0.859, allocations: 93.81 kB / 1.039 GB, free: 14.66 MB / 0.6667 GB Notification: Performance of FrontEnd: time 0.08581/0.9448, allocations: 36.44 MB / 1.074 GB, free: 244 kB / 0.6823 GB Notification: Performance of Transformations before backend: time 5.273e-05/0.9449, allocations: 27.92 kB / 1.074 GB, free: 216 kB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.001804/0.9467, allocations: 0.9634 MB / 1.075 GB, free: 15.25 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.613e-05/0.9467, allocations: 8.031 kB / 1.075 GB, free: 15.24 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001596/0.9483, allocations: 249.8 kB / 1.075 GB, free: 15 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009183/0.9493, allocations: 0.5398 MB / 1.076 GB, free: 14.48 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.454e-05/0.9493, allocations: 20 kB / 1.076 GB, free: 14.46 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.634e-05/0.9494, allocations: 36 kB / 1.076 GB, free: 14.43 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000981/0.9504, allocations: 0.6245 MB / 1.077 GB, free: 14.01 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001371/0.9518, allocations: 1.033 MB / 1.078 GB, free: 13.05 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.05e-05/0.9518, allocations: 7.938 kB / 1.078 GB, free: 13.04 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.639e-05/0.9519, allocations: 4 kB / 1.078 GB, free: 13.04 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.707e-05/0.952, allocations: 60.97 kB / 1.078 GB, free: 12.98 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00562/0.9576, allocations: 5.791 MB / 1.083 GB, free: 7.316 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009789/0.9586, allocations: 0.524 MB / 1.084 GB, free: 6.941 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000424/0.9591, allocations: 321.2 kB / 1.084 GB, free: 6.738 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.796e-05/0.9591, allocations: 8.438 kB / 1.084 GB, free: 6.73 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.474e-05/0.9592, allocations: 38.81 kB / 1.084 GB, free: 6.688 MB / 0.698 GB Notification: Performance of pre-optimization done (n=47): time 4.629e-06/0.9592, allocations: 0 / 1.084 GB, free: 6.688 MB / 0.698 GB Notification: Performance of matching and sorting (n=48): time 0.002132/0.9613, allocations: 1.187 MB / 1.085 GB, free: 5.75 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.49e-05/0.9614, allocations: 59.75 kB / 1.085 GB, free: 5.68 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000438/0.9618, allocations: 409 kB / 1.086 GB, free: 5.359 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.562e-05/0.9618, allocations: 25.7 kB / 1.086 GB, free: 5.328 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001892/0.962, allocations: 349.1 kB / 1.086 GB, free: 5.02 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001169/0.9622, allocations: 165.8 kB / 1.086 GB, free: 4.875 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.886e-05/0.9622, allocations: 0 / 1.086 GB, free: 4.875 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001407/0.9624, allocations: 369.7 kB / 1.087 GB, free: 4.527 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000345/0.9627, allocations: 262 kB / 1.087 GB, free: 4.363 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005209/0.9632, allocations: 442.6 kB / 1.087 GB, free: 3.957 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004331/0.9637, allocations: 331.9 kB / 1.088 GB, free: 3.738 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.9637, allocations: 0 / 1.088 GB, free: 3.738 MB / 0.698 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001588/0.9653, allocations: 0.9914 MB / 1.089 GB, free: 2.957 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/0.9653, allocations: 8 kB / 1.089 GB, free: 2.949 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.228e-05/0.9653, allocations: 4 kB / 1.089 GB, free: 2.945 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008549/0.9662, allocations: 268.6 kB / 1.089 GB, free: 2.719 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004819/0.9667, allocations: 119 kB / 1.089 GB, free: 2.605 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005704/0.9724, allocations: 6.2 MB / 1.095 GB, free: 12.46 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005781/0.973, allocations: 19.97 kB / 1.095 GB, free: 12.44 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.204e-05/0.9731, allocations: 27.69 kB / 1.095 GB, free: 12.41 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 59 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 6,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001681/0.9732, allocations: 128.6 kB / 1.095 GB, free: 12.29 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001176/0.9734, allocations: 67.19 kB / 1.095 GB, free: 12.22 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001474/0.9748, allocations: 0.8465 MB / 1.096 GB, free: 11.59 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/0.9748, allocations: 4 kB / 1.096 GB, free: 11.59 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.9749, allocations: 4 kB / 1.096 GB, free: 11.59 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.652e-05/0.9749, allocations: 3.984 kB / 1.096 GB, free: 11.58 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00244/0.9773, allocations: 1.598 MB / 1.098 GB, free: 10.29 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/0.9773, allocations: 4 kB / 1.098 GB, free: 10.28 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002666/0.9776, allocations: 51.53 kB / 1.098 GB, free: 10.23 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007493/0.9784, allocations: 273 kB / 1.098 GB, free: 10 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.4e-05/0.9784, allocations: 11.91 kB / 1.098 GB, free: 9.992 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005376/0.9838, allocations: 6.178 MB / 1.104 GB, free: 3.859 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.579e-06/0.9838, allocations: 0 / 1.104 GB, free: 3.859 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001515/0.9854, allocations: 1.023 MB / 1.105 GB, free: 2.957 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000299/0.9857, allocations: 191.3 kB / 1.105 GB, free: 2.77 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.762e-05/0.9858, allocations: 0 / 1.105 GB, free: 2.77 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000364/0.9861, allocations: 15.89 kB / 1.105 GB, free: 2.754 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.048e-05/0.9862, allocations: 30.45 kB / 1.105 GB, free: 2.73 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.654e-05/0.9863, allocations: 19.19 kB / 1.105 GB, free: 2.715 MB / 0.7136 GB Notification: Performance of sort global known variables: time 0.000337/0.9866, allocations: 296.4 kB / 1.105 GB, free: 2.496 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0008688/0.9875, allocations: 200 kB / 1.106 GB, free: 2.301 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 27 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 6,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000203/0.9877, allocations: 114.3 kB / 1.106 GB, free: 2.18 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001817/0.9895, allocations: 1.147 MB / 1.107 GB, free: 1.211 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.047e-06/0.9895, allocations: 1.562 kB / 1.107 GB, free: 1.211 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.00123/0.9908, allocations: 0.8037 MB / 1.108 GB, free: 488 kB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008296/0.9916, allocations: 166.5 kB / 1.108 GB, free: 340 kB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002025/0.9936, allocations: 0.9979 MB / 1.109 GB, free: 15.29 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007414/0.9944, allocations: 1.051 MB / 1.11 GB, free: 14.21 MB / 0.7292 GB Notification: Performance of SimCode: time 3.51e-07/0.9944, allocations: 4 kB / 1.11 GB, free: 14.21 MB / 0.7292 GB Notification: Performance of Templates: time 0.01779/1.012, allocations: 10.1 MB / 1.12 GB, free: 4.207 MB / 0.7292 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R.csv","../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches