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.001174/0.001174, allocations: 100.8 kB / 16.5 MB, free: 6.695 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.001196/0.001196, allocations: 194 kB / 17.42 MB, free: 6.09 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.274/1.274, allocations: 222.9 MB / 241.1 MB, free: 13.66 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.7745/0.7745, allocations: 119.3 MB / 410.6 MB, free: 9.797 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001235/0.001235, allocations: 59.91 kB / 0.4904 GB, free: 14.12 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4283/0.4295, allocations: 80.68 MB / 0.5692 GB, free: 42.97 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_40_M_40): time 0.002769/0.4323, allocations: 2.438 MB / 0.5715 GB, free: 41.07 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0006808/0.433, allocations: 0.5325 MB / 0.5721 GB, free: 40.64 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.486e-05/0.4331, allocations: 7.125 kB / 0.5721 GB, free: 40.63 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0001404/0.4333, allocations: 35.11 kB / 0.5721 GB, free: 40.6 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.000117/0.4334, allocations: 46.98 kB / 0.5721 GB, free: 40.56 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001299/0.4335, allocations: 50.64 kB / 0.5722 GB, free: 40.52 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.6009/1.034, allocations: 197.5 MB / 0.7651 GB, free: 2.137 MB / 0.5923 GB Notification: Performance of NFFlatten.resolveConnections: time 0.1184/1.153, allocations: 78.91 MB / 0.8421 GB, free: 10.32 MB / 0.6235 GB Notification: Performance of NFEvalConstants.evaluate: time 0.07323/1.226, allocations: 62.17 MB / 0.9029 GB, free: 2.949 MB / 0.6392 GB Notification: Performance of NFSimplifyModel.simplify: time 0.1072/1.333, allocations: 71.64 MB / 0.9728 GB, free: 11.59 MB / 0.7173 GB Notification: Performance of NFPackage.collectConstants: time 0.03622/1.37, allocations: 9.383 MB / 0.982 GB, free: 2.207 MB / 0.7173 GB Notification: Performance of NFFlatten.collectFunctions: time 0.05081/1.421, allocations: 9.387 MB / 0.9911 GB, free: 8.816 MB / 0.7329 GB Notification: Performance of NFScalarize.scalarize: time 0.04675/1.467, allocations: 28.67 MB / 1.019 GB, free: 12.64 MB / 0.7642 GB Notification: Performance of NFVerifyModel.verify: time 0.7423/2.21, allocations: 73.99 MB / 1.091 GB, free: 75.65 MB / 0.7803 GB Notification: Performance of NFConvertDAE.convert: time 0.1871/2.397, allocations: 212.7 MB / 1.299 GB, free: 1.773 MB / 0.7959 GB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/2.397, allocations: 0.9062 kB / 1.299 GB, free: 1.773 MB / 0.7959 GB Notification: Performance of FrontEnd: time 1.733e-06/2.397, allocations: 0 / 1.299 GB, free: 1.773 MB / 0.7959 GB Notification: Performance of Transformations before backend: time 0.008092/2.405, allocations: 4 kB / 1.299 GB, free: 1.77 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.923/3.328, allocations: 204.2 MB / 1.499 GB, free: 96.7 MB / 0.8584 GB Notification: Performance of prepare preOptimizeDAE: time 4.903e-05/3.328, allocations: 8.031 kB / 1.499 GB, free: 96.7 MB / 0.8584 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0816/3.41, allocations: 18.23 MB / 1.516 GB, free: 78.44 MB / 0.8584 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07366/3.483, allocations: 15.82 MB / 1.532 GB, free: 62.45 MB / 0.8584 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2128/3.696, allocations: 82.48 MB / 1.612 GB, free: 11.62 MB / 0.8897 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.01041/3.707, allocations: 9.146 MB / 1.621 GB, free: 2.477 MB / 0.8897 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.04437/3.751, allocations: 11.85 MB / 1.633 GB, free: 6.621 MB / 0.9053 GB Notification: Performance of preOpt clockPartitioning (simulation): time 1.281/5.032, allocations: 203.1 MB / 1.831 GB, free: 223 MB / 1.016 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.005909/5.038, allocations: 1.156 kB / 1.831 GB, free: 223 MB / 1.016 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.05119/5.089, allocations: 5.533 MB / 1.837 GB, free: 218.8 MB / 1.016 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003043/5.092, allocations: 2.964 MB / 1.84 GB, free: 218.8 MB / 1.016 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3813/5.474, allocations: 207.3 MB / 2.042 GB, free: 88.89 MB / 1.016 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 2.23/7.704, allocations: 0.6023 GB / 2.644 GB, free: 184 MB / 1.047 GB Notification: Performance of preOpt comSubExp (simulation): time 0.3264/8.03, allocations: 191.5 MB / 2.831 GB, free: 100.1 MB / 1.047 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.1342/8.164, allocations: 84.47 MB / 2.914 GB, free: 15.61 MB / 1.047 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008244/8.173, allocations: 0.9648 MB / 2.915 GB, free: 14.64 MB / 1.047 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002644/8.175, allocations: 1.808 MB / 2.916 GB, free: 12.82 MB / 1.047 GB Notification: Performance of pre-optimization done (n=9720): time 0.0005565/8.176, allocations: 0 / 2.916 GB, free: 12.82 MB / 1.047 GB Notification: Performance of matching and sorting (n=9720): time 0.976/9.152, allocations: 241.4 MB / 3.152 GB, free: 204.8 MB / 1.063 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0007731/9.153, allocations: 1.019 MB / 3.153 GB, free: 203.8 MB / 1.063 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.245/9.398, allocations: 134.5 MB / 3.285 GB, free: 74.05 MB / 1.063 GB Notification: Performance of collectPreVariables (initialization): time 0.0209/9.419, allocations: 2.103 MB / 3.287 GB, free: 71.95 MB / 1.063 GB Notification: Performance of collectInitialEqns (initialization): time 0.5199/9.939, allocations: 60.38 MB / 3.346 GB, free: 230.6 MB / 1.063 GB Notification: Performance of collectInitialBindings (initialization): time 0.03928/9.978, allocations: 33.11 MB / 3.378 GB, free: 208.8 MB / 1.063 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.107/10.08, allocations: 21.73 MB / 3.399 GB, free: 207.7 MB / 1.063 GB Notification: Performance of setup shared object (initialization): time 4.478e-05/10.08, allocations: 304.8 kB / 3.399 GB, free: 207.4 MB / 1.063 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.128/10.21, allocations: 79.22 MB / 3.477 GB, free: 207.1 MB / 1.063 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1454/10.36, allocations: 96.37 MB / 3.571 GB, free: 153.4 MB / 1.063 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.657/12.02, allocations: 164.5 MB / 3.732 GB, free: 146.9 MB / 1.063 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0006509/12.02, allocations: 98.22 kB / 3.732 GB, free: 146.9 MB / 1.063 GB Notification: Performance of matching and sorting (n=14561) (initialization): time 0.5036/12.52, allocations: 264 MB / 3.99 GB, free: 101 MB / 1.063 GB Notification: Performance of prepare postOptimizeDAE: time 0.000798/12.52, allocations: 155.8 kB / 3.99 GB, free: 101 MB / 1.063 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008655/12.52, allocations: 349.6 kB / 3.99 GB, free: 101 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.000763/12.52, allocations: 0.6389 MB / 3.991 GB, free: 101 MB / 1.063 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0694/12.59, allocations: 18.43 MB / 4.009 GB, free: 84.61 MB / 1.063 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001393/12.59, allocations: 0.8645 MB / 4.009 GB, free: 83.75 MB / 1.063 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.1475/12.74, allocations: 28.5 MB / 4.037 GB, free: 55.78 MB / 1.063 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.02787/12.77, allocations: 3.598 MB / 4.041 GB, free: 52.18 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.1132/12.88, allocations: 48.7 MB / 4.088 GB, free: 3.422 MB / 1.063 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.05298/12.93, allocations: 11.13 MB / 4.099 GB, free: 8.168 MB / 1.078 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04723/12.98, allocations: 17.32 MB / 4.116 GB, free: 6.832 MB / 1.094 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0007163/12.98, allocations: 0.8906 MB / 4.117 GB, free: 5.941 MB / 1.094 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.5184/13.5, allocations: 0.8925 MB / 4.118 GB, free: 263 MB / 1.094 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001822/13.5, allocations: 457.8 kB / 4.118 GB, free: 263 MB / 1.094 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2668/13.77, allocations: 122.4 MB / 4.238 GB, free: 246.9 MB / 1.094 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0008274/13.77, allocations: 3.781 kB / 4.238 GB, free: 246.9 MB / 1.094 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02546/13.8, allocations: 7.727 MB / 4.245 GB, free: 246.4 MB / 1.094 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.000343/13.8, allocations: 105.6 kB / 4.245 GB, free: 246.4 MB / 1.094 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.01547/13.81, allocations: 1.486 MB / 4.247 GB, free: 245.2 MB / 1.094 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004001/13.81, allocations: 107.2 kB / 4.247 GB, free: 245.2 MB / 1.094 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/13.81, allocations: 0 / 4.247 GB, free: 245.2 MB / 1.094 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3676/14.18, allocations: 195.3 MB / 4.438 GB, free: 110.7 MB / 1.094 GB Notification: Performance of postOpt removeConstants (simulation): time 0.04659/14.23, allocations: 17.49 MB / 4.455 GB, free: 93.02 MB / 1.094 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.04439/14.27, allocations: 1.484 MB / 4.456 GB, free: 91.54 MB / 1.094 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.139/14.41, allocations: 35.24 MB / 4.491 GB, free: 56.25 MB / 1.094 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.02882/14.44, allocations: 9.868 MB / 4.5 GB, free: 46.36 MB / 1.094 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.02441/14.46, allocations: 2.77 MB / 4.503 GB, free: 43.59 MB / 1.094 GB Notification: Performance of sorting global known variables: time 0.7542/15.22, allocations: 92.83 MB / 4.594 GB, free: 224.2 MB / 1.094 GB Notification: Performance of sort global known variables: time 5.91e-07/15.22, allocations: 0 / 4.594 GB, free: 224.2 MB / 1.094 GB Notification: Performance of remove unused functions: time 0.1463/15.36, allocations: 42.82 MB / 4.635 GB, free: 220.1 MB / 1.094 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.411/15.78, allocations: 199.8 MB / 4.831 GB, free: 97.77 MB / 1.094 GB Notification: Performance of simCode: created initialization part: time 0.8046/16.58, allocations: 169.5 MB / 4.996 GB, free: 265.5 MB / 1.109 GB Notification: Performance of simCode: created event and clocks part: time 0.0003521/16.58, allocations: 228.4 kB / 4.996 GB, free: 265.4 MB / 1.109 GB Notification: Performance of simCode: created simulation system equations: time 0.1763/16.76, allocations: 77.36 MB / 5.072 GB, free: 249.3 MB / 1.109 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.2138/16.97, allocations: 29.61 MB / 5.101 GB, free: 239.2 MB / 1.109 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 40.83/57.8, allocations: 9.165 GB / 14.27 GB, free: 0.4989 GB / 1.547 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1938/57.99, allocations: 85.01 MB / 14.35 GB, free: 427.2 MB / 1.547 GB Notification: Performance of simCode: alias equations: time 0.1568/58.15, allocations: 54.75 MB / 14.4 GB, free: 372.4 MB / 1.547 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.7862/58.93, allocations: 56.88 MB / 14.46 GB, free: 0.5212 GB / 1.547 GB Notification: Performance of SimCode: time 8.92e-07/58.93, allocations: 0 / 14.46 GB, free: 0.5212 GB / 1.547 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 8.292/67.23, allocations: 2.748 GB / 17.21 GB, free: 260.4 MB / 1.547 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001907/67.23, allocations: 379.5 kB / 17.21 GB, free: 260.1 MB / 1.547 GB Notification: Performance of buildModelFMU: Generate platform static: time 80.61/147.8, allocations: 2.75 kB / 17.21 GB, free: 260.1 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)