Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_40.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_40,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_TransmissionLine_ScaledExperiments_TransmissionLineEquations_N_40",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_40,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_TransmissionLine_ScaledExperiments_TransmissionLineEquations_N_40",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.0008797/0.0008798, allocations: 181.8 kB / 8.135 MB, free: 2.223 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.9955/0.9955, allocations: 221.4 MB / 230 MB, free: 3.004 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.0008464/0.0008465, allocations: 93.2 kB / 280.8 MB, free: 1.234 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.5482/0.5482, allocations: 120.4 MB / 452 MB, free: 13 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 0.2805/0.8287, allocations: 89.72 MB / 0.529 GB, free: 51.65 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09293/0.9216, allocations: 82.84 MB / 0.6099 GB, free: 2.727 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3821/1.304, allocations: 124.7 MB / 0.7317 GB, free: 4.461 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000135/1.304, allocations: 59.23 kB / 0.7317 GB, free: 4.441 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: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.02492/1.329, allocations: 8.669 MB / 0.7402 GB, free: 12.84 MB / 0.5109 GB Notification: Performance of prepare preOptimizeDAE: time 2.804e-05/1.329, allocations: 8 kB / 0.7402 GB, free: 12.83 MB / 0.5109 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001174/1.329, allocations: 55.53 kB / 0.7403 GB, free: 12.78 MB / 0.5109 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004133/1.329, allocations: 332.8 kB / 0.7406 GB, free: 12.41 MB / 0.5109 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.663e-05/1.329, allocations: 16 kB / 0.7406 GB, free: 12.4 MB / 0.5109 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001366/1.33, allocations: 85.61 kB / 0.7407 GB, free: 12.32 MB / 0.5109 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005299/1.33, allocations: 376.9 kB / 0.741 GB, free: 12.05 MB / 0.5109 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007957/1.331, allocations: 0.5993 MB / 0.7416 GB, free: 11.55 MB / 0.5109 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.404e-05/1.331, allocations: 4 kB / 0.7416 GB, free: 11.55 MB / 0.5109 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.013e-05/1.331, allocations: 0 / 0.7416 GB, free: 11.55 MB / 0.5109 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.087e-05/1.331, allocations: 12 kB / 0.7416 GB, free: 11.54 MB / 0.5109 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003392/1.334, allocations: 1.727 MB / 0.7433 GB, free: 9.93 MB / 0.5109 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008734/1.335, allocations: 0.815 MB / 0.7441 GB, free: 9.301 MB / 0.5109 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003918/1.336, allocations: 350 kB / 0.7445 GB, free: 9.062 MB / 0.5109 GB Notification: Performance of preOpt evalFunc (simulation): time 4.925e-05/1.336, allocations: 8.656 kB / 0.7445 GB, free: 9.055 MB / 0.5109 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.939e-05/1.336, allocations: 41.41 kB / 0.7445 GB, free: 9.012 MB / 0.5109 GB Notification: Performance of pre-optimization done (n=82): time 1.894e-06/1.336, allocations: 0 / 0.7445 GB, free: 9.012 MB / 0.5109 GB Notification: Performance of matching and sorting (n=82): time 0.001044/1.337, allocations: 0.766 MB / 0.7453 GB, free: 8.395 MB / 0.5109 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.336e-05/1.337, allocations: 64 kB / 0.7453 GB, free: 8.32 MB / 0.5109 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.699e-05/1.337, allocations: 138.9 kB / 0.7454 GB, free: 8.191 MB / 0.5109 GB Notification: Performance of collectPreVariables (initialization): time 5.289e-05/1.337, allocations: 25.7 kB / 0.7455 GB, free: 8.16 MB / 0.5109 GB Notification: Performance of collectInitialEqns (initialization): time 5.266e-05/1.337, allocations: 139.2 kB / 0.7456 GB, free: 8.023 MB / 0.5109 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002028/1.337, allocations: 375.2 kB / 0.746 GB, free: 7.707 MB / 0.5109 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.376e-05/1.337, allocations: 3.938 kB / 0.746 GB, free: 7.703 MB / 0.5109 GB Notification: Performance of setup shared object (initialization): time 9.996e-05/1.337, allocations: 371.7 kB / 0.7463 GB, free: 7.352 MB / 0.5109 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005129/1.338, allocations: 426.1 kB / 0.7467 GB, free: 7.043 MB / 0.5109 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005023/1.338, allocations: 432.2 kB / 0.7471 GB, free: 6.727 MB / 0.5109 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005945/1.339, allocations: 0.5084 MB / 0.7476 GB, free: 6.336 MB / 0.5109 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/1.339, allocations: 4 kB / 0.7476 GB, free: 6.332 MB / 0.5109 GB Notification: Performance of matching and sorting (n=162) (initialization): time 0.001363/1.34, allocations: 1.124 MB / 0.7487 GB, free: 5.414 MB / 0.5109 GB Notification: Performance of prepare postOptimizeDAE: time 1.2e-05/1.34, allocations: 11.98 kB / 0.7487 GB, free: 5.402 MB / 0.5109 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/1.34, allocations: 0 / 0.7487 GB, free: 5.402 MB / 0.5109 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/1.34, allocations: 4 kB / 0.7488 GB, free: 5.398 MB / 0.5109 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001638/1.342, allocations: 429.7 kB / 0.7492 GB, free: 4.988 MB / 0.5109 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.416e-06/1.342, allocations: 4 kB / 0.7492 GB, free: 4.984 MB / 0.5109 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004288/1.343, allocations: 85.53 kB / 0.7492 GB, free: 4.902 MB / 0.5109 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.487e-05/1.343, allocations: 38.16 kB / 0.7493 GB, free: 4.875 MB / 0.5109 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 (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 prepare postOptimizeDAE: time 0.000133/1.343, allocations: 116.7 kB / 0.7494 GB, free: 4.754 MB / 0.5109 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.95e-05/1.343, allocations: 35.62 kB / 0.7494 GB, free: 4.719 MB / 0.5109 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001451/1.343, allocations: 91.38 kB / 0.7495 GB, free: 4.707 MB / 0.5109 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.343e-06/1.343, allocations: 12 kB / 0.7495 GB, free: 4.695 MB / 0.5109 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/1.343, allocations: 0 / 0.7495 GB, free: 4.695 MB / 0.5109 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.592e-06/1.343, allocations: 3.984 kB / 0.7495 GB, free: 4.691 MB / 0.5109 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006084/1.344, allocations: 0.5333 MB / 0.7501 GB, free: 4.191 MB / 0.5109 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-06/1.344, allocations: 4 kB / 0.7501 GB, free: 4.188 MB / 0.5109 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002411/1.346, allocations: 430.4 kB / 0.7505 GB, free: 3.777 MB / 0.5109 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.825e-06/1.346, allocations: 4 kB / 0.7505 GB, free: 3.773 MB / 0.5109 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001/1.346, allocations: 51.75 kB / 0.7505 GB, free: 3.727 MB / 0.5109 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.446e-06/1.346, allocations: 3.938 kB / 0.7505 GB, free: 3.723 MB / 0.5109 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/1.346, allocations: 0 / 0.7505 GB, free: 3.723 MB / 0.5109 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00134/1.348, allocations: 1.21 MB / 0.7517 GB, free: 2.738 MB / 0.5109 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001871/1.349, allocations: 2.011 MB / 0.7537 GB, free: 1.059 MB / 0.5109 GB Notification: Performance of postOpt removeConstants (simulation): time 5.015e-05/1.35, allocations: 116.5 kB / 0.7538 GB, free: 0.9258 MB / 0.5109 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001208/1.35, allocations: 39.95 kB / 0.7538 GB, free: 0.8867 MB / 0.5109 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004652/1.35, allocations: 24.84 kB / 0.7538 GB, free: 0.8633 MB / 0.5109 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001066/1.35, allocations: 47.64 kB / 0.7539 GB, free: 0.8242 MB / 0.5109 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.709e-05/1.35, allocations: 27.86 kB / 0.7539 GB, free: 0.8008 MB / 0.5109 GB Notification: Performance of sort global known variables: time 3.405e-05/1.35, allocations: 87.03 kB / 0.754 GB, free: 0.7188 MB / 0.5109 GB Notification: Performance of remove unused functions: time 0.0009344/1.351, allocations: 199.7 kB / 0.7542 GB, free: 0.5234 MB / 0.5109 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 80 (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],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],vvol) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (82): * Single equations (assignments): 82 * 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.0001676/1.351, allocations: 158.2 kB / 0.7543 GB, free: 376 kB / 0.5109 GB Notification: Performance of simCode: created initialization part: time 0.001047/1.353, allocations: 0.9404 MB / 0.7553 GB, free: 15.64 MB / 0.5265 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/1.353, allocations: 0 / 0.7553 GB, free: 15.64 MB / 0.5265 GB Notification: Performance of simCode: created simulation system equations: time 0.0004622/1.353, allocations: 437.1 kB / 0.7557 GB, free: 15.32 MB / 0.5265 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000188/1.353, allocations: 6.844 kB / 0.7557 GB, free: 15.32 MB / 0.5265 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005558/1.359, allocations: 5.81 MB / 0.7614 GB, free: 9.523 MB / 0.5265 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008376/1.36, allocations: 1.202 MB / 0.7625 GB, free: 8.316 MB / 0.5265 GB Notification: Performance of SimCode: time 2.4e-07/1.36, allocations: 0 / 0.7625 GB, free: 8.316 MB / 0.5265 GB (rm -f ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_40.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_40.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_40.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_40.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_40_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Electrical_TransmissionLine_ScaledExperiments_TransmissionLineEquations_N_40_fmu --startTime=0 --stopTime=4e-06 --timeout=300 --tolerance=1e-08 ScalableTestSuite_ScalableTestSuite_Electrical_TransmissionLine_ScaledExperiments_TransmissionLineEquations_N_40.fmu > ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_40.pipe 2>&1)