Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineModelica_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.TransmissionLineModelica_N_40,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_TransmissionLine_ScaledExperiments_TransmissionLineModelica_N_40",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineModelica_N_40,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_TransmissionLine_ScaledExperiments_TransmissionLineModelica_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.001028/0.001028, allocations: 181.6 kB / 8.136 MB, free: 2.211 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.038/1.038, allocations: 221.4 MB / 229.9 MB, free: 3.078 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.0008539/0.000854, allocations: 108.3 kB / 280.8 MB, free: 1.262 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.5752/0.5752, allocations: 120.4 MB / 452 MB, free: 13.02 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 0.292/0.8673, allocations: 89.71 MB / 0.529 GB, free: 51.65 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09684/0.9641, allocations: 82.84 MB / 0.6099 GB, free: 2.742 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4008/1.365, allocations: 127.9 MB / 0.7348 GB, free: 1.762 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001436/1.365, allocations: 66.53 kB / 0.7348 GB, free: 1.73 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: 875 * Number of variables: 875 Notification: Performance of Generate backend data structure: time 0.1503/1.515, allocations: 61.83 MB / 0.7952 GB, free: 12.99 MB / 0.5578 GB Notification: Performance of prepare preOptimizeDAE: time 3.247e-05/1.516, allocations: 8 kB / 0.7952 GB, free: 12.98 MB / 0.5578 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008714/1.516, allocations: 403.5 kB / 0.7956 GB, free: 12.58 MB / 0.5578 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003224/1.52, allocations: 2.039 MB / 0.7976 GB, free: 11.01 MB / 0.5578 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.236e-05/1.52, allocations: 108 kB / 0.7977 GB, free: 10.91 MB / 0.5578 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005198/1.52, allocations: 251.3 kB / 0.798 GB, free: 10.67 MB / 0.5578 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005496/1.526, allocations: 4.239 MB / 0.8021 GB, free: 7.875 MB / 0.5578 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005428/1.531, allocations: 4.035 MB / 0.806 GB, free: 5.035 MB / 0.5578 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.674e-05/1.531, allocations: 0 / 0.806 GB, free: 5.035 MB / 0.5578 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002711/1.532, allocations: 4 kB / 0.806 GB, free: 5.031 MB / 0.5578 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.733e-05/1.532, allocations: 84 kB / 0.8061 GB, free: 4.949 MB / 0.5578 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02111/1.553, allocations: 15.23 MB / 0.821 GB, free: 9.156 MB / 0.5734 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002398/1.555, allocations: 2.129 MB / 0.8231 GB, free: 7.711 MB / 0.5734 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002777/1.558, allocations: 2.866 MB / 0.8259 GB, free: 5.723 MB / 0.5734 GB Notification: Performance of preOpt evalFunc (simulation): time 8.937e-05/1.558, allocations: 34.23 kB / 0.8259 GB, free: 5.688 MB / 0.5734 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.443e-05/1.558, allocations: 75.88 kB / 0.826 GB, free: 5.625 MB / 0.5734 GB Notification: Performance of pre-optimization done (n=286): time 6.592e-06/1.558, allocations: 0 / 0.826 GB, free: 5.625 MB / 0.5734 GB Notification: Performance of matching and sorting (n=286): time 0.003668/1.562, allocations: 3.12 MB / 0.829 GB, free: 3.289 MB / 0.5734 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.786e-05/1.562, allocations: 85.59 kB / 0.8291 GB, free: 3.191 MB / 0.5734 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001894/1.564, allocations: 1.807 MB / 0.8309 GB, free: 1.918 MB / 0.5734 GB Notification: Performance of collectPreVariables (initialization): time 0.0001448/1.564, allocations: 29.7 kB / 0.8309 GB, free: 1.883 MB / 0.5734 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004417/1.564, allocations: 1.006 MB / 0.8319 GB, free: 0.9805 MB / 0.5734 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005879/1.565, allocations: 1.012 MB / 0.8329 GB, free: 92 kB / 0.5734 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001342/1.565, allocations: 0 / 0.8329 GB, free: 92 kB / 0.5734 GB Notification: Performance of setup shared object (initialization): time 0.0001812/1.565, allocations: 438.4 kB / 0.8333 GB, free: 15.7 MB / 0.589 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00195/1.567, allocations: 1.774 MB / 0.835 GB, free: 14.53 MB / 0.589 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002089/1.569, allocations: 1.986 MB / 0.837 GB, free: 13.18 MB / 0.589 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002296/1.572, allocations: 2.154 MB / 0.8391 GB, free: 11.7 MB / 0.589 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.692e-06/1.572, allocations: 4 kB / 0.8391 GB, free: 11.7 MB / 0.589 GB Notification: Performance of matching and sorting (n=413) (initialization): time 0.00492/1.576, allocations: 4.341 MB / 0.8433 GB, free: 8.52 MB / 0.589 GB Notification: Performance of prepare postOptimizeDAE: time 1.207e-05/1.577, allocations: 8 kB / 0.8433 GB, free: 8.512 MB / 0.589 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.428e-06/1.577, allocations: 0 / 0.8433 GB, free: 8.512 MB / 0.589 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.785e-05/1.577, allocations: 16 kB / 0.8433 GB, free: 8.496 MB / 0.589 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00333/1.58, allocations: 0.9341 MB / 0.8442 GB, free: 7.586 MB / 0.589 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.675e-05/1.58, allocations: 16 kB / 0.8443 GB, free: 7.57 MB / 0.589 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001597/1.582, allocations: 261.3 kB / 0.8445 GB, free: 7.312 MB / 0.589 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001896/1.582, allocations: 95.06 kB / 0.8446 GB, free: 7.246 MB / 0.589 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (413): * Single equations (assignments): 413 * 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.0003258/1.582, allocations: 148.4 kB / 0.8447 GB, free: 7.094 MB / 0.589 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003518/1.582, allocations: 217.6 kB / 0.8449 GB, free: 6.879 MB / 0.589 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004364/1.583, allocations: 285.1 kB / 0.8452 GB, free: 6.777 MB / 0.589 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.016e-05/1.583, allocations: 28 kB / 0.8452 GB, free: 6.75 MB / 0.589 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.054e-05/1.583, allocations: 0 / 0.8452 GB, free: 6.75 MB / 0.589 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.865e-05/1.583, allocations: 11.95 kB / 0.8453 GB, free: 6.738 MB / 0.589 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003266/1.586, allocations: 3.27 MB / 0.8484 GB, free: 4.363 MB / 0.589 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/1.586, allocations: 0 / 0.8484 GB, free: 4.363 MB / 0.589 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003742/1.59, allocations: 0.8589 MB / 0.8493 GB, free: 3.531 MB / 0.589 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-05/1.59, allocations: 12 kB / 0.8493 GB, free: 3.52 MB / 0.589 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001885/1.59, allocations: 75.25 kB / 0.8494 GB, free: 3.469 MB / 0.589 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.087e-05/1.59, allocations: 16 kB / 0.8494 GB, free: 3.453 MB / 0.589 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.586e-06/1.59, allocations: 3.984 kB / 0.8494 GB, free: 3.449 MB / 0.589 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005323/1.596, allocations: 5.215 MB / 0.8545 GB, free: 15.7 MB / 0.6046 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.007444/1.603, allocations: 7.78 MB / 0.8621 GB, free: 10.13 MB / 0.6046 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000431/1.603, allocations: 383.9 kB / 0.8624 GB, free: 9.777 MB / 0.6046 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004378/1.604, allocations: 71.31 kB / 0.8625 GB, free: 9.727 MB / 0.6046 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001944/1.606, allocations: 271.6 kB / 0.8628 GB, free: 9.465 MB / 0.6046 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002314/1.606, allocations: 133.5 kB / 0.8629 GB, free: 9.348 MB / 0.6046 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001646/1.606, allocations: 79.36 kB / 0.863 GB, free: 9.289 MB / 0.6046 GB Notification: Performance of sort global known variables: time 0.001372/1.608, allocations: 1.381 MB / 0.8643 GB, free: 8.359 MB / 0.6046 GB Notification: Performance of remove unused functions: time 0.002051/1.61, allocations: 0.9186 MB / 0.8652 GB, free: 7.438 MB / 0.6046 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 82 (lowpassfilter.y,lowpassfilter.yd,transmissionline.L[1].i,transmissionline.L[2].i,transmissionline.L[3].i,transmissionline.L[4].i,transmissionline.L[5].i,transmissionline.L[6].i,transmissionline.L[7].i,transmissionline.L[8].i,transmissionline.L[9].i,transmissionline.L[10].i,transmissionline.L[11].i,transmissionline.L[12].i,transmissionline.L[13].i,transmissionline.L[14].i,transmissionline.L[15].i,transmissionline.L[16].i,transmissionline.L[17].i,transmissionline.L[18].i,transmissionline.L[19].i,transmissionline.L[20].i,transmissionline.L[21].i,transmissionline.L[22].i,transmissionline.L[23].i,transmissionline.L[24].i,transmissionline.L[25].i,transmissionline.L[26].i,transmissionline.L[27].i,transmissionline.L[28].i,transmissionline.L[29].i,transmissionline.L[30].i,transmissionline.L[31].i,transmissionline.L[32].i,transmissionline.L[33].i,transmissionline.L[34].i,transmissionline.L[35].i,transmissionline.L[36].i,transmissionline.L[37].i,transmissionline.L[38].i,transmissionline.L[39].i,transmissionline.L[40].i,transmissionline.C[1].v,transmissionline.C[2].v,transmissionline.C[3].v,transmissionline.C[4].v,transmissionline.C[5].v,transmissionline.C[6].v,transmissionline.C[7].v,transmissionline.C[8].v,transmissionline.C[9].v,transmissionline.C[10].v,transmissionline.C[11].v,transmissionline.C[12].v,transmissionline.C[13].v,transmissionline.C[14].v,transmissionline.C[15].v,transmissionline.C[16].v,transmissionline.C[17].v,transmissionline.C[18].v,transmissionline.C[19].v,transmissionline.C[20].v,transmissionline.C[21].v,transmissionline.C[22].v,transmissionline.C[23].v,transmissionline.C[24].v,transmissionline.C[25].v,transmissionline.C[26].v,transmissionline.C[27].v,transmissionline.C[28].v,transmissionline.C[29].v,transmissionline.C[30].v,transmissionline.C[31].v,transmissionline.C[32].v,transmissionline.C[33].v,transmissionline.C[34].v,transmissionline.C[35].v,transmissionline.C[36].v,transmissionline.C[37].v,transmissionline.C[38].v,transmissionline.C[39].v,transmissionline.C[40].v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (286): * Single equations (assignments): 286 * 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.0003197/1.61, allocations: 203.4 kB / 0.8654 GB, free: 7.238 MB / 0.6046 GB Notification: Performance of simCode: created initialization part: time 0.003771/1.614, allocations: 3.709 MB / 0.869 GB, free: 4.637 MB / 0.6046 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/1.614, allocations: 8.062 kB / 0.869 GB, free: 4.629 MB / 0.6046 GB Notification: Performance of simCode: created simulation system equations: time 0.001664/1.615, allocations: 1.698 MB / 0.8707 GB, free: 3.445 MB / 0.6046 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00118/1.617, allocations: 313.9 kB / 0.871 GB, free: 3.207 MB / 0.6046 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01629/1.633, allocations: 11.97 MB / 0.8827 GB, free: 8.223 MB / 0.6203 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003224/1.636, allocations: 3.166 MB / 0.8858 GB, free: 5.387 MB / 0.6203 GB Notification: Performance of SimCode: time 2.71e-07/1.636, allocations: 0 / 0.8858 GB, free: 5.387 MB / 0.6203 GB (rm -f ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineModelica_N_40.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineModelica_N_40.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineModelica_N_40.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineModelica_N_40.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineModelica_N_40_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Electrical_TransmissionLine_ScaledExperiments_TransmissionLineModelica_N_40_fmu --startTime=0 --stopTime=4e-06 --timeout=300 --tolerance=1e-08 ScalableTestSuite_ScalableTestSuite_Electrical_TransmissionLine_ScaledExperiments_TransmissionLineModelica_N_40.fmu > ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineModelica_N_40.pipe 2>&1)