Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_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_L_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|L1.terminal.phase.1..v.1.|L2.terminal.phase.1..v.1.|L3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|L1.load1.i.2.|L2.load1.i.2.|L3.load1.i.2.|sc_load.load1.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|L1.terminal.phase.1..v.1.|L2.terminal.phase.1..v.1.|L3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|L1.load1.i.2.|L2.load1.i.2.|L3.load1.i.2.|sc_load.load1.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_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.713/1.713, allocations: 390.4 MB / 397.7 MB, free: 11.24 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.0009012/0.0009009, allocations: 177.3 kB / 490.8 MB, free: 1.934 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.06/1.06, allocations: 221.3 MB / 0.7863 GB, free: 13.66 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.0007987/0.0007988, allocations: 91.61 kB / 0.9264 GB, free: 14.2 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 6.072e-06/6.082e-06, allocations: 4 kB / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1662/0.1662, allocations: 143 MB / 1.212 GB, free: 40.11 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4732/0.6394, allocations: 182.7 MB / 1.39 GB, free: 14.88 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002048/0.6396, allocations: 94.7 kB / 1.39 GB, free: 14.86 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.4138/1.053, allocations: 210.1 MB / 1.595 GB, free: 13.8 MB / 1.01 GB Notification: Performance of Transformations before backend: time 0.0002635/1.054, allocations: 135.9 kB / 1.595 GB, free: 13.67 MB / 1.01 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.009197/1.063, allocations: 4.54 MB / 1.6 GB, free: 9.066 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.073e-05/1.063, allocations: 8.031 kB / 1.6 GB, free: 9.059 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005143/1.068, allocations: 1.031 MB / 1.601 GB, free: 8.02 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005374/1.073, allocations: 3.414 MB / 1.604 GB, free: 4.543 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001323/1.074, allocations: 179.9 kB / 1.604 GB, free: 4.371 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000649/1.074, allocations: 331.8 kB / 1.605 GB, free: 4.047 MB / 1.01 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00779/1.082, allocations: 5.634 MB / 1.61 GB, free: 14.41 MB / 1.026 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01002/1.092, allocations: 7.866 MB / 1.618 GB, free: 6.113 MB / 1.026 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001158/1.092, allocations: 31.72 kB / 1.618 GB, free: 6.082 MB / 1.026 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004232/1.093, allocations: 12 kB / 1.618 GB, free: 6.07 MB / 1.026 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002298/1.093, allocations: 330.7 kB / 1.618 GB, free: 5.746 MB / 1.026 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02887/1.122, allocations: 39.11 MB / 1.656 GB, free: 10.94 MB / 1.073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002196/1.124, allocations: 2.15 MB / 1.658 GB, free: 8.781 MB / 1.073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002105/1.126, allocations: 1.948 MB / 1.66 GB, free: 6.828 MB / 1.073 GB Notification: Performance of preOpt evalFunc (simulation): time 8.521e-05/1.126, allocations: 22 kB / 1.66 GB, free: 6.805 MB / 1.073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.815e-05/1.126, allocations: 48.56 kB / 1.66 GB, free: 6.75 MB / 1.073 GB Notification: Performance of pre-optimization done (n=179): time 3.076e-06/1.126, allocations: 0 / 1.66 GB, free: 6.75 MB / 1.073 GB Notification: Performance of matching and sorting (n=182): time 0.008571/1.135, allocations: 6.071 MB / 1.666 GB, free: 0.6445 MB / 1.073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.76e-05/1.135, allocations: 73.41 kB / 1.666 GB, free: 0.5625 MB / 1.073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001145/1.136, allocations: 1.097 MB / 1.667 GB, free: 15.46 MB / 1.089 GB Notification: Performance of collectPreVariables (initialization): time 9.239e-05/1.136, allocations: 25.7 kB / 1.668 GB, free: 15.43 MB / 1.089 GB Notification: Performance of collectInitialEqns (initialization): time 0.000824/1.137, allocations: 1.991 MB / 1.669 GB, free: 13.41 MB / 1.089 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003861/1.137, allocations: 0.6082 MB / 1.67 GB, free: 12.8 MB / 1.089 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.507e-05/1.137, allocations: 0 / 1.67 GB, free: 12.8 MB / 1.089 GB Notification: Performance of setup shared object (initialization): time 0.0001475/1.138, allocations: 394.3 kB / 1.67 GB, free: 12.41 MB / 1.089 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001356/1.139, allocations: 1.176 MB / 1.672 GB, free: 11.22 MB / 1.089 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001678/1.141, allocations: 1.85 MB / 1.673 GB, free: 9.062 MB / 1.089 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001681/1.142, allocations: 1.528 MB / 1.675 GB, free: 7.539 MB / 1.089 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.973e-06/1.142, allocations: 4 kB / 1.675 GB, free: 7.535 MB / 1.089 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.006421/1.149, allocations: 4.419 MB / 1.679 GB, free: 3.094 MB / 1.089 GB Notification: Performance of prepare postOptimizeDAE: time 1.146e-05/1.149, allocations: 4 kB / 1.679 GB, free: 3.09 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.103e-05/1.149, allocations: 24 kB / 1.679 GB, free: 3.066 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003685/1.153, allocations: 1.562 MB / 1.681 GB, free: 1.5 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001067/1.154, allocations: 335.4 kB / 1.681 GB, free: 1.172 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01776/1.171, allocations: 15.55 MB / 1.696 GB, free: 1.148 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001065/1.172, allocations: 51.94 kB / 1.696 GB, free: 1.098 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000157/1.173, allocations: 95.94 kB / 1.696 GB, free: 1.004 MB / 1.104 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 98 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (174): * Single equations (assignments): 170 * 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 {(14,34.7%) 24,(6,66.7%) 24,(6,66.7%) 16,(6,66.7%) 16} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002518/1.173, allocations: 156.4 kB / 1.697 GB, free: 0.8438 MB / 1.104 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002512/1.173, allocations: 213.5 kB / 1.697 GB, free: 0.6328 MB / 1.104 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006089/1.179, allocations: 4.079 MB / 1.701 GB, free: 12.52 MB / 1.12 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.528e-05/1.179, allocations: 20 kB / 1.701 GB, free: 12.5 MB / 1.12 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.497e-05/1.179, allocations: 16 kB / 1.701 GB, free: 12.48 MB / 1.12 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.399e-05/1.179, allocations: 11.95 kB / 1.701 GB, free: 12.47 MB / 1.12 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01139/1.191, allocations: 8.085 MB / 1.709 GB, free: 4.262 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.573e-06/1.191, allocations: 4 kB / 1.709 GB, free: 4.258 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006555/1.191, allocations: 160.3 kB / 1.709 GB, free: 4.102 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003678/1.195, allocations: 1.53 MB / 1.71 GB, free: 2.562 MB / 1.12 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001005/1.195, allocations: 8 kB / 1.71 GB, free: 2.555 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01779/1.213, allocations: 15.56 MB / 1.726 GB, free: 2.543 MB / 1.135 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.483e-06/1.213, allocations: 7.938 kB / 1.726 GB, free: 2.535 MB / 1.135 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005866/1.219, allocations: 4.479 MB / 1.73 GB, free: 13.87 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007621/1.22, allocations: 0.5257 MB / 1.73 GB, free: 13.32 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002875/1.22, allocations: 11.98 kB / 1.73 GB, free: 13.31 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007934/1.221, allocations: 31.95 kB / 1.73 GB, free: 13.28 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001831/1.221, allocations: 97.7 kB / 1.731 GB, free: 13.18 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001192/1.221, allocations: 48 kB / 1.731 GB, free: 13.13 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0008416/1.222, allocations: 0.81 MB / 1.731 GB, free: 12.33 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002161/1.224, allocations: 0.8945 MB / 1.732 GB, free: 11.44 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (77): * Single equations (assignments): 73 * 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 {(6,66.7%) 16,(6,66.7%) 16,(6,66.7%) 24,(14,34.7%) 24} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002087/1.224, allocations: 115 kB / 1.732 GB, free: 11.32 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.005664/1.23, allocations: 4.013 MB / 1.736 GB, free: 7.27 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/1.23, allocations: 0 / 1.736 GB, free: 7.27 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.003903/1.234, allocations: 2.497 MB / 1.739 GB, free: 4.73 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002233/1.236, allocations: 0.6044 MB / 1.739 GB, free: 4.133 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3632/1.599, allocations: 7.051 MB / 1.746 GB, free: 215.7 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002935/1.602, allocations: 3.699 MB / 1.75 GB, free: 214.9 MB / 1.151 GB Notification: Performance of SimCode: time 7.91e-07/1.602, allocations: 0 / 1.75 GB, free: 214.9 MB / 1.151 GB Notification: Performance of Templates: time 0.04665/1.649, allocations: 41.04 MB / 1.79 GB, free: 213.8 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N.csv","../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches