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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001125/0.001125, allocations: 88.39 kB / 16.31 MB, free: 6.449 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001256/0.001256, allocations: 183.1 kB / 17.21 MB, free: 6.316 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.542/1.542, allocations: 223.3 MB / 241.2 MB, free: 5.176 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9897/0.9897, allocations: 120.5 MB / 412.8 MB, free: 12.02 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003222/0.0003223, allocations: 15.98 kB / 0.4957 GB, free: 9.633 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1837/0.184, allocations: 82.84 MB / 0.5766 GB, free: 6.656 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_40): time 0.001548/0.1856, allocations: 1.053 MB / 0.5776 GB, free: 5.594 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002395/0.1859, allocations: 56.22 kB / 0.5776 GB, free: 5.539 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.941e-05/0.1859, allocations: 0 / 0.5776 GB, free: 5.539 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001199/0.1861, allocations: 3.938 kB / 0.5776 GB, free: 5.535 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 8.557e-05/0.1862, allocations: 27.83 kB / 0.5777 GB, free: 5.508 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001702/0.1863, allocations: 23.98 kB / 0.5777 GB, free: 5.484 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005925/0.1869, allocations: 0.5654 MB / 0.5782 GB, free: 4.918 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.656e-05/0.187, allocations: 11.98 kB / 0.5783 GB, free: 4.906 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002408/0.1873, allocations: 243.7 kB / 0.5785 GB, free: 4.668 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004885/0.1878, allocations: 347.5 kB / 0.5788 GB, free: 4.328 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.852e-05/0.1879, allocations: 36 kB / 0.5789 GB, free: 4.293 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.9e-05/0.1879, allocations: 39.94 kB / 0.5789 GB, free: 4.254 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000291/0.1882, allocations: 287.4 kB / 0.5792 GB, free: 3.973 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001204/0.1884, allocations: 105.5 kB / 0.5793 GB, free: 3.863 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002989/0.1887, allocations: 331.2 kB / 0.5796 GB, free: 3.539 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.227e-06/0.1887, allocations: 4 kB / 0.5796 GB, free: 3.535 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.1887, allocations: 0 / 0.5796 GB, free: 3.535 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.263e-06/0.1887, allocations: 0 / 0.5796 GB, free: 3.535 MB / 446.1 MB 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.002546/0.1913, allocations: 1.054 MB / 0.5806 GB, free: 2.43 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.368e-05/0.1913, allocations: 12.03 kB / 0.5806 GB, free: 2.418 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001233/0.1915, allocations: 90.52 kB / 0.5807 GB, free: 2.32 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001337/0.1916, allocations: 63.47 kB / 0.5808 GB, free: 2.258 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000465/0.1921, allocations: 322.4 kB / 0.5811 GB, free: 1.902 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.608e-05/0.1921, allocations: 57 kB / 0.5811 GB, free: 1.844 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001659/0.1923, allocations: 111.7 kB / 0.5812 GB, free: 1.734 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001078/0.1934, allocations: 0.6426 MB / 0.5819 GB, free: 1.086 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.171e-05/0.1934, allocations: 3.984 kB / 0.5819 GB, free: 1.082 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.847e-05/0.1935, allocations: 23.94 kB / 0.5819 GB, free: 1.059 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.573e-05/0.1935, allocations: 15.95 kB / 0.5819 GB, free: 1.043 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006875/0.1942, allocations: 391.7 kB / 0.5823 GB, free: 0.6602 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5903/0.7846, allocations: 1.838 MB / 0.5841 GB, free: 15.7 MB / 446.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008149/0.7928, allocations: 2.502 MB / 0.5865 GB, free: 15.63 MB / 446.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007115/0.7935, allocations: 369.5 kB / 0.5869 GB, free: 15.62 MB / 446.3 MB Notification: Performance of preOpt evalFunc (simulation): time 6.739e-05/0.7936, allocations: 14.84 kB / 0.5869 GB, free: 15.62 MB / 446.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.008e-05/0.7936, allocations: 44.62 kB / 0.5869 GB, free: 15.57 MB / 446.3 MB Notification: Performance of pre-optimization done (n=82): time 2.956e-06/0.7936, allocations: 0.6875 kB / 0.5869 GB, free: 15.57 MB / 446.3 MB Notification: Performance of matching and sorting (n=82): time 0.002283/0.7959, allocations: 1.114 MB / 0.588 GB, free: 15.36 MB / 446.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.037e-05/0.796, allocations: 62.97 kB / 0.5881 GB, free: 15.3 MB / 446.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001162/0.7961, allocations: 142.3 kB / 0.5882 GB, free: 15.18 MB / 446.3 MB Notification: Performance of collectPreVariables (initialization): time 5.952e-05/0.7962, allocations: 51.75 kB / 0.5883 GB, free: 15.13 MB / 446.3 MB Notification: Performance of collectInitialEqns (initialization): time 8.841e-05/0.7963, allocations: 155.6 kB / 0.5884 GB, free: 15 MB / 446.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002511/0.7965, allocations: 384.4 kB / 0.5888 GB, free: 14.71 MB / 446.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.681e-05/0.7966, allocations: 29.5 kB / 0.5888 GB, free: 14.68 MB / 446.3 MB Notification: Performance of setup shared object (initialization): time 0.0001145/0.7967, allocations: 364.4 kB / 0.5892 GB, free: 14.35 MB / 446.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000778/0.7975, allocations: 439.4 kB / 0.5896 GB, free: 14.23 MB / 446.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008125/0.7983, allocations: 463.2 kB / 0.59 GB, free: 14.11 MB / 446.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008866/0.7992, allocations: 0.5119 MB / 0.5905 GB, free: 13.94 MB / 446.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.7992, allocations: 2.344 kB / 0.5905 GB, free: 13.94 MB / 446.3 MB Notification: Performance of matching and sorting (n=162) (initialization): time 0.001905/0.8011, allocations: 1.196 MB / 0.5917 GB, free: 13.55 MB / 446.3 MB Notification: Performance of prepare postOptimizeDAE: time 2.264e-05/0.8011, allocations: 6.031 kB / 0.5917 GB, free: 13.55 MB / 446.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.8012, allocations: 7.953 kB / 0.5917 GB, free: 13.55 MB / 446.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.083e-05/0.8012, allocations: 5.844 kB / 0.5917 GB, free: 13.55 MB / 446.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001663/0.8029, allocations: 450 kB / 0.5921 GB, free: 13.52 MB / 446.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.714e-05/0.8029, allocations: 4.781 kB / 0.5921 GB, free: 13.52 MB / 446.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004123/0.8033, allocations: 116.3 kB / 0.5923 GB, free: 13.45 MB / 446.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.678e-05/0.8034, allocations: 33.47 kB / 0.5923 GB, free: 13.44 MB / 446.3 MB 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 () * Number of clocked 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.0002246/0.8036, allocations: 213.3 kB / 0.5925 GB, free: 13.28 MB / 446.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.468e-05/0.8037, allocations: 36.2 kB / 0.5925 GB, free: 13.26 MB / 446.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002619/0.804, allocations: 92.86 kB / 0.5926 GB, free: 13.18 MB / 446.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.217e-05/0.804, allocations: 12.98 kB / 0.5926 GB, free: 13.17 MB / 446.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.774e-05/0.804, allocations: 0 / 0.5926 GB, free: 13.17 MB / 446.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.231e-05/0.804, allocations: 4.938 kB / 0.5926 GB, free: 13.17 MB / 446.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008303/0.8049, allocations: 0.6102 MB / 0.5932 GB, free: 12.86 MB / 446.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.8049, allocations: 5.406 kB / 0.5932 GB, free: 12.86 MB / 446.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002253/0.8071, allocations: 446 kB / 0.5937 GB, free: 12.83 MB / 446.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.761e-06/0.8071, allocations: 2.75 kB / 0.5937 GB, free: 12.83 MB / 446.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001069/0.8073, allocations: 53.41 kB / 0.5937 GB, free: 12.82 MB / 446.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.899e-06/0.8073, allocations: 6.688 kB / 0.5937 GB, free: 12.82 MB / 446.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.8073, allocations: 3.953 kB / 0.5937 GB, free: 12.81 MB / 446.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00182/0.8091, allocations: 1.277 MB / 0.595 GB, free: 12.32 MB / 446.3 MB Notification: Performance of postOpt removeConstants (simulation): time 5.216e-05/0.8092, allocations: 115.9 kB / 0.5951 GB, free: 12.2 MB / 446.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001259/0.8093, allocations: 43.22 kB / 0.5951 GB, free: 12.19 MB / 446.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004125/0.8097, allocations: 51.66 kB / 0.5952 GB, free: 12.17 MB / 446.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001227/0.8098, allocations: 56.03 kB / 0.5952 GB, free: 12.16 MB / 446.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.557e-05/0.8099, allocations: 24.22 kB / 0.5952 GB, free: 12.16 MB / 446.3 MB Notification: Performance of sorting global known variables: time 4.515e-05/0.81, allocations: 96.52 kB / 0.5953 GB, free: 12.07 MB / 446.3 MB Notification: Performance of sort global known variables: time 1.11e-07/0.81, allocations: 0 / 0.5953 GB, free: 12.07 MB / 446.3 MB Notification: Performance of remove unused functions: time 0.0005711/0.8105, allocations: 227 kB / 0.5956 GB, free: 12.04 MB / 446.3 MB 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 () * Number of clocked 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.002155/0.8127, allocations: 1.876 MB / 0.5974 GB, free: 10.99 MB / 446.3 MB Notification: Performance of simCode: created initialization part: time 0.001597/0.8143, allocations: 0.9674 MB / 0.5983 GB, free: 10.74 MB / 446.3 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.8143, allocations: 0 / 0.5983 GB, free: 10.74 MB / 446.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0007052/0.815, allocations: 444.5 kB / 0.5988 GB, free: 10.61 MB / 446.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003534/0.8154, allocations: 31.88 kB / 0.5988 GB, free: 10.59 MB / 446.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01075/0.8262, allocations: 9.731 MB / 0.6083 GB, free: 4.441 MB / 446.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003776/0.8266, allocations: 0.9155 MB / 0.6092 GB, free: 3.645 MB / 446.3 MB Notification: Performance of simCode: alias equations: time 0.0007613/0.8273, allocations: 317.6 kB / 0.6095 GB, free: 3.5 MB / 446.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000321/0.8277, allocations: 184 kB / 0.6097 GB, free: 3.359 MB / 446.3 MB Notification: Performance of SimCode: time 5.61e-07/0.8277, allocations: 0 / 0.6097 GB, free: 3.359 MB / 446.3 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02236/0.85, allocations: 11.56 MB / 0.6209 GB, free: 11.17 MB / 462.3 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001696/0.8503, allocations: 242.8 kB / 0.6212 GB, free: 10.93 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.29/3.141, allocations: 6.406 kB / 0.6212 GB, free: 10.93 MB / 462.3 MB (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) Environment - environmentSimulation: