Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10.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_10,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_TransmissionLine_ScaledExperiments_TransmissionLineEquations_N_10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_TransmissionLine_ScaledExperiments_TransmissionLineEquations_N_10",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.001047/0.001046, allocations: 94.14 kB / 16.3 MB, free: 5.996 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.0009229/0.000923, allocations: 178.4 kB / 17.2 MB, free: 5.914 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.388/1.388, allocations: 223.2 MB / 241.1 MB, free: 5.223 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8955/0.8955, allocations: 120.5 MB / 412.7 MB, free: 12.1 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000392/0.0003922, allocations: 11.98 kB / 0.4956 GB, free: 9.66 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1809/0.1813, allocations: 82.85 MB / 0.5765 GB, free: 6.68 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10): time 0.001329/0.1827, allocations: 1.03 MB / 0.5775 GB, free: 5.641 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002127/0.1829, allocations: 52.23 kB / 0.5775 GB, free: 5.59 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.935e-05/0.1829, allocations: 0 / 0.5775 GB, free: 5.59 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001204/0.1831, allocations: 11.97 kB / 0.5775 GB, free: 5.578 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.55e-05/0.1831, allocations: 15.92 kB / 0.5776 GB, free: 5.562 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001621/0.1833, allocations: 19.97 kB / 0.5776 GB, free: 5.543 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001838/0.1835, allocations: 131.7 kB / 0.5777 GB, free: 5.414 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.2e-05/0.1835, allocations: 7.938 kB / 0.5777 GB, free: 5.406 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.654e-05/0.1836, allocations: 63.89 kB / 0.5778 GB, free: 5.344 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000148/0.1838, allocations: 87.81 kB / 0.5779 GB, free: 5.258 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.978e-05/0.1838, allocations: 12 kB / 0.5779 GB, free: 5.246 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.6e-05/0.1838, allocations: 8 kB / 0.5779 GB, free: 5.238 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001018/0.184, allocations: 71.84 kB / 0.5779 GB, free: 5.168 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.961e-05/0.184, allocations: 53.64 kB / 0.578 GB, free: 5.109 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 9.908e-05/0.1841, allocations: 83.8 kB / 0.5781 GB, free: 5.027 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.003e-06/0.1841, allocations: 4 kB / 0.5781 GB, free: 5.023 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.1841, allocations: 0 / 0.5781 GB, free: 5.023 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.556e-06/0.1841, allocations: 0 / 0.5781 GB, free: 5.023 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: 31 * Number of variables: 31 Notification: Performance of Generate backend data structure: time 0.0009776/0.1851, allocations: 0.4988 MB / 0.5786 GB, free: 4.477 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.605e-05/0.1852, allocations: 19.95 kB / 0.5786 GB, free: 4.457 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.405e-05/0.1852, allocations: 46.52 kB / 0.5786 GB, free: 4.402 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.965e-05/0.1853, allocations: 11.91 kB / 0.5786 GB, free: 4.391 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002767/0.1856, allocations: 214.8 kB / 0.5788 GB, free: 4.141 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.216e-05/0.1856, allocations: 16 kB / 0.5789 GB, free: 4.125 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.599e-05/0.1857, allocations: 27.98 kB / 0.5789 GB, free: 4.098 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003173/0.186, allocations: 178.1 kB / 0.5791 GB, free: 3.918 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.186, allocations: 3.938 kB / 0.5791 GB, free: 3.914 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.912e-05/0.186, allocations: 4 kB / 0.5791 GB, free: 3.91 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.856e-06/0.1861, allocations: 11.95 kB / 0.5791 GB, free: 3.898 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002125/0.1863, allocations: 115.9 kB / 0.5792 GB, free: 3.785 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001169/0.1874, allocations: 0.6096 MB / 0.5798 GB, free: 3.121 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001763/0.1892, allocations: 0.577 MB / 0.5803 GB, free: 2.535 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.826e-05/0.1893, allocations: 192 / 0.5803 GB, free: 2.535 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.604e-05/0.1893, allocations: 38.75 kB / 0.5804 GB, free: 2.488 MB / 446.1 MB Notification: Performance of pre-optimization done (n=22): time 9.21e-07/0.1893, allocations: 0 / 0.5804 GB, free: 2.488 MB / 446.1 MB Notification: Performance of matching and sorting (n=22): time 0.0005997/0.1899, allocations: 319.8 kB / 0.5807 GB, free: 2.172 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.802e-05/0.1899, allocations: 51.41 kB / 0.5807 GB, free: 2.109 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.665e-05/0.19, allocations: 125.8 kB / 0.5809 GB, free: 1.977 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.874e-05/0.1901, allocations: 33.7 kB / 0.5809 GB, free: 1.938 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.822e-05/0.1901, allocations: 104.6 kB / 0.581 GB, free: 1.828 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.342e-05/0.1902, allocations: 98.56 kB / 0.5811 GB, free: 1.73 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.973e-05/0.1903, allocations: 4 kB / 0.5811 GB, free: 1.727 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001205/0.1904, allocations: 334.8 kB / 0.5814 GB, free: 1.391 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001714/0.1906, allocations: 115.9 kB / 0.5815 GB, free: 1.277 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00017/0.1907, allocations: 111.9 kB / 0.5816 GB, free: 1.168 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001914/0.1909, allocations: 136.2 kB / 0.5817 GB, free: 1.035 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.1909, allocations: 0 / 0.5817 GB, free: 1.035 MB / 446.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004534/0.1914, allocations: 329.1 kB / 0.5821 GB, free: 0.707 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.1914, allocations: 4 kB / 0.5821 GB, free: 0.7031 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.1914, allocations: 3.984 kB / 0.5821 GB, free: 0.6992 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/0.1915, allocations: 0 / 0.5821 GB, free: 0.6992 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004416/0.1919, allocations: 111.9 kB / 0.5822 GB, free: 0.5898 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.538e-06/0.1919, allocations: 0 / 0.5822 GB, free: 0.5898 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000132/0.1921, allocations: 39.67 kB / 0.5822 GB, free: 0.5508 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.713e-05/0.1921, allocations: 8 kB / 0.5822 GB, free: 0.543 MB / 446.1 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 (42): * Single equations (assignments): 42 * 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.0001203/0.1922, allocations: 141.7 kB / 0.5824 GB, free: 404 kB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.606e-05/0.1923, allocations: 11.91 kB / 0.5824 GB, free: 392 kB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.856e-05/0.1923, allocations: 24.84 kB / 0.5824 GB, free: 368 kB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.1923, allocations: 4 kB / 0.5824 GB, free: 364 kB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.1924, allocations: 0 / 0.5824 GB, free: 364 kB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.1924, allocations: 3.984 kB / 0.5824 GB, free: 360 kB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002957/0.1927, allocations: 285.3 kB / 0.5827 GB, free: 24 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.1927, allocations: 0 / 0.5827 GB, free: 24 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.6485/0.8412, allocations: 107.8 kB / 0.5828 GB, free: 16.44 MB / 446.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.21e-05/0.8413, allocations: 1.5 kB / 0.5828 GB, free: 16.44 MB / 446.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.748e-05/0.8414, allocations: 13.5 kB / 0.5828 GB, free: 16.44 MB / 446.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.043e-06/0.8414, allocations: 1.391 kB / 0.5828 GB, free: 16.44 MB / 446.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.8414, allocations: 0.6562 kB / 0.5828 GB, free: 16.44 MB / 446.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008295/0.8422, allocations: 431.5 kB / 0.5832 GB, free: 16.3 MB / 446.3 MB Notification: Performance of postOpt removeConstants (simulation): time 4.55e-05/0.8423, allocations: 94.92 kB / 0.5833 GB, free: 16.21 MB / 446.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.401e-05/0.8423, allocations: 12.23 kB / 0.5833 GB, free: 16.21 MB / 446.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001693/0.8425, allocations: 10.89 kB / 0.5833 GB, free: 16.21 MB / 446.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.394e-05/0.8426, allocations: 13.47 kB / 0.5833 GB, free: 16.21 MB / 446.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.176e-05/0.8426, allocations: 8.203 kB / 0.5833 GB, free: 16.21 MB / 446.3 MB Notification: Performance of sorting global known variables: time 5.861e-05/0.8427, allocations: 94.72 kB / 0.5834 GB, free: 16.14 MB / 446.3 MB Notification: Performance of sort global known variables: time 1.3e-07/0.8427, allocations: 0 / 0.5834 GB, free: 16.14 MB / 446.3 MB Notification: Performance of remove unused functions: time 0.0003344/0.843, allocations: 59.22 kB / 0.5835 GB, free: 16.14 MB / 446.3 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 20 (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],vol[1],vol[2],vol[3],vol[4],vol[5],vol[6],vol[7],vol[8],vol[9],vol[10],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 (22): * Single equations (assignments): 22 * 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.0008956/0.8439, allocations: 0.9656 MB / 0.5844 GB, free: 15.46 MB / 446.3 MB Notification: Performance of simCode: created initialization part: time 0.000525/0.8444, allocations: 255.4 kB / 0.5847 GB, free: 15.46 MB / 446.3 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.8445, allocations: 0 / 0.5847 GB, free: 15.46 MB / 446.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0002077/0.8447, allocations: 119.7 kB / 0.5848 GB, free: 15.46 MB / 446.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001965/0.8449, allocations: 13.33 kB / 0.5848 GB, free: 15.46 MB / 446.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003448/0.8483, allocations: 2.662 MB / 0.5874 GB, free: 14.08 MB / 446.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000246/0.8486, allocations: 0.7458 MB / 0.5881 GB, free: 13.38 MB / 446.3 MB Notification: Performance of simCode: alias equations: time 0.0002185/0.8488, allocations: 73.59 kB / 0.5882 GB, free: 13.38 MB / 446.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001154/0.8489, allocations: 49.98 kB / 0.5882 GB, free: 13.37 MB / 446.3 MB Notification: Performance of SimCode: time 3.71e-07/0.8489, allocations: 4 kB / 0.5882 GB, free: 13.37 MB / 446.3 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01701/0.866, allocations: 3.751 MB / 0.5919 GB, free: 13.13 MB / 446.3 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001752/0.8662, allocations: 234.4 kB / 0.5921 GB, free: 12.89 MB / 446.3 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.861/2.727, allocations: 0 / 0.5921 GB, free: 12.89 MB / 446.3 MB (rm -f ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Electrical_TransmissionLine_ScaledExperiments_TransmissionLineEquations_N_10_fmu --startTime=0 --stopTime=4e-06 --timeout=300 --tolerance=1e-08 ScalableTestSuite_ScalableTestSuite_Electrical_TransmissionLine_ScaledExperiments_TransmissionLineEquations_N_10.fmu > ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10.pipe 2>&1) Environment - environmentSimulation: