Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.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.ThreePhasesBalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|load_sc.i.1.|load_sc.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|load_sc.i.1.|load_sc.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L") [: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.296/1.296, allocations: 249.4 MB / 256.7 MB, free: 15.77 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001115/0.001115, allocations: 187.9 kB / 316 MB, free: 7.137 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.464/1.464, allocations: 205.1 MB / 0.5667 GB, free: 23.59 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.001079/0.001079, allocations: 87.41 kB / 0.671 GB, free: 0.7891 MB / 0.4948 GB Notification: Performance of FrontEnd - loaded program: time 9.307e-06/9.328e-06, allocations: 4 kB / 0.7807 GB, free: 296 kB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5786/0.5787, allocations: 106.3 MB / 0.8846 GB, free: 76.18 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.606/1.185, allocations: 157.3 MB / 1.038 GB, free: 150.3 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002468/1.185, allocations: 99.69 kB / 1.038 GB, free: 150.3 MB / 0.6823 GB Notification: Performance of FrontEnd: time 0.08372/1.269, allocations: 36.76 MB / 1.074 GB, free: 128.2 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 4.903e-05/1.269, allocations: 21.88 kB / 1.074 GB, free: 128.2 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001362/1.27, allocations: 0.8715 MB / 1.075 GB, free: 127.3 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.135e-05/1.27, allocations: 8.031 kB / 1.075 GB, free: 127.2 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001583/1.272, allocations: 222.8 kB / 1.075 GB, free: 127 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000827/1.273, allocations: 0.5428 MB / 1.076 GB, free: 126.4 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.204e-05/1.273, allocations: 20 kB / 1.076 GB, free: 126.4 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.01e-05/1.273, allocations: 39.98 kB / 1.076 GB, free: 126.4 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007554/1.274, allocations: 0.5733 MB / 1.076 GB, free: 125.8 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001085/1.275, allocations: 1.005 MB / 1.077 GB, free: 124.7 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.201e-05/1.275, allocations: 15.84 kB / 1.077 GB, free: 124.7 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.014e-05/1.275, allocations: 4 kB / 1.077 GB, free: 124.6 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.969e-05/1.275, allocations: 61.27 kB / 1.077 GB, free: 124.6 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003473/1.278, allocations: 5.672 MB / 1.083 GB, free: 118.5 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003937/1.279, allocations: 392.2 kB / 1.083 GB, free: 118.1 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000288/1.279, allocations: 307 kB / 1.084 GB, free: 117.8 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.951e-05/1.279, allocations: 7.984 kB / 1.084 GB, free: 117.8 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.03e-05/1.279, allocations: 34.56 kB / 1.084 GB, free: 117.8 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=41): time 2.635e-06/1.279, allocations: 0 / 1.084 GB, free: 117.8 MB / 0.6823 GB Notification: Performance of matching and sorting (n=42): time 0.001818/1.281, allocations: 1.128 MB / 1.085 GB, free: 116.6 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.265e-05/1.281, allocations: 63.19 kB / 1.085 GB, free: 116.5 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002585/1.281, allocations: 333.2 kB / 1.085 GB, free: 116.2 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.632e-05/1.281, allocations: 25.7 kB / 1.085 GB, free: 116.2 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001058/1.281, allocations: 339 kB / 1.086 GB, free: 115.8 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 8.092e-05/1.281, allocations: 141.9 kB / 1.086 GB, free: 115.7 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.195e-05/1.281, allocations: 0 / 1.086 GB, free: 115.7 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.954e-05/1.282, allocations: 358.8 kB / 1.086 GB, free: 115.3 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002432/1.282, allocations: 225.2 kB / 1.086 GB, free: 115.1 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003007/1.282, allocations: 411.3 kB / 1.087 GB, free: 114.6 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000302/1.282, allocations: 296.5 kB / 1.087 GB, free: 114.3 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/1.282, allocations: 0 / 1.087 GB, free: 114.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001361/1.284, allocations: 0.9098 MB / 1.088 GB, free: 113.4 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/1.284, allocations: 6.344 kB / 1.088 GB, free: 113.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/1.284, allocations: 8 kB / 1.088 GB, free: 113.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008702/1.285, allocations: 283.5 kB / 1.088 GB, free: 113.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003216/1.285, allocations: 91.77 kB / 1.088 GB, free: 113 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004357/1.289, allocations: 6.208 MB / 1.094 GB, free: 106.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000313/1.29, allocations: 8.188 kB / 1.094 GB, free: 106.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.821e-05/1.29, allocations: 31.98 kB / 1.094 GB, free: 106.3 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 47 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(3,88.9%) 5,(1,100.0%) 5,(1,100.0%) 3,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001044/1.29, allocations: 130.9 kB / 1.094 GB, free: 106.2 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.344e-05/1.29, allocations: 55.34 kB / 1.094 GB, free: 106.1 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001294/1.291, allocations: 0.8104 MB / 1.095 GB, free: 105.3 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.029e-06/1.291, allocations: 8 kB / 1.095 GB, free: 105.3 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.95e-06/1.291, allocations: 0 / 1.095 GB, free: 105.3 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/1.291, allocations: 11.92 kB / 1.095 GB, free: 105.3 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002028/1.293, allocations: 1.529 MB / 1.097 GB, free: 103.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/1.293, allocations: 3.984 kB / 1.097 GB, free: 103.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001824/1.294, allocations: 35.98 kB / 1.097 GB, free: 103.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007765/1.294, allocations: 279.3 kB / 1.097 GB, free: 103.3 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.747e-05/1.294, allocations: 0 / 1.097 GB, free: 103.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004103/1.298, allocations: 6.205 MB / 1.103 GB, free: 96.68 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/1.298, allocations: 0 / 1.103 GB, free: 96.68 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001229/1.3, allocations: 0.9899 MB / 1.104 GB, free: 95.6 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001657/1.3, allocations: 172.4 kB / 1.104 GB, free: 95.41 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.191e-05/1.3, allocations: 8 kB / 1.104 GB, free: 95.41 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002506/1.3, allocations: 11.89 kB / 1.104 GB, free: 95.39 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.832e-05/1.3, allocations: 23.97 kB / 1.104 GB, free: 95.37 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.284e-05/1.3, allocations: 8 kB / 1.104 GB, free: 95.36 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0001842/1.3, allocations: 251 kB / 1.105 GB, free: 95.12 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0006966/1.301, allocations: 164 kB / 1.105 GB, free: 94.96 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 21 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 2,(1,100.0%) 3,(1,100.0%) 5,(3,88.9%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000143/1.301, allocations: 111.1 kB / 1.105 GB, free: 94.84 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001316/1.303, allocations: 1.067 MB / 1.106 GB, free: 93.73 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/1.303, allocations: 0 / 1.106 GB, free: 93.73 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0008904/1.304, allocations: 0.757 MB / 1.107 GB, free: 92.94 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000715/1.304, allocations: 157.2 kB / 1.107 GB, free: 92.79 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001428/1.306, allocations: 0.9183 MB / 1.108 GB, free: 91.82 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004194/1.306, allocations: 1.024 MB / 1.109 GB, free: 90.77 MB / 0.6823 GB Notification: Performance of SimCode: time 2.71e-07/1.306, allocations: 0 / 1.109 GB, free: 90.77 MB / 0.6823 GB Notification: Performance of Templates: time 0.01197/1.318, allocations: 8.716 MB / 1.117 GB, free: 82.14 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L.csv","../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches