Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.DY.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.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.DY,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err_V2.1.|err_V2.2.|err_V2.3.|err_V3.1.|err_V3.2.|err_V3.3.|err_V4.1.|err_V4.2.|err_V4.3.|err_Theta2.1.|err_Theta2.2.|err_Theta2.3.|err_Theta3.1.|err_Theta3.2.|err_Theta3.3.|err_Theta4.1.|err_Theta4.2.|err_Theta4.3.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.DY") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.DY,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err_V2.1.|err_V2.2.|err_V2.3.|err_V3.1.|err_V3.2.|err_V3.3.|err_V4.1.|err_V4.2.|err_V4.3.|err_Theta2.1.|err_Theta2.2.|err_Theta2.3.|err_Theta3.1.|err_Theta3.2.|err_Theta3.3.|err_Theta4.1.|err_Theta4.2.|err_Theta4.3.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.DY") [: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.24/1.24, allocations: 249.4 MB / 256.7 MB, free: 6.957 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.001217/0.001217, allocations: 181.3 kB / 316 MB, free: 3.531 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.166/1.166, allocations: 205.2 MB / 0.5667 GB, free: 15.66 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.0009808/0.0009807, allocations: 102.4 kB / 0.671 GB, free: 4.781 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.792e-06/6.822e-06, allocations: 4 kB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1676/0.1676, allocations: 106.3 MB / 0.8846 GB, free: 12.6 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5364/0.7041, allocations: 193.3 MB / 1.073 GB, free: 12.08 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002814/0.7044, allocations: 111.3 kB / 1.073 GB, free: 12.02 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.3147/1.019, allocations: 139 MB / 1.209 GB, free: 9.641 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0001194/1.019, allocations: 75.98 kB / 1.209 GB, free: 9.566 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1023 * Number of variables: 1023 Notification: Performance of Generate backend data structure: time 0.006108/1.025, allocations: 3.063 MB / 1.212 GB, free: 6.445 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.794e-05/1.025, allocations: 8.031 kB / 1.212 GB, free: 6.438 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01232/1.038, allocations: 1.751 MB / 1.214 GB, free: 4.68 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005066/1.043, allocations: 2.248 MB / 1.216 GB, free: 2.383 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001157/1.043, allocations: 116 kB / 1.216 GB, free: 2.27 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006421/1.044, allocations: 215.9 kB / 1.216 GB, free: 2.059 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008702/1.052, allocations: 5.15 MB / 1.222 GB, free: 12.9 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008671/1.061, allocations: 5.783 MB / 1.227 GB, free: 6.996 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.206e-05/1.061, allocations: 3.938 kB / 1.227 GB, free: 6.992 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003694/1.061, allocations: 4 kB / 1.227 GB, free: 6.988 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000427/1.062, allocations: 314.2 kB / 1.227 GB, free: 6.68 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2734/1.335, allocations: 27.83 MB / 1.255 GB, free: 324.6 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003458/1.339, allocations: 2.792 MB / 1.257 GB, free: 324.4 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002129/1.341, allocations: 1.921 MB / 1.259 GB, free: 324.3 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002553/1.341, allocations: 131.4 kB / 1.259 GB, free: 324.2 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.388e-05/1.341, allocations: 66.56 kB / 1.259 GB, free: 324.2 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=198): time 4.128e-06/1.341, allocations: 0 / 1.259 GB, free: 324.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=261): time 0.02846/1.37, allocations: 14.28 MB / 1.273 GB, free: 321.8 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.631e-05/1.37, allocations: 236 kB / 1.274 GB, free: 321.6 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0013/1.371, allocations: 1.216 MB / 1.275 GB, free: 321.4 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0001953/1.371, allocations: 25.7 kB / 1.275 GB, free: 321.4 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004918/1.372, allocations: 1.432 MB / 1.276 GB, free: 320.7 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005418/1.372, allocations: 0.8447 MB / 1.277 GB, free: 320.2 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002138/1.373, allocations: 0 / 1.277 GB, free: 320.2 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001348/1.373, allocations: 445.5 kB / 1.277 GB, free: 319.9 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002293/1.375, allocations: 2.109 MB / 1.28 GB, free: 319.8 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0026/1.378, allocations: 3.009 MB / 1.282 GB, free: 318.8 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004423/1.382, allocations: 3.015 MB / 1.285 GB, free: 318.8 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.33e-05/1.382, allocations: 14.17 kB / 1.285 GB, free: 318.8 MB / 0.8542 GB Notification: Performance of matching and sorting (n=402) (initialization): time 0.01432/1.397, allocations: 7.903 MB / 1.293 GB, free: 318.5 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.001571/1.398, allocations: 10.78 MB / 1.304 GB, free: 307.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.052e-05/1.398, allocations: 29.41 kB / 1.304 GB, free: 307.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01215/1.41, allocations: 3.529 MB / 1.307 GB, free: 307.2 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003825/1.414, allocations: 0.759 MB / 1.308 GB, free: 307.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0198/1.434, allocations: 14.12 MB / 1.322 GB, free: 304.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003949/1.438, allocations: 334 kB / 1.322 GB, free: 304.7 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003407/1.438, allocations: 189.8 kB / 1.322 GB, free: 304.6 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 7.494e-06/1.438, allocations: 3.812 kB / 1.322 GB, free: 304.6 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007451/1.446, allocations: 5.254 MB / 1.327 GB, free: 303.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.564e-05/1.446, allocations: 30.09 kB / 1.327 GB, free: 303.2 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.469e-05/1.446, allocations: 48.06 kB / 1.327 GB, free: 303.2 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005045/1.451, allocations: 1.109 MB / 1.328 GB, free: 303.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.218e-05/1.451, allocations: 61.61 kB / 1.329 GB, free: 303.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002988/1.454, allocations: 302.2 kB / 1.329 GB, free: 303.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003189/1.454, allocations: 192.1 kB / 1.329 GB, free: 303.1 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 124 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (296): * Single equations (assignments): 294 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(6,100.0%) 48} * Non-linear torn systems: 1 {6 48} Notification: Performance of prepare postOptimizeDAE: time 0.000632/1.455, allocations: 187.2 kB / 1.329 GB, free: 302.9 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005111/1.455, allocations: 188.4 kB / 1.329 GB, free: 302.9 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01447/1.47, allocations: 7.95 MB / 1.337 GB, free: 300.6 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.956e-05/1.47, allocations: 27.22 kB / 1.337 GB, free: 300.6 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.363e-05/1.47, allocations: 11.62 kB / 1.337 GB, free: 300.6 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.107e-05/1.47, allocations: 14.58 kB / 1.337 GB, free: 300.6 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02357/1.494, allocations: 13.41 MB / 1.35 GB, free: 295.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.761e-05/1.494, allocations: 6.812 kB / 1.35 GB, free: 295.7 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00291/1.497, allocations: 0.5262 MB / 1.351 GB, free: 295.7 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01327/1.51, allocations: 3.882 MB / 1.355 GB, free: 294.1 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000316/1.51, allocations: 53.98 kB / 1.355 GB, free: 294.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01758/1.528, allocations: 12.62 MB / 1.367 GB, free: 283.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.003e-05/1.528, allocations: 15.66 kB / 1.367 GB, free: 283.3 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01336/1.541, allocations: 7.653 MB / 1.374 GB, free: 276.7 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001399/1.543, allocations: 0.7336 MB / 1.375 GB, free: 276 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004374/1.543, allocations: 12 kB / 1.375 GB, free: 276 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003188/1.546, allocations: 343.2 kB / 1.375 GB, free: 275.8 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002812/1.547, allocations: 165.5 kB / 1.376 GB, free: 275.7 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002427/1.547, allocations: 126.5 kB / 1.376 GB, free: 275.6 MB / 0.8542 GB Notification: Performance of sort global known variables: time 0.001034/1.548, allocations: 0.9305 MB / 1.377 GB, free: 274.8 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.004018/1.552, allocations: 1.391 MB / 1.378 GB, free: 273.4 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (164): * Single equations (assignments): 162 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(6,100.0%) 42} * Non-linear torn systems: 1 {6 42} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003393/1.552, allocations: 155.5 kB / 1.378 GB, free: 273.3 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.01113/1.563, allocations: 8.241 MB / 1.386 GB, free: 266.2 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 5.71e-06/1.563, allocations: 4 kB / 1.386 GB, free: 266.2 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.005313/1.569, allocations: 2.998 MB / 1.389 GB, free: 263.6 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001025/1.57, allocations: 152.8 kB / 1.389 GB, free: 263.5 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02605/1.596, allocations: 8.495 MB / 1.398 GB, free: 256.4 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003204/1.599, allocations: 3.055 MB / 1.401 GB, free: 254 MB / 0.8542 GB Notification: Performance of SimCode: time 1.132e-06/1.599, allocations: 0 / 1.401 GB, free: 254 MB / 0.8542 GB Notification: Performance of Templates: time 0.08265/1.682, allocations: 71.95 MB / 1.471 GB, free: 187.9 MB / 0.8542 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.DY.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.DY.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.DY.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.DY.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.DY.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.DY -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.DY.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.DY_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Electrical_AC_ThreePhasesUnbalanced_Validation_IEEETests_Test4NodesFeeder_BalancedStepDown_DY.csv","../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.DY.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches