Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.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.ACLineMatrix_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rline_1.terminal_n.phase.1..i.1.|Rline_1.terminal_n.phase.1..i.2.|Rline_2a.terminal_n.phase.1..i.1.|Rline_2a.terminal_n.phase.1..i.2.|Rline_3a.terminal_n.phase.1..i.1.|Rline_3a.terminal_n.phase.1..i.2.|Rline_3b.terminal_n.phase.1..i.1.|Rline_3b.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rline_1.terminal_n.phase.1..i.1.|Rline_1.terminal_n.phase.1..i.2.|Rline_2a.terminal_n.phase.1..i.1.|Rline_2a.terminal_n.phase.1..i.2.|Rline_3a.terminal_n.phase.1..i.1.|Rline_3a.terminal_n.phase.1..i.2.|Rline_3b.terminal_n.phase.1..i.1.|Rline_3b.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL") [: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 10.0.0-master/package.mo): time 1.692/1.692, allocations: 390.4 MB / 397.7 MB, free: 11.22 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.0009041/0.0009042, allocations: 184.2 kB / 490.8 MB, free: 1.914 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.05/1.05, allocations: 221.4 MB / 0.7863 GB, free: 13.68 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.0008117/0.0008118, allocations: 99.3 kB / 0.9264 GB, free: 14.2 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 5.491e-06/5.601e-06, allocations: 0 / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1667/0.1668, allocations: 143 MB / 1.212 GB, free: 40.09 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4662/0.633, allocations: 177.2 MB / 1.385 GB, free: 16.62 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001944/0.6333, allocations: 88.25 kB / 1.385 GB, free: 16.61 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.3294/0.9626, allocations: 160.3 MB / 1.541 GB, free: 5.828 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001776/0.9629, allocations: 91.91 kB / 1.541 GB, free: 5.738 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 913 * Number of variables: 913 Notification: Performance of Generate backend data structure: time 0.005819/0.9687, allocations: 2.929 MB / 1.544 GB, free: 2.754 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.079e-05/0.9687, allocations: 12.03 kB / 1.544 GB, free: 2.742 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00544/0.9742, allocations: 0.9787 MB / 1.545 GB, free: 1.758 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003674/0.9778, allocations: 2.283 MB / 1.547 GB, free: 15.42 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.226e-05/0.978, allocations: 104 kB / 1.547 GB, free: 15.32 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004321/0.9784, allocations: 191.9 kB / 1.548 GB, free: 15.13 MB / 0.9636 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005427/0.9838, allocations: 3.781 MB / 1.551 GB, free: 11.34 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006737/0.9906, allocations: 5.285 MB / 1.557 GB, free: 5.727 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.406e-05/0.9906, allocations: 11.88 kB / 1.557 GB, free: 5.715 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002846/0.9909, allocations: 8 kB / 1.557 GB, free: 5.707 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004426/0.9914, allocations: 342.2 kB / 1.557 GB, free: 5.371 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02391/1.015, allocations: 28.71 MB / 1.585 GB, free: 6 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001552/1.017, allocations: 1.44 MB / 1.586 GB, free: 4.555 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001538/1.018, allocations: 1.51 MB / 1.588 GB, free: 3.047 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 5.75e-05/1.018, allocations: 12.98 kB / 1.588 GB, free: 3.031 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.462e-05/1.019, allocations: 47.5 kB / 1.588 GB, free: 2.977 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=110): time 2.735e-06/1.019, allocations: 0 / 1.588 GB, free: 2.977 MB / 0.9948 GB Notification: Performance of matching and sorting (n=179): time 0.03086/1.049, allocations: 13.39 MB / 1.601 GB, free: 5.562 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.103e-05/1.049, allocations: 69.41 kB / 1.601 GB, free: 5.484 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001102/1.051, allocations: 1.054 MB / 1.602 GB, free: 4.426 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.0001421/1.051, allocations: 25.7 kB / 1.602 GB, free: 4.395 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005663/1.051, allocations: 1.304 MB / 1.603 GB, free: 3.066 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004404/1.052, allocations: 0.5928 MB / 1.604 GB, free: 2.465 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001502/1.052, allocations: 0 / 1.604 GB, free: 2.465 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001401/1.052, allocations: 381.9 kB / 1.604 GB, free: 2.086 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002069/1.054, allocations: 1.851 MB / 1.606 GB, free: 240 kB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002354/1.056, allocations: 2.346 MB / 1.608 GB, free: 13.68 MB / 1.026 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003445/1.06, allocations: 2.43 MB / 1.611 GB, free: 11.25 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.544e-06/1.06, allocations: 4 kB / 1.611 GB, free: 11.24 MB / 1.026 GB Notification: Performance of matching and sorting (n=250) (initialization): time 0.01283/1.073, allocations: 7.685 MB / 1.618 GB, free: 3.523 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 1.179e-05/1.073, allocations: 11.22 kB / 1.618 GB, free: 3.516 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.685e-05/1.073, allocations: 16 kB / 1.618 GB, free: 3.5 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01118/1.084, allocations: 4.12 MB / 1.622 GB, free: 15.36 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009254/1.085, allocations: 283.5 kB / 1.623 GB, free: 15.08 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02579/1.111, allocations: 19.34 MB / 1.641 GB, free: 11.32 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00126/1.112, allocations: 67.88 kB / 1.642 GB, free: 11.25 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002792/1.112, allocations: 175.9 kB / 1.642 GB, free: 11.08 MB / 1.057 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 69 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (148): * Single equations (assignments): 142 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(11,91.7%) 13,(6,100.0%) 12,(6,100.0%) 6} * Non-linear torn systems: 3 {12 12,6 12,6 6} Notification: Performance of prepare postOptimizeDAE: time 0.0003425/1.113, allocations: 156.4 kB / 1.642 GB, free: 10.92 MB / 1.057 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003001/1.113, allocations: 186.2 kB / 1.642 GB, free: 10.73 MB / 1.057 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01302/1.126, allocations: 7.734 MB / 1.65 GB, free: 2.961 MB / 1.057 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.31e-05/1.126, allocations: 16 kB / 1.65 GB, free: 2.945 MB / 1.057 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.103e-05/1.126, allocations: 16 kB / 1.65 GB, free: 2.93 MB / 1.057 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.676e-05/1.126, allocations: 19.95 kB / 1.65 GB, free: 2.91 MB / 1.057 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01876/1.145, allocations: 11.72 MB / 1.661 GB, free: 7.016 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.276e-05/1.145, allocations: 7.906 kB / 1.661 GB, free: 7.008 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006176/1.145, allocations: 159.7 kB / 1.661 GB, free: 6.852 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01099/1.156, allocations: 4.037 MB / 1.665 GB, free: 2.793 MB / 1.073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001815/1.157, allocations: 47.92 kB / 1.665 GB, free: 2.746 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02461/1.181, allocations: 18.92 MB / 1.684 GB, free: 15.38 MB / 1.104 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.284e-06/1.181, allocations: 11.94 kB / 1.684 GB, free: 15.37 MB / 1.104 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01256/1.194, allocations: 7.93 MB / 1.691 GB, free: 7.117 MB / 1.104 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001119/1.195, allocations: 0.6899 MB / 1.692 GB, free: 6.406 MB / 1.104 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000361/1.195, allocations: 11.98 kB / 1.692 GB, free: 6.395 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001059/1.196, allocations: 71.77 kB / 1.692 GB, free: 6.324 MB / 1.104 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002983/1.197, allocations: 141.1 kB / 1.692 GB, free: 6.188 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002332/1.197, allocations: 155.8 kB / 1.692 GB, free: 6.035 MB / 1.104 GB Notification: Performance of sort global known variables: time 0.0008776/1.198, allocations: 0.7955 MB / 1.693 GB, free: 5.242 MB / 1.104 GB Notification: Performance of remove unused functions: time 0.002102/1.2, allocations: 0.8242 MB / 1.694 GB, free: 4.418 MB / 1.104 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (80): * Single equations (assignments): 74 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(6,100.0%) 6,(6,100.0%) 12,(11,91.7%) 13} * Non-linear torn systems: 3 {6 6,6 12,12 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002887/1.2, allocations: 135 kB / 1.694 GB, free: 4.277 MB / 1.104 GB Notification: Performance of simCode: created initialization part: time 0.008779/1.209, allocations: 5.829 MB / 1.7 GB, free: 14.42 MB / 1.12 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/1.209, allocations: 0 / 1.7 GB, free: 14.42 MB / 1.12 GB Notification: Performance of simCode: created simulation system equations: time 0.006288/1.215, allocations: 3.589 MB / 1.703 GB, free: 10.8 MB / 1.12 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001583/1.217, allocations: 404.2 kB / 1.704 GB, free: 10.41 MB / 1.12 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008864/1.226, allocations: 5.72 MB / 1.709 GB, free: 4.551 MB / 1.12 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002757/1.229, allocations: 2.793 MB / 1.712 GB, free: 1.723 MB / 1.12 GB Notification: Performance of SimCode: time 3.1e-07/1.229, allocations: 0 / 1.712 GB, free: 1.723 MB / 1.12 GB Notification: Performance of Templates: time 0.3939/1.623, allocations: 47.91 MB / 1.759 GB, free: 263.1 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL.csv","../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches