Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.YY.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.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.YY,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_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.YY") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.YY,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_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.YY") [: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.762/1.762, 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.0009036/0.0009036, allocations: 181.2 kB / 487 MB, free: 5.383 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.113/1.113, allocations: 221.3 MB / 0.7819 GB, free: 1.371 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.0008328/0.0008328, allocations: 98.5 kB / 0.9213 GB, free: 2.613 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 5.861e-06/5.881e-06, allocations: 0 / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1916/0.1916, allocations: 142.3 MB / 1.205 GB, free: 26.2 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5462/0.7379, allocations: 211 MB / 1.411 GB, free: 14.69 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002702/0.7382, allocations: 111.4 kB / 1.411 GB, free: 14.62 MB / 0.8542 GB Notification: Performance of FrontEnd: time 0.38/1.118, allocations: 175.1 MB / 1.582 GB, free: 12.61 MB / 1.01 GB Notification: Performance of Transformations before backend: time 0.0001118/1.118, allocations: 79.98 kB / 1.582 GB, free: 12.53 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: 1094 * Number of variables: 1094 Notification: Performance of Generate backend data structure: time 0.006198/1.125, allocations: 3.212 MB / 1.586 GB, free: 9.262 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.473e-05/1.125, allocations: 8.031 kB / 1.586 GB, free: 9.254 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01315/1.138, allocations: 1.965 MB / 1.587 GB, free: 7.281 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004973/1.143, allocations: 2.33 MB / 1.59 GB, free: 4.902 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000146/1.143, allocations: 124 kB / 1.59 GB, free: 4.781 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001167/1.144, allocations: 227.9 kB / 1.59 GB, free: 4.559 MB / 1.01 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01013/1.154, allocations: 5.358 MB / 1.595 GB, free: 15.2 MB / 1.026 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01253/1.167, allocations: 6.15 MB / 1.601 GB, free: 8.926 MB / 1.026 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001035/1.167, allocations: 7.938 kB / 1.601 GB, free: 8.918 MB / 1.026 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007469/1.168, allocations: 11.98 kB / 1.601 GB, free: 8.906 MB / 1.026 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007338/1.168, allocations: 374.7 kB / 1.602 GB, free: 8.539 MB / 1.026 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03178/1.2, allocations: 28.98 MB / 1.63 GB, free: 9.105 MB / 1.057 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003371/1.204, allocations: 2.509 MB / 1.632 GB, free: 6.535 MB / 1.057 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001915/1.206, allocations: 1.617 MB / 1.634 GB, free: 4.895 MB / 1.057 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001975/1.206, allocations: 130.3 kB / 1.634 GB, free: 4.75 MB / 1.057 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.234e-05/1.206, allocations: 59.81 kB / 1.634 GB, free: 4.684 MB / 1.057 GB Notification: Performance of pre-optimization done (n=176): time 3.327e-06/1.206, allocations: 0 / 1.634 GB, free: 4.684 MB / 1.057 GB Notification: Performance of matching and sorting (n=221): time 0.0265/1.232, allocations: 12.98 MB / 1.647 GB, free: 7.645 MB / 1.073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001208/1.233, allocations: 239.6 kB / 1.647 GB, free: 7.359 MB / 1.073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002199/1.235, allocations: 1.359 MB / 1.648 GB, free: 5.988 MB / 1.073 GB Notification: Performance of collectPreVariables (initialization): time 0.0003024/1.235, allocations: 29.7 kB / 1.648 GB, free: 5.953 MB / 1.073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007741/1.236, allocations: 1.627 MB / 1.65 GB, free: 4.301 MB / 1.073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006219/1.236, allocations: 0.7276 MB / 1.651 GB, free: 3.562 MB / 1.073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001977/1.237, allocations: 0 / 1.651 GB, free: 3.562 MB / 1.073 GB Notification: Performance of setup shared object (initialization): time 0.0001872/1.237, allocations: 440.4 kB / 1.651 GB, free: 3.125 MB / 1.073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002451/1.239, allocations: 1.958 MB / 1.653 GB, free: 1.16 MB / 1.073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003215/1.243, allocations: 3.048 MB / 1.656 GB, free: 13.61 MB / 1.089 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004348/1.247, allocations: 2.765 MB / 1.659 GB, free: 10.84 MB / 1.089 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.381e-05/1.247, allocations: 8 kB / 1.659 GB, free: 10.83 MB / 1.089 GB Notification: Performance of matching and sorting (n=400) (initialization): time 0.01712/1.264, allocations: 7.924 MB / 1.667 GB, free: 2.891 MB / 1.089 GB Notification: Performance of prepare postOptimizeDAE: time 0.004012/1.268, allocations: 14.08 MB / 1.68 GB, free: 3.707 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.14e-05/1.268, allocations: 36 kB / 1.68 GB, free: 3.672 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01356/1.282, allocations: 3.368 MB / 1.684 GB, free: 300 kB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004141/1.286, allocations: 0.8267 MB / 1.684 GB, free: 15.46 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01819/1.304, allocations: 10.81 MB / 1.695 GB, free: 4.508 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00412/1.308, allocations: 382.7 kB / 1.695 GB, free: 4.133 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006614/1.309, allocations: 163.9 kB / 1.695 GB, free: 3.973 MB / 1.12 GB Notification: Performance of prepare postOptimizeDAE: time 9.207e-06/1.309, allocations: 4 kB / 1.695 GB, free: 3.969 MB / 1.12 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008508/1.318, allocations: 4.854 MB / 1.7 GB, free: 15.11 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.784e-05/1.318, allocations: 36 kB / 1.7 GB, free: 15.07 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.581e-05/1.318, allocations: 60 kB / 1.7 GB, free: 15.02 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005392/1.323, allocations: 1.065 MB / 1.701 GB, free: 13.95 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.544e-05/1.323, allocations: 79.7 kB / 1.701 GB, free: 13.87 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003358/1.327, allocations: 335.1 kB / 1.702 GB, free: 13.54 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003729/1.327, allocations: 156 kB / 1.702 GB, free: 13.39 MB / 1.135 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 162 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (330): * Single equations (assignments): 328 * 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%) 30} * Non-linear torn systems: 1 {6 30} Notification: Performance of prepare postOptimizeDAE: time 0.0006179/1.328, allocations: 207.9 kB / 1.702 GB, free: 13.18 MB / 1.135 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005743/1.328, allocations: 189.7 kB / 1.702 GB, free: 12.99 MB / 1.135 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01674/1.345, allocations: 7.249 MB / 1.709 GB, free: 5.719 MB / 1.135 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.19e-05/1.345, allocations: 24 kB / 1.709 GB, free: 5.695 MB / 1.135 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.485e-05/1.345, allocations: 8 kB / 1.709 GB, free: 5.688 MB / 1.135 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.961e-05/1.345, allocations: 11.95 kB / 1.709 GB, free: 5.676 MB / 1.135 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02364/1.369, allocations: 11.81 MB / 1.721 GB, free: 9.688 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.406e-05/1.369, allocations: 8 kB / 1.721 GB, free: 9.68 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002784/1.371, allocations: 0.504 MB / 1.721 GB, free: 9.176 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01412/1.386, allocations: 3.856 MB / 1.725 GB, free: 5.309 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003341/1.386, allocations: 35.95 kB / 1.725 GB, free: 5.273 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3227/1.709, allocations: 15.31 MB / 1.74 GB, free: 455.2 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.165e-06/1.709, allocations: 9.531 kB / 1.74 GB, free: 455.2 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01407/1.723, allocations: 7.65 MB / 1.748 GB, free: 453.9 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001216/1.724, allocations: 0.6398 MB / 1.748 GB, free: 453.8 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004029/1.724, allocations: 12.88 kB / 1.748 GB, free: 453.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003066/1.727, allocations: 346.3 kB / 1.749 GB, free: 453.8 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000241/1.728, allocations: 131 kB / 1.749 GB, free: 453.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002139/1.728, allocations: 79.66 kB / 1.749 GB, free: 453.8 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.001121/1.729, allocations: 1.002 MB / 1.75 GB, free: 453.7 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.004196/1.733, allocations: 1.488 MB / 1.751 GB, free: 453.7 MB / 1.151 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 (154): * Single equations (assignments): 152 * 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%) 30} * Non-linear torn systems: 1 {6 30} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003191/1.734, allocations: 147 kB / 1.751 GB, free: 453.6 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.01057/1.744, allocations: 7.548 MB / 1.759 GB, free: 453.4 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 7.264e-06/1.744, allocations: 0 / 1.759 GB, free: 453.4 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.005268/1.749, allocations: 2.846 MB / 1.762 GB, free: 453.2 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001294/1.751, allocations: 160.4 kB / 1.762 GB, free: 453.2 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01305/1.764, allocations: 6.715 MB / 1.768 GB, free: 451.9 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003024/1.767, allocations: 3.149 MB / 1.771 GB, free: 451.1 MB / 1.151 GB Notification: Performance of SimCode: time 6.31e-07/1.767, allocations: 0 / 1.771 GB, free: 451.1 MB / 1.151 GB Notification: Performance of Templates: time 0.07923/1.846, allocations: 67.74 MB / 1.837 GB, free: 447.4 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.YY.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.YY.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.YY.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.YY.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.YY.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.YY -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.YY.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.YY_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Validation_IEEETests_Test4NodesFeeder_UnbalancedStepDown_YY.csv","../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.YY.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches