Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_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.ACLineMatrix_RL_N,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_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,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_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N") [: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 9.1.1-maint.9.1.x/package.mo): time 1.798/1.798, allocations: 387.2 MB / 394.5 MB, free: 13.63 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.001019/0.001019, allocations: 181.3 kB / 487 MB, free: 5.328 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.123/1.123, allocations: 221.3 MB / 0.7819 GB, free: 1.316 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.0008535/0.0008536, allocations: 87.27 kB / 0.9213 GB, free: 2.57 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 5.771e-06/5.801e-06, allocations: 0 / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1945/0.1945, allocations: 142.3 MB / 1.205 GB, free: 26.19 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5343/0.7288, allocations: 177.3 MB / 1.378 GB, free: 15.28 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002127/0.7291, allocations: 96.92 kB / 1.378 GB, free: 15.23 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.362/1.091, allocations: 173.8 MB / 1.548 GB, free: 15.55 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.0001478/1.091, allocations: 91.98 kB / 1.548 GB, free: 15.46 MB / 0.9792 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1053 * Number of variables: 1053 Notification: Performance of Generate backend data structure: time 0.005241/1.097, allocations: 3.381 MB / 1.552 GB, free: 12.02 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 3.305e-05/1.097, allocations: 9.031 kB / 1.552 GB, free: 12.02 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005293/1.102, allocations: 1.048 MB / 1.553 GB, free: 10.96 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003976/1.106, allocations: 2.637 MB / 1.555 GB, free: 8.27 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.416e-05/1.106, allocations: 120 kB / 1.555 GB, free: 8.152 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000476/1.106, allocations: 215.8 kB / 1.555 GB, free: 7.941 MB / 0.9792 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006231/1.113, allocations: 4.588 MB / 1.56 GB, free: 3.348 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007909/1.121, allocations: 6.249 MB / 1.566 GB, free: 12.75 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.562e-05/1.121, allocations: 15.86 kB / 1.566 GB, free: 12.73 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003427/1.121, allocations: 12 kB / 1.566 GB, free: 12.72 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005952/1.122, allocations: 407.2 kB / 1.566 GB, free: 12.32 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02865/1.15, allocations: 31.65 MB / 1.597 GB, free: 9.922 MB / 1.026 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002216/1.153, allocations: 2.103 MB / 1.599 GB, free: 7.809 MB / 1.026 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002533/1.155, allocations: 2.248 MB / 1.602 GB, free: 5.559 MB / 1.026 GB Notification: Performance of preOpt evalFunc (simulation): time 8.07e-05/1.155, allocations: 25.28 kB / 1.602 GB, free: 5.535 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.294e-05/1.155, allocations: 47.88 kB / 1.602 GB, free: 5.477 MB / 1.026 GB Notification: Performance of pre-optimization done (n=146): time 3.657e-06/1.155, allocations: 0 / 1.602 GB, free: 5.477 MB / 1.026 GB Notification: Performance of matching and sorting (n=251): time 0.05643/1.212, allocations: 21.58 MB / 1.623 GB, free: 15.84 MB / 1.057 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.363e-05/1.212, allocations: 77.41 kB / 1.623 GB, free: 15.75 MB / 1.057 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001696/1.213, allocations: 1.26 MB / 1.624 GB, free: 14.5 MB / 1.057 GB Notification: Performance of collectPreVariables (initialization): time 0.0003665/1.214, allocations: 25.7 kB / 1.624 GB, free: 14.46 MB / 1.057 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006773/1.214, allocations: 1.462 MB / 1.626 GB, free: 12.98 MB / 1.057 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006976/1.215, allocations: 0.8119 MB / 1.626 GB, free: 12.16 MB / 1.057 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002378/1.215, allocations: 8 kB / 1.626 GB, free: 12.15 MB / 1.057 GB Notification: Performance of setup shared object (initialization): time 0.0001458/1.216, allocations: 411.1 kB / 1.627 GB, free: 11.74 MB / 1.057 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003244/1.219, allocations: 2.863 MB / 1.63 GB, free: 8.875 MB / 1.057 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003526/1.222, allocations: 3.393 MB / 1.633 GB, free: 5.266 MB / 1.057 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005115/1.227, allocations: 3.609 MB / 1.636 GB, free: 1.656 MB / 1.057 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.699e-06/1.228, allocations: 4 kB / 1.636 GB, free: 1.652 MB / 1.057 GB Notification: Performance of matching and sorting (n=322) (initialization): time 0.02244/1.25, allocations: 12.41 MB / 1.648 GB, free: 5.199 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 1.916e-05/1.25, allocations: 7.906 kB / 1.648 GB, free: 5.191 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.367e-05/1.25, allocations: 16 kB / 1.649 GB, free: 5.176 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02239/1.272, allocations: 7.966 MB / 1.656 GB, free: 13.19 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001165/1.274, allocations: 275.5 kB / 1.657 GB, free: 12.92 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0457/1.319, allocations: 30.91 MB / 1.687 GB, free: 13.55 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002343/1.322, allocations: 87.67 kB / 1.687 GB, free: 13.47 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004404/1.322, allocations: 275.8 kB / 1.687 GB, free: 13.2 MB / 1.12 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 {(19,68.1%) 19,(12,50.0%) 18,(12,53.5%) 10} * Non-linear torn systems: 3 {20 18,12 18,12 10} Notification: Performance of prepare postOptimizeDAE: time 0.0005364/1.323, allocations: 152.2 kB / 1.687 GB, free: 13.04 MB / 1.12 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004328/1.323, allocations: 233.2 kB / 1.687 GB, free: 12.81 MB / 1.12 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02261/1.346, allocations: 12.66 MB / 1.7 GB, free: 108 kB / 1.12 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.099e-05/1.346, allocations: 24 kB / 1.7 GB, free: 84 kB / 1.12 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.038e-05/1.346, allocations: 24 kB / 1.7 GB, free: 60 kB / 1.12 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.016e-05/1.346, allocations: 11.95 kB / 1.7 GB, free: 48 kB / 1.12 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03427/1.38, allocations: 18.12 MB / 1.718 GB, free: 13.75 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.257e-05/1.38, allocations: 4 kB / 1.718 GB, free: 13.75 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006744/1.381, allocations: 160.5 kB / 1.718 GB, free: 13.59 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02175/1.403, allocations: 7.876 MB / 1.725 GB, free: 5.695 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003638/1.403, allocations: 83.86 kB / 1.725 GB, free: 5.613 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4065/1.81, allocations: 30.43 MB / 1.755 GB, free: 275.6 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.464e-06/1.81, allocations: 7.719 kB / 1.755 GB, free: 275.6 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01962/1.829, allocations: 12.69 MB / 1.768 GB, free: 274.6 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001628/1.831, allocations: 0.9906 MB / 1.769 GB, free: 274.5 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005505/1.831, allocations: 11.38 kB / 1.769 GB, free: 274.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001506/1.833, allocations: 79.75 kB / 1.769 GB, free: 274.5 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004409/1.833, allocations: 197.4 kB / 1.769 GB, free: 274.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003446/1.834, allocations: 242.5 kB / 1.769 GB, free: 274.5 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0009585/1.835, allocations: 0.9535 MB / 1.77 GB, free: 274.4 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002703/1.837, allocations: 1.11 MB / 1.771 GB, free: 274.4 MB / 1.151 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 {(12,53.5%) 10,(12,50.0%) 18,(19,54.8%) 19} * Non-linear torn systems: 3 {12 10,12 18,20 18} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003564/1.838, allocations: 145.7 kB / 1.771 GB, free: 274.3 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.01402/1.852, allocations: 9.383 MB / 1.78 GB, free: 273.9 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.639e-06/1.852, allocations: 0 / 1.78 GB, free: 273.9 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.01085/1.863, allocations: 5.965 MB / 1.786 GB, free: 273.5 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002014/1.865, allocations: 409.1 kB / 1.787 GB, free: 273.4 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01114/1.876, allocations: 7.466 MB / 1.794 GB, free: 272 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002495/1.878, allocations: 3.217 MB / 1.797 GB, free: 271.2 MB / 1.151 GB Notification: Performance of SimCode: time 9.01e-07/1.878, allocations: 2.25 kB / 1.797 GB, free: 271.2 MB / 1.151 GB Notification: Performance of Templates: time 0.08245/1.961, allocations: 65.7 MB / 1.861 GB, free: 268.3 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N.csv","../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches