Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.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.ACLine_RLC_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|RLCLine_1.terminal_n.phase.1..i.1.|RLCLine_1.terminal_n.phase.1..i.2.|RLCLine_sc.terminal_n.phase.1..i.1.|RLCLine_sc.terminal_n.phase.1..i.2.|RLCLine_2a.terminal_n.phase.1..i.1.|RLCLine_2a.terminal_n.phase.1..i.2.|RLCLine_3a.terminal_n.phase.1..i.1.|RLCLine_3a.terminal_n.phase.1..i.2.|RLCLine_3b.terminal_n.phase.1..i.1.|RLCLine_3b.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|RLCLine_1.terminal_n.phase.1..i.1.|RLCLine_1.terminal_n.phase.1..i.2.|RLCLine_sc.terminal_n.phase.1..i.1.|RLCLine_sc.terminal_n.phase.1..i.2.|RLCLine_2a.terminal_n.phase.1..i.1.|RLCLine_2a.terminal_n.phase.1..i.2.|RLCLine_3a.terminal_n.phase.1..i.1.|RLCLine_3a.terminal_n.phase.1..i.2.|RLCLine_3b.terminal_n.phase.1..i.1.|RLCLine_3b.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_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 10.0.0-master/package.mo): time 1.706/1.706, allocations: 390.4 MB / 397.7 MB, free: 11.21 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.0008935/0.0008935, allocations: 187.6 kB / 490.8 MB, free: 1.883 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.053/1.053, allocations: 221.4 MB / 0.7863 GB, free: 13.63 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.0008028/0.0008028, allocations: 104.2 kB / 0.9264 GB, free: 14.18 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 6.502e-06/6.532e-06, allocations: 4 kB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1638/0.1638, allocations: 143 MB / 1.212 GB, free: 40.06 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4736/0.6374, allocations: 197.7 MB / 1.405 GB, free: 3.305 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001944/0.6376, allocations: 98.67 kB / 1.405 GB, free: 3.25 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.113/1.75, allocations: 382.3 MB / 1.778 GB, free: 233.8 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0002859/1.751, allocations: 178.9 kB / 1.778 GB, free: 233.8 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1668 * Number of variables: 1668 Notification: Performance of Generate backend data structure: time 0.009843/1.76, allocations: 5.633 MB / 1.784 GB, free: 231.7 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 2.868e-05/1.761, allocations: 7.5 kB / 1.784 GB, free: 231.7 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0101/1.771, allocations: 1.677 MB / 1.785 GB, free: 231.3 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00848/1.779, allocations: 5.033 MB / 1.79 GB, free: 230.4 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001148/1.779, allocations: 197.3 kB / 1.791 GB, free: 230.4 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007413/1.78, allocations: 359.7 kB / 1.791 GB, free: 230.4 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008387/1.788, allocations: 7.067 MB / 1.798 GB, free: 230.3 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01034/1.799, allocations: 9.193 MB / 1.807 GB, free: 229 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001301/1.799, allocations: 37.5 kB / 1.807 GB, free: 229 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005497/1.799, allocations: 13.22 kB / 1.807 GB, free: 229 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002206/1.8, allocations: 396.6 kB / 1.807 GB, free: 229 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0342/1.834, allocations: 45.33 MB / 1.851 GB, free: 202.5 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003354/1.837, allocations: 3.721 MB / 1.855 GB, free: 202.4 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003196/1.84, allocations: 3.496 MB / 1.858 GB, free: 202.4 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001947/1.841, allocations: 35.16 kB / 1.859 GB, free: 202.4 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.548e-05/1.841, allocations: 66.28 kB / 1.859 GB, free: 202.3 MB / 1.151 GB Notification: Performance of pre-optimization done (n=353): time 4.719e-06/1.841, allocations: 0 / 1.859 GB, free: 202.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=578): time 0.07456/1.915, allocations: 38.1 MB / 1.896 GB, free: 198.5 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.9e-05/1.915, allocations: 110.1 kB / 1.896 GB, free: 198.4 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001867/1.917, allocations: 1.833 MB / 1.898 GB, free: 197.7 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0003153/1.918, allocations: 29.7 kB / 1.898 GB, free: 197.6 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005821/1.918, allocations: 2.181 MB / 1.9 GB, free: 196.1 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.001012/1.919, allocations: 1.875 MB / 1.902 GB, free: 194.6 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003471/1.919, allocations: 0 / 1.902 GB, free: 194.6 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001897/1.92, allocations: 0.5308 MB / 1.902 GB, free: 194.2 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003749/1.923, allocations: 3.753 MB / 1.906 GB, free: 192.6 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004147/1.928, allocations: 4.838 MB / 1.911 GB, free: 189.8 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004475/1.932, allocations: 4.587 MB / 1.915 GB, free: 188 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.251e-05/1.932, allocations: 8.562 kB / 1.915 GB, free: 188 MB / 1.151 GB Notification: Performance of matching and sorting (n=725) (initialization): time 0.02721/1.959, allocations: 15.49 MB / 1.93 GB, free: 182.7 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.197e-05/1.959, allocations: 3.281 kB / 1.93 GB, free: 182.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.664e-05/1.959, allocations: 30.09 kB / 1.93 GB, free: 182.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02255/1.982, allocations: 7.418 MB / 1.937 GB, free: 180.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002037/1.984, allocations: 0.5372 MB / 1.938 GB, free: 180.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07351/2.057, allocations: 61.18 MB / 1.998 GB, free: 142.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003705/2.061, allocations: 86.16 kB / 1.998 GB, free: 142.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004378/2.062, allocations: 207 kB / 1.998 GB, free: 141.9 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 137 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (286): * Single equations (assignments): 275 * 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: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 11 {(5,84.0%) 17,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(6,77.8%) 40,(6,77.8%) 72,(14,57.1%) 72,(14,51.0%) 72,(8,70.3%) 70,(6,77.8%) 40} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008026/2.062, allocations: 188.8 kB / 1.998 GB, free: 141.8 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005796/2.063, allocations: 450.7 kB / 1.999 GB, free: 141.3 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02744/2.091, allocations: 15.5 MB / 2.014 GB, free: 128.8 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.891e-05/2.091, allocations: 56 kB / 2.014 GB, free: 128.8 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.301e-05/2.091, allocations: 72 kB / 2.014 GB, free: 128.7 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.304e-05/2.091, allocations: 29.58 kB / 2.014 GB, free: 128.7 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03449/2.125, allocations: 22.59 MB / 2.036 GB, free: 110.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.338e-05/2.125, allocations: 4 kB / 2.036 GB, free: 110.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0015/2.127, allocations: 309.1 kB / 2.036 GB, free: 110.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01913/2.146, allocations: 6.776 MB / 2.043 GB, free: 105 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003314/2.146, allocations: 16 kB / 2.043 GB, free: 105 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06317/2.209, allocations: 58.13 MB / 2.1 GB, free: 52.09 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.693e-06/2.209, allocations: 10.53 kB / 2.1 GB, free: 52.09 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02897/2.238, allocations: 20.71 MB / 2.12 GB, free: 33.9 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002049/2.24, allocations: 1.239 MB / 2.121 GB, free: 32.76 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007424/2.241, allocations: 23.84 kB / 2.121 GB, free: 32.74 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002299/2.243, allocations: 84.3 kB / 2.121 GB, free: 32.69 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005406/2.244, allocations: 285 kB / 2.122 GB, free: 32.52 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003595/2.244, allocations: 138.8 kB / 2.122 GB, free: 32.39 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.001392/2.246, allocations: 1.343 MB / 2.123 GB, free: 31.19 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.004816/2.251, allocations: 1.852 MB / 2.125 GB, free: 29.34 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 8 (RLCLine_sc.phase1.Vc[1],RLCLine_sc.phase1.Vc[2],RLCLine_sc.phase2.Vc[1],RLCLine_sc.phase2.Vc[2],RLCLine_sc.phase3.Vc[1],RLCLine_sc.phase3.Vc[2],RLCLine_sc.neutral.Vc[1],RLCLine_sc.neutral.Vc[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (142): * 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: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 11 {(6,77.8%) 40,(7,71.4%) 71,(14,57.1%) 72,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(5,84.0%) 17,(6,77.8%) 40,(8,70.3%) 70,(14,51.0%) 72} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004389/2.251, allocations: 150.3 kB / 2.125 GB, free: 29.21 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.01759/2.269, allocations: 12.4 MB / 2.137 GB, free: 17.95 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.125e-06/2.269, allocations: 2.5 kB / 2.137 GB, free: 17.95 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.01242/2.281, allocations: 7.738 MB / 2.145 GB, free: 11.02 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003336/2.284, allocations: 0.9501 MB / 2.145 GB, free: 10.3 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0197/2.304, allocations: 13.32 MB / 2.159 GB, free: 14.44 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004908/2.309, allocations: 4.821 MB / 2.163 GB, free: 10.72 MB / 1.167 GB Notification: Performance of SimCode: time 8.12e-07/2.309, allocations: 0 / 2.163 GB, free: 10.72 MB / 1.167 GB Notification: Performance of Templates: time 0.4201/2.729, allocations: 123.4 MB / 2.284 GB, free: 351.9 MB / 1.167 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N.csv","../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches