Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_40_M_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.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_40_M_40,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelica_N_40_M_40",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_40_M_40,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelica_N_40_M_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.0008953/0.0008954, allocations: 95.23 kB / 16.65 MB, free: 6.535 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.0009085/0.0009086, allocations: 175.4 kB / 17.56 MB, free: 6.18 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.312/1.312, allocations: 223.3 MB / 241.6 MB, free: 14.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9058/0.9058, allocations: 120.5 MB / 413.2 MB, free: 9.188 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002876/0.0002877, allocations: 11.98 kB / 0.495 GB, free: 11.38 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4916/0.4919, allocations: 82.84 MB / 0.5759 GB, free: 41.26 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_40_M_40): time 0.002049/0.494, allocations: 2.082 MB / 0.5779 GB, free: 39.62 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0007223/0.4947, allocations: 0.5226 MB / 0.5784 GB, free: 39.19 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001064/0.4948, allocations: 3.688 kB / 0.5784 GB, free: 39.19 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0001243/0.495, allocations: 35.2 kB / 0.5785 GB, free: 39.16 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0001081/0.4951, allocations: 57.94 kB / 0.5785 GB, free: 39.11 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.000131/0.4952, allocations: 46.45 kB / 0.5786 GB, free: 39.07 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.7315/1.227, allocations: 197.4 MB / 0.7713 GB, free: 2.137 MB / 0.5923 GB Notification: Performance of NFFlatten.resolveConnections: time 0.1224/1.349, allocations: 78.39 MB / 0.8479 GB, free: 10.53 MB / 0.6235 GB Notification: Performance of NFEvalConstants.evaluate: time 0.07632/1.426, allocations: 57.01 MB / 0.9036 GB, free: 3.297 MB / 0.6392 GB Notification: Performance of NFSimplifyModel.simplify: time 0.116/1.542, allocations: 65.22 MB / 0.9673 GB, free: 2.359 MB / 0.7017 GB Notification: Performance of NFPackage.collectConstants: time 0.04767/1.589, allocations: 7.613 MB / 0.9747 GB, free: 10.75 MB / 0.7173 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0489/1.638, allocations: 7.609 MB / 0.9821 GB, free: 3.137 MB / 0.7173 GB Notification: Performance of NFScalarize.scalarize: time 0.05125/1.69, allocations: 25.58 MB / 1.007 GB, free: 10.05 MB / 0.7485 GB Notification: Performance of NFVerifyModel.verify: time 0.8832/2.573, allocations: 70.32 MB / 1.076 GB, free: 70.95 MB / 0.7803 GB Notification: Performance of NFConvertDAE.convert: time 0.2147/2.787, allocations: 208.9 MB / 1.28 GB, free: 4.43 MB / 0.7959 GB Notification: Performance of FrontEnd - DAE generated: time 9.738e-06/2.788, allocations: 0 / 1.28 GB, free: 4.43 MB / 0.7959 GB Notification: Performance of FrontEnd: time 4.439e-06/2.788, allocations: 2.625 kB / 1.28 GB, free: 4.43 MB / 0.7959 GB Notification: Performance of Transformations before backend: time 0.01194/2.8, allocations: 0 / 1.28 GB, free: 4.43 MB / 0.7959 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32369 * Number of variables: 32369 Notification: Performance of Generate backend data structure: time 1.17/3.969, allocations: 177.5 MB / 1.453 GB, free: 188.1 MB / 0.8906 GB Notification: Performance of prepare preOptimizeDAE: time 5.043e-05/3.97, allocations: 12.03 kB / 1.453 GB, free: 188.1 MB / 0.8906 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.07174/4.041, allocations: 18.23 MB / 1.471 GB, free: 169.8 MB / 0.8906 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06562/4.107, allocations: 15.82 MB / 1.486 GB, free: 153.8 MB / 0.8906 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1797/4.287, allocations: 82.49 MB / 1.567 GB, free: 70.98 MB / 0.8906 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.009749/4.296, allocations: 9.138 MB / 1.576 GB, free: 61.84 MB / 0.8906 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.04537/4.342, allocations: 11.85 MB / 1.587 GB, free: 49.98 MB / 0.8906 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.92/5.262, allocations: 203.1 MB / 1.786 GB, free: 213.6 MB / 1.016 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.00681/5.269, allocations: 4.75 kB / 1.786 GB, free: 213.6 MB / 1.016 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0447/5.314, allocations: 5.533 MB / 1.791 GB, free: 211.7 MB / 1.016 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003833/5.317, allocations: 2.963 MB / 1.794 GB, free: 211.7 MB / 1.016 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3662/5.684, allocations: 207.3 MB / 1.997 GB, free: 135.9 MB / 1.016 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 2.561/8.245, allocations: 0.6098 GB / 2.606 GB, free: 201.5 MB / 1.047 GB Notification: Performance of preOpt comSubExp (simulation): time 0.3886/8.634, allocations: 191.5 MB / 2.793 GB, free: 125.3 MB / 1.047 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.16/8.794, allocations: 84.47 MB / 2.876 GB, free: 68.9 MB / 1.047 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008412/8.802, allocations: 0.9648 MB / 2.877 GB, free: 67.94 MB / 1.047 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002659/8.805, allocations: 1.816 MB / 2.879 GB, free: 66.11 MB / 1.047 GB Notification: Performance of pre-optimization done (n=9720): time 0.0006894/8.806, allocations: 0 / 2.879 GB, free: 66.11 MB / 1.047 GB Notification: Performance of matching and sorting (n=9720): time 1.111/9.917, allocations: 241.4 MB / 3.114 GB, free: 210 MB / 1.047 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001125/9.918, allocations: 1.014 MB / 3.115 GB, free: 209.9 MB / 1.047 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2868/10.21, allocations: 134.5 MB / 3.247 GB, free: 104.3 MB / 1.047 GB Notification: Performance of collectPreVariables (initialization): time 0.02216/10.23, allocations: 2.103 MB / 3.249 GB, free: 102.2 MB / 1.047 GB Notification: Performance of collectInitialEqns (initialization): time 0.06212/10.29, allocations: 60.38 MB / 3.308 GB, free: 42.77 MB / 1.047 GB Notification: Performance of collectInitialBindings (initialization): time 0.6329/10.92, allocations: 33.1 MB / 3.34 GB, free: 219.4 MB / 1.047 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.03995/10.96, allocations: 9.154 MB / 3.349 GB, free: 219.1 MB / 1.047 GB Notification: Performance of setup shared object (initialization): time 5.112e-05/10.96, allocations: 307.8 kB / 3.349 GB, free: 218.9 MB / 1.047 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.1425/11.1, allocations: 79.22 MB / 3.427 GB, free: 218.6 MB / 1.047 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1544/11.26, allocations: 96.38 MB / 3.521 GB, free: 189.6 MB / 1.047 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.302/12.56, allocations: 164.5 MB / 3.681 GB, free: 38.65 MB / 1.047 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.00093/12.56, allocations: 104 kB / 3.682 GB, free: 38.55 MB / 1.047 GB Notification: Performance of matching and sorting (n=14561) (initialization): time 1.202/13.76, allocations: 264.1 MB / 3.939 GB, free: 169 MB / 1.063 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005899/13.76, allocations: 158.5 kB / 3.94 GB, free: 168.9 MB / 1.063 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001567/13.77, allocations: 352 kB / 3.94 GB, free: 168.5 MB / 1.063 GB Notification: Tearing is skipped for strong component 1 because system size of 6479 exceeds maximum system size for tearing of linear systems (200). To adjust the maximum system size for tearing use --maxSizeLinearTearing=. Notification: Performance of postOpt tearingSystem (initialization): time 0.0008437/13.77, allocations: 0.6367 MB / 3.941 GB, free: 167.9 MB / 1.063 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.07449/13.84, allocations: 18.43 MB / 3.959 GB, free: 153 MB / 1.063 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001487/13.84, allocations: 0.858 MB / 3.959 GB, free: 152.2 MB / 1.063 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.1594/14, allocations: 28.5 MB / 3.987 GB, free: 131.7 MB / 1.063 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.02637/14.03, allocations: 3.602 MB / 3.991 GB, free: 128.1 MB / 1.063 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1602 * 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 (8083): * Single equations (assignments): 8082 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(6479,0.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.1167/14.15, allocations: 48.7 MB / 4.038 GB, free: 80.28 MB / 1.063 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.04997/14.2, allocations: 11.13 MB / 4.049 GB, free: 69.03 MB / 1.063 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05474/14.25, allocations: 17.31 MB / 4.066 GB, free: 51.7 MB / 1.063 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0005382/14.25, allocations: 0.8906 MB / 4.067 GB, free: 50.81 MB / 1.063 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.002648/14.25, allocations: 0.8945 MB / 4.068 GB, free: 49.91 MB / 1.063 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002367/14.26, allocations: 458.2 kB / 4.068 GB, free: 49.46 MB / 1.063 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.8998/15.16, allocations: 122.4 MB / 4.188 GB, free: 245 MB / 1.078 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0003998/15.16, allocations: 1.188 kB / 4.188 GB, free: 245 MB / 1.078 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02952/15.19, allocations: 7.74 MB / 4.195 GB, free: 244.5 MB / 1.078 GB Notification: Tearing is skipped for strong component 2 because system size of 6479 exceeds maximum system size for tearing of linear systems (200). To adjust the maximum system size for tearing use --maxSizeLinearTearing=. Notification: Performance of postOpt tearingSystem (simulation): time 0.0005204/15.19, allocations: 101.5 kB / 4.195 GB, free: 244.5 MB / 1.078 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0168/15.2, allocations: 1.486 MB / 4.197 GB, free: 243.3 MB / 1.078 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004533/15.2, allocations: 107.5 kB / 4.197 GB, free: 243.3 MB / 1.078 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/15.2, allocations: 3.75 kB / 4.197 GB, free: 243.3 MB / 1.078 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4156/15.62, allocations: 195.3 MB / 4.388 GB, free: 151.2 MB / 1.078 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0523/15.67, allocations: 17.5 MB / 4.405 GB, free: 135 MB / 1.078 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.04934/15.72, allocations: 1.488 MB / 4.406 GB, free: 133.5 MB / 1.078 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.1664/15.89, allocations: 36.93 MB / 4.442 GB, free: 96.57 MB / 1.078 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.02993/15.92, allocations: 9.866 MB / 4.452 GB, free: 86.69 MB / 1.078 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.02627/15.94, allocations: 2.774 MB / 4.455 GB, free: 83.92 MB / 1.078 GB Notification: Performance of sorting global known variables: time 0.6826/16.63, allocations: 92.84 MB / 4.545 GB, free: 185.8 MB / 1.078 GB Notification: Performance of sort global known variables: time 5.71e-07/16.63, allocations: 0 / 4.545 GB, free: 185.8 MB / 1.078 GB Notification: Performance of remove unused functions: time 0.1357/16.76, allocations: 42.81 MB / 4.587 GB, free: 183.8 MB / 1.078 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (3242): * Single equations (assignments): 3241 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(6479,0.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.3945/17.16, allocations: 199.8 MB / 4.782 GB, free: 128.3 MB / 1.078 GB Notification: Performance of simCode: created initialization part: time 0.7274/17.88, allocations: 169.5 MB / 4.948 GB, free: 246 MB / 1.109 GB Notification: Performance of simCode: created event and clocks part: time 0.0003733/17.88, allocations: 228.4 kB / 4.948 GB, free: 245.9 MB / 1.109 GB Notification: Performance of simCode: created simulation system equations: time 0.1416/18.03, allocations: 77.36 MB / 5.023 GB, free: 232.3 MB / 1.109 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.1818/18.21, allocations: 29.61 MB / 5.052 GB, free: 222.9 MB / 1.109 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 40.21/58.42, allocations: 9.168 GB / 14.22 GB, free: 0.5003 GB / 1.547 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2038/58.62, allocations: 85.01 MB / 14.3 GB, free: 428.7 MB / 1.547 GB Notification: Performance of simCode: alias equations: time 0.1694/58.79, allocations: 54.75 MB / 14.36 GB, free: 374.5 MB / 1.547 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.8404/59.63, allocations: 56.87 MB / 14.41 GB, free: 0.5338 GB / 1.547 GB Notification: Performance of SimCode: time 2.284e-06/59.63, allocations: 0.6562 kB / 14.41 GB, free: 0.5338 GB / 1.547 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 7.197/66.83, allocations: 2.721 GB / 17.13 GB, free: 252 MB / 1.547 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001974/66.83, allocations: 374.5 kB / 17.13 GB, free: 251.7 MB / 1.547 GB Notification: Performance of buildModelFMU: Generate platform static: time 76.48/143.3, allocations: 0 / 17.13 GB, free: 251.7 MB / 1.547 GB (rm -f ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_40_M_40.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_40_M_40.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_40_M_40.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_40_M_40.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_40_M_40_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelica_N_40_M_40_fmu --startTime=0 --stopTime=1 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelica_N_40_M_40.fmu > ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_40_M_40.pipe 2>&1)