Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineModelica_N_20.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_20,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_TransmissionLine_ScaledExperiments_TransmissionLineModelica_N_20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineModelica_N_20,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_TransmissionLine_ScaledExperiments_TransmissionLineModelica_N_20",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001201/0.001201, allocations: 177.1 kB / 8.35 MB, free: 0.7266 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.563/1.563, allocations: 221.5 MB / 230.3 MB, free: 7.582 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.001104/0.001104, allocations: 83.89 kB / 281.2 MB, free: 5.348 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.304/1.304, allocations: 120.5 MB / 452.4 MB, free: 10.5 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 1.945e-05/1.993e-05, allocations: 0 / 0.5296 GB, free: 460 kB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6363/0.6364, allocations: 82.84 MB / 0.6105 GB, free: 12.98 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.15/0.7864, allocations: 127.9 MB / 0.7354 GB, free: 12.92 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001791/0.7866, allocations: 71.77 kB / 0.7355 GB, free: 12.85 MB / 0.5419 GB Notification: Performance of FrontEnd - DAE generated: time 0.6282/1.415, allocations: 30.33 MB / 0.7651 GB, free: 126.8 MB / 0.5421 GB Notification: Performance of FrontEnd: time 1.243e-06/1.415, allocations: 0 / 0.7651 GB, free: 126.8 MB / 0.5421 GB Notification: Performance of Transformations before backend: time 8.302e-05/1.415, allocations: 41.03 kB / 0.7652 GB, free: 126.8 MB / 0.5421 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 455 * Number of variables: 455 Notification: Performance of Generate backend data structure: time 0.003846/1.419, allocations: 2.056 MB / 0.7672 GB, free: 125.4 MB / 0.5421 GB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/1.419, allocations: 9 kB / 0.7672 GB, free: 125.4 MB / 0.5421 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004155/1.419, allocations: 211.2 kB / 0.7674 GB, free: 125.3 MB / 0.5421 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001482/1.421, allocations: 1.123 MB / 0.7685 GB, free: 124.3 MB / 0.5421 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.134e-05/1.421, allocations: 56 kB / 0.7685 GB, free: 124.2 MB / 0.5421 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002267/1.421, allocations: 135.8 kB / 0.7687 GB, free: 124.1 MB / 0.5421 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002632/1.424, allocations: 2.072 MB / 0.7707 GB, free: 122 MB / 0.5421 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002756/1.427, allocations: 2.007 MB / 0.7727 GB, free: 120 MB / 0.5421 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.309e-05/1.427, allocations: 4 kB / 0.7727 GB, free: 120 MB / 0.5421 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001535/1.427, allocations: 4 kB / 0.7727 GB, free: 120 MB / 0.5421 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.196e-05/1.427, allocations: 43.98 kB / 0.7727 GB, free: 119.9 MB / 0.5421 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01105/1.438, allocations: 7.645 MB / 0.7802 GB, free: 112.2 MB / 0.5421 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001684/1.44, allocations: 1.824 MB / 0.782 GB, free: 110.3 MB / 0.5421 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001175/1.441, allocations: 1.34 MB / 0.7833 GB, free: 109 MB / 0.5421 GB Notification: Performance of preOpt evalFunc (simulation): time 5.237e-05/1.441, allocations: 21.31 kB / 0.7833 GB, free: 109 MB / 0.5421 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.914e-05/1.441, allocations: 52.06 kB / 0.7833 GB, free: 108.9 MB / 0.5421 GB Notification: Performance of pre-optimization done (n=146): time 3.537e-06/1.441, allocations: 0 / 0.7833 GB, free: 108.9 MB / 0.5421 GB Notification: Performance of matching and sorting (n=146): time 0.001892/1.443, allocations: 1.542 MB / 0.7848 GB, free: 107.4 MB / 0.5421 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.361e-05/1.443, allocations: 76.66 kB / 0.7849 GB, free: 107.3 MB / 0.5421 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009817/1.444, allocations: 0.9643 MB / 0.7859 GB, free: 106.3 MB / 0.5421 GB Notification: Performance of collectPreVariables (initialization): time 0.0001096/1.444, allocations: 25.7 kB / 0.7859 GB, free: 106.3 MB / 0.5421 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002671/1.444, allocations: 0.675 MB / 0.7865 GB, free: 105.6 MB / 0.5421 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002505/1.444, allocations: 0.5196 MB / 0.787 GB, free: 105.1 MB / 0.5421 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.582e-05/1.444, allocations: 7.938 kB / 0.7871 GB, free: 105.1 MB / 0.5421 GB Notification: Performance of setup shared object (initialization): time 0.000113/1.445, allocations: 426.7 kB / 0.7875 GB, free: 104.6 MB / 0.5421 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008545/1.445, allocations: 0.8511 MB / 0.7883 GB, free: 103.8 MB / 0.5421 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009562/1.446, allocations: 0.9782 MB / 0.7892 GB, free: 102.8 MB / 0.5421 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001178/1.448, allocations: 1.04 MB / 0.7903 GB, free: 101.8 MB / 0.5421 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.632e-06/1.448, allocations: 0 / 0.7903 GB, free: 101.8 MB / 0.5421 GB Notification: Performance of matching and sorting (n=213) (initialization): time 0.002612/1.45, allocations: 2.133 MB / 0.7923 GB, free: 99.62 MB / 0.5421 GB Notification: Performance of prepare postOptimizeDAE: time 2.746e-05/1.45, allocations: 9.562 kB / 0.7924 GB, free: 99.61 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.218e-05/1.45, allocations: 3.984 kB / 0.7924 GB, free: 99.61 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.53e-05/1.45, allocations: 8 kB / 0.7924 GB, free: 99.6 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002264/1.453, allocations: 493.4 kB / 0.7928 GB, free: 99.11 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.097e-05/1.453, allocations: 11.98 kB / 0.7928 GB, free: 99.1 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001025/1.454, allocations: 158.4 kB / 0.793 GB, free: 98.95 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.542e-05/1.454, allocations: 48 kB / 0.793 GB, free: 98.9 MB / 0.5421 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 (213): * Single equations (assignments): 213 * 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.0002617/1.454, allocations: 136.5 kB / 0.7932 GB, free: 98.76 MB / 0.5421 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001712/1.456, allocations: 1.542 MB / 0.7947 GB, free: 97.21 MB / 0.5421 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001831/1.456, allocations: 114.7 kB / 0.7948 GB, free: 97.09 MB / 0.5421 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000359/1.456, allocations: 150.9 kB / 0.7949 GB, free: 96.94 MB / 0.5421 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.013e-05/1.456, allocations: 19.95 kB / 0.7949 GB, free: 96.92 MB / 0.5421 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.925e-06/1.456, allocations: 4 kB / 0.795 GB, free: 96.92 MB / 0.5421 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.143e-05/1.456, allocations: 3.984 kB / 0.795 GB, free: 96.91 MB / 0.5421 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001872/1.458, allocations: 1.684 MB / 0.7966 GB, free: 95.23 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/1.458, allocations: 0 / 0.7966 GB, free: 95.23 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001762/1.46, allocations: 457.1 kB / 0.797 GB, free: 94.78 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.209e-05/1.46, allocations: 8 kB / 0.797 GB, free: 94.77 MB / 0.5421 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.822e-05/1.46, allocations: 39.95 kB / 0.7971 GB, free: 94.73 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.219e-06/1.46, allocations: 4 kB / 0.7971 GB, free: 94.73 MB / 0.5421 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/1.46, allocations: 3.953 kB / 0.7971 GB, free: 94.72 MB / 0.5421 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002477/1.463, allocations: 2.587 MB / 0.7996 GB, free: 92.12 MB / 0.5421 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00032/1.463, allocations: 239.4 kB / 0.7998 GB, free: 91.86 MB / 0.5421 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001914/1.463, allocations: 35.97 kB / 0.7999 GB, free: 91.83 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001096/1.464, allocations: 151.8 kB / 0.8 GB, free: 91.68 MB / 0.5421 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001123/1.464, allocations: 89.08 kB / 0.8001 GB, free: 91.59 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.532e-05/1.465, allocations: 43.98 kB / 0.8002 GB, free: 91.55 MB / 0.5421 GB Notification: Performance of sorting global known variables: time 0.0006914/1.465, allocations: 0.7412 MB / 0.8009 GB, free: 90.81 MB / 0.5421 GB Notification: Performance of sort global known variables: time 2.5e-07/1.465, allocations: 0 / 0.8009 GB, free: 90.81 MB / 0.5421 GB Notification: Performance of remove unused functions: time 0.001018/1.466, allocations: 482.3 kB / 0.8013 GB, free: 90.34 MB / 0.5421 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 42 (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.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) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (146): * Single equations (assignments): 146 * 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.002667/1.469, allocations: 3.196 MB / 0.8045 GB, free: 87.11 MB / 0.5421 GB Notification: Performance of simCode: created initialization part: time 0.001818/1.471, allocations: 1.797 MB / 0.8062 GB, free: 85.32 MB / 0.5421 GB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/1.471, allocations: 192 / 0.8062 GB, free: 85.32 MB / 0.5421 GB Notification: Performance of simCode: created simulation system equations: time 0.0007215/1.471, allocations: 0.8246 MB / 0.807 GB, free: 84.49 MB / 0.5421 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001595/1.473, allocations: 178 kB / 0.8072 GB, free: 84.32 MB / 0.5421 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008515/1.482, allocations: 6.524 MB / 0.8136 GB, free: 77.74 MB / 0.5421 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008986/1.483, allocations: 1.729 MB / 0.8152 GB, free: 75.98 MB / 0.5421 GB Notification: Performance of simCode: alias equations: time 0.001415/1.484, allocations: 0.6067 MB / 0.8158 GB, free: 75.37 MB / 0.5421 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006629/1.485, allocations: 0.5676 MB / 0.8164 GB, free: 74.8 MB / 0.5421 GB Notification: Performance of SimCode: time 7.21e-07/1.485, allocations: 0 / 0.8164 GB, free: 74.8 MB / 0.5421 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04583/1.53, allocations: 27.83 MB / 0.8436 GB, free: 47.17 MB / 0.5421 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001732/1.531, allocations: 193.9 kB / 0.8438 GB, free: 46.96 MB / 0.5421 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.615/4.146, allocations: 2.234 kB / 0.8438 GB, free: 46.96 MB / 0.5421 GB (rm -f ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineModelica_N_20.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineModelica_N_20.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineModelica_N_20.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineModelica_N_20.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineModelica_N_20_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Electrical_TransmissionLine_ScaledExperiments_TransmissionLineModelica_N_20_fmu --startTime=0 --stopTime=4e-06 --timeout=300 --tolerance=1e-08 ScalableTestSuite_ScalableTestSuite_Electrical_TransmissionLine_ScaledExperiments_TransmissionLineModelica_N_20.fmu > ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineModelica_N_20.pipe 2>&1)