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.ACLineMatrix_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.ACLineMatrix_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rline_1.terminal_n.phase.1..i.1.|Rline_1.terminal_n.phase.1..i.2.|Rline_2a.terminal_n.phase.1..i.1.|Rline_2a.terminal_n.phase.1..i.2.|Rline_3a.terminal_n.phase.1..i.1.|Rline_3a.terminal_n.phase.1..i.2.|Rline_3b.terminal_n.phase.1..i.1.|Rline_3b.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rline_1.terminal_n.phase.1..i.1.|Rline_1.terminal_n.phase.1..i.2.|Rline_2a.terminal_n.phase.1..i.1.|Rline_2a.terminal_n.phase.1..i.2.|Rline_3a.terminal_n.phase.1..i.1.|Rline_3a.terminal_n.phase.1..i.2.|Rline_3b.terminal_n.phase.1..i.1.|Rline_3b.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_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.3/1.3, allocations: 249.4 MB / 256.7 MB, free: 7.062 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.001021/0.001021, allocations: 185.2 kB / 316 MB, free: 3.551 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.162/1.162, allocations: 205.1 MB / 0.5667 GB, free: 15.69 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.0008483/0.0008484, allocations: 81.09 kB / 0.671 GB, free: 4.793 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.715e-06/7.845e-06, allocations: 4 kB / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1725/0.1725, allocations: 106.3 MB / 0.8846 GB, free: 12.64 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4988/0.6713, allocations: 159.5 MB / 1.04 GB, free: 12.57 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003017/0.6717, allocations: 93.38 kB / 1.04 GB, free: 12.52 MB / 0.6667 GB Notification: Performance of FrontEnd: time 0.2996/0.9713, allocations: 127.5 MB / 1.165 GB, free: 6.953 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 0.0001776/0.9715, allocations: 83.98 kB / 1.165 GB, free: 6.871 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 913 * Number of variables: 913 Notification: Performance of Generate backend data structure: time 0.00833/0.9798, allocations: 2.929 MB / 1.168 GB, free: 3.887 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.051e-05/0.9799, allocations: 8.031 kB / 1.168 GB, free: 3.879 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007193/0.9871, allocations: 0.9903 MB / 1.169 GB, free: 2.883 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005468/0.9926, allocations: 2.268 MB / 1.171 GB, free: 0.5586 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000113/0.9927, allocations: 100 kB / 1.171 GB, free: 472 kB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006666/0.9934, allocations: 184 kB / 1.171 GB, free: 288 kB / 0.7761 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007021/1, allocations: 3.789 MB / 1.175 GB, free: 12.48 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009304/1.01, allocations: 5.281 MB / 1.18 GB, free: 6.871 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.37e-05/1.01, allocations: 15.88 kB / 1.18 GB, free: 6.855 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003397/1.01, allocations: 8 kB / 1.18 GB, free: 6.848 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005802/1.011, allocations: 342.2 kB / 1.181 GB, free: 6.512 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03611/1.047, allocations: 28.72 MB / 1.209 GB, free: 7.137 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002102/1.049, allocations: 1.43 MB / 1.21 GB, free: 5.699 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00194/1.051, allocations: 1.507 MB / 1.211 GB, free: 4.191 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 6.968e-05/1.051, allocations: 20.98 kB / 1.212 GB, free: 4.168 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.471e-05/1.051, allocations: 43.56 kB / 1.212 GB, free: 4.117 MB / 0.823 GB Notification: Performance of pre-optimization done (n=110): time 4.979e-06/1.051, allocations: 0 / 1.212 GB, free: 4.117 MB / 0.823 GB Notification: Performance of matching and sorting (n=179): time 0.03642/1.088, allocations: 13.4 MB / 1.225 GB, free: 6.695 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.018e-05/1.088, allocations: 73.41 kB / 1.225 GB, free: 6.613 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001843/1.09, allocations: 1.054 MB / 1.226 GB, free: 5.555 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0003942/1.09, allocations: 33.69 kB / 1.226 GB, free: 5.516 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008881/1.091, allocations: 1.304 MB / 1.227 GB, free: 4.191 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007653/1.092, allocations: 0.5811 MB / 1.228 GB, free: 3.602 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001647/1.092, allocations: 0 / 1.228 GB, free: 3.602 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001885/1.092, allocations: 385.9 kB / 1.228 GB, free: 3.219 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002514/1.095, allocations: 1.854 MB / 1.23 GB, free: 1.363 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00292/1.097, allocations: 2.346 MB / 1.232 GB, free: 14.8 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00404/1.102, allocations: 2.43 MB / 1.234 GB, free: 12.38 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.005e-05/1.102, allocations: 4 kB / 1.234 GB, free: 12.37 MB / 0.8542 GB Notification: Performance of matching and sorting (n=250) (initialization): time 0.01565/1.117, allocations: 7.685 MB / 1.242 GB, free: 4.656 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.135e-05/1.117, allocations: 12 kB / 1.242 GB, free: 4.648 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.84e-05/1.117, allocations: 16 kB / 1.242 GB, free: 4.633 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01305/1.13, allocations: 4.118 MB / 1.246 GB, free: 0.4922 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001317/1.132, allocations: 275.5 kB / 1.246 GB, free: 228 kB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3354/1.467, allocations: 19.34 MB / 1.265 GB, free: 343.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00213/1.469, allocations: 75.5 kB / 1.265 GB, free: 343.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003212/1.47, allocations: 174.2 kB / 1.265 GB, free: 343.4 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 69 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (148): * Single equations (assignments): 142 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(11,91.7%) 13,(6,100.0%) 12,(6,100.0%) 6} * Non-linear torn systems: 3 {12 12,6 12,6 6} Notification: Performance of prepare postOptimizeDAE: time 0.0004305/1.47, allocations: 147 kB / 1.266 GB, free: 343.3 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003531/1.47, allocations: 192.5 kB / 1.266 GB, free: 343.3 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01317/1.484, allocations: 7.725 MB / 1.273 GB, free: 343.1 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.539e-05/1.484, allocations: 25.59 kB / 1.273 GB, free: 343.1 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.287e-05/1.484, allocations: 13.44 kB / 1.273 GB, free: 343.1 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.01e-05/1.484, allocations: 7.266 kB / 1.273 GB, free: 343.1 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01976/1.504, allocations: 11.72 MB / 1.285 GB, free: 342.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.575e-05/1.504, allocations: 3.938 kB / 1.285 GB, free: 342.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007524/1.504, allocations: 157.7 kB / 1.285 GB, free: 342.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01135/1.516, allocations: 4.039 MB / 1.289 GB, free: 342.5 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003066/1.516, allocations: 51.83 kB / 1.289 GB, free: 342.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02463/1.541, allocations: 18.92 MB / 1.307 GB, free: 337.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-05/1.541, allocations: 9.969 kB / 1.307 GB, free: 337.4 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01305/1.554, allocations: 7.932 MB / 1.315 GB, free: 336.3 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001806/1.556, allocations: 0.7024 MB / 1.316 GB, free: 336.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004915/1.556, allocations: 14.55 kB / 1.316 GB, free: 336.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001268/1.557, allocations: 72.02 kB / 1.316 GB, free: 336.1 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003073/1.558, allocations: 137.4 kB / 1.316 GB, free: 336.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002388/1.558, allocations: 152.6 kB / 1.316 GB, free: 336.1 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.001048/1.559, allocations: 0.7931 MB / 1.317 GB, free: 336 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002762/1.562, allocations: 0.8135 MB / 1.318 GB, free: 336 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (80): * Single equations (assignments): 74 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(6,100.0%) 6,(6,100.0%) 12,(11,91.7%) 13} * Non-linear torn systems: 3 {6 6,6 12,12 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003842/1.562, allocations: 149.2 kB / 1.318 GB, free: 335.9 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.008925/1.571, allocations: 5.809 MB / 1.324 GB, free: 335.5 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 9.618e-06/1.571, allocations: 3.406 kB / 1.324 GB, free: 335.5 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.006756/1.578, allocations: 3.598 MB / 1.327 GB, free: 334.6 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002272/1.58, allocations: 399.7 kB / 1.327 GB, free: 334.5 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01143/1.592, allocations: 5.719 MB / 1.333 GB, free: 332.4 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002741/1.595, allocations: 2.793 MB / 1.336 GB, free: 331.3 MB / 0.8698 GB Notification: Performance of SimCode: time 1.012e-06/1.595, allocations: 0 / 1.336 GB, free: 331.3 MB / 0.8698 GB Notification: Performance of Templates: time 0.07251/1.667, allocations: 47.84 MB / 1.382 GB, free: 308.2 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL.csv","../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches