Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_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.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_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 1.792/1.792, allocations: 387.2 MB / 394.5 MB, free: 13.67 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.0009157/0.0009157, allocations: 184.5 kB / 487 MB, free: 5.395 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.125/1.125, allocations: 221.3 MB / 0.7819 GB, free: 1.375 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.000842/0.000842, allocations: 95.67 kB / 0.9213 GB, free: 2.617 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 6.221e-06/6.242e-06, allocations: 4 kB / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1759/0.1759, allocations: 142.3 MB / 1.205 GB, free: 26.23 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5132/0.6891, allocations: 196.9 MB / 1.398 GB, free: 12.48 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002088/0.6894, allocations: 90.91 kB / 1.398 GB, free: 12.43 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.158/1.847, allocations: 382.3 MB / 1.771 GB, free: 238.6 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.000364/1.848, allocations: 168.9 kB / 1.771 GB, free: 238.5 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.01324/1.861, allocations: 5.634 MB / 1.777 GB, free: 236.4 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.41e-05/1.861, allocations: 11.34 kB / 1.777 GB, free: 236.4 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01178/1.873, allocations: 1.687 MB / 1.778 GB, free: 236 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01065/1.884, allocations: 5.023 MB / 1.783 GB, free: 235.1 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001649/1.884, allocations: 195.3 kB / 1.783 GB, free: 235.1 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001284/1.885, allocations: 361.7 kB / 1.784 GB, free: 235.1 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01029/1.895, allocations: 7.07 MB / 1.791 GB, free: 235 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01243/1.908, allocations: 9.187 MB / 1.8 GB, free: 233.7 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001429/1.908, allocations: 31.12 kB / 1.8 GB, free: 233.7 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006118/1.909, allocations: 19.34 kB / 1.8 GB, free: 233.7 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002679/1.909, allocations: 394.5 kB / 1.8 GB, free: 233.7 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0378/1.947, allocations: 45.34 MB / 1.844 GB, free: 207.2 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003516/1.95, allocations: 3.718 MB / 1.848 GB, free: 207.1 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003329/1.954, allocations: 3.485 MB / 1.851 GB, free: 207.1 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002319/1.954, allocations: 36.31 kB / 1.851 GB, free: 207.1 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.715e-05/1.954, allocations: 69.44 kB / 1.851 GB, free: 207 MB / 1.151 GB Notification: Performance of pre-optimization done (n=353): time 5.21e-06/1.954, allocations: 3.438 kB / 1.851 GB, free: 207 MB / 1.151 GB Notification: Performance of matching and sorting (n=578): time 0.07923/2.033, allocations: 38.09 MB / 1.889 GB, free: 201.1 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.113e-05/2.033, allocations: 107.9 kB / 1.889 GB, free: 201 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002384/2.036, allocations: 1.829 MB / 1.891 GB, free: 200.3 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0009107/2.037, allocations: 26.45 kB / 1.891 GB, free: 200.2 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007653/2.037, allocations: 2.192 MB / 1.893 GB, free: 198.7 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.001356/2.039, allocations: 1.873 MB / 1.895 GB, free: 197.2 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003595/2.039, allocations: 0 / 1.895 GB, free: 197.2 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0002184/2.039, allocations: 0.5268 MB / 1.895 GB, free: 196.8 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004085/2.043, allocations: 3.757 MB / 1.899 GB, free: 195.2 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004426/2.048, allocations: 4.842 MB / 1.903 GB, free: 192.4 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004738/2.053, allocations: 4.581 MB / 1.908 GB, free: 190.6 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.396e-05/2.053, allocations: 13.28 kB / 1.908 GB, free: 190.6 MB / 1.151 GB Notification: Performance of matching and sorting (n=725) (initialization): time 0.02916/2.082, allocations: 15.49 MB / 1.923 GB, free: 185.3 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.078e-05/2.082, allocations: 4.844 kB / 1.923 GB, free: 185.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.319e-05/2.082, allocations: 30.5 kB / 1.923 GB, free: 185.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02452/2.106, allocations: 7.413 MB / 1.93 GB, free: 183.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002466/2.109, allocations: 0.5451 MB / 1.931 GB, free: 183.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07607/2.185, allocations: 61.18 MB / 1.991 GB, free: 143.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00421/2.189, allocations: 85.36 kB / 1.991 GB, free: 143.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004679/2.19, allocations: 200 kB / 1.991 GB, free: 143.1 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.0008678/2.191, allocations: 192.7 kB / 1.991 GB, free: 143 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006222/2.191, allocations: 450.7 kB / 1.992 GB, free: 142.5 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02857/2.22, allocations: 15.49 MB / 2.007 GB, free: 130 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.912e-05/2.22, allocations: 56 kB / 2.007 GB, free: 130 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.274e-05/2.22, allocations: 72 kB / 2.007 GB, free: 129.9 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.209e-05/2.22, allocations: 33.02 kB / 2.007 GB, free: 129.9 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0375/2.257, allocations: 22.59 MB / 2.029 GB, free: 111.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.697e-05/2.257, allocations: 4.938 kB / 2.029 GB, free: 111.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001638/2.259, allocations: 319 kB / 2.029 GB, free: 111.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02005/2.279, allocations: 6.763 MB / 2.036 GB, free: 106.2 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005565/2.28, allocations: 19.8 kB / 2.036 GB, free: 106.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06556/2.345, allocations: 58.12 MB / 2.093 GB, free: 53.3 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.354e-06/2.345, allocations: 11.84 kB / 2.093 GB, free: 53.29 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.03119/2.377, allocations: 20.71 MB / 2.113 GB, free: 35.09 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0026/2.379, allocations: 1.244 MB / 2.114 GB, free: 33.95 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008112/2.38, allocations: 19.66 kB / 2.114 GB, free: 33.94 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002566/2.383, allocations: 84.3 kB / 2.114 GB, free: 33.89 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005469/2.383, allocations: 285.7 kB / 2.114 GB, free: 33.71 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003565/2.384, allocations: 136 kB / 2.114 GB, free: 33.58 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.001489/2.385, allocations: 1.345 MB / 2.116 GB, free: 32.39 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.005299/2.39, allocations: 1.858 MB / 2.118 GB, free: 30.53 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.0004577/2.391, allocations: 156.4 kB / 2.118 GB, free: 30.39 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.01856/2.409, allocations: 12.4 MB / 2.13 GB, free: 19.12 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/2.409, allocations: 2.5 kB / 2.13 GB, free: 19.12 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.01309/2.422, allocations: 7.724 MB / 2.137 GB, free: 12.2 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004158/2.427, allocations: 0.9454 MB / 2.138 GB, free: 11.48 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02318/2.45, allocations: 13.32 MB / 2.151 GB, free: 15.67 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005998/2.456, allocations: 4.825 MB / 2.156 GB, free: 11.94 MB / 1.167 GB Notification: Performance of SimCode: time 4.21e-07/2.456, allocations: 2.719 kB / 2.156 GB, free: 11.94 MB / 1.167 GB Notification: Performance of Templates: time 0.4782/2.934, allocations: 123.4 MB / 2.277 GB, free: 352.2 MB / 1.167 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N.csv","../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches