Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.YY.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.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_latest_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_latest_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 10.0.0-master/package.mo): time 1.7/1.7, allocations: 390.4 MB / 397.6 MB, free: 11.27 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.0009013/0.0009013, allocations: 183.8 kB / 490.8 MB, free: 1.965 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.058/1.058, allocations: 221.4 MB / 0.7863 GB, free: 13.77 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.0008084/0.0008084, allocations: 95.3 kB / 0.9264 GB, free: 14.3 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.98e-06/5.009e-06, allocations: 0 / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1645/0.1645, allocations: 143 MB / 1.212 GB, free: 40.14 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.488/0.6526, allocations: 211.7 MB / 1.418 GB, free: 5.82 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000246/0.6528, allocations: 114.1 kB / 1.418 GB, free: 5.75 MB / 0.8386 GB Notification: Performance of FrontEnd: time 0.3703/1.023, allocations: 175.1 MB / 1.589 GB, free: 4.445 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.0001188/1.023, allocations: 80 kB / 1.59 GB, free: 4.367 MB / 0.9948 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.006788/1.03, allocations: 3.209 MB / 1.593 GB, free: 1.102 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.278e-05/1.03, allocations: 8.688 kB / 1.593 GB, free: 1.094 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01235/1.043, allocations: 1.965 MB / 1.595 GB, free: 15.12 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00368/1.046, allocations: 2.342 MB / 1.597 GB, free: 12.73 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.779e-05/1.046, allocations: 128 kB / 1.597 GB, free: 12.6 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005415/1.047, allocations: 228 kB / 1.597 GB, free: 12.38 MB / 1.01 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007409/1.054, allocations: 5.358 MB / 1.602 GB, free: 7.016 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008076/1.062, allocations: 6.15 MB / 1.608 GB, free: 0.75 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.657e-05/1.062, allocations: 0 / 1.608 GB, free: 0.75 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003776/1.063, allocations: 4 kB / 1.608 GB, free: 0.7461 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006298/1.063, allocations: 374.7 kB / 1.609 GB, free: 388 kB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02586/1.089, allocations: 29 MB / 1.637 GB, free: 0.9258 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003254/1.093, allocations: 2.51 MB / 1.64 GB, free: 14.36 MB / 1.057 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001829/1.094, allocations: 1.603 MB / 1.641 GB, free: 12.73 MB / 1.057 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001794/1.095, allocations: 126.3 kB / 1.641 GB, free: 12.59 MB / 1.057 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.212e-05/1.095, allocations: 59.81 kB / 1.641 GB, free: 12.53 MB / 1.057 GB Notification: Performance of pre-optimization done (n=176): time 2.645e-06/1.095, allocations: 4 kB / 1.641 GB, free: 12.52 MB / 1.057 GB Notification: Performance of matching and sorting (n=221): time 0.02485/1.12, allocations: 12.99 MB / 1.654 GB, free: 15.48 MB / 1.073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.195e-05/1.12, allocations: 231.6 kB / 1.654 GB, free: 15.21 MB / 1.073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00143/1.121, allocations: 1.367 MB / 1.656 GB, free: 13.82 MB / 1.073 GB Notification: Performance of collectPreVariables (initialization): time 0.0001565/1.121, allocations: 25.7 kB / 1.656 GB, free: 13.79 MB / 1.073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006892/1.122, allocations: 1.623 MB / 1.657 GB, free: 12.14 MB / 1.073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005154/1.122, allocations: 0.7198 MB / 1.658 GB, free: 11.41 MB / 1.073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001899/1.123, allocations: 4 kB / 1.658 GB, free: 11.41 MB / 1.073 GB Notification: Performance of setup shared object (initialization): time 0.0001744/1.123, allocations: 444.4 kB / 1.658 GB, free: 10.96 MB / 1.073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002282/1.125, allocations: 1.954 MB / 1.66 GB, free: 9.008 MB / 1.073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002814/1.128, allocations: 3.051 MB / 1.663 GB, free: 5.453 MB / 1.073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004037/1.132, allocations: 2.765 MB / 1.666 GB, free: 2.684 MB / 1.073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.231e-05/1.132, allocations: 12 kB / 1.666 GB, free: 2.672 MB / 1.073 GB Notification: Performance of matching and sorting (n=400) (initialization): time 0.01606/1.148, allocations: 7.92 MB / 1.674 GB, free: 10.73 MB / 1.089 GB Notification: Performance of prepare postOptimizeDAE: time 0.003431/1.151, allocations: 14.08 MB / 1.687 GB, free: 11.54 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.042e-05/1.152, allocations: 36 kB / 1.687 GB, free: 11.51 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01277/1.164, allocations: 3.376 MB / 1.691 GB, free: 8.121 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003458/1.168, allocations: 0.8189 MB / 1.692 GB, free: 7.301 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01652/1.184, allocations: 10.82 MB / 1.702 GB, free: 12.34 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003308/1.188, allocations: 382.7 kB / 1.702 GB, free: 11.96 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000296/1.188, allocations: 167.9 kB / 1.703 GB, free: 11.8 MB / 1.12 GB Notification: Performance of prepare postOptimizeDAE: time 5.56e-06/1.188, allocations: 4 kB / 1.703 GB, free: 11.79 MB / 1.12 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006909/1.195, allocations: 4.847 MB / 1.707 GB, free: 6.945 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.958e-05/1.195, allocations: 36 kB / 1.707 GB, free: 6.91 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.379e-05/1.195, allocations: 60 kB / 1.707 GB, free: 6.852 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005022/1.2, allocations: 1.069 MB / 1.708 GB, free: 5.781 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.095e-05/1.2, allocations: 75.72 kB / 1.709 GB, free: 5.707 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002869/1.203, allocations: 331.1 kB / 1.709 GB, free: 5.383 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002749/1.203, allocations: 163.9 kB / 1.709 GB, free: 5.223 MB / 1.12 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.0004345/1.204, allocations: 196.6 kB / 1.709 GB, free: 5.023 MB / 1.12 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004104/1.204, allocations: 189.8 kB / 1.709 GB, free: 4.836 MB / 1.12 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01623/1.22, allocations: 7.261 MB / 1.716 GB, free: 13.55 MB / 1.135 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.788e-05/1.22, allocations: 27.94 kB / 1.717 GB, free: 13.52 MB / 1.135 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.247e-05/1.22, allocations: 8 kB / 1.717 GB, free: 13.51 MB / 1.135 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.807e-05/1.22, allocations: 11.97 kB / 1.717 GB, free: 13.5 MB / 1.135 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02133/1.242, allocations: 11.8 MB / 1.728 GB, free: 1.527 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.001e-05/1.242, allocations: 8 kB / 1.728 GB, free: 1.52 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002667/1.244, allocations: 0.5115 MB / 1.729 GB, free: 1.008 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01382/1.258, allocations: 3.852 MB / 1.732 GB, free: 13.14 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001848/1.258, allocations: 35.95 kB / 1.732 GB, free: 13.11 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2797/1.538, allocations: 15.31 MB / 1.747 GB, free: 455.4 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.985e-06/1.538, allocations: 14.53 kB / 1.747 GB, free: 455.4 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01356/1.552, allocations: 7.657 MB / 1.755 GB, free: 454.1 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009662/1.553, allocations: 0.6384 MB / 1.755 GB, free: 454 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003868/1.553, allocations: 7.781 kB / 1.755 GB, free: 454 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002978/1.556, allocations: 346.9 kB / 1.756 GB, free: 454 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002294/1.556, allocations: 131.5 kB / 1.756 GB, free: 454 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001949/1.557, allocations: 82.86 kB / 1.756 GB, free: 454 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0009677/1.558, allocations: 1 MB / 1.757 GB, free: 453.8 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.003436/1.561, allocations: 1.487 MB / 1.758 GB, free: 453.8 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.0002726/1.561, allocations: 151.5 kB / 1.759 GB, free: 453.8 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.009704/1.571, allocations: 7.544 MB / 1.766 GB, free: 453.6 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/1.571, allocations: 3.875 kB / 1.766 GB, free: 453.6 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.004846/1.576, allocations: 2.843 MB / 1.769 GB, free: 453.4 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008631/1.577, allocations: 151.9 kB / 1.769 GB, free: 453.4 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01122/1.588, allocations: 6.721 MB / 1.775 GB, free: 452.1 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002886/1.591, allocations: 3.146 MB / 1.778 GB, free: 451.3 MB / 1.151 GB Notification: Performance of SimCode: time 2.41e-07/1.591, allocations: 0.8438 kB / 1.778 GB, free: 451.3 MB / 1.151 GB Notification: Performance of Templates: time 0.07098/1.662, allocations: 67.72 MB / 1.845 GB, free: 449.1 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.YY.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.YY.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.YY.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.YY.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.YY.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.YY -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.YY.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.YY_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Validation_IEEETests_Test4NodesFeeder_UnbalancedStepDown_YY.csv","../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.YY.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches