Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaActiveLoads_N_40_M_40.conf.json 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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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) Running command: "" <> buildModelFMU(ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaActiveLoads_N_40_M_40,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelicaActiveLoads_N_40_M_40",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaActiveLoads_N_40_M_40,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelicaActiveLoads_N_40_M_40",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001123/0.001123, allocations: 180.6 kB / 16.39 MB, free: 5.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.166/1.166, allocations: 223.2 MB / 240.3 MB, free: 11.9 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008905/0.0008908, allocations: 90.81 kB / 291.5 MB, free: 10.92 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.6402/0.6402, allocations: 120.5 MB / 463 MB, free: 8.734 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002886/0.0002887, allocations: 8 kB / 0.5434 GB, free: 42.3 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1282/0.1285, allocations: 82.86 MB / 0.6243 GB, free: 9.133 MB / 442.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5872/0.7158, allocations: 129 MB / 0.7503 GB, free: 4.914 MB / 0.5107 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001922/0.716, allocations: 74.23 kB / 0.7504 GB, free: 4.875 MB / 0.5107 GB Notification: Performance of FrontEnd - DAE generated: time 9.965/10.68, allocations: 2.713 GB / 3.463 GB, free: 71.97 MB / 0.9015 GB Notification: Performance of FrontEnd: time 4.088e-06/10.68, allocations: 0 / 3.463 GB, free: 71.97 MB / 0.9015 GB Notification: Performance of Transformations before backend: time 0.01858/10.7, allocations: 3.489 MB / 3.467 GB, free: 71.57 MB / 0.9015 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32969 * Number of variables: 32969 Notification: Performance of Generate backend data structure: time 1.718/12.42, allocations: 179.1 MB / 3.642 GB, free: 39.81 MB / 0.902 GB Notification: Performance of prepare preOptimizeDAE: time 4.748e-05/12.42, allocations: 9.375 kB / 3.642 GB, free: 39.81 MB / 0.902 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.06583/12.48, allocations: 18.54 MB / 3.66 GB, free: 38.93 MB / 0.902 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06687/12.55, allocations: 16.18 MB / 3.676 GB, free: 32.21 MB / 0.902 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2041/12.75, allocations: 81.77 MB / 3.755 GB, free: 18.27 MB / 0.902 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.01171/12.77, allocations: 9.328 MB / 3.765 GB, free: 18.01 MB / 0.902 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.04562/12.81, allocations: 12.14 MB / 3.776 GB, free: 18 MB / 0.902 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.554/13.37, allocations: 202.1 MB / 3.974 GB, free: 13.47 MB / 0.9801 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.005744/13.37, allocations: 2.484 kB / 3.974 GB, free: 13.47 MB / 0.9801 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.04493/13.42, allocations: 5.628 MB / 3.979 GB, free: 7.852 MB / 0.9801 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002325/13.42, allocations: 3.016 MB / 3.982 GB, free: 4.836 MB / 0.9801 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.562/14.98, allocations: 202.2 MB / 4.18 GB, free: 139.1 MB / 0.9967 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 1.965/16.95, allocations: 0.6195 GB / 4.799 GB, free: 16.56 MB / 1.044 GB Notification: Performance of preOpt comSubExp (simulation): time 1.028/17.98, allocations: 199.8 MB / 4.994 GB, free: 85.93 MB / 1.044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00716/17.98, allocations: 0.9799 MB / 4.995 GB, free: 85.85 MB / 1.044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002298/17.98, allocations: 1.828 MB / 4.997 GB, free: 84.71 MB / 1.044 GB Notification: Performance of pre-optimization done (n=9880): time 0.000498/17.99, allocations: 0 / 4.997 GB, free: 84.71 MB / 1.044 GB Notification: Performance of matching and sorting (n=9880): time 1.254/19.24, allocations: 249.8 MB / 5.241 GB, free: 116.9 MB / 1.044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005579/19.24, allocations: 1.033 MB / 5.242 GB, free: 116.8 MB / 1.044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.247/19.49, allocations: 124.9 MB / 5.364 GB, free: 113.4 MB / 1.044 GB Notification: Performance of collectPreVariables (initialization): time 0.02113/19.51, allocations: 2.136 MB / 5.366 GB, free: 113.4 MB / 1.044 GB Notification: Performance of collectInitialEqns (initialization): time 0.05725/19.56, allocations: 61.96 MB / 5.427 GB, free: 83.39 MB / 1.044 GB Notification: Performance of collectInitialBindings (initialization): time 0.04634/19.61, allocations: 33.74 MB / 5.46 GB, free: 57.4 MB / 1.044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.02406/19.64, allocations: 2.265 MB / 5.462 GB, free: 55.59 MB / 1.044 GB Notification: Performance of setup shared object (initialization): time 0.01544/19.65, allocations: 5.54 MB / 5.467 GB, free: 53.2 MB / 1.044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.1391/19.79, allocations: 81.17 MB / 5.546 GB, free: 35.74 MB / 1.044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.003/20.79, allocations: 99.69 MB / 5.644 GB, free: 115.3 MB / 1.044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1571/20.95, allocations: 98.03 MB / 5.74 GB, free: 114 MB / 1.044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0008621/20.95, allocations: 101.9 kB / 5.74 GB, free: 114 MB / 1.044 GB Notification: Performance of matching and sorting (n=14841) (initialization): time 1.245/22.2, allocations: 269.3 MB / 6.003 GB, free: 73.95 MB / 1.044 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005102/22.2, allocations: 156.3 kB / 6.003 GB, free: 73.95 MB / 1.044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0009884/22.2, allocations: 359.3 kB / 6.003 GB, free: 73.95 MB / 1.044 GB Notification: Tearing is skipped for strong component 1 because system size of 6519 exceeds maximum system size for tearing of linear systems (200). To adjust the maximum system size for tearing use --maxSizeLinearTearing= and --maxSizeNonlinearTearing=. Notification: Performance of postOpt tearingSystem (initialization): time 0.0009018/22.2, allocations: 0.7103 MB / 6.004 GB, free: 73.95 MB / 1.044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.07274/22.27, allocations: 19.37 MB / 6.023 GB, free: 73.03 MB / 1.044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001989/22.27, allocations: 0.8786 MB / 6.024 GB, free: 72.88 MB / 1.044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.1462/22.42, allocations: 29.32 MB / 6.052 GB, free: 69.32 MB / 1.044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.02276/22.44, allocations: 3.676 MB / 6.056 GB, free: 69.32 MB / 1.044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1642 * 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 (8323): * Single equations (assignments): 8322 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(6519,0.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0989/22.54, allocations: 49.63 MB / 6.104 GB, free: 68.05 MB / 1.044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.04338/22.58, allocations: 11.35 MB / 6.115 GB, free: 62.61 MB / 1.044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04521/22.63, allocations: 17.64 MB / 6.133 GB, free: 61.51 MB / 1.044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0007541/22.63, allocations: 0.9066 MB / 6.133 GB, free: 61.5 MB / 1.044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.003065/22.63, allocations: 0.8947 MB / 6.134 GB, free: 61.5 MB / 1.044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002227/22.64, allocations: 464.1 kB / 6.135 GB, free: 61.5 MB / 1.044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3231/22.96, allocations: 125.1 MB / 6.257 GB, free: 41.79 MB / 1.044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.001246/22.96, allocations: 4 kB / 6.257 GB, free: 41.78 MB / 1.044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.03086/22.99, allocations: 8.509 MB / 6.265 GB, free: 40.59 MB / 1.044 GB Notification: Tearing is skipped for strong component 2 because system size of 6519 exceeds maximum system size for tearing of linear systems (200). To adjust the maximum system size for tearing use --maxSizeLinearTearing= and --maxSizeNonlinearTearing=. Notification: Performance of postOpt tearingSystem (simulation): time 0.0005959/22.99, allocations: 104.9 kB / 6.265 GB, free: 40.59 MB / 1.044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.01776/23.01, allocations: 1.574 MB / 6.267 GB, free: 39.37 MB / 1.044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005168/23.01, allocations: 106.5 kB / 6.267 GB, free: 39.37 MB / 1.044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/23.01, allocations: 0 / 6.267 GB, free: 39.37 MB / 1.044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 1.381/24.39, allocations: 290.2 MB / 6.55 GB, free: 89.93 MB / 1.044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.06445/24.45, allocations: 17.76 MB / 6.568 GB, free: 84.97 MB / 1.044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.04249/24.5, allocations: 1.567 MB / 6.569 GB, free: 83.75 MB / 1.044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.1538/24.65, allocations: 37.61 MB / 6.606 GB, free: 79.72 MB / 1.044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.02719/24.68, allocations: 11.28 MB / 6.617 GB, free: 78.75 MB / 1.044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.02064/24.7, allocations: 2.816 MB / 6.62 GB, free: 77.95 MB / 1.044 GB Notification: Performance of sorting global known variables: time 0.1578/24.86, allocations: 93.62 MB / 6.711 GB, free: 54.37 MB / 1.044 GB Notification: Performance of sort global known variables: time 9.71e-07/24.86, allocations: 0 / 6.711 GB, free: 54.37 MB / 1.044 GB Notification: Performance of remove unused functions: time 0.8966/25.75, allocations: 43.57 MB / 6.754 GB, free: 97.05 MB / 1.044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 80 (activeLoad[1].firstOrder1.y,activeLoad[1].firstOrder2.y,activeLoad[2].firstOrder1.y,activeLoad[2].firstOrder2.y,activeLoad[3].firstOrder1.y,activeLoad[3].firstOrder2.y,activeLoad[4].firstOrder1.y,activeLoad[4].firstOrder2.y,activeLoad[5].firstOrder1.y,activeLoad[5].firstOrder2.y,activeLoad[6].firstOrder1.y,activeLoad[6].firstOrder2.y,activeLoad[7].firstOrder1.y,activeLoad[7].firstOrder2.y,activeLoad[8].firstOrder1.y,activeLoad[8].firstOrder2.y,activeLoad[9].firstOrder1.y,activeLoad[9].firstOrder2.y,activeLoad[10].firstOrder1.y,activeLoad[10].firstOrder2.y,activeLoad[11].firstOrder1.y,activeLoad[11].firstOrder2.y,activeLoad[12].firstOrder1.y,activeLoad[12].firstOrder2.y,activeLoad[13].firstOrder1.y,activeLoad[13].firstOrder2.y,activeLoad[14].firstOrder1.y,activeLoad[14].firstOrder2.y,activeLoad[15].firstOrder1.y,activeLoad[15].firstOrder2.y,activeLoad[16].firstOrder1.y,activeLoad[16].firstOrder2.y,activeLoad[17].firstOrder1.y,activeLoad[17].firstOrder2.y,activeLoad[18].firstOrder1.y,activeLoad[18].firstOrder2.y,activeLoad[19].firstOrder1.y,activeLoad[19].firstOrder2.y,activeLoad[20].firstOrder1.y,activeLoad[20].firstOrder2.y,activeLoad[21].firstOrder1.y,activeLoad[21].firstOrder2.y,activeLoad[22].firstOrder1.y,activeLoad[22].firstOrder2.y,activeLoad[23].firstOrder1.y,activeLoad[23].firstOrder2.y,activeLoad[24].firstOrder1.y,activeLoad[24].firstOrder2.y,activeLoad[25].firstOrder1.y,activeLoad[25].firstOrder2.y,activeLoad[26].firstOrder1.y,activeLoad[26].firstOrder2.y,activeLoad[27].firstOrder1.y,activeLoad[27].firstOrder2.y,activeLoad[28].firstOrder1.y,activeLoad[28].firstOrder2.y,activeLoad[29].firstOrder1.y,activeLoad[29].firstOrder2.y,activeLoad[30].firstOrder1.y,activeLoad[30].firstOrder2.y,activeLoad[31].firstOrder1.y,activeLoad[31].firstOrder2.y,activeLoad[32].firstOrder1.y,activeLoad[32].firstOrder2.y,activeLoad[33].firstOrder1.y,activeLoad[33].firstOrder2.y,activeLoad[34].firstOrder1.y,activeLoad[34].firstOrder2.y,activeLoad[35].firstOrder1.y,activeLoad[35].firstOrder2.y,activeLoad[36].firstOrder1.y,activeLoad[36].firstOrder2.y,activeLoad[37].firstOrder1.y,activeLoad[37].firstOrder2.y,activeLoad[38].firstOrder1.y,activeLoad[38].firstOrder2.y,activeLoad[39].firstOrder1.y,activeLoad[39].firstOrder2.y,activeLoad[40].firstOrder1.y,activeLoad[40].firstOrder2.y) * 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 (3362): * Single equations (assignments): 3361 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(6519,0.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.7775/26.53, allocations: 294.1 MB / 7.041 GB, free: 50.98 MB / 1.044 GB Notification: Performance of simCode: created initialization part: time 1.11/27.64, allocations: 177.9 MB / 7.215 GB, free: 112.2 MB / 1.044 GB Notification: Performance of simCode: created event and clocks part: time 0.0003942/27.64, allocations: 227.2 kB / 7.215 GB, free: 112.2 MB / 1.044 GB Notification: Performance of simCode: created simulation system equations: time 0.1865/27.83, allocations: 79.48 MB / 7.293 GB, free: 109.2 MB / 1.044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.1717/28, allocations: 28.98 MB / 7.321 GB, free: 108 MB / 1.044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 41.69/69.69, allocations: 5.275 GB / 12.6 GB, free: 269.3 MB / 1.434 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2119/69.9, allocations: 89.23 MB / 12.68 GB, free: 214.2 MB / 1.434 GB Notification: Performance of simCode: alias equations: time 0.174/70.08, allocations: 55.62 MB / 12.74 GB, free: 162.6 MB / 1.434 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.1279/70.21, allocations: 58.46 MB / 12.79 GB, free: 117.6 MB / 1.434 GB Notification: Performance of SimCode: time 1.092e-06/70.21, allocations: 0 / 12.79 GB, free: 117.6 MB / 1.434 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 9.132/79.34, allocations: 2.721 GB / 15.52 GB, free: 161.4 MB / 1.45 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001962/79.34, allocations: 361.3 kB / 15.52 GB, free: 161.1 MB / 1.45 GB Notification: Performance of buildModelFMU: Generate platform static: time 173.8/253.2, allocations: 2.75 kB / 15.52 GB, free: 161.1 MB / 1.45 GB (rm -f ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaActiveLoads_N_40_M_40.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaActiveLoads_N_40_M_40.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaActiveLoads_N_40_M_40.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaActiveLoads_N_40_M_40.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaActiveLoads_N_40_M_40_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelicaActiveLoads_N_40_M_40_fmu --startTime=0 --stopTime=3 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelicaActiveLoads_N_40_M_40.fmu > ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaActiveLoads_N_40_M_40.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaActiveLoads_N_40_M_40_res.mat does not exist to compare? outputFormat=mat