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_RL.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_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load_sc_1.v.1.|load_sc_1.v.2.|load_sc_2.v.1.|load_sc_2.v.2.|load_sc_3.v.1.|load_sc_3.v.2.|load_sc_1.i.1.|load_sc_1.i.2.|load_sc_2.i.1.|load_sc_2.i.2.|load_sc_3.i.1.|load_sc_3.i.2.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load_sc_1.v.1.|load_sc_1.v.2.|load_sc_2.v.1.|load_sc_2.v.2.|load_sc_3.v.1.|load_sc_3.v.2.|load_sc_1.i.1.|load_sc_1.i.2.|load_sc_2.i.1.|load_sc_2.i.2.|load_sc_3.i.1.|load_sc_3.i.2.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_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 7.0.3-maint.7.0.x/package.mo): time 1.389/1.389, allocations: 249.4 MB / 256.7 MB, free: 6.914 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.001254/0.001254, allocations: 185.2 kB / 316 MB, free: 3.562 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.307/1.307, allocations: 205.2 MB / 0.5667 GB, free: 15.52 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.000817/0.000817, allocations: 86.86 kB / 0.671 GB, free: 4.641 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.452e-06/6.483e-06, allocations: 4 kB / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1497/0.1497, allocations: 106.3 MB / 0.8846 GB, free: 12.63 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4993/0.6491, allocations: 181.9 MB / 1.062 GB, free: 7.402 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002407/0.6493, allocations: 96.66 kB / 1.062 GB, free: 7.352 MB / 0.6823 GB Notification: Performance of FrontEnd: time 0.07194/0.7213, allocations: 31.32 MB / 1.093 GB, free: 13.27 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.496e-05/0.7214, allocations: 19.98 kB / 1.093 GB, free: 13.25 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.001243/0.7226, allocations: 0.8037 MB / 1.094 GB, free: 12.45 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.535e-05/0.7227, allocations: 12.03 kB / 1.094 GB, free: 12.43 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001493/0.7242, allocations: 198.3 kB / 1.094 GB, free: 12.24 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009093/0.7251, allocations: 0.4943 MB / 1.094 GB, free: 11.76 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.479e-05/0.7251, allocations: 20 kB / 1.094 GB, free: 11.74 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001596/0.7253, allocations: 32 kB / 1.094 GB, free: 11.71 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007789/0.7261, allocations: 476.8 kB / 1.095 GB, free: 11.4 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001239/0.7273, allocations: 0.8019 MB / 1.096 GB, free: 10.65 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.861e-05/0.7274, allocations: 7.844 kB / 1.096 GB, free: 10.64 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.863e-05/0.7275, allocations: 4 kB / 1.096 GB, free: 10.64 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.739e-05/0.7275, allocations: 51.78 kB / 1.096 GB, free: 10.59 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004246/0.7318, allocations: 4.488 MB / 1.1 GB, free: 6.164 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003596/0.7322, allocations: 286.6 kB / 1.1 GB, free: 5.965 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002725/0.7325, allocations: 217.3 kB / 1.101 GB, free: 5.824 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.083e-05/0.7325, allocations: 4 kB / 1.101 GB, free: 5.82 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.036e-05/0.7325, allocations: 33.81 kB / 1.101 GB, free: 5.781 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=33): time 4.048e-06/0.7326, allocations: 4 kB / 1.101 GB, free: 5.777 MB / 0.7136 GB Notification: Performance of matching and sorting (n=40): time 0.003844/0.7364, allocations: 2.026 MB / 1.103 GB, free: 4.074 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.714e-05/0.7365, allocations: 59.41 kB / 1.103 GB, free: 4.004 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003255/0.7368, allocations: 332 kB / 1.103 GB, free: 3.742 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.248e-05/0.7368, allocations: 25.7 kB / 1.103 GB, free: 3.711 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001377/0.737, allocations: 291.9 kB / 1.103 GB, free: 3.449 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 9.552e-05/0.7371, allocations: 136.9 kB / 1.103 GB, free: 3.328 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.598e-05/0.7371, allocations: 0 / 1.103 GB, free: 3.328 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001377/0.7372, allocations: 361.7 kB / 1.104 GB, free: 2.988 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003478/0.7376, allocations: 225.1 kB / 1.104 GB, free: 2.848 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003726/0.738, allocations: 376.3 kB / 1.104 GB, free: 2.508 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003607/0.7384, allocations: 280.2 kB / 1.105 GB, free: 2.324 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.7384, allocations: 0 / 1.105 GB, free: 2.324 MB / 0.7136 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001494/0.7399, allocations: 0.8503 MB / 1.105 GB, free: 1.652 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.7399, allocations: 6.656 kB / 1.105 GB, free: 1.648 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/0.7399, allocations: 8 kB / 1.105 GB, free: 1.641 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007805/0.7407, allocations: 224.9 kB / 1.106 GB, free: 1.453 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005138/0.7412, allocations: 99.81 kB / 1.106 GB, free: 1.355 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004658/0.7459, allocations: 4.621 MB / 1.11 GB, free: 12.76 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00054/0.7465, allocations: 11.98 kB / 1.11 GB, free: 12.75 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.233e-05/0.7465, allocations: 23.12 kB / 1.11 GB, free: 12.73 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 52 * 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 {(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001499/0.7467, allocations: 126.7 kB / 1.11 GB, free: 12.6 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.156e-05/0.7468, allocations: 51.34 kB / 1.11 GB, free: 12.55 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001462/0.7482, allocations: 0.749 MB / 1.111 GB, free: 11.99 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.652e-06/0.7483, allocations: 8.031 kB / 1.111 GB, free: 11.98 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.734e-06/0.7483, allocations: 4 kB / 1.111 GB, free: 11.98 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.783e-06/0.7483, allocations: 3.984 kB / 1.111 GB, free: 11.97 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002271/0.7506, allocations: 1.385 MB / 1.113 GB, free: 10.81 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.7506, allocations: 0 / 1.113 GB, free: 10.81 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003959/0.751, allocations: 67.27 kB / 1.113 GB, free: 10.75 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000741/0.7517, allocations: 203.6 kB / 1.113 GB, free: 10.58 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.694e-05/0.7518, allocations: 4 kB / 1.113 GB, free: 10.57 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004177/0.756, allocations: 4.541 MB / 1.117 GB, free: 6.039 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.841e-06/0.756, allocations: 4 kB / 1.117 GB, free: 6.035 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001747/0.7578, allocations: 1.194 MB / 1.118 GB, free: 5.039 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002793/0.7581, allocations: 163.3 kB / 1.119 GB, free: 4.875 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.188e-05/0.7581, allocations: 12.05 kB / 1.119 GB, free: 4.863 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003291/0.7585, allocations: 11.92 kB / 1.119 GB, free: 4.852 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.58e-05/0.7585, allocations: 27.5 kB / 1.119 GB, free: 4.828 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.045e-05/0.7586, allocations: 11.69 kB / 1.119 GB, free: 4.82 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.0002886/0.7589, allocations: 258.1 kB / 1.119 GB, free: 4.621 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0007853/0.7597, allocations: 151.9 kB / 1.119 GB, free: 4.473 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (RL_3.i_p[1],RL_3.i_p[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001897/0.7599, allocations: 115.2 kB / 1.119 GB, free: 4.348 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001483/0.7614, allocations: 0.9065 MB / 1.12 GB, free: 3.598 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 6.723e-06/0.7614, allocations: 8.062 kB / 1.12 GB, free: 3.59 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0008688/0.7623, allocations: 0.6173 MB / 1.121 GB, free: 3.027 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007021/0.763, allocations: 130.2 kB / 1.121 GB, free: 2.93 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001922/0.7649, allocations: 0.9625 MB / 1.122 GB, free: 2.012 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006643/0.7656, allocations: 0.9952 MB / 1.123 GB, free: 1.008 MB / 0.7292 GB Notification: Performance of SimCode: time 9.42e-07/0.7656, allocations: 0 / 1.123 GB, free: 1.008 MB / 0.7292 GB Notification: Performance of Templates: time 0.01421/0.7798, allocations: 8.175 MB / 1.131 GB, free: 8.941 MB / 0.7448 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL.csv","../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches