Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaActiveLoads_N_28_M_28.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_28_M_28,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelicaActiveLoads_N_28_M_28",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaActiveLoads_N_28_M_28,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelicaActiveLoads_N_28_M_28",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.00114/0.00114, allocations: 181.4 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.175/1.175, allocations: 223.2 MB / 240.3 MB, free: 11.89 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.0008701/0.0008701, allocations: 93.42 kB / 291.5 MB, free: 10.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.6734/0.6734, allocations: 120.5 MB / 463 MB, free: 8.75 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000279/0.000279, allocations: 8 kB / 0.5434 GB, free: 42.29 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1218/0.1221, allocations: 82.85 MB / 0.6243 GB, free: 9.148 MB / 442.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6256/0.7478, allocations: 129 MB / 0.7503 GB, free: 5.188 MB / 0.5107 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001933/0.748, allocations: 66.44 kB / 0.7504 GB, free: 5.156 MB / 0.5107 GB Notification: Performance of FrontEnd - DAE generated: time 3.951/4.699, allocations: 1.183 GB / 1.934 GB, free: 36.14 MB / 0.7453 GB Notification: Performance of FrontEnd: time 3.076e-06/4.699, allocations: 0 / 1.934 GB, free: 36.14 MB / 0.7453 GB Notification: Performance of Transformations before backend: time 0.009315/4.708, allocations: 1.738 MB / 1.935 GB, free: 34.52 MB / 0.7453 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16361 * Number of variables: 16361 Notification: Performance of Generate backend data structure: time 0.2186/4.927, allocations: 88.66 MB / 2.022 GB, free: 0 / 0.7765 GB Notification: Performance of prepare preOptimizeDAE: time 9.805e-05/4.927, allocations: 13.91 kB / 2.022 GB, free: 0 / 0.7765 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.03056/4.957, allocations: 9.207 MB / 2.031 GB, free: 12.38 MB / 0.7921 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03089/4.988, allocations: 8.046 MB / 2.039 GB, free: 4.238 MB / 0.7921 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.8318/5.82, allocations: 40.65 MB / 2.079 GB, free: 59.91 MB / 0.7926 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.004847/5.825, allocations: 4.634 MB / 2.083 GB, free: 59.78 MB / 0.7926 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01825/5.843, allocations: 6.038 MB / 2.089 GB, free: 59.78 MB / 0.7926 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1986/6.042, allocations: 97.35 MB / 2.184 GB, free: 55.28 MB / 0.7926 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.003105/6.045, allocations: 0 / 2.184 GB, free: 55.28 MB / 0.7926 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.02079/6.066, allocations: 2.793 MB / 2.187 GB, free: 53.18 MB / 0.7926 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009379/6.067, allocations: 1.497 MB / 2.188 GB, free: 53.18 MB / 0.7926 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1644/6.231, allocations: 100.4 MB / 2.286 GB, free: 23.55 MB / 0.7926 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 1.037/7.268, allocations: 313.6 MB / 2.593 GB, free: 33.87 MB / 0.8239 GB Notification: Performance of preOpt comSubExp (simulation): time 0.6077/7.876, allocations: 96.04 MB / 2.686 GB, free: 64.4 MB / 0.8239 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003925/7.88, allocations: 498.1 kB / 2.687 GB, free: 64.36 MB / 0.8239 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001025/7.881, allocations: 0.9187 MB / 2.688 GB, free: 64.27 MB / 0.8239 GB Notification: Performance of pre-optimization done (n=4900): time 9.465e-05/7.881, allocations: 0 / 2.688 GB, free: 64.27 MB / 0.8239 GB Notification: Performance of matching and sorting (n=4900): time 0.2208/8.102, allocations: 122.8 MB / 2.808 GB, free: 52.49 MB / 0.8239 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000287/8.102, allocations: 0.5366 MB / 2.808 GB, free: 52.39 MB / 0.8239 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1047/8.207, allocations: 61.95 MB / 2.869 GB, free: 38.03 MB / 0.8239 GB Notification: Performance of collectPreVariables (initialization): time 0.009216/8.216, allocations: 1.073 MB / 2.87 GB, free: 37.3 MB / 0.8239 GB Notification: Performance of collectInitialEqns (initialization): time 0.02266/8.239, allocations: 30.22 MB / 2.899 GB, free: 14.4 MB / 0.8239 GB Notification: Performance of collectInitialBindings (initialization): time 0.01706/8.256, allocations: 16.72 MB / 2.915 GB, free: 1.527 MB / 0.8239 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.008659/8.265, allocations: 1.128 MB / 2.917 GB, free: 0.6289 MB / 0.8239 GB Notification: Performance of setup shared object (initialization): time 0.005782/8.27, allocations: 3.001 MB / 2.92 GB, free: 15.7 MB / 0.8395 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.06648/8.337, allocations: 41.47 MB / 2.96 GB, free: 7.766 MB / 0.8395 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.5582/8.895, allocations: 48.89 MB / 3.008 GB, free: 96.54 MB / 0.8395 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06742/8.963, allocations: 48.73 MB / 3.055 GB, free: 95.96 MB / 0.8395 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003356/8.963, allocations: 49.66 kB / 3.055 GB, free: 95.96 MB / 0.8395 GB Notification: Performance of matching and sorting (n=7365) (initialization): time 0.2319/9.195, allocations: 133.2 MB / 3.186 GB, free: 73.29 MB / 0.8395 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002011/9.195, allocations: 80 kB / 3.186 GB, free: 73.21 MB / 0.8395 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003472/9.195, allocations: 183 kB / 3.186 GB, free: 73.04 MB / 0.8395 GB Notification: Tearing is skipped for strong component 1 because system size of 3219 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.0003548/9.196, allocations: 359.7 kB / 3.186 GB, free: 72.69 MB / 0.8395 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03465/9.23, allocations: 9.649 MB / 3.196 GB, free: 65.48 MB / 0.8395 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000652/9.231, allocations: 447.8 kB / 3.196 GB, free: 65.08 MB / 0.8395 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.07941/9.311, allocations: 14.33 MB / 3.21 GB, free: 56.08 MB / 0.8395 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.01171/9.322, allocations: 1.824 MB / 3.212 GB, free: 54.26 MB / 0.8395 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 814 * 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 (4147): * Single equations (assignments): 4146 * 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 {(3219,0.1%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0466/9.369, allocations: 24.66 MB / 3.236 GB, free: 34.11 MB / 0.8395 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.02103/9.39, allocations: 5.64 MB / 3.241 GB, free: 28.41 MB / 0.8395 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02174/9.412, allocations: 8.748 MB / 3.25 GB, free: 20.22 MB / 0.8395 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000283/9.412, allocations: 463.3 kB / 3.25 GB, free: 19.77 MB / 0.8395 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.001406/9.414, allocations: 461.1 kB / 3.251 GB, free: 19.32 MB / 0.8395 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000755/9.414, allocations: 233.1 kB / 3.251 GB, free: 19.32 MB / 0.8395 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5982/10.01, allocations: 64.02 MB / 3.313 GB, free: 92.08 MB / 0.8395 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002078/10.01, allocations: 0 / 3.313 GB, free: 92.08 MB / 0.8395 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01518/10.03, allocations: 4.308 MB / 3.318 GB, free: 92.08 MB / 0.8395 GB Notification: Tearing is skipped for strong component 2 because system size of 3219 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.000207/10.03, allocations: 52.75 kB / 3.318 GB, free: 92.08 MB / 0.8395 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.006939/10.04, allocations: 0.793 MB / 3.319 GB, free: 92.08 MB / 0.8395 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001429/10.04, allocations: 53.47 kB / 3.319 GB, free: 92.08 MB / 0.8395 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.185e-06/10.04, allocations: 0 / 3.319 GB, free: 92.08 MB / 0.8395 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2775/10.31, allocations: 143.3 MB / 3.459 GB, free: 75.71 MB / 0.8395 GB Notification: Performance of postOpt removeConstants (simulation): time 0.03127/10.34, allocations: 8.829 MB / 3.467 GB, free: 72.19 MB / 0.8395 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.02105/10.37, allocations: 0.7905 MB / 3.468 GB, free: 71.58 MB / 0.8395 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.07518/10.44, allocations: 18.31 MB / 3.486 GB, free: 70.88 MB / 0.8395 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.01331/10.45, allocations: 5.637 MB / 3.491 GB, free: 70.51 MB / 0.8395 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.009395/10.46, allocations: 1.4 MB / 3.493 GB, free: 70.11 MB / 0.8395 GB Notification: Performance of sorting global known variables: time 0.07814/10.54, allocations: 46.4 MB / 3.538 GB, free: 40.97 MB / 0.8395 GB Notification: Performance of sort global known variables: time 5.11e-07/10.54, allocations: 0 / 3.538 GB, free: 40.97 MB / 0.8395 GB Notification: Performance of remove unused functions: time 0.06407/10.61, allocations: 21.61 MB / 3.559 GB, free: 19.32 MB / 0.8395 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 56 (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) * 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 (1682): * Single equations (assignments): 1681 * 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 {(3219,0.1%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.7545/11.36, allocations: 149.2 MB / 3.705 GB, free: 70.72 MB / 0.8395 GB Notification: Performance of simCode: created initialization part: time 0.144/11.5, allocations: 86.53 MB / 3.789 GB, free: 57.34 MB / 0.8395 GB Notification: Performance of simCode: created event and clocks part: time 7.736e-05/11.5, allocations: 112.6 kB / 3.789 GB, free: 57.32 MB / 0.8395 GB Notification: Performance of simCode: created simulation system equations: time 0.07253/11.58, allocations: 39.65 MB / 3.828 GB, free: 47.26 MB / 0.8395 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.07067/11.65, allocations: 14.35 MB / 3.842 GB, free: 42.43 MB / 0.8395 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 8.873/20.52, allocations: 1.608 GB / 5.45 GB, free: 329.8 MB / 1.152 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.07893/20.6, allocations: 44.31 MB / 5.493 GB, free: 302.2 MB / 1.152 GB Notification: Performance of simCode: alias equations: time 0.08091/20.68, allocations: 27.4 MB / 5.52 GB, free: 283.3 MB / 1.152 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.5946/21.27, allocations: 29.27 MB / 5.548 GB, free: 348.3 MB / 1.152 GB Notification: Performance of SimCode: time 1.733e-06/21.27, allocations: 0.5938 kB / 5.548 GB, free: 348.3 MB / 1.152 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.433/24.71, allocations: 1.35 GB / 6.898 GB, free: 130.6 MB / 1.152 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001735/24.71, allocations: 324.3 kB / 6.898 GB, free: 130.2 MB / 1.152 GB Notification: Performance of buildModelFMU: Generate platform static: time 71.01/95.72, allocations: 3.562 kB / 6.898 GB, free: 130.2 MB / 1.152 GB (rm -f ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaActiveLoads_N_28_M_28.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaActiveLoads_N_28_M_28.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaActiveLoads_N_28_M_28.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaActiveLoads_N_28_M_28.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaActiveLoads_N_28_M_28_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelicaActiveLoads_N_28_M_28_fmu --startTime=0 --stopTime=3 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelicaActiveLoads_N_28_M_28.fmu > ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaActiveLoads_N_28_M_28.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaActiveLoads_N_28_M_28_res.mat does not exist to compare? outputFormat=mat