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.001423/0.001423, allocations: 105.8 kB / 16.92 MB, free: 6.145 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.001534/0.001534, allocations: 187.4 kB / 17.85 MB, free: 5.285 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.282/1.282, allocations: 222.9 MB / 241.5 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8978/0.8978, allocations: 119.3 MB / 411 MB, free: 9.543 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.001249, allocations: 63.89 kB / 0.4911 GB, free: 13.61 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4914/0.4927, allocations: 80.68 MB / 0.5698 GB, free: 43.39 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_40_M_40): time 0.003103/0.4958, allocations: 2.401 MB / 0.5722 GB, free: 41.5 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0007046/0.4965, allocations: 0.536 MB / 0.5727 GB, free: 41.07 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.796e-05/0.4966, allocations: 7.125 kB / 0.5727 GB, free: 41.06 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0001359/0.4968, allocations: 35.33 kB / 0.5728 GB, free: 41.03 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0001079/0.4969, allocations: 66.22 kB / 0.5728 GB, free: 40.97 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001396/0.4971, allocations: 54.52 kB / 0.5729 GB, free: 40.93 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.7413/1.238, allocations: 204.8 MB / 0.7728 GB, free: 2.062 MB / 0.5923 GB Notification: Performance of NFFlatten.resolveConnections: time 0.1579/1.396, allocations: 92.04 MB / 0.8627 GB, free: 8.941 MB / 0.6235 GB Notification: Performance of NFEvalConstants.evaluate: time 0.1027/1.499, allocations: 81.37 MB / 0.9422 GB, free: 12.65 MB / 0.686 GB Notification: Performance of NFSimplifyModel.simplify: time 0.1565/1.656, allocations: 83.45 MB / 1.024 GB, free: 9.492 MB / 0.7642 GB Notification: Performance of NFPackage.collectConstants: time 0.06086/1.717, allocations: 14.23 MB / 1.038 GB, free: 11.26 MB / 0.7798 GB Notification: Performance of NFFlatten.collectFunctions: time 0.7294/2.446, allocations: 14.23 MB / 1.051 GB, free: 103.6 MB / 0.7803 GB Notification: Performance of NFScalarize.scalarize: time 0.0702/2.516, allocations: 38.33 MB / 1.089 GB, free: 103.6 MB / 0.7803 GB Notification: Performance of NFVerifyModel.verify: time 0.2005/2.717, allocations: 83.66 MB / 1.171 GB, free: 79.1 MB / 0.7803 GB Notification: Performance of NFConvertDAE.convert: time 0.7009/3.418, allocations: 222.9 MB / 1.388 GB, free: 45.56 MB / 0.7959 GB Notification: Performance of FrontEnd - DAE generated: time 7.644e-06/3.418, allocations: 0 / 1.388 GB, free: 45.56 MB / 0.7959 GB Notification: Performance of FrontEnd: time 2.685e-06/3.418, allocations: 3.344 kB / 1.388 GB, free: 45.56 MB / 0.7959 GB Notification: Performance of Transformations before backend: time 0.009874/3.428, allocations: 2.734 kB / 1.388 GB, free: 45.56 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 0.6158/4.044, allocations: 204.2 MB / 1.588 GB, free: 9.465 MB / 0.9053 GB Notification: Performance of prepare preOptimizeDAE: time 5.766e-05/4.044, allocations: 11.89 kB / 1.588 GB, free: 9.453 MB / 0.9053 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.09461/4.138, allocations: 18.23 MB / 1.605 GB, free: 15.3 MB / 0.9209 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09322/4.231, allocations: 15.82 MB / 1.621 GB, free: 15.3 MB / 0.9365 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2477/4.479, allocations: 82.48 MB / 1.701 GB, free: 1.969 MB / 0.999 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.01645/4.496, allocations: 9.134 MB / 1.71 GB, free: 8.828 MB / 1.015 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.49/4.986, allocations: 11.86 MB / 1.722 GB, free: 319.1 MB / 1.015 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5029/5.489, allocations: 203.1 MB / 1.92 GB, free: 220.5 MB / 1.015 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.005875/5.495, allocations: 0 / 1.92 GB, free: 220.5 MB / 1.015 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.06312/5.558, allocations: 5.539 MB / 1.926 GB, free: 214.9 MB / 1.015 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002308/5.56, allocations: 2.961 MB / 1.929 GB, free: 212 MB / 1.015 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3979/5.958, allocations: 207.3 MB / 2.131 GB, free: 4.523 MB / 1.015 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 2.458/8.416, allocations: 0.6023 GB / 2.733 GB, free: 118.3 MB / 1.015 GB Notification: Performance of preOpt comSubExp (simulation): time 0.3446/8.76, allocations: 191.5 MB / 2.92 GB, free: 492 kB / 1.015 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.6209/9.381, allocations: 84.48 MB / 3.003 GB, free: 243.3 MB / 1.03 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008076/9.39, allocations: 0.9655 MB / 3.004 GB, free: 243.3 MB / 1.03 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003011/9.393, allocations: 1.81 MB / 3.006 GB, free: 242.1 MB / 1.03 GB Notification: Performance of pre-optimization done (n=9720): time 0.0006708/9.393, allocations: 0 / 3.006 GB, free: 242.1 MB / 1.03 GB Notification: Performance of matching and sorting (n=9720): time 0.5586/9.952, allocations: 241.4 MB / 3.241 GB, free: 95.97 MB / 1.03 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000673/9.953, allocations: 1.015 MB / 3.242 GB, free: 94.95 MB / 1.03 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.777/10.73, allocations: 135 MB / 3.374 GB, free: 214 MB / 1.03 GB Notification: Performance of collectPreVariables (initialization): time 0.028/10.76, allocations: 2.104 MB / 3.376 GB, free: 213.6 MB / 1.03 GB Notification: Performance of collectInitialEqns (initialization): time 0.06673/10.82, allocations: 60.37 MB / 3.435 GB, free: 171.8 MB / 1.03 GB Notification: Performance of collectInitialBindings (initialization): time 0.04431/10.87, allocations: 33.11 MB / 3.467 GB, free: 145.5 MB / 1.03 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.1372/11.01, allocations: 21.73 MB / 3.489 GB, free: 136.9 MB / 1.03 GB Notification: Performance of setup shared object (initialization): time 5.036e-05/11.01, allocations: 310.8 kB / 3.489 GB, free: 136.6 MB / 1.03 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.1384/11.14, allocations: 79.21 MB / 3.566 GB, free: 119.6 MB / 1.03 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1544/11.3, allocations: 96.37 MB / 3.66 GB, free: 35.77 MB / 1.03 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.756/13.06, allocations: 164.5 MB / 3.821 GB, free: 149.8 MB / 1.03 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0006245/13.06, allocations: 100.8 kB / 3.821 GB, free: 149.8 MB / 1.03 GB Notification: Performance of matching and sorting (n=14561) (initialization): time 1.179/14.24, allocations: 264.1 MB / 4.079 GB, free: 130.5 MB / 1.046 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004491/14.24, allocations: 153.3 kB / 4.079 GB, free: 130.5 MB / 1.046 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008265/14.24, allocations: 351.1 kB / 4.08 GB, free: 130.5 MB / 1.046 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.0007644/14.24, allocations: 0.6392 MB / 4.08 GB, free: 130.5 MB / 1.046 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.07916/14.32, allocations: 18.43 MB / 4.098 GB, free: 130.5 MB / 1.046 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00184/14.32, allocations: 0.8535 MB / 4.099 GB, free: 130.5 MB / 1.046 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.1625/14.48, allocations: 28.5 MB / 4.127 GB, free: 125.2 MB / 1.046 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.03108/14.51, allocations: 3.602 MB / 4.13 GB, free: 125.2 MB / 1.046 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.1318/14.64, allocations: 48.7 MB / 4.178 GB, free: 124.5 MB / 1.046 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.06067/14.7, allocations: 11.12 MB / 4.189 GB, free: 119.5 MB / 1.046 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0473/14.75, allocations: 17.31 MB / 4.206 GB, free: 118.5 MB / 1.046 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0009661/14.75, allocations: 0.8878 MB / 4.207 GB, free: 118.5 MB / 1.046 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.003188/14.76, allocations: 0.8948 MB / 4.207 GB, free: 118.5 MB / 1.046 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002419/14.76, allocations: 459.7 kB / 4.208 GB, free: 118.4 MB / 1.046 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3255/15.08, allocations: 122.4 MB / 4.327 GB, free: 86.77 MB / 1.046 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0007566/15.08, allocations: 0 / 4.327 GB, free: 86.77 MB / 1.046 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02838/15.11, allocations: 7.733 MB / 4.335 GB, free: 85.67 MB / 1.046 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.0004977/15.11, allocations: 102.9 kB / 4.335 GB, free: 85.67 MB / 1.046 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.01924/15.13, allocations: 1.491 MB / 4.336 GB, free: 84.48 MB / 1.046 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004012/15.13, allocations: 99.69 kB / 4.337 GB, free: 84.48 MB / 1.046 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.594e-06/15.13, allocations: 0 / 4.337 GB, free: 84.48 MB / 1.046 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 1.107/16.24, allocations: 195.2 MB / 4.527 GB, free: 179 MB / 1.062 GB Notification: Performance of postOpt removeConstants (simulation): time 0.06049/16.3, allocations: 17.49 MB / 4.544 GB, free: 175.1 MB / 1.062 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.05818/16.36, allocations: 1.481 MB / 4.546 GB, free: 174.6 MB / 1.062 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.173/16.53, allocations: 35.26 MB / 4.58 GB, free: 167.7 MB / 1.062 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.03803/16.57, allocations: 9.867 MB / 4.59 GB, free: 167 MB / 1.062 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0296/16.6, allocations: 2.77 MB / 4.593 GB, free: 166.2 MB / 1.062 GB Notification: Performance of sorting global known variables: time 0.1995/16.8, allocations: 92.84 MB / 4.683 GB, free: 143.1 MB / 1.062 GB Notification: Performance of sort global known variables: time 8.41e-07/16.8, allocations: 0 / 4.683 GB, free: 143.1 MB / 1.062 GB Notification: Performance of remove unused functions: time 0.1712/16.97, allocations: 42.81 MB / 4.725 GB, free: 135.6 MB / 1.062 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 1.042/18.01, allocations: 199.8 MB / 4.92 GB, free: 154.9 MB / 1.062 GB Notification: Performance of simCode: created initialization part: time 15.78/33.79, allocations: 4.108 GB / 9.028 GB, free: 265.4 MB / 1.077 GB Notification: Performance of simCode: created event and clocks part: time 0.0001908/33.79, allocations: 228.3 kB / 9.028 GB, free: 265.2 MB / 1.077 GB Notification: Performance of simCode: created simulation system equations: time 0.1613/33.95, allocations: 77.35 MB / 9.104 GB, free: 200.9 MB / 1.077 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.215/34.17, allocations: 30.4 MB / 9.133 GB, free: 175.8 MB / 1.077 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 18.27/52.44, allocations: 9.144 GB / 18.28 GB, free: 0.9122 GB / 1.827 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2807/52.72, allocations: 85.01 MB / 18.36 GB, free: 0.9048 GB / 1.827 GB Notification: Performance of simCode: alias equations: time 0.1957/52.91, allocations: 54.85 MB / 18.41 GB, free: 0.8959 GB / 1.827 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.1702/53.08, allocations: 56.87 MB / 18.47 GB, free: 0.8481 GB / 1.827 GB Notification: Performance of SimCode: time 2.495e-06/53.08, allocations: 0 / 18.47 GB, free: 0.8481 GB / 1.827 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 8.603/61.69, allocations: 2.714 GB / 21.18 GB, free: 0.674 GB / 1.827 GB Notification: Performance of buildModelFMU: Generate platform static: time 96.63/158.3, allocations: 12.05 kB / 21.18 GB, free: 0.674 GB / 1.827 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)