Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.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_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_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 1.797/1.797, allocations: 387.2 MB / 394.5 MB, free: 13.68 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.0009254/0.0009254, allocations: 177.2 kB / 487 MB, free: 5.379 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.157/1.157, allocations: 221.3 MB / 0.7819 GB, free: 1.379 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.0008083/0.0008083, allocations: 98.11 kB / 0.9213 GB, free: 2.629 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 6.222e-06/6.252e-06, allocations: 0 / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1818/0.1819, allocations: 142.3 MB / 1.205 GB, free: 26.24 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5439/0.7258, allocations: 205.8 MB / 1.406 GB, free: 3.648 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002492/0.7261, allocations: 94.47 kB / 1.406 GB, free: 3.598 MB / 0.8386 GB Notification: Performance of FrontEnd: time 0.3246/1.051, allocations: 154.5 MB / 1.557 GB, free: 6.309 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.0002424/1.051, allocations: 99.91 kB / 1.557 GB, free: 6.211 MB / 0.9792 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.007663/1.059, allocations: 3.259 MB / 1.56 GB, free: 2.891 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 3.139e-05/1.059, allocations: 8.031 kB / 1.56 GB, free: 2.883 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004911/1.064, allocations: 0.8147 MB / 1.561 GB, free: 2.062 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004559/1.068, allocations: 2.569 MB / 1.564 GB, free: 15.43 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.026e-05/1.068, allocations: 116 kB / 1.564 GB, free: 15.32 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005764/1.069, allocations: 235.8 kB / 1.564 GB, free: 15.09 MB / 0.9948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005557/1.074, allocations: 3.709 MB / 1.568 GB, free: 11.38 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006848/1.081, allocations: 5.223 MB / 1.573 GB, free: 5.824 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.25e-05/1.081, allocations: 23.77 kB / 1.573 GB, free: 5.801 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003028/1.082, allocations: 8 kB / 1.573 GB, free: 5.793 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001687/1.082, allocations: 227 kB / 1.573 GB, free: 5.57 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02207/1.104, allocations: 26.94 MB / 1.599 GB, free: 8.137 MB / 1.026 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001172/1.105, allocations: 1.028 MB / 1.6 GB, free: 7.102 MB / 1.026 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001072/1.106, allocations: 0.9838 MB / 1.601 GB, free: 6.117 MB / 1.026 GB Notification: Performance of preOpt evalFunc (simulation): time 6.783e-05/1.106, allocations: 12.94 kB / 1.601 GB, free: 6.102 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.989e-05/1.106, allocations: 47.47 kB / 1.601 GB, free: 6.047 MB / 1.026 GB Notification: Performance of pre-optimization done (n=110): time 2.405e-06/1.106, allocations: 0 / 1.601 GB, free: 6.047 MB / 1.026 GB Notification: Performance of matching and sorting (n=131): time 0.01173/1.118, allocations: 6.931 MB / 1.608 GB, free: 15 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.031e-05/1.118, allocations: 68.72 kB / 1.608 GB, free: 14.93 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001183/1.119, allocations: 1.077 MB / 1.609 GB, free: 13.85 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 7.538e-05/1.119, allocations: 25.7 kB / 1.609 GB, free: 13.82 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006231/1.12, allocations: 1.423 MB / 1.611 GB, free: 12.37 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002936/1.12, allocations: 453.4 kB / 1.611 GB, free: 11.92 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.568e-05/1.12, allocations: 0 / 1.611 GB, free: 11.92 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.000126/1.12, allocations: 381.8 kB / 1.612 GB, free: 11.54 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001047/1.122, allocations: 0.8551 MB / 1.612 GB, free: 10.69 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001356/1.123, allocations: 1.436 MB / 1.614 GB, free: 8.988 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001279/1.124, allocations: 1.107 MB / 1.615 GB, free: 7.883 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.072e-06/1.124, allocations: 4 kB / 1.615 GB, free: 7.879 MB / 1.042 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.004635/1.129, allocations: 3.054 MB / 1.618 GB, free: 4.789 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/1.129, allocations: 4 kB / 1.618 GB, free: 4.785 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.923e-05/1.129, allocations: 23.94 kB / 1.618 GB, free: 4.762 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002029/1.131, allocations: 0.714 MB / 1.619 GB, free: 4.02 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001467/1.132, allocations: 375.4 kB / 1.619 GB, free: 3.652 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01191/1.144, allocations: 14.49 MB / 1.633 GB, free: 4.129 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001252/1.146, allocations: 47.95 kB / 1.633 GB, free: 4.082 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001299/1.146, allocations: 83.95 kB / 1.633 GB, free: 4 MB / 1.057 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.0002528/1.146, allocations: 160.4 kB / 1.633 GB, free: 3.836 MB / 1.057 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002272/1.146, allocations: 185.8 kB / 1.634 GB, free: 3.652 MB / 1.057 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004417/1.151, allocations: 2.665 MB / 1.636 GB, free: 0.9375 MB / 1.057 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.057e-05/1.151, allocations: 12 kB / 1.636 GB, free: 0.9258 MB / 1.057 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.889e-06/1.151, allocations: 8 kB / 1.636 GB, free: 0.918 MB / 1.057 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.122e-05/1.151, allocations: 7.969 kB / 1.636 GB, free: 0.9102 MB / 1.057 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00832/1.159, allocations: 5.454 MB / 1.641 GB, free: 11.31 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.253e-06/1.159, allocations: 4 kB / 1.641 GB, free: 11.3 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001189/1.16, allocations: 227.6 kB / 1.642 GB, free: 11.08 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001839/1.162, allocations: 0.6479 MB / 1.642 GB, free: 10.41 MB / 1.073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.591e-05/1.162, allocations: 15.98 kB / 1.642 GB, free: 10.39 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01131/1.173, allocations: 14.19 MB / 1.656 GB, free: 11.16 MB / 1.089 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.794e-06/1.174, allocations: 12 kB / 1.656 GB, free: 11.15 MB / 1.089 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005413/1.179, allocations: 4.229 MB / 1.66 GB, free: 6.676 MB / 1.089 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007575/1.18, allocations: 438.6 kB / 1.661 GB, free: 6.227 MB / 1.089 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002582/1.18, allocations: 12 kB / 1.661 GB, free: 6.215 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008008/1.181, allocations: 43.84 kB / 1.661 GB, free: 6.172 MB / 1.089 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001372/1.181, allocations: 72.91 kB / 1.661 GB, free: 6.102 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.211e-05/1.181, allocations: 39.91 kB / 1.661 GB, free: 6.062 MB / 1.089 GB Notification: Performance of sort global known variables: time 0.0009588/1.182, allocations: 0.7957 MB / 1.662 GB, free: 5.273 MB / 1.089 GB Notification: Performance of remove unused functions: time 0.001963/1.184, allocations: 0.6249 MB / 1.662 GB, free: 4.648 MB / 1.089 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.0002286/1.184, allocations: 146.9 kB / 1.662 GB, free: 4.5 MB / 1.089 GB Notification: Performance of simCode: created initialization part: time 0.003962/1.188, allocations: 3.201 MB / 1.666 GB, free: 1.211 MB / 1.089 GB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/1.188, allocations: 0 / 1.666 GB, free: 1.211 MB / 1.089 GB Notification: Performance of simCode: created simulation system equations: time 0.002486/1.191, allocations: 2.064 MB / 1.668 GB, free: 15.06 MB / 1.104 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001925/1.193, allocations: 0.5146 MB / 1.668 GB, free: 14.55 MB / 1.104 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008801/1.201, allocations: 5.214 MB / 1.673 GB, free: 9.199 MB / 1.104 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002777/1.204, allocations: 2.811 MB / 1.676 GB, free: 6.355 MB / 1.104 GB Notification: Performance of SimCode: time 8.92e-07/1.204, allocations: 3.938 kB / 1.676 GB, free: 6.352 MB / 1.104 GB Notification: Performance of Templates: time 0.04419/1.248, allocations: 30.06 MB / 1.705 GB, free: 8.68 MB / 1.135 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL.csv","../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches