Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_160.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo", uses=false) Using package ScalableTestSuite with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo) 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) Running command: "" <> buildModelFMU(ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_160,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_TransmissionLine_ScaledExperiments_TransmissionLineEquations_N_160",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_160,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_TransmissionLine_ScaledExperiments_TransmissionLineEquations_N_160",fmuType="me",version="2.0",platforms={"static"}) [:1:1-1:33: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/Complex 4.0.0+maint.om/package.mo): time 0.0008902/0.0008902, allocations: 182.2 kB / 8.133 MB, free: 2.133 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.992/0.992, allocations: 221.4 MB / 229.9 MB, free: 3.086 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008214/0.0008214, allocations: 98.27 kB / 280.8 MB, free: 1.273 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.5536/0.5536, allocations: 120.4 MB / 452 MB, free: 13.02 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 0.28/0.8336, allocations: 89.71 MB / 0.529 GB, free: 51.64 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09242/0.9261, allocations: 82.86 MB / 0.6099 GB, free: 2.75 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3872/1.313, allocations: 124.7 MB / 0.7317 GB, free: 4.398 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001375/1.313, allocations: 62.95 kB / 0.7317 GB, free: 4.375 MB / 0.4953 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 481 * Number of variables: 481 Notification: Performance of Generate backend data structure: time 0.09919/1.413, allocations: 32.34 MB / 0.7633 GB, free: 7.336 MB / 0.5265 GB Notification: Performance of prepare preOptimizeDAE: time 3.019e-05/1.413, allocations: 8 kB / 0.7633 GB, free: 7.328 MB / 0.5265 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003714/1.413, allocations: 218.1 kB / 0.7635 GB, free: 7.113 MB / 0.5265 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00123/1.414, allocations: 0.7608 MB / 0.7643 GB, free: 6.312 MB / 0.5265 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.966e-05/1.414, allocations: 64 kB / 0.7643 GB, free: 6.25 MB / 0.5265 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004885/1.415, allocations: 343.1 kB / 0.7647 GB, free: 5.953 MB / 0.5265 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002029/1.417, allocations: 1.441 MB / 0.7661 GB, free: 4.875 MB / 0.5265 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003044/1.42, allocations: 2.301 MB / 0.7683 GB, free: 3.004 MB / 0.5265 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.283e-05/1.42, allocations: 0 / 0.7683 GB, free: 3.004 MB / 0.5265 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001935/1.42, allocations: 0 / 0.7683 GB, free: 3.004 MB / 0.5265 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.339e-05/1.42, allocations: 48 kB / 0.7684 GB, free: 2.957 MB / 0.5265 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01304/1.433, allocations: 6.389 MB / 0.7746 GB, free: 13.16 MB / 0.5421 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00364/1.437, allocations: 3.214 MB / 0.7777 GB, free: 10.71 MB / 0.5421 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00152/1.438, allocations: 1.347 MB / 0.7791 GB, free: 9.781 MB / 0.5421 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001773/1.439, allocations: 38.53 kB / 0.7791 GB, free: 9.742 MB / 0.5421 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.186e-05/1.439, allocations: 62.53 kB / 0.7792 GB, free: 9.688 MB / 0.5421 GB Notification: Performance of pre-optimization done (n=322): time 3.347e-06/1.439, allocations: 0 / 0.7792 GB, free: 9.688 MB / 0.5421 GB Notification: Performance of matching and sorting (n=322): time 0.003903/1.443, allocations: 2.961 MB / 0.782 GB, free: 7.305 MB / 0.5421 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.591e-05/1.443, allocations: 85.5 kB / 0.7821 GB, free: 7.211 MB / 0.5421 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001307/1.443, allocations: 212.2 kB / 0.7823 GB, free: 7.035 MB / 0.5421 GB Notification: Performance of collectPreVariables (initialization): time 0.0001839/1.443, allocations: 29.69 kB / 0.7824 GB, free: 7 MB / 0.5421 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001414/1.443, allocations: 308.7 kB / 0.7827 GB, free: 6.711 MB / 0.5421 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007774/1.444, allocations: 1.446 MB / 0.7841 GB, free: 5.461 MB / 0.5421 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001806/1.444, allocations: 3.938 kB / 0.7841 GB, free: 5.457 MB / 0.5421 GB Notification: Performance of setup shared object (initialization): time 0.0001857/1.444, allocations: 0.5178 MB / 0.7846 GB, free: 5.008 MB / 0.5421 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002018/1.446, allocations: 1.671 MB / 0.7862 GB, free: 3.762 MB / 0.5421 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002042/1.448, allocations: 1.697 MB / 0.7879 GB, free: 2.488 MB / 0.5421 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00232/1.451, allocations: 2.025 MB / 0.7898 GB, free: 0.8984 MB / 0.5421 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.382e-06/1.451, allocations: 0 / 0.7898 GB, free: 0.8984 MB / 0.5421 GB Notification: Performance of matching and sorting (n=642) (initialization): time 0.005304/1.456, allocations: 4.418 MB / 0.7942 GB, free: 13.27 MB / 0.5578 GB Notification: Performance of prepare postOptimizeDAE: time 1.042e-05/1.456, allocations: 4 kB / 0.7942 GB, free: 13.27 MB / 0.5578 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.267e-05/1.456, allocations: 8 kB / 0.7942 GB, free: 13.26 MB / 0.5578 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.346e-05/1.456, allocations: 20 kB / 0.7942 GB, free: 13.24 MB / 0.5578 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006343/1.462, allocations: 1.665 MB / 0.7958 GB, free: 11.61 MB / 0.5578 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.176e-05/1.462, allocations: 21.41 kB / 0.7958 GB, free: 11.59 MB / 0.5578 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00159/1.464, allocations: 340 kB / 0.7962 GB, free: 11.26 MB / 0.5578 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002604/1.464, allocations: 146.2 kB / 0.7963 GB, free: 11.16 MB / 0.5578 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (642): * Single equations (assignments): 642 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004066/1.465, allocations: 164 kB / 0.7964 GB, free: 10.99 MB / 0.5578 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002789/1.465, allocations: 126.7 kB / 0.7966 GB, free: 10.86 MB / 0.5578 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005052/1.466, allocations: 307.8 kB / 0.7969 GB, free: 10.84 MB / 0.5578 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-05/1.466, allocations: 32 kB / 0.7969 GB, free: 10.81 MB / 0.5578 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.058e-05/1.466, allocations: 0 / 0.7969 GB, free: 10.81 MB / 0.5578 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.871e-05/1.466, allocations: 15.94 kB / 0.7969 GB, free: 10.79 MB / 0.5578 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002069/1.468, allocations: 1.767 MB / 0.7986 GB, free: 9.258 MB / 0.5578 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/1.468, allocations: 4 kB / 0.7986 GB, free: 9.254 MB / 0.5578 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009396/1.477, allocations: 1.676 MB / 0.8003 GB, free: 7.617 MB / 0.5578 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.602e-05/1.477, allocations: 8 kB / 0.8003 GB, free: 7.609 MB / 0.5578 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003587/1.477, allocations: 199.1 kB / 0.8005 GB, free: 7.434 MB / 0.5578 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.067e-05/1.477, allocations: 12 kB / 0.8005 GB, free: 7.422 MB / 0.5578 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.746e-06/1.477, allocations: 3.906 kB / 0.8005 GB, free: 7.418 MB / 0.5578 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005019/1.483, allocations: 4.452 MB / 0.8048 GB, free: 3.855 MB / 0.5578 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.007049/1.49, allocations: 6.547 MB / 0.8112 GB, free: 14.58 MB / 0.5734 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001174/1.49, allocations: 215.1 kB / 0.8114 GB, free: 14.35 MB / 0.5734 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004384/1.49, allocations: 143.8 kB / 0.8116 GB, free: 14.21 MB / 0.5734 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001649/1.492, allocations: 111.8 kB / 0.8117 GB, free: 14.1 MB / 0.5734 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003555/1.492, allocations: 169.2 kB / 0.8118 GB, free: 13.95 MB / 0.5734 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002227/1.492, allocations: 99.06 kB / 0.8119 GB, free: 13.88 MB / 0.5734 GB Notification: Performance of sort global known variables: time 3.69e-05/1.492, allocations: 91.53 kB / 0.812 GB, free: 13.79 MB / 0.5734 GB Notification: Performance of remove unused functions: time 0.001616/1.494, allocations: 0.749 MB / 0.8128 GB, free: 13.04 MB / 0.5734 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 320 (cur_x[1],cur_x[2],cur_x[3],cur_x[4],cur_x[5],cur_x[6],cur_x[7],cur_x[8],cur_x[9],cur_x[10],cur_x[11],cur_x[12],cur_x[13],cur_x[14],cur_x[15],cur_x[16],cur_x[17],cur_x[18],cur_x[19],cur_x[20],cur_x[21],cur_x[22],cur_x[23],cur_x[24],cur_x[25],cur_x[26],cur_x[27],cur_x[28],cur_x[29],cur_x[30],cur_x[31],cur_x[32],cur_x[33],cur_x[34],cur_x[35],cur_x[36],cur_x[37],cur_x[38],cur_x[39],cur_x[40],cur_x[41],cur_x[42],cur_x[43],cur_x[44],cur_x[45],cur_x[46],cur_x[47],cur_x[48],cur_x[49],cur_x[50],cur_x[51],cur_x[52],cur_x[53],cur_x[54],cur_x[55],cur_x[56],cur_x[57],cur_x[58],cur_x[59],cur_x[60],cur_x[61],cur_x[62],cur_x[63],cur_x[64],cur_x[65],cur_x[66],cur_x[67],cur_x[68],cur_x[69],cur_x[70],cur_x[71],cur_x[72],cur_x[73],cur_x[74],cur_x[75],cur_x[76],cur_x[77],cur_x[78],cur_x[79],cur_x[80],cur_x[81],cur_x[82],cur_x[83],cur_x[84],cur_x[85],cur_x[86],cur_x[87],cur_x[88],cur_x[89],cur_x[90],cur_x[91],cur_x[92],cur_x[93],cur_x[94],cur_x[95],cur_x[96],cur_x[97],cur_x[98],cur_x[99],cur_x[100],cur_x[101],cur_x[102],cur_x[103],cur_x[104],cur_x[105],cur_x[106],cur_x[107],cur_x[108],cur_x[109],cur_x[110],cur_x[111],cur_x[112],cur_x[113],cur_x[114],cur_x[115],cur_x[116],cur_x[117],cur_x[118],cur_x[119],cur_x[120],cur_x[121],cur_x[122],cur_x[123],cur_x[124],cur_x[125],cur_x[126],cur_x[127],cur_x[128],cur_x[129],cur_x[130],cur_x[131],cur_x[132],cur_x[133],cur_x[134],cur_x[135],cur_x[136],cur_x[137],cur_x[138],cur_x[139],cur_x[140],cur_x[141],cur_x[142],cur_x[143],cur_x[144],cur_x[145],cur_x[146],cur_x[147],cur_x[148],cur_x[149],cur_x[150],cur_x[151],cur_x[152],cur_x[153],cur_x[154],cur_x[155],cur_x[156],cur_x[157],cur_x[158],cur_x[159],vol[1],vol[2],vol[3],vol[4],vol[5],vol[6],vol[7],vol[8],vol[9],vol[10],vol[11],vol[12],vol[13],vol[14],vol[15],vol[16],vol[17],vol[18],vol[19],vol[20],vol[21],vol[22],vol[23],vol[24],vol[25],vol[26],vol[27],vol[28],vol[29],vol[30],vol[31],vol[32],vol[33],vol[34],vol[35],vol[36],vol[37],vol[38],vol[39],vol[40],vol[41],vol[42],vol[43],vol[44],vol[45],vol[46],vol[47],vol[48],vol[49],vol[50],vol[51],vol[52],vol[53],vol[54],vol[55],vol[56],vol[57],vol[58],vol[59],vol[60],vol[61],vol[62],vol[63],vol[64],vol[65],vol[66],vol[67],vol[68],vol[69],vol[70],vol[71],vol[72],vol[73],vol[74],vol[75],vol[76],vol[77],vol[78],vol[79],vol[80],vol[81],vol[82],vol[83],vol[84],vol[85],vol[86],vol[87],vol[88],vol[89],vol[90],vol[91],vol[92],vol[93],vol[94],vol[95],vol[96],vol[97],vol[98],vol[99],vol[100],vol[101],vol[102],vol[103],vol[104],vol[105],vol[106],vol[107],vol[108],vol[109],vol[110],vol[111],vol[112],vol[113],vol[114],vol[115],vol[116],vol[117],vol[118],vol[119],vol[120],vol[121],vol[122],vol[123],vol[124],vol[125],vol[126],vol[127],vol[128],vol[129],vol[130],vol[131],vol[132],vol[133],vol[134],vol[135],vol[136],vol[137],vol[138],vol[139],vol[140],vol[141],vol[142],vol[143],vol[144],vol[145],vol[146],vol[147],vol[148],vol[149],vol[150],vol[151],vol[152],vol[153],vol[154],vol[155],vol[156],vol[157],vol[158],vol[159],vol[160],vvol) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (322): * Single equations (assignments): 322 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004274/1.494, allocations: 298.4 kB / 0.813 GB, free: 12.75 MB / 0.5734 GB Notification: Performance of simCode: created initialization part: time 0.004015/1.499, allocations: 3.755 MB / 0.8167 GB, free: 9.848 MB / 0.5734 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/1.499, allocations: 0 / 0.8167 GB, free: 9.848 MB / 0.5734 GB Notification: Performance of simCode: created simulation system equations: time 0.001791/1.5, allocations: 1.711 MB / 0.8184 GB, free: 8.578 MB / 0.5734 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003696/1.501, allocations: 6.781 kB / 0.8184 GB, free: 8.574 MB / 0.5734 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02181/1.523, allocations: 23.46 MB / 0.8413 GB, free: 1.215 MB / 0.589 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002729/1.525, allocations: 2.758 MB / 0.844 GB, free: 14.52 MB / 0.6046 GB Notification: Performance of SimCode: time 5.01e-07/1.525, allocations: 0 / 0.844 GB, free: 14.52 MB / 0.6046 GB (rm -f ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_160.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_160.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_160.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_160.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_160_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Electrical_TransmissionLine_ScaledExperiments_TransmissionLineEquations_N_160_fmu --startTime=0 --stopTime=4e-06 --timeout=300 --tolerance=1e-08 ScalableTestSuite_ScalableTestSuite_Electrical_TransmissionLine_ScaledExperiments_TransmissionLineEquations_N_160.fmu > ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_160.pipe 2>&1)