Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.DY.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.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_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.DY") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.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_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.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 9.1.1-maint.9.1.x/package.mo): time 1.758/1.758, allocations: 387.2 MB / 394.5 MB, free: 13.65 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.0009303/0.0009302, allocations: 181.2 kB / 487 MB, free: 5.336 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.121/1.121, allocations: 221.3 MB / 0.7819 GB, free: 1.336 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.0008457/0.0008457, allocations: 94.17 kB / 0.9213 GB, free: 2.578 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 6.042e-06/6.062e-06, allocations: 0 / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1889/0.189, allocations: 142.3 MB / 1.205 GB, free: 26.18 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.527/0.716, allocations: 211 MB / 1.411 GB, free: 14.59 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002676/0.7163, allocations: 113.3 kB / 1.411 GB, free: 14.53 MB / 0.8542 GB Notification: Performance of FrontEnd: time 0.3651/1.081, allocations: 162.9 MB / 1.571 GB, free: 8.844 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.0001378/1.082, allocations: 79.98 kB / 1.571 GB, free: 8.766 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: 1034 * Number of variables: 1034 Notification: Performance of Generate backend data structure: time 0.007314/1.089, allocations: 3.098 MB / 1.574 GB, free: 5.609 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.645e-05/1.089, allocations: 8.031 kB / 1.574 GB, free: 5.602 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01212/1.101, allocations: 1.845 MB / 1.575 GB, free: 3.75 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00394/1.105, allocations: 2.267 MB / 1.578 GB, free: 1.438 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.46e-05/1.105, allocations: 123.9 kB / 1.578 GB, free: 1.316 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005292/1.106, allocations: 208 kB / 1.578 GB, free: 1.113 MB / 0.9948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007705/1.113, allocations: 5.201 MB / 1.583 GB, free: 11.91 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008582/1.122, allocations: 5.847 MB / 1.589 GB, free: 5.938 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.215e-05/1.122, allocations: 7.938 kB / 1.589 GB, free: 5.93 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003686/1.122, allocations: 0 / 1.589 GB, free: 5.93 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005623/1.123, allocations: 346.3 kB / 1.589 GB, free: 5.59 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02862/1.152, allocations: 28.13 MB / 1.617 GB, free: 7.055 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003706/1.155, allocations: 2.791 MB / 1.619 GB, free: 4.203 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002308/1.158, allocations: 1.904 MB / 1.621 GB, free: 2.281 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002361/1.158, allocations: 146.9 kB / 1.621 GB, free: 2.117 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.097e-05/1.158, allocations: 60.56 kB / 1.621 GB, free: 2.051 MB / 1.042 GB Notification: Performance of pre-optimization done (n=198): time 3.506e-06/1.158, allocations: 0 / 1.621 GB, free: 2.051 MB / 1.042 GB Notification: Performance of matching and sorting (n=261): time 0.02733/1.185, allocations: 13.85 MB / 1.635 GB, free: 4.184 MB / 1.057 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.139e-05/1.185, allocations: 239.6 kB / 1.635 GB, free: 3.902 MB / 1.057 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001428/1.187, allocations: 1.22 MB / 1.636 GB, free: 2.672 MB / 1.057 GB Notification: Performance of collectPreVariables (initialization): time 0.0001824/1.187, allocations: 25.7 kB / 1.636 GB, free: 2.641 MB / 1.057 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006569/1.188, allocations: 1.446 MB / 1.638 GB, free: 1.172 MB / 1.057 GB Notification: Performance of collectInitialBindings (initialization): time 0.000635/1.188, allocations: 0.8506 MB / 1.639 GB, free: 316 kB / 1.057 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002136/1.189, allocations: 0 / 1.639 GB, free: 316 kB / 1.057 GB Notification: Performance of setup shared object (initialization): time 0.0002009/1.189, allocations: 440.5 kB / 1.639 GB, free: 15.87 MB / 1.073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002592/1.191, allocations: 2.103 MB / 1.641 GB, free: 13.77 MB / 1.073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003063/1.194, allocations: 3 MB / 1.644 GB, free: 10.38 MB / 1.073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004598/1.199, allocations: 2.946 MB / 1.647 GB, free: 7.406 MB / 1.073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.066e-05/1.199, allocations: 8 kB / 1.647 GB, free: 7.398 MB / 1.073 GB Notification: Performance of matching and sorting (n=402) (initialization): time 0.01504/1.214, allocations: 7.813 MB / 1.654 GB, free: 15.52 MB / 1.089 GB Notification: Performance of prepare postOptimizeDAE: time 0.003006/1.217, allocations: 10.78 MB / 1.665 GB, free: 3.883 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.061e-05/1.217, allocations: 28 kB / 1.665 GB, free: 3.855 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01333/1.231, allocations: 3.66 MB / 1.669 GB, free: 188 kB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003751/1.234, allocations: 0.7566 MB / 1.669 GB, free: 15.43 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02181/1.256, allocations: 14.04 MB / 1.683 GB, free: 1.234 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003707/1.26, allocations: 351 kB / 1.683 GB, free: 0.8906 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003406/1.26, allocations: 171.9 kB / 1.684 GB, free: 0.7227 MB / 1.104 GB Notification: Performance of prepare postOptimizeDAE: time 6.963e-06/1.26, allocations: 4 kB / 1.684 GB, free: 0.7188 MB / 1.104 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00792/1.268, allocations: 5.156 MB / 1.689 GB, free: 11.52 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.657e-05/1.268, allocations: 24 kB / 1.689 GB, free: 11.5 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.308e-05/1.268, allocations: 48 kB / 1.689 GB, free: 11.45 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0053/1.274, allocations: 1.104 MB / 1.69 GB, free: 10.35 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.042e-05/1.274, allocations: 59.8 kB / 1.69 GB, free: 10.29 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002938/1.277, allocations: 315.6 kB / 1.69 GB, free: 9.98 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003088/1.277, allocations: 171.9 kB / 1.69 GB, free: 9.812 MB / 1.12 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.0005252/1.277, allocations: 184.3 kB / 1.69 GB, free: 9.625 MB / 1.12 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004607/1.278, allocations: 189.8 kB / 1.691 GB, free: 9.438 MB / 1.12 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01548/1.293, allocations: 7.851 MB / 1.698 GB, free: 1.539 MB / 1.12 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.536e-05/1.293, allocations: 31.91 kB / 1.698 GB, free: 1.508 MB / 1.12 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.42e-05/1.293, allocations: 16 kB / 1.698 GB, free: 1.492 MB / 1.12 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.467e-05/1.293, allocations: 11.95 kB / 1.698 GB, free: 1.48 MB / 1.12 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02356/1.317, allocations: 13.39 MB / 1.711 GB, free: 3.926 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.496e-05/1.317, allocations: 11.98 kB / 1.711 GB, free: 3.914 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002797/1.32, allocations: 0.5188 MB / 1.712 GB, free: 3.395 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01388/1.334, allocations: 4.027 MB / 1.716 GB, free: 15.36 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002395/1.334, allocations: 43.94 kB / 1.716 GB, free: 15.32 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01922/1.353, allocations: 12.53 MB / 1.728 GB, free: 2.629 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.097e-06/1.353, allocations: 8 kB / 1.728 GB, free: 2.621 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.362/1.715, allocations: 7.564 MB / 1.736 GB, free: 284.4 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001232/1.717, allocations: 0.7144 MB / 1.736 GB, free: 284.3 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004321/1.717, allocations: 13.45 kB / 1.736 GB, free: 284.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003241/1.72, allocations: 356 kB / 1.737 GB, free: 284.3 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002885/1.721, allocations: 153.1 kB / 1.737 GB, free: 284.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002393/1.721, allocations: 107.7 kB / 1.737 GB, free: 284.3 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.00108/1.722, allocations: 0.9394 MB / 1.738 GB, free: 284.2 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.003871/1.726, allocations: 1.411 MB / 1.739 GB, free: 284.2 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 (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.0003416/1.726, allocations: 151.1 kB / 1.739 GB, free: 284.1 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.01185/1.738, allocations: 8.166 MB / 1.747 GB, free: 283.9 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 7.744e-06/1.738, allocations: 4.422 kB / 1.747 GB, free: 283.9 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.005695/1.744, allocations: 2.985 MB / 1.75 GB, free: 283.8 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0013/1.745, allocations: 159.1 kB / 1.75 GB, free: 283.8 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02343/1.768, allocations: 8.483 MB / 1.759 GB, free: 282.6 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00302/1.772, allocations: 3.069 MB / 1.762 GB, free: 281.8 MB / 1.151 GB Notification: Performance of SimCode: time 6.92e-07/1.772, allocations: 0 / 1.762 GB, free: 281.8 MB / 1.151 GB Notification: Performance of Templates: time 0.08155/1.853, allocations: 71.07 MB / 1.831 GB, free: 279.1 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.DY.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.DY.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.DY.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.DY.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.DY.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.DY -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.DY.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.DY_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Validation_IEEETests_Test4NodesFeeder_UnbalancedStepDown_DY.csv","../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.DY.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches