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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001083/0.001083, allocations: 180.3 kB / 16.38 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.256/1.256, allocations: 223.2 MB / 240.3 MB, free: 11.88 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009247/0.0009246, allocations: 100.6 kB / 291.5 MB, free: 10.89 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8255/0.8255, allocations: 120.5 MB / 463 MB, free: 8.688 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003277/0.0003277, allocations: 11.47 kB / 0.5447 GB, free: 41.11 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1323/0.1326, allocations: 82.85 MB / 0.6256 GB, free: 7.777 MB / 442.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7051/0.8377, allocations: 125.5 MB / 0.7482 GB, free: 8.625 MB / 0.5107 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001761/0.8379, allocations: 60.03 kB / 0.7482 GB, free: 8.594 MB / 0.5107 GB Notification: Performance of FrontEnd - DAE generated: time 0.02553/0.8635, allocations: 7.893 MB / 0.7559 GB, free: 1.465 MB / 0.5107 GB Notification: Performance of FrontEnd: time 1.954e-06/0.8635, allocations: 4 kB / 0.7559 GB, free: 1.461 MB / 0.5107 GB Notification: Performance of Transformations before backend: time 1.446e-05/0.8636, allocations: 8 kB / 0.7559 GB, free: 1.453 MB / 0.5107 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.002169/0.8657, allocations: 1.011 MB / 0.7569 GB, free: 432 kB / 0.5107 GB Notification: Performance of prepare preOptimizeDAE: time 3.801e-05/0.8658, allocations: 8.031 kB / 0.7569 GB, free: 424 kB / 0.5107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.643e-05/0.8659, allocations: 92.7 kB / 0.757 GB, free: 352 kB / 0.5107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001051/0.866, allocations: 55.53 kB / 0.7571 GB, free: 296 kB / 0.5107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005735/0.8666, allocations: 324.7 kB / 0.7574 GB, free: 15.93 MB / 0.5263 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.297e-05/0.8666, allocations: 59.31 kB / 0.7574 GB, free: 15.89 MB / 0.5263 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001331/0.8668, allocations: 109.7 kB / 0.7575 GB, free: 15.82 MB / 0.5263 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009451/0.8677, allocations: 0.645 MB / 0.7582 GB, free: 15.31 MB / 0.5263 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.714e-05/0.8677, allocations: 0 / 0.7582 GB, free: 15.31 MB / 0.5263 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.865e-05/0.8678, allocations: 36.31 kB / 0.7582 GB, free: 15.29 MB / 0.5263 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.999e-06/0.8678, allocations: 12 kB / 0.7582 GB, free: 15.28 MB / 0.5263 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005807/0.8684, allocations: 400 kB / 0.7586 GB, free: 14.98 MB / 0.5263 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00381/0.8722, allocations: 1.836 MB / 0.7604 GB, free: 13.3 MB / 0.5263 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007824/0.8801, allocations: 2.506 MB / 0.7628 GB, free: 11.2 MB / 0.5263 GB Notification: Performance of preOpt evalFunc (simulation): time 4.879e-05/0.8801, allocations: 12.64 kB / 0.7629 GB, free: 11.19 MB / 0.5263 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.082e-05/0.8802, allocations: 39.09 kB / 0.7629 GB, free: 11.14 MB / 0.5263 GB Notification: Performance of pre-optimization done (n=82): time 1.563e-06/0.8802, allocations: 0 / 0.7629 GB, free: 11.14 MB / 0.5263 GB Notification: Performance of matching and sorting (n=82): time 0.001597/0.8818, allocations: 1.117 MB / 0.764 GB, free: 10.29 MB / 0.5263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.509e-05/0.8818, allocations: 60.06 kB / 0.764 GB, free: 10.22 MB / 0.5263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.016e-05/0.8819, allocations: 136.7 kB / 0.7642 GB, free: 10.09 MB / 0.5263 GB Notification: Performance of collectPreVariables (initialization): time 5.872e-05/0.882, allocations: 53.08 kB / 0.7642 GB, free: 10.05 MB / 0.5263 GB Notification: Performance of collectInitialEqns (initialization): time 6.776e-05/0.882, allocations: 149.4 kB / 0.7644 GB, free: 9.918 MB / 0.5263 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002108/0.8823, allocations: 380.4 kB / 0.7647 GB, free: 9.594 MB / 0.5263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.01e-05/0.8823, allocations: 23.38 kB / 0.7647 GB, free: 9.59 MB / 0.5263 GB Notification: Performance of setup shared object (initialization): time 0.0001156/0.8825, allocations: 374.1 kB / 0.7651 GB, free: 9.238 MB / 0.5263 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005802/0.8831, allocations: 445.4 kB / 0.7655 GB, free: 8.914 MB / 0.5263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000583/0.8836, allocations: 451.9 kB / 0.766 GB, free: 8.578 MB / 0.5263 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006467/0.8843, allocations: 0.5148 MB / 0.7665 GB, free: 8.223 MB / 0.5263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.828e-06/0.8843, allocations: 0 / 0.7665 GB, free: 8.223 MB / 0.5263 GB Notification: Performance of matching and sorting (n=162) (initialization): time 0.001482/0.8858, allocations: 1.198 MB / 0.7676 GB, free: 7.316 MB / 0.5263 GB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/0.8858, allocations: 6.812 kB / 0.7676 GB, free: 7.312 MB / 0.5263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.072e-06/0.8858, allocations: 0 / 0.7676 GB, free: 7.312 MB / 0.5263 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.8859, allocations: 11.98 kB / 0.7676 GB, free: 7.301 MB / 0.5263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001623/0.8875, allocations: 447.1 kB / 0.7681 GB, free: 6.875 MB / 0.5263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.17e-05/0.8875, allocations: 4 kB / 0.7681 GB, free: 6.871 MB / 0.5263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004055/0.8879, allocations: 121.9 kB / 0.7682 GB, free: 6.77 MB / 0.5263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.044e-05/0.888, allocations: 47.69 kB / 0.7682 GB, free: 6.734 MB / 0.5263 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 () * 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.0002089/0.8882, allocations: 208.5 kB / 0.7684 GB, free: 6.551 MB / 0.5263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.361e-05/0.8883, allocations: 35.62 kB / 0.7685 GB, free: 6.516 MB / 0.5263 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002213/0.8885, allocations: 92.27 kB / 0.7686 GB, free: 6.504 MB / 0.5263 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.943e-06/0.8885, allocations: 8 kB / 0.7686 GB, free: 6.496 MB / 0.5263 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.8885, allocations: 0 / 0.7686 GB, free: 6.496 MB / 0.5263 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.832e-06/0.8886, allocations: 3.984 kB / 0.7686 GB, free: 6.492 MB / 0.5263 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006674/0.8892, allocations: 0.6103 MB / 0.7692 GB, free: 5.926 MB / 0.5263 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.8892, allocations: 3.938 kB / 0.7692 GB, free: 5.922 MB / 0.5263 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002386/0.8916, allocations: 447.2 kB / 0.7696 GB, free: 5.496 MB / 0.5263 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.761e-06/0.8916, allocations: 4 kB / 0.7696 GB, free: 5.492 MB / 0.5263 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.134e-05/0.8917, allocations: 55.31 kB / 0.7697 GB, free: 5.449 MB / 0.5263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.479e-06/0.8917, allocations: 4 kB / 0.7697 GB, free: 5.445 MB / 0.5263 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.8918, allocations: 0 / 0.7697 GB, free: 5.445 MB / 0.5263 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001511/0.8933, allocations: 1.277 MB / 0.7709 GB, free: 4.434 MB / 0.5263 GB Notification: Performance of postOpt removeConstants (simulation): time 6.155e-05/0.8933, allocations: 117.1 kB / 0.771 GB, free: 4.301 MB / 0.5263 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001028/0.8935, allocations: 47.64 kB / 0.7711 GB, free: 4.266 MB / 0.5263 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004722/0.8939, allocations: 51.44 kB / 0.7711 GB, free: 4.227 MB / 0.5263 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001022/0.894, allocations: 48.52 kB / 0.7712 GB, free: 4.184 MB / 0.5263 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.016e-05/0.8941, allocations: 24.67 kB / 0.7712 GB, free: 4.164 MB / 0.5263 GB Notification: Performance of sorting global known variables: time 4.32e-05/0.8941, allocations: 95.03 kB / 0.7713 GB, free: 4.078 MB / 0.5263 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8941, allocations: 288 / 0.7713 GB, free: 4.078 MB / 0.5263 GB Notification: Performance of remove unused functions: time 0.0004564/0.8946, allocations: 238.8 kB / 0.7715 GB, free: 3.875 MB / 0.5263 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 () * 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.0018/0.8964, allocations: 1.879 MB / 0.7733 GB, free: 2.266 MB / 0.5263 GB Notification: Performance of simCode: created initialization part: time 0.001196/0.8976, allocations: 0.9577 MB / 0.7743 GB, free: 1.523 MB / 0.5263 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.8976, allocations: 3.938 kB / 0.7743 GB, free: 1.52 MB / 0.5263 GB Notification: Performance of simCode: created simulation system equations: time 0.0005258/0.8982, allocations: 451.5 kB / 0.7747 GB, free: 1.188 MB / 0.5263 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002137/0.8984, allocations: 17.45 kB / 0.7747 GB, free: 1.184 MB / 0.5263 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009596/0.908, allocations: 9.723 MB / 0.7842 GB, free: 8.219 MB / 0.5419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004056/0.9084, allocations: 0.9307 MB / 0.7851 GB, free: 7.27 MB / 0.5419 GB Notification: Performance of simCode: alias equations: time 0.0006537/0.9091, allocations: 320.5 kB / 0.7854 GB, free: 6.957 MB / 0.5419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002921/0.9094, allocations: 182.8 kB / 0.7856 GB, free: 6.902 MB / 0.5419 GB Notification: Performance of SimCode: time 1.012e-06/0.9094, allocations: 0 / 0.7856 GB, free: 6.902 MB / 0.5419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02157/0.931, allocations: 11.54 MB / 0.7969 GB, free: 11.59 MB / 0.5575 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002014/0.9312, allocations: 246 kB / 0.7971 GB, free: 11.34 MB / 0.5575 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.296/3.227, allocations: 0 / 0.7971 GB, free: 11.34 MB / 0.5575 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)