Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepUp.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.UnbalancedStepUp.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.UnbalancedStepUp.YY") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepUp.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.UnbalancedStepUp.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.693/1.693, allocations: 390.4 MB / 397.7 MB, free: 11.33 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.0008941/0.000894, allocations: 185.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.051/1.051, allocations: 221.4 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.0008181/0.0008182, allocations: 105.5 kB / 0.9264 GB, free: 14.19 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 5.791e-06/5.821e-06, allocations: 4 kB / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1626/0.1626, allocations: 143 MB / 1.212 GB, free: 40.1 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4892/0.6518, allocations: 211.7 MB / 1.418 GB, free: 6.039 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002442/0.6521, allocations: 118.4 kB / 1.418 GB, free: 5.969 MB / 0.8386 GB Notification: Performance of FrontEnd: time 0.3395/0.9916, allocations: 164.1 MB / 1.579 GB, free: 15.57 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.0001192/0.9918, allocations: 76 kB / 1.579 GB, free: 15.49 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.006394/0.9982, allocations: 3.208 MB / 1.582 GB, free: 12.23 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.125e-05/0.9982, allocations: 8.688 kB / 1.582 GB, free: 12.22 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01073/1.009, allocations: 1.794 MB / 1.584 GB, free: 10.42 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00362/1.013, allocations: 2.338 MB / 1.586 GB, free: 8.031 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.188e-05/1.013, allocations: 128 kB / 1.586 GB, free: 7.906 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005214/1.013, allocations: 224 kB / 1.586 GB, free: 7.688 MB / 0.9948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007219/1.02, allocations: 5.28 MB / 1.591 GB, free: 2.402 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007989/1.028, allocations: 6.076 MB / 1.597 GB, free: 12.21 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.824e-05/1.029, allocations: 0 / 1.597 GB, free: 12.21 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000367/1.029, allocations: 4 kB / 1.597 GB, free: 12.21 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003923/1.029, allocations: 326.7 kB / 1.598 GB, free: 11.89 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02602/1.055, allocations: 28.39 MB / 1.625 GB, free: 13.09 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003281/1.059, allocations: 2.526 MB / 1.628 GB, free: 10.51 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001872/1.061, allocations: 1.614 MB / 1.629 GB, free: 8.875 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001718/1.061, allocations: 126.4 kB / 1.63 GB, free: 8.734 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.356e-05/1.061, allocations: 59.81 kB / 1.63 GB, free: 8.668 MB / 1.042 GB Notification: Performance of pre-optimization done (n=176): time 3.837e-06/1.061, allocations: 0 / 1.63 GB, free: 8.668 MB / 1.042 GB Notification: Performance of matching and sorting (n=221): time 0.02689/1.088, allocations: 13.3 MB / 1.643 GB, free: 11.31 MB / 1.057 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.45e-05/1.088, allocations: 235.6 kB / 1.643 GB, free: 11.03 MB / 1.057 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001433/1.089, allocations: 1.355 MB / 1.644 GB, free: 9.664 MB / 1.057 GB Notification: Performance of collectPreVariables (initialization): time 0.0001591/1.089, allocations: 29.7 kB / 1.644 GB, free: 9.629 MB / 1.057 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007004/1.09, allocations: 1.623 MB / 1.646 GB, free: 7.98 MB / 1.057 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005257/1.091, allocations: 0.7315 MB / 1.647 GB, free: 7.238 MB / 1.057 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001941/1.091, allocations: 0 / 1.647 GB, free: 7.238 MB / 1.057 GB Notification: Performance of setup shared object (initialization): time 0.0001763/1.091, allocations: 436.5 kB / 1.647 GB, free: 6.805 MB / 1.057 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002318/1.093, allocations: 1.97 MB / 1.649 GB, free: 4.832 MB / 1.057 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002852/1.096, allocations: 3.071 MB / 1.652 GB, free: 1.258 MB / 1.057 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004451/1.101, allocations: 2.894 MB / 1.655 GB, free: 14.36 MB / 1.073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.209e-05/1.101, allocations: 12 kB / 1.655 GB, free: 14.35 MB / 1.073 GB Notification: Performance of matching and sorting (n=400) (initialization): time 0.01392/1.115, allocations: 7.454 MB / 1.662 GB, free: 6.879 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 0.003488/1.118, allocations: 14.08 MB / 1.676 GB, free: 7.676 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.247e-05/1.118, allocations: 36 kB / 1.676 GB, free: 7.641 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01164/1.13, allocations: 3.173 MB / 1.679 GB, free: 4.457 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00352/1.133, allocations: 0.8306 MB / 1.68 GB, free: 3.625 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01718/1.15, allocations: 11.03 MB / 1.69 GB, free: 8.438 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003235/1.154, allocations: 366.7 kB / 1.691 GB, free: 8.078 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003315/1.154, allocations: 199.9 kB / 1.691 GB, free: 7.883 MB / 1.104 GB Notification: Performance of prepare postOptimizeDAE: time 6.292e-06/1.154, allocations: 8 kB / 1.691 GB, free: 7.875 MB / 1.104 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007438/1.161, allocations: 5.034 MB / 1.696 GB, free: 2.84 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.925e-05/1.162, allocations: 36 kB / 1.696 GB, free: 2.805 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.465e-05/1.162, allocations: 64.12 kB / 1.696 GB, free: 2.742 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004922/1.167, allocations: 1.092 MB / 1.697 GB, free: 1.648 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.485e-05/1.167, allocations: 75.72 kB / 1.697 GB, free: 1.574 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002807/1.169, allocations: 323.1 kB / 1.697 GB, free: 1.258 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003079/1.17, allocations: 203.9 kB / 1.698 GB, free: 1.059 MB / 1.104 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.0004445/1.17, allocations: 196.6 kB / 1.698 GB, free: 0.8594 MB / 1.104 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004151/1.171, allocations: 185.8 kB / 1.698 GB, free: 0.6758 MB / 1.104 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01364/1.184, allocations: 6.669 MB / 1.705 GB, free: 9.984 MB / 1.12 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.748e-05/1.184, allocations: 28 kB / 1.705 GB, free: 9.957 MB / 1.12 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.073e-05/1.184, allocations: 8 kB / 1.705 GB, free: 9.949 MB / 1.12 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.924e-05/1.184, allocations: 15.95 kB / 1.705 GB, free: 9.934 MB / 1.12 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01903/1.203, allocations: 11.3 MB / 1.716 GB, free: 14.46 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.308e-06/1.203, allocations: 8.969 kB / 1.716 GB, free: 14.46 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002688/1.206, allocations: 0.507 MB / 1.716 GB, free: 13.95 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01264/1.219, allocations: 3.646 MB / 1.72 GB, free: 10.29 MB / 1.135 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001959/1.219, allocations: 51.92 kB / 1.72 GB, free: 10.24 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01663/1.236, allocations: 10.87 MB / 1.73 GB, free: 15.22 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.804e-06/1.236, allocations: 11.94 kB / 1.73 GB, free: 15.21 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01223/1.248, allocations: 7.072 MB / 1.737 GB, free: 7.758 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001074/1.249, allocations: 0.6781 MB / 1.738 GB, free: 7.059 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003941/1.249, allocations: 12 kB / 1.738 GB, free: 7.047 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003042/1.252, allocations: 339.4 kB / 1.738 GB, free: 6.715 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002649/1.253, allocations: 149.5 kB / 1.738 GB, free: 6.566 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002409/1.253, allocations: 123.9 kB / 1.739 GB, free: 6.445 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.001076/1.254, allocations: 0.9986 MB / 1.739 GB, free: 5.445 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.003788/1.258, allocations: 1.422 MB / 1.741 GB, free: 4.023 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.0003036/1.258, allocations: 154.8 kB / 1.741 GB, free: 3.863 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.2699/1.528, allocations: 7.676 MB / 1.749 GB, free: 459.6 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 5.15e-06/1.528, allocations: 0 / 1.749 GB, free: 459.6 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.004568/1.533, allocations: 2.719 MB / 1.751 GB, free: 459.5 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001033/1.534, allocations: 161.1 kB / 1.751 GB, free: 459.5 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01563/1.549, allocations: 7.461 MB / 1.759 GB, free: 458.2 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002864/1.552, allocations: 3.151 MB / 1.762 GB, free: 457.4 MB / 1.151 GB Notification: Performance of SimCode: time 5.31e-07/1.552, allocations: 1.688 kB / 1.762 GB, free: 457.4 MB / 1.151 GB Notification: Performance of Templates: time 0.06478/1.617, allocations: 66.96 MB / 1.827 GB, free: 455.1 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepUp.YY.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepUp.YY.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepUp.YY.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepUp.YY.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepUp.YY.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepUp.YY -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepUp.YY.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepUp.YY_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Validation_IEEETests_Test4NodesFeeder_UnbalancedStepUp_YY.csv","../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepUp.YY.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches