Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaActiveLoads_N_14_M_14.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_14_M_14,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelicaActiveLoads_N_14_M_14",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaActiveLoads_N_14_M_14,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelicaActiveLoads_N_14_M_14",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.001253/0.001253, allocations: 177.1 kB / 13.64 MB, free: 1.672 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.257/1.257, allocations: 221.4 MB / 235.5 MB, free: 2.949 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009741/0.0009742, allocations: 98.33 kB / 286.5 MB, free: 244 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9405/0.9405, allocations: 120.5 MB / 457.9 MB, free: 7.059 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 3.018e-05/3.029e-05, allocations: 0 / 0.5358 GB, free: 12.11 MB / 426.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5758/0.5759, allocations: 82.83 MB / 0.6167 GB, free: 9.348 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1531/0.729, allocations: 128.9 MB / 0.7426 GB, free: 8.27 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000162/0.7292, allocations: 67.91 kB / 0.7427 GB, free: 8.203 MB / 0.5419 GB Notification: Performance of FrontEnd - DAE generated: time 1.689/2.419, allocations: 291.7 MB / 1.028 GB, free: 80.53 MB / 0.6671 GB Notification: Performance of FrontEnd: time 2.484e-06/2.419, allocations: 0 / 1.028 GB, free: 80.53 MB / 0.6671 GB Notification: Performance of Transformations before backend: time 0.002658/2.421, allocations: 465.3 kB / 1.028 GB, free: 80.48 MB / 0.6671 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4265 * Number of variables: 4265 Notification: Performance of Generate backend data structure: time 0.05326/2.475, allocations: 21.25 MB / 1.049 GB, free: 75.76 MB / 0.6671 GB Notification: Performance of prepare preOptimizeDAE: time 5.105e-05/2.475, allocations: 11.59 kB / 1.049 GB, free: 75.76 MB / 0.6671 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006887/2.482, allocations: 2.342 MB / 1.051 GB, free: 75.62 MB / 0.6671 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01029/2.492, allocations: 2.109 MB / 1.053 GB, free: 74.6 MB / 0.6671 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03197/2.524, allocations: 10.65 MB / 1.063 GB, free: 72.73 MB / 0.6671 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001388/2.525, allocations: 1.208 MB / 1.065 GB, free: 72.7 MB / 0.6671 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005173/2.531, allocations: 1.588 MB / 1.066 GB, free: 72.69 MB / 0.6671 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0538/2.584, allocations: 24.79 MB / 1.09 GB, free: 72.19 MB / 0.6671 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008617/2.585, allocations: 3.938 kB / 1.09 GB, free: 72.19 MB / 0.6671 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005082/2.59, allocations: 0.7323 MB / 1.091 GB, free: 72.18 MB / 0.6671 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003081/2.591, allocations: 401.9 kB / 1.092 GB, free: 72.18 MB / 0.6671 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04206/2.633, allocations: 25.24 MB / 1.116 GB, free: 72.04 MB / 0.6671 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1663/2.799, allocations: 80.54 MB / 1.195 GB, free: 25.96 MB / 0.6671 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03268/2.832, allocations: 23.51 MB / 1.218 GB, free: 5.23 MB / 0.6671 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02073/2.853, allocations: 11.08 MB / 1.229 GB, free: 12.57 MB / 0.6828 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001102/2.854, allocations: 130 kB / 1.229 GB, free: 12.44 MB / 0.6828 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003267/2.854, allocations: 267.7 kB / 1.229 GB, free: 12.17 MB / 0.6828 GB Notification: Performance of pre-optimization done (n=1274): time 3.924e-05/2.854, allocations: 0 / 1.229 GB, free: 12.17 MB / 0.6828 GB Notification: Performance of matching and sorting (n=1274): time 0.05659/2.911, allocations: 24.91 MB / 1.253 GB, free: 8.828 MB / 0.6984 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001483/2.911, allocations: 181.4 kB / 1.253 GB, free: 8.637 MB / 0.6984 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.4153/3.326, allocations: 16.51 MB / 1.27 GB, free: 99.49 MB / 0.6984 GB Notification: Performance of collectPreVariables (initialization): time 0.002376/3.329, allocations: 305 kB / 1.27 GB, free: 99.46 MB / 0.6984 GB Notification: Performance of collectInitialEqns (initialization): time 0.005008/3.334, allocations: 7.706 MB / 1.277 GB, free: 98.12 MB / 0.6984 GB Notification: Performance of collectInitialBindings (initialization): time 0.00389/3.338, allocations: 4.337 MB / 1.282 GB, free: 95.91 MB / 0.6984 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001437/3.339, allocations: 296.8 kB / 1.282 GB, free: 95.91 MB / 0.6984 GB Notification: Performance of setup shared object (initialization): time 0.0006492/3.34, allocations: 0.9783 MB / 1.283 GB, free: 95.57 MB / 0.6984 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01348/3.353, allocations: 10.23 MB / 1.293 GB, free: 95.54 MB / 0.6984 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01446/3.368, allocations: 12.44 MB / 1.305 GB, free: 93.71 MB / 0.6984 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01587/3.384, allocations: 12.38 MB / 1.317 GB, free: 93.5 MB / 0.6984 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001316/3.384, allocations: 14.59 kB / 1.317 GB, free: 93.5 MB / 0.6984 GB Notification: Performance of matching and sorting (n=1919) (initialization): time 0.05267/3.437, allocations: 33.82 MB / 1.35 GB, free: 91.45 MB / 0.6984 GB Notification: Performance of prepare postOptimizeDAE: time 6.587e-05/3.437, allocations: 22.56 kB / 1.35 GB, free: 91.45 MB / 0.6984 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.58e-05/3.437, allocations: 49.38 kB / 1.35 GB, free: 91.45 MB / 0.6984 GB Notification: Tearing is skipped for strong component 1 because system size of 825 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.0001102/3.437, allocations: 98.84 kB / 1.35 GB, free: 91.45 MB / 0.6984 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009446/3.446, allocations: 2.536 MB / 1.353 GB, free: 91.33 MB / 0.6984 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000161/3.447, allocations: 114.9 kB / 1.353 GB, free: 91.31 MB / 0.6984 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01842/3.465, allocations: 3.554 MB / 1.356 GB, free: 90.47 MB / 0.6984 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002352/3.467, allocations: 487.9 kB / 1.357 GB, free: 90.47 MB / 0.6984 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 212 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1095): * Single equations (assignments): 1094 * 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 {(825,0.3%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00388/3.471, allocations: 0.8463 MB / 1.358 GB, free: 90.21 MB / 0.6984 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004591/3.476, allocations: 1.48 MB / 1.359 GB, free: 89.5 MB / 0.6984 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005433/3.481, allocations: 2.283 MB / 1.361 GB, free: 89.34 MB / 0.6984 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.816e-05/3.481, allocations: 117.7 kB / 1.361 GB, free: 89.34 MB / 0.6984 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002715/3.482, allocations: 117.7 kB / 1.362 GB, free: 89.34 MB / 0.6984 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001892/3.482, allocations: 59.44 kB / 1.362 GB, free: 89.34 MB / 0.6984 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02624/3.508, allocations: 16.3 MB / 1.378 GB, free: 88.18 MB / 0.6984 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001062/3.508, allocations: 0 / 1.378 GB, free: 88.18 MB / 0.6984 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004433/3.513, allocations: 1.186 MB / 1.379 GB, free: 88.11 MB / 0.6984 GB Notification: Tearing is skipped for strong component 2 because system size of 825 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 6.744e-05/3.513, allocations: 19.55 kB / 1.379 GB, free: 88.11 MB / 0.6984 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001522/3.514, allocations: 228 kB / 1.379 GB, free: 87.95 MB / 0.6984 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.08e-05/3.514, allocations: 11.81 kB / 1.379 GB, free: 87.95 MB / 0.6984 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/3.514, allocations: 3.531 kB / 1.379 GB, free: 87.95 MB / 0.6984 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05321/3.568, allocations: 36.27 MB / 1.414 GB, free: 78.07 MB / 0.6984 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007316/3.575, allocations: 2.347 MB / 1.417 GB, free: 76.93 MB / 0.6984 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005078/3.58, allocations: 223.6 kB / 1.417 GB, free: 76.77 MB / 0.6984 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01957/3.6, allocations: 4.465 MB / 1.421 GB, free: 76.36 MB / 0.6984 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00316/3.603, allocations: 1.48 MB / 1.423 GB, free: 75.6 MB / 0.6984 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002022/3.605, allocations: 370.7 kB / 1.423 GB, free: 75.24 MB / 0.6984 GB Notification: Performance of sorting global known variables: time 0.01753/3.622, allocations: 11.88 MB / 1.435 GB, free: 64.9 MB / 0.6984 GB Notification: Performance of sort global known variables: time 4.31e-07/3.622, allocations: 0 / 1.435 GB, free: 64.9 MB / 0.6984 GB Notification: Performance of remove unused functions: time 0.01503/3.637, allocations: 5.625 MB / 1.44 GB, free: 59.27 MB / 0.6984 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 28 (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) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (450): * Single equations (assignments): 449 * 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 {(825,0.3%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.05936/3.697, allocations: 37.34 MB / 1.477 GB, free: 27.41 MB / 0.6984 GB Notification: Performance of simCode: created initialization part: time 0.03274/3.73, allocations: 21.9 MB / 1.498 GB, free: 8.461 MB / 0.6984 GB Notification: Performance of simCode: created event and clocks part: time 4.24e-05/3.73, allocations: 31.19 kB / 1.498 GB, free: 8.43 MB / 0.6984 GB Notification: Performance of simCode: created simulation system equations: time 0.01713/3.747, allocations: 10 MB / 1.508 GB, free: 15.88 MB / 0.714 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0201/3.767, allocations: 3.714 MB / 1.511 GB, free: 13.05 MB / 0.714 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4538/4.221, allocations: 42.65 MB / 1.553 GB, free: 103.5 MB / 0.714 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01304/4.234, allocations: 11.9 MB / 1.565 GB, free: 102.4 MB / 0.714 GB Notification: Performance of simCode: alias equations: time 0.01728/4.251, allocations: 6.661 MB / 1.571 GB, free: 102.3 MB / 0.714 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009902/4.261, allocations: 6.581 MB / 1.578 GB, free: 102.3 MB / 0.714 GB Notification: Performance of SimCode: time 1.753e-06/4.261, allocations: 3.688 kB / 1.578 GB, free: 102.3 MB / 0.714 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9152/5.176, allocations: 367.4 MB / 1.936 GB, free: 88.93 MB / 0.7296 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001934/5.177, allocations: 253.7 kB / 1.937 GB, free: 88.61 MB / 0.7296 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.43/17.6, allocations: 2.578 kB / 1.937 GB, free: 88.61 MB / 0.7296 GB (rm -f ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaActiveLoads_N_14_M_14.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaActiveLoads_N_14_M_14.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaActiveLoads_N_14_M_14.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaActiveLoads_N_14_M_14.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaActiveLoads_N_14_M_14_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelicaActiveLoads_N_14_M_14_fmu --startTime=0 --stopTime=3 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelicaActiveLoads_N_14_M_14.fmu > ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaActiveLoads_N_14_M_14.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaActiveLoads_N_14_M_14_res.mat does not exist to compare? outputFormat=mat