Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepUp.DY.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.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_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepUp.DY") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepUp.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_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepUp.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 10.0.0-master/package.mo): time 1.702/1.702, allocations: 390.4 MB / 397.7 MB, free: 11.25 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.0009042/0.0009042, allocations: 188.1 kB / 490.8 MB, free: 1.906 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.046/1.046, allocations: 221.4 MB / 0.7863 GB, free: 13.63 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.0007973/0.0007973, allocations: 98.48 kB / 0.9264 GB, free: 14.16 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 6.002e-06/6.012e-06, allocations: 4 kB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1624/0.1624, allocations: 143 MB / 1.212 GB, free: 40.04 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4852/0.6476, allocations: 211.8 MB / 1.418 GB, free: 5.504 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002416/0.6479, allocations: 117.4 kB / 1.419 GB, free: 5.434 MB / 0.8386 GB Notification: Performance of FrontEnd: time 0.3232/0.9711, allocations: 157.4 MB / 1.572 GB, free: 6.066 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.0001061/0.9713, allocations: 76 kB / 1.572 GB, free: 5.992 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: 1034 * Number of variables: 1034 Notification: Performance of Generate backend data structure: time 0.006301/0.9776, allocations: 3.102 MB / 1.575 GB, free: 2.832 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 2.923e-05/0.9776, allocations: 8.031 kB / 1.575 GB, free: 2.824 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01095/0.9886, allocations: 1.759 MB / 1.577 GB, free: 1.059 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003609/0.9922, allocations: 2.267 MB / 1.579 GB, free: 14.74 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.494e-05/0.9923, allocations: 120 kB / 1.579 GB, free: 14.62 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005023/0.9928, allocations: 211.9 kB / 1.58 GB, free: 14.42 MB / 0.9948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007057/0.9998, allocations: 5.161 MB / 1.585 GB, free: 9.25 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007472/1.007, allocations: 5.812 MB / 1.59 GB, free: 3.312 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.31e-05/1.007, allocations: 3.938 kB / 1.59 GB, free: 3.309 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003474/1.008, allocations: 4 kB / 1.59 GB, free: 3.305 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003705/1.008, allocations: 314.3 kB / 1.591 GB, free: 2.996 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02506/1.033, allocations: 27.87 MB / 1.618 GB, free: 4.762 MB / 1.026 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003555/1.037, allocations: 2.791 MB / 1.621 GB, free: 1.914 MB / 1.026 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002196/1.039, allocations: 1.908 MB / 1.622 GB, free: 15.99 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002147/1.039, allocations: 139 kB / 1.623 GB, free: 15.84 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.988e-05/1.039, allocations: 68.5 kB / 1.623 GB, free: 15.76 MB / 1.042 GB Notification: Performance of pre-optimization done (n=198): time 3.266e-06/1.039, allocations: 0 / 1.623 GB, free: 15.76 MB / 1.042 GB Notification: Performance of matching and sorting (n=261): time 0.02827/1.068, allocations: 14.33 MB / 1.637 GB, free: 1.422 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.339e-05/1.068, allocations: 231.6 kB / 1.637 GB, free: 1.145 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001272/1.069, allocations: 1.22 MB / 1.638 GB, free: 15.91 MB / 1.057 GB Notification: Performance of collectPreVariables (initialization): time 0.0001787/1.069, allocations: 25.7 kB / 1.638 GB, free: 15.88 MB / 1.057 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006232/1.07, allocations: 1.446 MB / 1.64 GB, free: 14.41 MB / 1.057 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005905/1.07, allocations: 0.8545 MB / 1.64 GB, free: 13.54 MB / 1.057 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002022/1.071, allocations: 0 / 1.64 GB, free: 13.54 MB / 1.057 GB Notification: Performance of setup shared object (initialization): time 0.0001713/1.071, allocations: 436.5 kB / 1.641 GB, free: 13.11 MB / 1.057 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002503/1.073, allocations: 2.111 MB / 1.643 GB, free: 11 MB / 1.057 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002943/1.076, allocations: 3.008 MB / 1.646 GB, free: 7.594 MB / 1.057 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004636/1.081, allocations: 3.02 MB / 1.649 GB, free: 4.551 MB / 1.057 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.009e-05/1.081, allocations: 8 kB / 1.649 GB, free: 4.543 MB / 1.057 GB Notification: Performance of matching and sorting (n=402) (initialization): time 0.01435/1.095, allocations: 7.902 MB / 1.656 GB, free: 12.59 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 0.00262/1.098, allocations: 10.78 MB / 1.667 GB, free: 0.9414 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.785e-05/1.098, allocations: 28 kB / 1.667 GB, free: 0.9141 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01217/1.11, allocations: 3.528 MB / 1.67 GB, free: 13.38 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00334/1.113, allocations: 0.7644 MB / 1.671 GB, free: 12.61 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02077/1.134, allocations: 14.15 MB / 1.685 GB, free: 14.3 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00317/1.137, allocations: 339.1 kB / 1.685 GB, free: 13.97 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003549/1.138, allocations: 191.9 kB / 1.686 GB, free: 13.79 MB / 1.104 GB Notification: Performance of prepare postOptimizeDAE: time 4.278e-06/1.138, allocations: 4 kB / 1.686 GB, free: 13.78 MB / 1.104 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007643/1.145, allocations: 5.242 MB / 1.691 GB, free: 8.5 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.505e-05/1.145, allocations: 28 kB / 1.691 GB, free: 8.473 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.801e-05/1.145, allocations: 48 kB / 1.691 GB, free: 8.426 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005042/1.15, allocations: 1.108 MB / 1.692 GB, free: 7.316 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.499e-05/1.151, allocations: 63.78 kB / 1.692 GB, free: 7.254 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002742/1.153, allocations: 299.3 kB / 1.692 GB, free: 6.961 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003146/1.154, allocations: 187.9 kB / 1.692 GB, free: 6.777 MB / 1.104 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.0004691/1.154, allocations: 188.1 kB / 1.692 GB, free: 6.586 MB / 1.104 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004329/1.155, allocations: 193.7 kB / 1.693 GB, free: 6.395 MB / 1.104 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01518/1.17, allocations: 7.953 MB / 1.7 GB, free: 14.39 MB / 1.12 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.826e-05/1.17, allocations: 27.94 kB / 1.7 GB, free: 14.37 MB / 1.12 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.44e-05/1.17, allocations: 12 kB / 1.7 GB, free: 14.36 MB / 1.12 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.21e-05/1.17, allocations: 19.86 kB / 1.7 GB, free: 14.34 MB / 1.12 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02205/1.192, allocations: 13.43 MB / 1.714 GB, free: 0.7461 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.005e-05/1.192, allocations: 4 kB / 1.714 GB, free: 0.7422 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002705/1.195, allocations: 0.5227 MB / 1.714 GB, free: 224 kB / 1.12 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01291/1.207, allocations: 3.89 MB / 1.718 GB, free: 12.32 MB / 1.135 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002455/1.208, allocations: 51.92 kB / 1.718 GB, free: 12.27 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01853/1.226, allocations: 12.6 MB / 1.73 GB, free: 15.51 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.955e-06/1.226, allocations: 11.94 kB / 1.73 GB, free: 15.5 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01309/1.239, allocations: 7.677 MB / 1.738 GB, free: 7.516 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001163/1.241, allocations: 0.7328 MB / 1.739 GB, free: 6.762 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004168/1.241, allocations: 8 kB / 1.739 GB, free: 6.754 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003076/1.244, allocations: 343.4 kB / 1.739 GB, free: 6.418 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003062/1.244, allocations: 165.5 kB / 1.739 GB, free: 6.258 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002644/1.245, allocations: 127.9 kB / 1.739 GB, free: 6.133 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.001003/1.246, allocations: 0.9333 MB / 1.74 GB, free: 5.195 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.003532/1.249, allocations: 1.406 MB / 1.741 GB, free: 3.789 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.0003383/1.25, allocations: 162.8 kB / 1.742 GB, free: 3.621 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.268/1.518, allocations: 8.229 MB / 1.75 GB, free: 465.2 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 6.282e-06/1.518, allocations: 3.969 kB / 1.75 GB, free: 465.2 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.00523/1.523, allocations: 2.996 MB / 1.753 GB, free: 465 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001123/1.524, allocations: 153.2 kB / 1.753 GB, free: 465 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02222/1.546, allocations: 8.521 MB / 1.761 GB, free: 463.8 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00281/1.549, allocations: 3.078 MB / 1.764 GB, free: 463 MB / 1.151 GB Notification: Performance of SimCode: time 6.31e-07/1.549, allocations: 5.812 kB / 1.764 GB, free: 463 MB / 1.151 GB Notification: Performance of Templates: time 0.07012/1.619, allocations: 72.05 MB / 1.834 GB, free: 460.5 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepUp.DY.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepUp.DY.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepUp.DY.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepUp.DY.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepUp.DY.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepUp.DY -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepUp.DY.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepUp.DY_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Validation_IEEETests_Test4NodesFeeder_UnbalancedStepUp_DY.csv","../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepUp.DY.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches