Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepUp.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.BalancedStepUp.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.BalancedStepUp.YY") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepUp.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.BalancedStepUp.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.711/1.711, allocations: 390.4 MB / 397.7 MB, free: 11.26 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.0009114/0.0009114, allocations: 190.2 kB / 490.8 MB, free: 1.918 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.066/1.066, allocations: 221.4 MB / 0.7863 GB, free: 13.64 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.0008037/0.0008038, allocations: 106.6 kB / 0.9264 GB, free: 14.16 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 5.561e-06/5.571e-06, allocations: 4 kB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1639/0.1639, allocations: 143 MB / 1.212 GB, free: 40.04 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4881/0.6521, allocations: 210.7 MB / 1.417 GB, free: 6.902 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002431/0.6524, allocations: 118.1 kB / 1.418 GB, free: 6.828 MB / 0.8386 GB Notification: Performance of FrontEnd: time 0.3405/0.9929, allocations: 163.4 MB / 1.577 GB, free: 1.172 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.0001121/0.993, allocations: 79.94 kB / 1.577 GB, free: 1.094 MB / 0.9792 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1083 * Number of variables: 1083 Notification: Performance of Generate backend data structure: time 0.006677/0.9997, allocations: 3.189 MB / 1.58 GB, free: 13.85 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.9997, allocations: 16.62 kB / 1.58 GB, free: 13.83 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01128/1.011, allocations: 1.786 MB / 1.582 GB, free: 12.04 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003986/1.015, allocations: 2.326 MB / 1.584 GB, free: 9.664 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001178/1.015, allocations: 128 kB / 1.584 GB, free: 9.539 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000699/1.016, allocations: 220 kB / 1.585 GB, free: 9.324 MB / 0.9948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007915/1.024, allocations: 5.272 MB / 1.59 GB, free: 4.047 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008436/1.032, allocations: 6.036 MB / 1.596 GB, free: 13.89 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.903e-05/1.032, allocations: 7.938 kB / 1.596 GB, free: 13.89 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003785/1.033, allocations: 4 kB / 1.596 GB, free: 13.88 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003934/1.033, allocations: 318.6 kB / 1.596 GB, free: 13.57 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02662/1.06, allocations: 28.34 MB / 1.624 GB, free: 14.84 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003378/1.063, allocations: 2.527 MB / 1.626 GB, free: 12.26 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001904/1.065, allocations: 1.611 MB / 1.628 GB, free: 10.63 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001769/1.065, allocations: 138.2 kB / 1.628 GB, free: 10.48 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.418e-05/1.065, allocations: 59.86 kB / 1.628 GB, free: 10.41 MB / 1.042 GB Notification: Performance of pre-optimization done (n=176): time 4.268e-06/1.065, allocations: 0 / 1.628 GB, free: 10.41 MB / 1.042 GB Notification: Performance of matching and sorting (n=221): time 0.02716/1.092, allocations: 13.24 MB / 1.641 GB, free: 13.11 MB / 1.057 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.811e-05/1.093, allocations: 231.6 kB / 1.641 GB, free: 12.83 MB / 1.057 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001445/1.094, allocations: 1.358 MB / 1.642 GB, free: 11.46 MB / 1.057 GB Notification: Performance of collectPreVariables (initialization): time 0.0001637/1.094, allocations: 25.7 kB / 1.642 GB, free: 11.43 MB / 1.057 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007108/1.095, allocations: 1.607 MB / 1.644 GB, free: 9.797 MB / 1.057 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005316/1.095, allocations: 0.7276 MB / 1.645 GB, free: 9.059 MB / 1.057 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002024/1.096, allocations: 3.938 kB / 1.645 GB, free: 9.055 MB / 1.057 GB Notification: Performance of setup shared object (initialization): time 0.0001762/1.096, allocations: 436.5 kB / 1.645 GB, free: 8.621 MB / 1.057 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002342/1.098, allocations: 1.974 MB / 1.647 GB, free: 6.645 MB / 1.057 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002895/1.101, allocations: 3.063 MB / 1.65 GB, free: 3.078 MB / 1.057 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004529/1.106, allocations: 2.898 MB / 1.653 GB, free: 184 kB / 1.057 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.229e-05/1.106, allocations: 15.94 kB / 1.653 GB, free: 168 kB / 1.057 GB Notification: Performance of matching and sorting (n=400) (initialization): time 0.01389/1.119, allocations: 7.45 MB / 1.66 GB, free: 8.695 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 0.003514/1.123, allocations: 14.08 MB / 1.674 GB, free: 9.504 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.253e-05/1.123, allocations: 36 kB / 1.674 GB, free: 9.469 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01158/1.135, allocations: 3.181 MB / 1.677 GB, free: 6.273 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003484/1.138, allocations: 0.8267 MB / 1.678 GB, free: 5.445 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01718/1.155, allocations: 11.01 MB / 1.689 GB, free: 10.28 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003253/1.159, allocations: 366.7 kB / 1.689 GB, free: 9.918 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003299/1.159, allocations: 207.9 kB / 1.689 GB, free: 9.715 MB / 1.104 GB Notification: Performance of prepare postOptimizeDAE: time 5.521e-06/1.159, allocations: 4 kB / 1.689 GB, free: 9.711 MB / 1.104 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007436/1.166, allocations: 5.033 MB / 1.694 GB, free: 4.672 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.201e-05/1.166, allocations: 44.84 kB / 1.694 GB, free: 4.629 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.348e-05/1.166, allocations: 56 kB / 1.694 GB, free: 4.574 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00495/1.171, allocations: 1.096 MB / 1.695 GB, free: 3.477 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.315e-05/1.171, allocations: 79.72 kB / 1.695 GB, free: 3.398 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002788/1.174, allocations: 319.1 kB / 1.696 GB, free: 3.086 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003023/1.175, allocations: 203.9 kB / 1.696 GB, free: 2.887 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.0004537/1.175, allocations: 204.5 kB / 1.696 GB, free: 2.68 MB / 1.104 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004224/1.175, allocations: 185.8 kB / 1.696 GB, free: 2.496 MB / 1.104 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01365/1.189, allocations: 6.668 MB / 1.703 GB, free: 11.8 MB / 1.12 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.945e-05/1.189, allocations: 24 kB / 1.703 GB, free: 11.78 MB / 1.12 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.353e-05/1.189, allocations: 19.91 kB / 1.703 GB, free: 11.76 MB / 1.12 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.75e-05/1.189, allocations: 7.969 kB / 1.703 GB, free: 11.75 MB / 1.12 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01892/1.208, allocations: 11.28 MB / 1.714 GB, free: 312 kB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.016e-05/1.208, allocations: 11.91 kB / 1.714 GB, free: 300 kB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002652/1.211, allocations: 0.5078 MB / 1.714 GB, free: 15.79 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01236/1.223, allocations: 3.638 MB / 1.718 GB, free: 12.14 MB / 1.135 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001938/1.223, allocations: 51.92 kB / 1.718 GB, free: 12.09 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01638/1.24, allocations: 10.87 MB / 1.728 GB, free: 1.066 MB / 1.135 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.755e-06/1.24, allocations: 11.94 kB / 1.728 GB, free: 1.055 MB / 1.135 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01206/1.252, allocations: 7.065 MB / 1.735 GB, free: 9.609 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001073/1.253, allocations: 0.6742 MB / 1.736 GB, free: 8.914 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004035/1.253, allocations: 19.98 kB / 1.736 GB, free: 8.895 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003024/1.256, allocations: 335.4 kB / 1.736 GB, free: 8.566 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002637/1.257, allocations: 137.6 kB / 1.737 GB, free: 8.43 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002375/1.257, allocations: 123.9 kB / 1.737 GB, free: 8.309 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.001051/1.258, allocations: 0.9981 MB / 1.738 GB, free: 7.309 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.003875/1.262, allocations: 1.41 MB / 1.739 GB, free: 5.898 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.0003086/1.262, allocations: 158.8 kB / 1.739 GB, free: 5.734 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.2684/1.531, allocations: 7.674 MB / 1.747 GB, free: 461 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 9.047e-06/1.531, allocations: 0 / 1.747 GB, free: 461 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.004943/1.536, allocations: 2.715 MB / 1.749 GB, free: 460.9 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001112/1.537, allocations: 164 kB / 1.749 GB, free: 460.9 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0159/1.553, allocations: 7.42 MB / 1.757 GB, free: 459.7 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002861/1.555, allocations: 3.135 MB / 1.76 GB, free: 458.9 MB / 1.151 GB Notification: Performance of SimCode: time 5.01e-07/1.555, allocations: 0 / 1.76 GB, free: 458.9 MB / 1.151 GB Notification: Performance of Templates: time 0.06433/1.62, allocations: 66.92 MB / 1.825 GB, free: 456.6 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepUp.YY.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepUp.YY.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepUp.YY.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepUp.YY.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepUp.YY.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepUp.YY -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepUp.YY.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepUp.YY_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Validation_IEEETests_Test4NodesFeeder_BalancedStepUp_YY.csv","../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepUp.YY.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches