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.001177/0.001177, allocations: 111.6 kB / 16.63 MB, free: 6.953 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.001162/0.001162, allocations: 193.9 kB / 17.55 MB, free: 6.043 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.201/1.201, allocations: 222.9 MB / 241.2 MB, free: 15.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.82/0.82, allocations: 119.3 MB / 410.7 MB, free: 9.715 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001192/0.001192, allocations: 63.91 kB / 0.4905 GB, free: 13.98 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.464/0.4652, allocations: 80.69 MB / 0.5693 GB, free: 43.52 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_40_M_40): time 0.002913/0.4681, allocations: 2.447 MB / 0.5717 GB, free: 41.6 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0006653/0.4688, allocations: 0.5324 MB / 0.5723 GB, free: 41.17 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.123e-05/0.4689, allocations: 3.812 kB / 0.5723 GB, free: 41.17 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0001337/0.4691, allocations: 31.52 kB / 0.5723 GB, free: 41.14 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.000102/0.4692, allocations: 50.36 kB / 0.5723 GB, free: 41.1 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001274/0.4693, allocations: 50.3 kB / 0.5724 GB, free: 41.05 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.5924/1.062, allocations: 205.1 MB / 0.7727 GB, free: 2.121 MB / 0.5923 GB Notification: Performance of NFFlatten.resolveConnections: time 0.1237/1.186, allocations: 92.03 MB / 0.8625 GB, free: 9 MB / 0.6235 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0908/1.276, allocations: 81.66 MB / 0.9423 GB, free: 12.56 MB / 0.686 GB Notification: Performance of NFSimplifyModel.simplify: time 0.1097/1.386, allocations: 83.45 MB / 1.024 GB, free: 9.402 MB / 0.7642 GB Notification: Performance of NFPackage.collectConstants: time 0.04245/1.429, allocations: 14.23 MB / 1.038 GB, free: 11.17 MB / 0.7798 GB Notification: Performance of NFFlatten.collectFunctions: time 0.5476/1.976, allocations: 14.23 MB / 1.052 GB, free: 103.2 MB / 0.7803 GB Notification: Performance of NFScalarize.scalarize: time 0.05861/2.035, allocations: 38.34 MB / 1.089 GB, free: 103.2 MB / 0.7803 GB Notification: Performance of NFVerifyModel.verify: time 0.1303/2.165, allocations: 83.65 MB / 1.171 GB, free: 79.12 MB / 0.7803 GB Notification: Performance of NFConvertDAE.convert: time 0.7489/2.914, allocations: 222.9 MB / 1.388 GB, free: 46.3 MB / 0.7969 GB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/2.914, allocations: 0 / 1.388 GB, free: 46.3 MB / 0.7969 GB Notification: Performance of FrontEnd: time 1.703e-06/2.914, allocations: 3.938 kB / 1.388 GB, free: 46.3 MB / 0.7969 GB Notification: Performance of Transformations before backend: time 0.007913/2.922, allocations: 0 / 1.388 GB, free: 46.3 MB / 0.7969 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.4864/3.409, allocations: 204.2 MB / 1.588 GB, free: 10.21 MB / 0.9063 GB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/3.409, allocations: 15.89 kB / 1.588 GB, free: 10.2 MB / 0.9063 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.06652/3.475, allocations: 18.23 MB / 1.606 GB, free: 52 kB / 0.9063 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07052/3.546, allocations: 15.82 MB / 1.621 GB, free: 56 kB / 0.9219 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1835/3.729, allocations: 82.48 MB / 1.702 GB, free: 2.875 MB / 1 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.008923/3.738, allocations: 9.138 MB / 1.711 GB, free: 9.73 MB / 1.016 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.3588/4.097, allocations: 11.85 MB / 1.722 GB, free: 319.9 MB / 1.016 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4008/4.498, allocations: 203.1 MB / 1.92 GB, free: 222.6 MB / 1.016 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.004335/4.502, allocations: 0 / 1.92 GB, free: 222.6 MB / 1.016 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.04568/4.548, allocations: 5.535 MB / 1.926 GB, free: 217 MB / 1.016 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001601/4.549, allocations: 2.968 MB / 1.929 GB, free: 214.1 MB / 1.016 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3185/4.868, allocations: 207.3 MB / 2.131 GB, free: 6.613 MB / 1.016 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 1.975/6.843, allocations: 0.6023 GB / 2.733 GB, free: 118.5 MB / 1.016 GB Notification: Performance of preOpt comSubExp (simulation): time 0.3162/7.159, allocations: 191.5 MB / 2.92 GB, free: 6.199 MB / 1.016 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.5024/7.662, allocations: 84.47 MB / 3.003 GB, free: 242.6 MB / 1.031 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006213/7.668, allocations: 0.9652 MB / 3.004 GB, free: 242.5 MB / 1.031 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001504/7.67, allocations: 1.818 MB / 3.006 GB, free: 241.3 MB / 1.031 GB Notification: Performance of pre-optimization done (n=9720): time 0.0001463/7.67, allocations: 0 / 3.006 GB, free: 241.3 MB / 1.031 GB Notification: Performance of matching and sorting (n=9720): time 0.4283/8.098, allocations: 241.4 MB / 3.241 GB, free: 99.73 MB / 1.031 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005161/8.098, allocations: 1.015 MB / 3.242 GB, free: 98.7 MB / 1.031 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.6413/8.74, allocations: 135 MB / 3.374 GB, free: 212.1 MB / 1.031 GB Notification: Performance of collectPreVariables (initialization): time 0.01984/8.76, allocations: 2.101 MB / 3.376 GB, free: 212.1 MB / 1.031 GB Notification: Performance of collectInitialEqns (initialization): time 0.05102/8.811, allocations: 60.37 MB / 3.435 GB, free: 169 MB / 1.031 GB Notification: Performance of collectInitialBindings (initialization): time 0.03393/8.845, allocations: 33.1 MB / 3.468 GB, free: 142.7 MB / 1.031 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.09628/8.941, allocations: 21.73 MB / 3.489 GB, free: 134.1 MB / 1.031 GB Notification: Performance of setup shared object (initialization): time 4.24e-05/8.941, allocations: 311.3 kB / 3.489 GB, free: 133.8 MB / 1.031 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.119/9.06, allocations: 79.21 MB / 3.566 GB, free: 116.8 MB / 1.031 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1244/9.184, allocations: 96.37 MB / 3.661 GB, free: 39.32 MB / 1.031 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.567/10.75, allocations: 164.5 MB / 3.821 GB, free: 153.4 MB / 1.031 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0006431/10.75, allocations: 101.8 kB / 3.821 GB, free: 153.4 MB / 1.031 GB Notification: Performance of matching and sorting (n=14561) (initialization): time 0.9285/11.68, allocations: 264.4 MB / 4.08 GB, free: 150.7 MB / 1.047 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003564/11.68, allocations: 154.8 kB / 4.08 GB, free: 150.7 MB / 1.047 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006771/11.68, allocations: 347.8 kB / 4.08 GB, free: 150.7 MB / 1.047 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.0006621/11.68, allocations: 0.6423 MB / 4.081 GB, free: 150.7 MB / 1.047 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0681/11.75, allocations: 18.43 MB / 4.099 GB, free: 150.7 MB / 1.047 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001215/11.75, allocations: 0.8563 MB / 4.099 GB, free: 150.7 MB / 1.047 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.1405/11.89, allocations: 28.5 MB / 4.127 GB, free: 144 MB / 1.047 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.02726/11.92, allocations: 3.602 MB / 4.131 GB, free: 144 MB / 1.047 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.1137/12.03, allocations: 48.69 MB / 4.178 GB, free: 143.5 MB / 1.047 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.05367/12.09, allocations: 11.13 MB / 4.189 GB, free: 138.1 MB / 1.047 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0411/12.13, allocations: 17.31 MB / 4.206 GB, free: 137.1 MB / 1.047 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0006019/12.13, allocations: 0.8911 MB / 4.207 GB, free: 137.1 MB / 1.047 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.002488/12.13, allocations: 0.8914 MB / 4.208 GB, free: 137.1 MB / 1.047 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001573/12.13, allocations: 453.9 kB / 4.208 GB, free: 137.1 MB / 1.047 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2365/12.37, allocations: 122.4 MB / 4.328 GB, free: 105.7 MB / 1.047 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0007199/12.37, allocations: 0 / 4.328 GB, free: 105.7 MB / 1.047 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02566/12.4, allocations: 7.736 MB / 4.335 GB, free: 104.6 MB / 1.047 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.0003392/12.4, allocations: 106.3 kB / 4.336 GB, free: 104.6 MB / 1.047 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.01635/12.41, allocations: 1.481 MB / 4.337 GB, free: 103.4 MB / 1.047 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003199/12.41, allocations: 100.2 kB / 4.337 GB, free: 103.4 MB / 1.047 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/12.41, allocations: 0 / 4.337 GB, free: 103.4 MB / 1.047 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.813/13.23, allocations: 195.3 MB / 4.528 GB, free: 180.5 MB / 1.063 GB Notification: Performance of postOpt removeConstants (simulation): time 0.04694/13.27, allocations: 17.5 MB / 4.545 GB, free: 177.3 MB / 1.063 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.04363/13.32, allocations: 1.487 MB / 4.546 GB, free: 177.3 MB / 1.063 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.1448/13.46, allocations: 35.25 MB / 4.581 GB, free: 171.1 MB / 1.063 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0301/13.49, allocations: 9.87 MB / 4.59 GB, free: 170.4 MB / 1.063 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.02346/13.52, allocations: 2.767 MB / 4.593 GB, free: 169.6 MB / 1.063 GB Notification: Performance of sorting global known variables: time 0.163/13.68, allocations: 92.84 MB / 4.684 GB, free: 146.5 MB / 1.063 GB Notification: Performance of sort global known variables: time 1.032e-06/13.68, allocations: 2.297 kB / 4.684 GB, free: 146.5 MB / 1.063 GB Notification: Performance of remove unused functions: time 0.1454/13.82, allocations: 42.81 MB / 4.726 GB, free: 139 MB / 1.063 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.855/14.68, allocations: 199.8 MB / 4.921 GB, free: 155.5 MB / 1.063 GB Notification: Performance of simCode: created initialization part: time 9.385/24.06, allocations: 4.111 GB / 9.031 GB, free: 282.1 MB / 1.078 GB Notification: Performance of simCode: created event and clocks part: time 0.0002413/24.06, allocations: 227 kB / 9.032 GB, free: 282.1 MB / 1.078 GB Notification: Performance of simCode: created simulation system equations: time 0.1484/24.21, allocations: 77.35 MB / 9.107 GB, free: 225.4 MB / 1.078 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.2192/24.43, allocations: 30.4 MB / 9.137 GB, free: 200.4 MB / 1.078 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 34.88/59.31, allocations: 9.181 GB / 18.32 GB, free: 0.6435 GB / 1.609 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1639/59.47, allocations: 85 MB / 18.4 GB, free: 0.5793 GB / 1.609 GB Notification: Performance of simCode: alias equations: time 0.6312/60.11, allocations: 54.85 MB / 18.45 GB, free: 0.6836 GB / 1.609 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.102/60.21, allocations: 56.87 MB / 18.51 GB, free: 0.6478 GB / 1.609 GB Notification: Performance of SimCode: time 1.072e-06/60.21, allocations: 0 / 18.51 GB, free: 0.6478 GB / 1.609 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 6.518/66.73, allocations: 2.812 GB / 21.32 GB, free: 0.5522 GB / 1.609 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002073/66.73, allocations: 380.8 kB / 21.32 GB, free: 0.5518 GB / 1.609 GB Notification: Performance of buildModelFMU: Generate platform static: time 72.67/139.4, allocations: 0 / 21.32 GB, free: 0.5518 GB / 1.609 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)