Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_80.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_80,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_TransmissionLine_ScaledExperiments_TransmissionLineEquations_N_80",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_80,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_TransmissionLine_ScaledExperiments_TransmissionLineEquations_N_80",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.000888/0.000888, allocations: 182.2 kB / 8.132 MB, free: 2.219 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.9789/0.9789, allocations: 221.4 MB / 229.9 MB, free: 3.027 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.0008099/0.0008097, allocations: 95.3 kB / 280.8 MB, free: 1.27 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.5629/0.5629, allocations: 120.4 MB / 452 MB, free: 13 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 0.2829/0.8459, allocations: 89.71 MB / 0.529 GB, free: 51.73 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09765/0.9436, allocations: 82.84 MB / 0.6099 GB, free: 2.727 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3841/1.328, allocations: 124.7 MB / 0.7317 GB, free: 4.398 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001392/1.328, allocations: 62.14 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: 241 * Number of variables: 241 Notification: Performance of Generate backend data structure: time 0.04943/1.377, allocations: 16.56 MB / 0.7479 GB, free: 5.625 MB / 0.5109 GB Notification: Performance of prepare preOptimizeDAE: time 3.245e-05/1.377, allocations: 12 kB / 0.7479 GB, free: 5.613 MB / 0.5109 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002024/1.378, allocations: 113.7 kB / 0.748 GB, free: 5.504 MB / 0.5109 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007116/1.378, allocations: 476.9 kB / 0.7485 GB, free: 5 MB / 0.5109 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.887e-05/1.378, allocations: 32 kB / 0.7485 GB, free: 4.969 MB / 0.5109 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002627/1.379, allocations: 168.5 kB / 0.7487 GB, free: 4.82 MB / 0.5109 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001012/1.38, allocations: 0.7279 MB / 0.7494 GB, free: 4.277 MB / 0.5109 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00157/1.381, allocations: 1.164 MB / 0.7505 GB, free: 3.328 MB / 0.5109 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.172e-05/1.381, allocations: 4 kB / 0.7505 GB, free: 3.324 MB / 0.5109 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000102/1.381, allocations: 0 / 0.7505 GB, free: 3.324 MB / 0.5109 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.758e-05/1.381, allocations: 20 kB / 0.7505 GB, free: 3.305 MB / 0.5109 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00662/1.388, allocations: 3.284 MB / 0.7537 GB, free: 300 kB / 0.5109 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001757/1.39, allocations: 1.614 MB / 0.7553 GB, free: 15.06 MB / 0.5265 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007885/1.391, allocations: 0.673 MB / 0.756 GB, free: 14.59 MB / 0.5265 GB Notification: Performance of preOpt evalFunc (simulation): time 9.725e-05/1.391, allocations: 20.56 kB / 0.756 GB, free: 14.58 MB / 0.5265 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.463e-05/1.391, allocations: 45.44 kB / 0.756 GB, free: 14.53 MB / 0.5265 GB Notification: Performance of pre-optimization done (n=162): time 2.073e-06/1.391, allocations: 4 kB / 0.756 GB, free: 14.53 MB / 0.5265 GB Notification: Performance of matching and sorting (n=162): time 0.002036/1.393, allocations: 1.498 MB / 0.7575 GB, free: 13.33 MB / 0.5265 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.211e-05/1.393, allocations: 72.7 kB / 0.7576 GB, free: 13.25 MB / 0.5265 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001022/1.393, allocations: 160.4 kB / 0.7577 GB, free: 13.11 MB / 0.5265 GB Notification: Performance of collectPreVariables (initialization): time 9.811e-05/1.393, allocations: 29.7 kB / 0.7578 GB, free: 13.07 MB / 0.5265 GB Notification: Performance of collectInitialEqns (initialization): time 9.333e-05/1.393, allocations: 193.5 kB / 0.7579 GB, free: 12.88 MB / 0.5265 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004109/1.394, allocations: 0.7303 MB / 0.7587 GB, free: 12.25 MB / 0.5265 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.702e-05/1.394, allocations: 0 / 0.7587 GB, free: 12.25 MB / 0.5265 GB Notification: Performance of setup shared object (initialization): time 0.0001377/1.394, allocations: 419.6 kB / 0.7591 GB, free: 11.88 MB / 0.5265 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001046/1.395, allocations: 0.8365 MB / 0.7599 GB, free: 11.25 MB / 0.5265 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001056/1.396, allocations: 0.846 MB / 0.7607 GB, free: 10.62 MB / 0.5265 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001214/1.397, allocations: 1.011 MB / 0.7617 GB, free: 9.82 MB / 0.5265 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/1.397, allocations: 4 kB / 0.7617 GB, free: 9.816 MB / 0.5265 GB Notification: Performance of matching and sorting (n=322) (initialization): time 0.002763/1.4, allocations: 2.229 MB / 0.7639 GB, free: 7.98 MB / 0.5265 GB Notification: Performance of prepare postOptimizeDAE: time 9.358e-06/1.4, allocations: 4 kB / 0.7639 GB, free: 7.977 MB / 0.5265 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/1.4, allocations: 0 / 0.7639 GB, free: 7.977 MB / 0.5265 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.173e-05/1.4, allocations: 15.98 kB / 0.7639 GB, free: 7.961 MB / 0.5265 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003129/1.403, allocations: 0.8331 MB / 0.7647 GB, free: 7.148 MB / 0.5265 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.343e-05/1.403, allocations: 12 kB / 0.7647 GB, free: 7.137 MB / 0.5265 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007789/1.404, allocations: 166 kB / 0.7649 GB, free: 6.973 MB / 0.5265 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001326/1.404, allocations: 71.5 kB / 0.7649 GB, free: 6.922 MB / 0.5265 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 (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 prepare postOptimizeDAE: time 0.0002344/1.404, allocations: 136.4 kB / 0.7651 GB, free: 6.781 MB / 0.5265 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001534/1.404, allocations: 67.34 kB / 0.7651 GB, free: 6.715 MB / 0.5265 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002681/1.405, allocations: 160.1 kB / 0.7653 GB, free: 6.699 MB / 0.5265 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.147e-05/1.405, allocations: 12 kB / 0.7653 GB, free: 6.688 MB / 0.5265 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/1.405, allocations: 4 kB / 0.7653 GB, free: 6.684 MB / 0.5265 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.109e-05/1.405, allocations: 7.969 kB / 0.7653 GB, free: 6.676 MB / 0.5265 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001124/1.406, allocations: 0.9509 MB / 0.7662 GB, free: 5.828 MB / 0.5265 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/1.406, allocations: 0 / 0.7662 GB, free: 5.828 MB / 0.5265 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004838/1.411, allocations: 0.8386 MB / 0.7671 GB, free: 5.008 MB / 0.5265 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.057e-05/1.411, allocations: 4 kB / 0.7671 GB, free: 5.004 MB / 0.5265 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000192/1.411, allocations: 103.4 kB / 0.7672 GB, free: 4.914 MB / 0.5265 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.394e-06/1.411, allocations: 8 kB / 0.7672 GB, free: 4.906 MB / 0.5265 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/1.411, allocations: 0 / 0.7672 GB, free: 4.906 MB / 0.5265 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002627/1.414, allocations: 2.29 MB / 0.7694 GB, free: 3.074 MB / 0.5265 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003742/1.417, allocations: 3.523 MB / 0.7728 GB, free: 220 kB / 0.5265 GB Notification: Performance of postOpt removeConstants (simulation): time 7.891e-05/1.417, allocations: 152.1 kB / 0.773 GB, free: 48 kB / 0.5265 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002351/1.418, allocations: 75.81 kB / 0.7731 GB, free: 15.97 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008633/1.419, allocations: 56.31 kB / 0.7731 GB, free: 15.92 MB / 0.5421 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001935/1.419, allocations: 84.42 kB / 0.7732 GB, free: 15.85 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001167/1.419, allocations: 51.34 kB / 0.7732 GB, free: 15.81 MB / 0.5421 GB Notification: Performance of sort global known variables: time 4.493e-05/1.419, allocations: 91.09 kB / 0.7733 GB, free: 15.72 MB / 0.5421 GB Notification: Performance of remove unused functions: time 0.001158/1.42, allocations: 391.5 kB / 0.7737 GB, free: 15.34 MB / 0.5421 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 160 (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],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],vvol) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (162): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002573/1.42, allocations: 195.6 kB / 0.7739 GB, free: 15.15 MB / 0.5421 GB Notification: Performance of simCode: created initialization part: time 0.002115/1.422, allocations: 1.883 MB / 0.7757 GB, free: 13.7 MB / 0.5421 GB Notification: Performance of simCode: created event and clocks part: time 1.332e-06/1.422, allocations: 0 / 0.7757 GB, free: 13.7 MB / 0.5421 GB Notification: Performance of simCode: created simulation system equations: time 0.0009263/1.423, allocations: 0.8536 MB / 0.7766 GB, free: 13.07 MB / 0.5421 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002518/1.424, allocations: 4.719 kB / 0.7766 GB, free: 13.06 MB / 0.5421 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0115/1.435, allocations: 11.66 MB / 0.788 GB, free: 1.453 MB / 0.5421 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001524/1.437, allocations: 1.716 MB / 0.7896 GB, free: 15.75 MB / 0.5578 GB Notification: Performance of SimCode: time 2.6e-07/1.437, allocations: 0 / 0.7896 GB, free: 15.75 MB / 0.5578 GB (rm -f ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_80.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_80.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_80.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_80.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_80_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Electrical_TransmissionLine_ScaledExperiments_TransmissionLineEquations_N_80_fmu --startTime=0 --stopTime=4e-06 --timeout=300 --tolerance=1e-08 ScalableTestSuite_ScalableTestSuite_Electrical_TransmissionLine_ScaledExperiments_TransmissionLineEquations_N_80.fmu > ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_80.pipe 2>&1)