Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepUp.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.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_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 1.771/1.771, allocations: 387.2 MB / 394.5 MB, free: 13.62 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.000965/0.000965, allocations: 185.3 kB / 487 MB, free: 5.344 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.122/1.122, allocations: 221.3 MB / 0.7819 GB, free: 1.406 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.0008131/0.0008131, allocations: 108.4 kB / 0.9213 GB, free: 2.652 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 5.961e-06/5.991e-06, allocations: 0 / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1779/0.1779, allocations: 142.3 MB / 1.205 GB, free: 26.2 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5259/0.7039, allocations: 211 MB / 1.411 GB, free: 14.41 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000243/0.7041, allocations: 108.7 kB / 1.411 GB, free: 14.35 MB / 0.8542 GB Notification: Performance of FrontEnd: time 0.3415/1.046, allocations: 157.4 MB / 1.565 GB, free: 14.39 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.0001044/1.046, allocations: 76 kB / 1.565 GB, free: 14.32 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.005707/1.052, allocations: 3.098 MB / 1.568 GB, free: 11.16 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.293e-05/1.052, allocations: 12.03 kB / 1.568 GB, free: 11.15 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01144/1.063, allocations: 1.755 MB / 1.57 GB, free: 9.391 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004337/1.067, allocations: 2.263 MB / 1.572 GB, free: 7.078 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.89e-05/1.068, allocations: 120 kB / 1.572 GB, free: 6.961 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005924/1.068, allocations: 219.9 kB / 1.572 GB, free: 6.746 MB / 0.9948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008082/1.076, allocations: 5.165 MB / 1.578 GB, free: 1.574 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008175/1.084, allocations: 5.812 MB / 1.583 GB, free: 11.64 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.7e-05/1.084, allocations: 4 kB / 1.583 GB, free: 11.64 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003666/1.085, allocations: 7.938 kB / 1.583 GB, free: 11.63 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004316/1.085, allocations: 318.3 kB / 1.584 GB, free: 11.32 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02859/1.114, allocations: 27.85 MB / 1.611 GB, free: 13.11 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003822/1.118, allocations: 2.793 MB / 1.613 GB, free: 10.26 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002306/1.12, allocations: 1.92 MB / 1.615 GB, free: 8.324 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000225/1.12, allocations: 139 kB / 1.615 GB, free: 8.172 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.329e-05/1.12, allocations: 64.48 kB / 1.616 GB, free: 8.098 MB / 1.042 GB Notification: Performance of pre-optimization done (n=198): time 3.637e-06/1.12, allocations: 0 / 1.616 GB, free: 8.098 MB / 1.042 GB Notification: Performance of matching and sorting (n=261): time 0.03021/1.151, allocations: 14.33 MB / 1.63 GB, free: 9.758 MB / 1.057 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.824e-05/1.151, allocations: 235.6 kB / 1.63 GB, free: 9.477 MB / 1.057 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001531/1.152, allocations: 1.22 MB / 1.631 GB, free: 8.246 MB / 1.057 GB Notification: Performance of collectPreVariables (initialization): time 0.0002104/1.152, allocations: 25.7 kB / 1.631 GB, free: 8.215 MB / 1.057 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006578/1.153, allocations: 1.449 MB / 1.632 GB, free: 6.742 MB / 1.057 GB Notification: Performance of collectInitialBindings (initialization): time 0.000656/1.154, allocations: 0.8467 MB / 1.633 GB, free: 5.883 MB / 1.057 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002074/1.154, allocations: 0 / 1.633 GB, free: 5.883 MB / 1.057 GB Notification: Performance of setup shared object (initialization): time 0.0001922/1.154, allocations: 440.5 kB / 1.634 GB, free: 5.445 MB / 1.057 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002617/1.157, allocations: 2.122 MB / 1.636 GB, free: 3.32 MB / 1.057 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003037/1.16, allocations: 3 MB / 1.639 GB, free: 15.93 MB / 1.073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004829/1.165, allocations: 3.016 MB / 1.642 GB, free: 12.89 MB / 1.073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.173e-05/1.165, allocations: 8 kB / 1.642 GB, free: 12.88 MB / 1.073 GB Notification: Performance of matching and sorting (n=402) (initialization): time 0.01478/1.18, allocations: 7.91 MB / 1.649 GB, free: 4.918 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 0.002823/1.182, allocations: 10.78 MB / 1.66 GB, free: 9.277 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.216e-05/1.182, allocations: 24 kB / 1.66 GB, free: 9.254 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01243/1.195, allocations: 3.531 MB / 1.663 GB, free: 5.707 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003795/1.199, allocations: 0.7605 MB / 1.664 GB, free: 4.945 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0216/1.22, allocations: 14.14 MB / 1.678 GB, free: 6.637 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003798/1.224, allocations: 339.1 kB / 1.678 GB, free: 6.305 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006075/1.225, allocations: 191.9 kB / 1.678 GB, free: 6.117 MB / 1.104 GB Notification: Performance of prepare postOptimizeDAE: time 7.023e-06/1.225, allocations: 4 kB / 1.678 GB, free: 6.113 MB / 1.104 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009008/1.234, allocations: 5.25 MB / 1.683 GB, free: 0.8242 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-05/1.234, allocations: 27.94 kB / 1.684 GB, free: 0.7969 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.27e-05/1.234, allocations: 48 kB / 1.684 GB, free: 0.75 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00527/1.239, allocations: 1.116 MB / 1.685 GB, free: 15.63 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.598e-05/1.239, allocations: 59.8 kB / 1.685 GB, free: 15.57 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003099/1.242, allocations: 299.2 kB / 1.685 GB, free: 15.28 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004232/1.243, allocations: 195.8 kB / 1.685 GB, free: 15.09 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.0006238/1.243, allocations: 188 kB / 1.685 GB, free: 14.89 MB / 1.12 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005592/1.244, allocations: 193.8 kB / 1.686 GB, free: 14.7 MB / 1.12 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01579/1.26, allocations: 7.948 MB / 1.693 GB, free: 6.711 MB / 1.12 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-05/1.26, allocations: 31.91 kB / 1.693 GB, free: 6.68 MB / 1.12 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.942e-05/1.26, allocations: 12 kB / 1.693 GB, free: 6.668 MB / 1.12 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.115e-05/1.26, allocations: 11.95 kB / 1.693 GB, free: 6.656 MB / 1.12 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02362/1.283, allocations: 13.43 MB / 1.706 GB, free: 9.066 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.377e-05/1.284, allocations: 8 kB / 1.706 GB, free: 9.059 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002766/1.286, allocations: 0.5156 MB / 1.707 GB, free: 8.543 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01329/1.3, allocations: 3.89 MB / 1.711 GB, free: 4.645 MB / 1.135 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005279/1.3, allocations: 55.83 kB / 1.711 GB, free: 4.59 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01993/1.32, allocations: 12.6 MB / 1.723 GB, free: 7.832 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.545e-05/1.32, allocations: 16.05 kB / 1.723 GB, free: 7.816 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.3183/1.638, allocations: 7.679 MB / 1.731 GB, free: 462.7 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001577/1.64, allocations: 0.7294 MB / 1.731 GB, free: 462.6 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000425/1.641, allocations: 14.8 kB / 1.731 GB, free: 462.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003148/1.644, allocations: 341.8 kB / 1.732 GB, free: 462.6 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002902/1.644, allocations: 154.4 kB / 1.732 GB, free: 462.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002504/1.644, allocations: 136.3 kB / 1.732 GB, free: 462.6 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.001017/1.645, allocations: 0.9373 MB / 1.733 GB, free: 462.5 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.003822/1.649, allocations: 1.407 MB / 1.734 GB, free: 462.5 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.0003348/1.649, allocations: 154.3 kB / 1.734 GB, free: 462.4 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.01064/1.66, allocations: 8.237 MB / 1.742 GB, free: 462.3 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/1.66, allocations: 0 / 1.742 GB, free: 462.3 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.005306/1.665, allocations: 2.998 MB / 1.745 GB, free: 462.1 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001059/1.666, allocations: 154.9 kB / 1.746 GB, free: 462.1 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02366/1.69, allocations: 8.526 MB / 1.754 GB, free: 460.9 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003004/1.693, allocations: 3.07 MB / 1.757 GB, free: 460.1 MB / 1.151 GB Notification: Performance of SimCode: time 7.32e-07/1.693, allocations: 0 / 1.757 GB, free: 460.1 MB / 1.151 GB Notification: Performance of Templates: time 0.07707/1.77, allocations: 72.06 MB / 1.827 GB, free: 457.6 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepUp.DY.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepUp.DY.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepUp.DY.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepUp.DY.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepUp.DY.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepUp.DY -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepUp.DY.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepUp.DY_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Validation_IEEETests_Test4NodesFeeder_UnbalancedStepUp_DY.csv","../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepUp.DY.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches