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.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,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_3.load1.v.1.|load_sc_3.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.|load_sc_3.load1.i.1.|load_sc_3.load1.i.2.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,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_3.load1.v.1.|load_sc_3.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.|load_sc_3.load1.i.1.|load_sc_3.load1.i.2.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.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.423/1.423, allocations: 249.4 MB / 256.7 MB, free: 7.023 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.001082/0.001082, allocations: 184.9 kB / 316 MB, free: 3.641 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.284/1.284, allocations: 205.1 MB / 0.5667 GB, free: 15.78 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.0009815/0.0009815, allocations: 85.83 kB / 0.671 GB, free: 4.922 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.656e-06/8.686e-06, allocations: 4 kB / 0.7807 GB, free: 103.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1999/0.1999, allocations: 106.3 MB / 0.8846 GB, free: 12.75 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6274/0.8273, allocations: 188.9 MB / 1.069 GB, free: 0.7539 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002433/0.8276, allocations: 89.47 kB / 1.069 GB, free: 0.707 MB / 0.6823 GB Notification: Performance of FrontEnd: time 0.3353/1.163, allocations: 144.7 MB / 1.211 GB, free: 8.121 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0002184/1.163, allocations: 99.91 kB / 1.211 GB, free: 8.023 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 976 * Number of variables: 976 Notification: Performance of Generate backend data structure: time 0.008115/1.171, allocations: 3.263 MB / 1.214 GB, free: 4.699 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.478e-05/1.171, allocations: 8.031 kB / 1.214 GB, free: 4.691 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005923/1.177, allocations: 0.8069 MB / 1.215 GB, free: 3.879 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005846/1.183, allocations: 2.569 MB / 1.217 GB, free: 1.254 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000115/1.183, allocations: 119.9 kB / 1.217 GB, free: 1.137 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009095/1.184, allocations: 227.9 kB / 1.217 GB, free: 0.9141 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007872/1.192, allocations: 3.716 MB / 1.221 GB, free: 13.2 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008694/1.201, allocations: 5.216 MB / 1.226 GB, free: 7.648 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001007/1.201, allocations: 27.77 kB / 1.226 GB, free: 7.621 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003517/1.201, allocations: 8 kB / 1.226 GB, free: 7.613 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002131/1.202, allocations: 219 kB / 1.226 GB, free: 7.398 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02931/1.231, allocations: 26.96 MB / 1.253 GB, free: 9.957 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001584/1.233, allocations: 1.035 MB / 1.254 GB, free: 8.914 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001212/1.234, allocations: 0.9683 MB / 1.255 GB, free: 7.945 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.183e-05/1.234, allocations: 13 kB / 1.255 GB, free: 7.93 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.992e-05/1.234, allocations: 43.56 kB / 1.255 GB, free: 7.879 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=110): time 3.417e-06/1.234, allocations: 3.938 kB / 1.255 GB, free: 7.875 MB / 0.8698 GB Notification: Performance of matching and sorting (n=131): time 0.01389/1.248, allocations: 6.937 MB / 1.262 GB, free: 0.8359 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.037e-05/1.248, allocations: 64.72 kB / 1.262 GB, free: 0.7578 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3007/1.549, allocations: 1.075 MB / 1.263 GB, free: 338.3 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0003212/1.549, allocations: 33.28 kB / 1.263 GB, free: 338.3 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005876/1.55, allocations: 1.416 MB / 1.264 GB, free: 338.2 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000377/1.55, allocations: 456.9 kB / 1.264 GB, free: 338 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.971e-05/1.55, allocations: 2.875 kB / 1.264 GB, free: 338 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001082/1.55, allocations: 377.3 kB / 1.265 GB, free: 337.7 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001066/1.551, allocations: 0.8554 MB / 1.266 GB, free: 337.7 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00119/1.552, allocations: 1.437 MB / 1.267 GB, free: 337 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001213/1.554, allocations: 1.108 MB / 1.268 GB, free: 337 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.293e-06/1.554, allocations: 3.938 kB / 1.268 GB, free: 337 MB / 0.8698 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.004826/1.558, allocations: 3.057 MB / 1.271 GB, free: 336.8 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/1.558, allocations: 3.844 kB / 1.271 GB, free: 336.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.769e-05/1.559, allocations: 19 kB / 1.271 GB, free: 336.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002058/1.561, allocations: 0.723 MB / 1.272 GB, free: 336.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001554/1.562, allocations: 371.9 kB / 1.272 GB, free: 336.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01113/1.573, allocations: 14.49 MB / 1.286 GB, free: 325.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001766/1.575, allocations: 41.89 kB / 1.286 GB, free: 325.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001313/1.575, allocations: 88.36 kB / 1.286 GB, free: 325.9 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 87 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (193): * Single equations (assignments): 184 * 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: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 9 {(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003326/1.576, allocations: 158.7 kB / 1.287 GB, free: 325.8 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002399/1.576, allocations: 187.2 kB / 1.287 GB, free: 325.7 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004819/1.581, allocations: 2.665 MB / 1.289 GB, free: 325.6 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.178e-05/1.581, allocations: 17.41 kB / 1.289 GB, free: 325.5 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.299e-05/1.581, allocations: 7.531 kB / 1.289 GB, free: 325.5 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.203e-05/1.581, allocations: 8.469 kB / 1.289 GB, free: 325.5 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009617/1.59, allocations: 5.453 MB / 1.295 GB, free: 325 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.566e-06/1.59, allocations: 3.719 kB / 1.295 GB, free: 325 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001256/1.592, allocations: 224.2 kB / 1.295 GB, free: 325 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00187/1.594, allocations: 0.6467 MB / 1.296 GB, free: 324.9 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.043e-05/1.594, allocations: 10.47 kB / 1.296 GB, free: 324.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01045/1.604, allocations: 14.19 MB / 1.31 GB, free: 314.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.067e-06/1.604, allocations: 9.5 kB / 1.31 GB, free: 314.1 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005706/1.61, allocations: 4.241 MB / 1.314 GB, free: 313.2 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001057/1.611, allocations: 433.1 kB / 1.314 GB, free: 313 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005524/1.612, allocations: 10.12 kB / 1.314 GB, free: 313 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001152/1.613, allocations: 39.25 kB / 1.314 GB, free: 313 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001665/1.613, allocations: 77.02 kB / 1.314 GB, free: 313 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.835e-05/1.613, allocations: 38.81 kB / 1.314 GB, free: 313 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.001302/1.614, allocations: 0.7961 MB / 1.315 GB, free: 312.8 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002688/1.617, allocations: 0.6268 MB / 1.316 GB, free: 312.8 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 6 (RL_3.phase1.i_p[1],RL_3.phase1.i_p[2],RL_3.phase2.i_p[1],RL_3.phase2.i_p[2],RL_3.phase3.i_p[1],RL_3.phase3.i_p[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (101): * Single equations (assignments): 92 * 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: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 9 {(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002798/1.617, allocations: 145.6 kB / 1.316 GB, free: 312.8 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.004324/1.622, allocations: 3.205 MB / 1.319 GB, free: 311.8 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 7.644e-06/1.622, allocations: 0 / 1.319 GB, free: 311.8 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.002496/1.624, allocations: 2.065 MB / 1.321 GB, free: 310.9 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002489/1.627, allocations: 0.5141 MB / 1.321 GB, free: 310.9 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01096/1.638, allocations: 5.208 MB / 1.326 GB, free: 309.7 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003642/1.641, allocations: 2.805 MB / 1.329 GB, free: 308.9 MB / 0.8698 GB Notification: Performance of SimCode: time 1.102e-06/1.641, allocations: 0 / 1.329 GB, free: 308.9 MB / 0.8698 GB Notification: Performance of Templates: time 0.04865/1.69, allocations: 30.07 MB / 1.359 GB, free: 307.6 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL.csv","../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches