Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.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.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_maint.7.0.x_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_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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 7.0.3-maint.7.0.x/package.mo): time 1.393/1.393, allocations: 249.4 MB / 256.7 MB, free: 7.004 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.001081/0.001081, allocations: 184.2 kB / 316 MB, free: 3.57 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.186/1.186, allocations: 205.2 MB / 0.5667 GB, free: 15.72 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.0008798/0.0008798, allocations: 96.14 kB / 0.671 GB, free: 4.859 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.476e-06/8.546e-06, allocations: 0 / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1942/0.1942, allocations: 106.3 MB / 0.8846 GB, free: 12.69 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6335/0.8278, allocations: 190.3 MB / 1.07 GB, free: 15.04 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002997/0.8281, allocations: 96.42 kB / 1.071 GB, free: 14.99 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.2599/1.088, allocations: 112.3 MB / 1.18 GB, free: 7.371 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 0.0001739/1.088, allocations: 79.92 kB / 1.18 GB, free: 7.293 MB / 0.7917 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.007557/1.096, allocations: 2.711 MB / 1.183 GB, free: 4.523 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.712e-05/1.096, allocations: 12.03 kB / 1.183 GB, free: 4.512 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004952/1.101, allocations: 0.6479 MB / 1.184 GB, free: 3.859 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005193/1.106, allocations: 2.063 MB / 1.186 GB, free: 1.734 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001021/1.106, allocations: 96 kB / 1.186 GB, free: 1.641 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007156/1.107, allocations: 183.9 kB / 1.186 GB, free: 1.461 MB / 0.7917 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006215/1.113, allocations: 3.085 MB / 1.189 GB, free: 14.36 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00716/1.12, allocations: 4.22 MB / 1.193 GB, free: 9.898 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.049e-05/1.12, allocations: 19.83 kB / 1.193 GB, free: 9.879 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002809/1.121, allocations: 4 kB / 1.193 GB, free: 9.875 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001757/1.121, allocations: 173.8 kB / 1.193 GB, free: 9.703 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02508/1.146, allocations: 21.06 MB / 1.214 GB, free: 2.672 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001568/1.148, allocations: 1.173 MB / 1.215 GB, free: 1.484 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001451/1.149, allocations: 1.027 MB / 1.216 GB, free: 464 kB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 6.588e-05/1.149, allocations: 13 kB / 1.216 GB, free: 452 kB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.389e-05/1.149, allocations: 47.56 kB / 1.216 GB, free: 396 kB / 0.823 GB Notification: Performance of pre-optimization done (n=107): time 3.707e-06/1.149, allocations: 0 / 1.216 GB, free: 396 kB / 0.823 GB Notification: Performance of matching and sorting (n=138): time 0.009697/1.159, allocations: 4.804 MB / 1.221 GB, free: 11.59 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.661e-05/1.159, allocations: 68.62 kB / 1.221 GB, free: 11.51 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001274/1.16, allocations: 0.8306 MB / 1.222 GB, free: 10.67 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 8.919e-05/1.16, allocations: 25.7 kB / 1.222 GB, free: 10.64 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007234/1.161, allocations: 1.139 MB / 1.223 GB, free: 9.48 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004122/1.162, allocations: 457.2 kB / 1.223 GB, free: 9.027 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.378e-05/1.162, allocations: 0 / 1.223 GB, free: 9.027 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001739/1.162, allocations: 369.8 kB / 1.223 GB, free: 8.66 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001128/1.163, allocations: 0.8707 MB / 1.224 GB, free: 7.789 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001479/1.164, allocations: 1.316 MB / 1.226 GB, free: 6.27 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00147/1.166, allocations: 1.107 MB / 1.227 GB, free: 5.164 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.666e-06/1.166, allocations: 4 kB / 1.227 GB, free: 5.16 MB / 0.8386 GB Notification: Performance of matching and sorting (n=205) (initialization): time 0.005973/1.172, allocations: 3.259 MB / 1.23 GB, free: 1.879 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.235e-05/1.172, allocations: 8 kB / 1.23 GB, free: 1.871 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.138e-05/1.172, allocations: 12 kB / 1.23 GB, free: 1.859 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003137/1.175, allocations: 1.108 MB / 1.231 GB, free: 0.7461 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001127/1.176, allocations: 255.5 kB / 1.231 GB, free: 0.4961 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01479/1.191, allocations: 11.32 MB / 1.242 GB, free: 4.832 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001442/1.193, allocations: 43.95 kB / 1.242 GB, free: 4.789 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001325/1.193, allocations: 67.98 kB / 1.242 GB, free: 4.723 MB / 0.8542 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.0002855/1.193, allocations: 144.5 kB / 1.242 GB, free: 4.574 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002153/1.193, allocations: 154.1 kB / 1.243 GB, free: 4.422 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005342/1.199, allocations: 3.037 MB / 1.246 GB, free: 1.359 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.595e-05/1.199, allocations: 19.98 kB / 1.246 GB, free: 1.34 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.594e-05/1.199, allocations: 12 kB / 1.246 GB, free: 1.328 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.323e-05/1.199, allocations: 8.219 kB / 1.246 GB, free: 1.32 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01012/1.209, allocations: 5.608 MB / 1.251 GB, free: 11.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.156e-05/1.209, allocations: 12.06 kB / 1.251 GB, free: 11.59 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000646/1.21, allocations: 139.8 kB / 1.251 GB, free: 11.45 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002787/1.212, allocations: 1.025 MB / 1.252 GB, free: 10.42 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001018/1.212, allocations: 4 kB / 1.252 GB, free: 10.42 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.327/1.54, allocations: 11.01 MB / 1.263 GB, free: 351.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.115e-06/1.54, allocations: 9.781 kB / 1.263 GB, free: 351.9 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004754/1.544, allocations: 3.26 MB / 1.266 GB, free: 351.3 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007941/1.545, allocations: 410.8 kB / 1.267 GB, free: 351.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002201/1.545, allocations: 3.75 kB / 1.267 GB, free: 351.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006895/1.546, allocations: 35.58 kB / 1.267 GB, free: 351.2 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001462/1.546, allocations: 80.64 kB / 1.267 GB, free: 351.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.328e-05/1.546, allocations: 39.14 kB / 1.267 GB, free: 351.2 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0007604/1.547, allocations: 0.6214 MB / 1.267 GB, free: 351.1 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002174/1.549, allocations: 0.573 MB / 1.268 GB, free: 351.1 MB / 0.8698 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.000244/1.55, allocations: 120.3 kB / 1.268 GB, free: 351 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.004041/1.554, allocations: 2.791 MB / 1.271 GB, free: 350.7 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 5.55e-06/1.554, allocations: 3.531 kB / 1.271 GB, free: 350.7 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.002646/1.556, allocations: 1.709 MB / 1.272 GB, free: 350.4 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001763/1.558, allocations: 376.2 kB / 1.273 GB, free: 350.4 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007901/1.566, allocations: 4.353 MB / 1.277 GB, free: 349.4 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00245/1.568, allocations: 2.424 MB / 1.279 GB, free: 348.6 MB / 0.8698 GB Notification: Performance of SimCode: time 1.563e-06/1.568, allocations: 0 / 1.279 GB, free: 348.6 MB / 0.8698 GB Notification: Performance of Templates: time 0.04377/1.612, allocations: 28.71 MB / 1.307 GB, free: 347.8 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N.csv","../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches