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.0008969/0.0008969, allocations: 93.88 kB / 16.3 MB, free: 6.457 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.0008724/0.0008726, allocations: 183.5 kB / 17.2 MB, free: 6.34 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.358/1.358, allocations: 223.2 MB / 241.1 MB, free: 5.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9499/0.9499, allocations: 120.5 MB / 412.7 MB, free: 12.11 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003455/0.0003457, allocations: 12 kB / 0.4956 GB, free: 9.68 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1918/0.1922, allocations: 82.85 MB / 0.5765 GB, free: 6.699 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_40): time 0.001869/0.1941, allocations: 1.037 MB / 0.5775 GB, free: 5.652 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002805/0.1944, allocations: 60.22 kB / 0.5775 GB, free: 5.594 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.488e-05/0.1945, allocations: 0 / 0.5775 GB, free: 5.594 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001498/0.1946, allocations: 7.938 kB / 0.5775 GB, free: 5.586 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.196e-05/0.1947, allocations: 11.97 kB / 0.5776 GB, free: 5.574 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001827/0.1949, allocations: 23.98 kB / 0.5776 GB, free: 5.551 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004621/0.1954, allocations: 439.2 kB / 0.578 GB, free: 5.121 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.873e-05/0.1954, allocations: 4 kB / 0.578 GB, free: 5.117 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002276/0.1957, allocations: 243.7 kB / 0.5782 GB, free: 4.879 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004061/0.1961, allocations: 311.5 kB / 0.5785 GB, free: 4.574 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.674e-05/0.1962, allocations: 36 kB / 0.5786 GB, free: 4.539 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.531e-05/0.1963, allocations: 36 kB / 0.5786 GB, free: 4.504 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002351/0.1965, allocations: 263.5 kB / 0.5788 GB, free: 4.246 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000107/0.1966, allocations: 105.5 kB / 0.5789 GB, free: 4.137 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002927/0.1969, allocations: 331.2 kB / 0.5793 GB, free: 3.812 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.105e-06/0.1969, allocations: 3.938 kB / 0.5793 GB, free: 3.809 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.1969, allocations: 0 / 0.5793 GB, free: 3.809 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.099e-05/0.1969, allocations: 0 / 0.5793 GB, free: 3.809 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.002466/0.1994, allocations: 1.054 MB / 0.5803 GB, free: 2.703 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.133e-05/0.1995, allocations: 12.03 kB / 0.5803 GB, free: 2.691 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001176/0.1996, allocations: 90.45 kB / 0.5804 GB, free: 2.594 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001151/0.1997, allocations: 59.48 kB / 0.5805 GB, free: 2.535 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005302/0.2003, allocations: 330.4 kB / 0.5808 GB, free: 2.172 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.33e-05/0.2003, allocations: 57 kB / 0.5808 GB, free: 2.113 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001618/0.2005, allocations: 115.7 kB / 0.5809 GB, free: 2 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009486/0.2014, allocations: 0.6425 MB / 0.5816 GB, free: 1.352 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.8e-05/0.2015, allocations: 0 / 0.5816 GB, free: 1.352 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.666e-05/0.2015, allocations: 20 kB / 0.5816 GB, free: 1.332 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.625e-05/0.2016, allocations: 15.95 kB / 0.5816 GB, free: 1.316 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006103/0.2022, allocations: 395.7 kB / 0.582 GB, free: 0.9297 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5719/0.7741, allocations: 1.836 MB / 0.5838 GB, free: 15.5 MB / 446.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008472/0.7826, allocations: 2.504 MB / 0.5862 GB, free: 15.43 MB / 446.3 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001152/0.7828, allocations: 9.219 kB / 0.5862 GB, free: 15.43 MB / 446.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.316e-05/0.7828, allocations: 45.3 kB / 0.5863 GB, free: 15.39 MB / 446.3 MB Notification: Performance of pre-optimization done (n=82): time 3.076e-06/0.7828, allocations: 0 / 0.5863 GB, free: 15.39 MB / 446.3 MB Notification: Performance of matching and sorting (n=82): time 0.002324/0.7852, allocations: 1.112 MB / 0.5873 GB, free: 15.32 MB / 446.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.997e-05/0.7852, allocations: 60.61 kB / 0.5874 GB, free: 15.26 MB / 446.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001167/0.7853, allocations: 144.4 kB / 0.5875 GB, free: 15.14 MB / 446.3 MB Notification: Performance of collectPreVariables (initialization): time 6.445e-05/0.7854, allocations: 50.64 kB / 0.5876 GB, free: 15.09 MB / 446.3 MB Notification: Performance of collectInitialEqns (initialization): time 8.441e-05/0.7855, allocations: 157 kB / 0.5877 GB, free: 14.97 MB / 446.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002513/0.7858, allocations: 382.5 kB / 0.5881 GB, free: 14.68 MB / 446.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.033e-05/0.7858, allocations: 25.25 kB / 0.5881 GB, free: 14.66 MB / 446.3 MB Notification: Performance of setup shared object (initialization): time 0.0001165/0.7859, allocations: 366 kB / 0.5885 GB, free: 14.32 MB / 446.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007721/0.7867, allocations: 445.3 kB / 0.5889 GB, free: 14.21 MB / 446.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007871/0.7875, allocations: 454.1 kB / 0.5893 GB, free: 14.09 MB / 446.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009116/0.7884, allocations: 0.5169 MB / 0.5898 GB, free: 13.91 MB / 446.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/0.7885, allocations: 4.938 kB / 0.5898 GB, free: 13.91 MB / 446.3 MB Notification: Performance of matching and sorting (n=162) (initialization): time 0.00201/0.7905, allocations: 1.197 MB / 0.591 GB, free: 13.52 MB / 446.3 MB Notification: Performance of prepare postOptimizeDAE: time 2.512e-05/0.7905, allocations: 4.438 kB / 0.591 GB, free: 13.52 MB / 446.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/0.7905, allocations: 1.25 kB / 0.591 GB, free: 13.52 MB / 446.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.375e-05/0.7906, allocations: 5.375 kB / 0.591 GB, free: 13.52 MB / 446.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001778/0.7923, allocations: 446.9 kB / 0.5914 GB, free: 13.5 MB / 446.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.812e-05/0.7924, allocations: 9.141 kB / 0.5915 GB, free: 13.5 MB / 446.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000498/0.7929, allocations: 116.5 kB / 0.5916 GB, free: 13.43 MB / 446.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.557e-05/0.793, allocations: 37.48 kB / 0.5916 GB, free: 13.42 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.0002781/0.7932, allocations: 210.3 kB / 0.5918 GB, free: 13.26 MB / 446.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.43e-05/0.7933, allocations: 35.25 kB / 0.5918 GB, free: 13.24 MB / 446.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002006/0.7935, allocations: 97.72 kB / 0.5919 GB, free: 13.15 MB / 446.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.274e-05/0.7936, allocations: 8.594 kB / 0.5919 GB, free: 13.15 MB / 446.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.809e-05/0.7936, allocations: 0 / 0.5919 GB, free: 13.15 MB / 446.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.17e-05/0.7936, allocations: 9.047 kB / 0.5919 GB, free: 13.15 MB / 446.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000831/0.7944, allocations: 0.6063 MB / 0.5925 GB, free: 12.84 MB / 446.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.7944, allocations: 5.078 kB / 0.5925 GB, free: 12.84 MB / 446.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002356/0.7968, allocations: 447.7 kB / 0.593 GB, free: 12.81 MB / 446.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.037e-05/0.7968, allocations: 4 kB / 0.593 GB, free: 12.81 MB / 446.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001155/0.797, allocations: 52.03 kB / 0.593 GB, free: 12.8 MB / 446.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.903e-06/0.797, allocations: 2.469 kB / 0.593 GB, free: 12.8 MB / 446.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.797, allocations: 0 / 0.593 GB, free: 12.8 MB / 446.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001916/0.7989, allocations: 1.28 MB / 0.5943 GB, free: 12.3 MB / 446.3 MB Notification: Performance of postOpt removeConstants (simulation): time 6.459e-05/0.799, allocations: 116 kB / 0.5944 GB, free: 12.18 MB / 446.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001382/0.7991, allocations: 43.58 kB / 0.5944 GB, free: 12.17 MB / 446.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004899/0.7996, allocations: 56.27 kB / 0.5945 GB, free: 12.14 MB / 446.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001538/0.7998, allocations: 48.53 kB / 0.5945 GB, free: 12.14 MB / 446.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.815e-05/0.7998, allocations: 27.86 kB / 0.5946 GB, free: 12.13 MB / 446.3 MB Notification: Performance of sorting global known variables: time 5.2e-05/0.7999, allocations: 95.81 kB / 0.5946 GB, free: 12.05 MB / 446.3 MB Notification: Performance of sort global known variables: time 1.2e-07/0.7999, allocations: 0 / 0.5946 GB, free: 12.05 MB / 446.3 MB Notification: Performance of remove unused functions: time 0.0006776/0.8006, allocations: 226.8 kB / 0.5949 GB, free: 12.01 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.002387/0.803, allocations: 1.877 MB / 0.5967 GB, free: 10.96 MB / 446.3 MB Notification: Performance of simCode: created initialization part: time 0.001948/0.8049, allocations: 0.9712 MB / 0.5976 GB, free: 10.71 MB / 446.3 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.805, allocations: 0 / 0.5976 GB, free: 10.71 MB / 446.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0007949/0.8058, allocations: 444.1 kB / 0.5981 GB, free: 10.58 MB / 446.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002993/0.8061, allocations: 17.48 kB / 0.5981 GB, free: 10.57 MB / 446.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01279/0.8189, allocations: 9.721 MB / 0.6076 GB, free: 4.625 MB / 446.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005227/0.8194, allocations: 0.9243 MB / 0.6085 GB, free: 3.82 MB / 446.3 MB Notification: Performance of simCode: alias equations: time 0.0009092/0.8204, allocations: 315.9 kB / 0.6088 GB, free: 3.676 MB / 446.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003398/0.8207, allocations: 188.6 kB / 0.609 GB, free: 3.531 MB / 446.3 MB Notification: Performance of SimCode: time 1.072e-06/0.8207, allocations: 4 kB / 0.609 GB, free: 3.527 MB / 446.3 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02715/0.8479, allocations: 11.54 MB / 0.6202 GB, free: 11.84 MB / 462.3 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002006/0.8481, allocations: 241 kB / 0.6205 GB, free: 11.59 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.044/2.893, allocations: 0 / 0.6205 GB, free: 11.59 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: