Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaActiveLoads_N_10_M_10.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_10_M_10,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelicaActiveLoads_N_10_M_10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaActiveLoads_N_10_M_10,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelicaActiveLoads_N_10_M_10",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.000972/0.0009719, allocations: 180.5 kB / 16.38 MB, free: 5.766 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.155/1.155, allocations: 223.2 MB / 240.3 MB, free: 10.17 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.0008614/0.0008618, allocations: 96.28 kB / 291.5 MB, free: 10.69 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.6561/0.6561, allocations: 120.5 MB / 463 MB, free: 8.715 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003353/0.0003353, allocations: 11.42 kB / 0.5434 GB, free: 42.29 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.13/0.1303, allocations: 82.86 MB / 0.6243 GB, free: 9.117 MB / 442.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5969/0.7273, allocations: 129 MB / 0.7503 GB, free: 4.871 MB / 0.5107 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001901/0.7275, allocations: 70.5 kB / 0.7504 GB, free: 4.84 MB / 0.5107 GB Notification: Performance of FrontEnd - DAE generated: time 0.3388/1.066, allocations: 152.5 MB / 0.8993 GB, free: 15.76 MB / 0.6513 GB Notification: Performance of FrontEnd: time 2.435e-06/1.066, allocations: 0 / 0.8993 GB, free: 15.76 MB / 0.6513 GB Notification: Performance of Transformations before backend: time 0.0006782/1.067, allocations: 247.9 kB / 0.8996 GB, free: 15.52 MB / 0.6513 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2249 * Number of variables: 2249 Notification: Performance of Generate backend data structure: time 0.02598/1.093, allocations: 12.1 MB / 0.9114 GB, free: 3.934 MB / 0.6513 GB Notification: Performance of prepare preOptimizeDAE: time 4.091e-05/1.093, allocations: 12.03 kB / 0.9114 GB, free: 3.922 MB / 0.6513 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002939/1.096, allocations: 1.283 MB / 0.9127 GB, free: 3.191 MB / 0.6513 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002918/1.099, allocations: 1.12 MB / 0.9138 GB, free: 2.059 MB / 0.6513 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01466/1.114, allocations: 5.731 MB / 0.9193 GB, free: 13.02 MB / 0.6669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005535/1.114, allocations: 0.6446 MB / 0.92 GB, free: 12.65 MB / 0.6669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002003/1.116, allocations: 0.8347 MB / 0.9208 GB, free: 12.09 MB / 0.6669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02587/1.142, allocations: 13.39 MB / 0.9339 GB, free: 1.879 MB / 0.6669 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000278/1.142, allocations: 3.953 kB / 0.9339 GB, free: 1.875 MB / 0.6669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001964/1.144, allocations: 387.4 kB / 0.9342 GB, free: 1.781 MB / 0.6669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001582/1.145, allocations: 212 kB / 0.9344 GB, free: 1.574 MB / 0.6669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02298/1.168, allocations: 13.82 MB / 0.9479 GB, free: 6.746 MB / 0.6825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5409/1.709, allocations: 42.13 MB / 0.9891 GB, free: 142.5 MB / 0.6828 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01456/1.723, allocations: 12.54 MB / 1.001 GB, free: 142.2 MB / 0.6828 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003693/1.724, allocations: 71.19 kB / 1.001 GB, free: 142.2 MB / 0.6828 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001103/1.724, allocations: 152.9 kB / 1.002 GB, free: 142.1 MB / 0.6828 GB Notification: Performance of pre-optimization done (n=670): time 7.665e-06/1.724, allocations: 0 / 1.002 GB, free: 142.1 MB / 0.6828 GB Notification: Performance of matching and sorting (n=670): time 0.02249/1.746, allocations: 17.06 MB / 1.018 GB, free: 141.1 MB / 0.6828 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.86e-05/1.746, allocations: 124.6 kB / 1.018 GB, free: 141 MB / 0.6828 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009295/1.756, allocations: 8.512 MB / 1.027 GB, free: 140.6 MB / 0.6828 GB Notification: Performance of collectPreVariables (initialization): time 0.0009907/1.757, allocations: 171.7 kB / 1.027 GB, free: 140.6 MB / 0.6828 GB Notification: Performance of collectInitialEqns (initialization): time 0.001976/1.759, allocations: 4.045 MB / 1.031 GB, free: 139.4 MB / 0.6828 GB Notification: Performance of collectInitialBindings (initialization): time 0.001626/1.76, allocations: 2.288 MB / 1.033 GB, free: 138.3 MB / 0.6828 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004645/1.761, allocations: 156.9 kB / 1.033 GB, free: 138.3 MB / 0.6828 GB Notification: Performance of setup shared object (initialization): time 0.0002671/1.761, allocations: 0.6538 MB / 1.034 GB, free: 138 MB / 0.6828 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005996/1.767, allocations: 5.659 MB / 1.039 GB, free: 136.8 MB / 0.6828 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00646/1.773, allocations: 6.812 MB / 1.046 GB, free: 134.5 MB / 0.6828 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006943/1.78, allocations: 6.756 MB / 1.053 GB, free: 132.8 MB / 0.6828 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.489e-05/1.78, allocations: 11.53 kB / 1.053 GB, free: 132.8 MB / 0.6828 GB Notification: Performance of matching and sorting (n=1011) (initialization): time 0.02263/1.803, allocations: 18.25 MB / 1.07 GB, free: 128 MB / 0.6828 GB Notification: Performance of prepare postOptimizeDAE: time 3.812e-05/1.803, allocations: 15.41 kB / 1.07 GB, free: 128 MB / 0.6828 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.943e-05/1.803, allocations: 26.78 kB / 1.07 GB, free: 128 MB / 0.6828 GB Notification: Tearing is skipped for strong component 1 because system size of 429 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 5.711e-05/1.803, allocations: 53.06 kB / 1.07 GB, free: 128 MB / 0.6828 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004177/1.807, allocations: 1.341 MB / 1.072 GB, free: 127.9 MB / 0.6828 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.42e-05/1.808, allocations: 61.45 kB / 1.072 GB, free: 127.9 MB / 0.6828 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007804/1.815, allocations: 1.794 MB / 1.074 GB, free: 127.4 MB / 0.6828 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008922/1.816, allocations: 258.7 kB / 1.074 GB, free: 127.3 MB / 0.6828 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 112 * 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 (583): * Single equations (assignments): 582 * 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 {(429,0.6%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005436/1.822, allocations: 3.463 MB / 1.077 GB, free: 124.8 MB / 0.6828 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002257/1.824, allocations: 0.7841 MB / 1.078 GB, free: 124 MB / 0.6828 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002562/1.827, allocations: 1.203 MB / 1.079 GB, free: 122.8 MB / 0.6828 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.605e-05/1.827, allocations: 64 kB / 1.079 GB, free: 122.8 MB / 0.6828 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001946/1.827, allocations: 63.75 kB / 1.079 GB, free: 122.7 MB / 0.6828 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.331e-05/1.827, allocations: 32.06 kB / 1.079 GB, free: 122.7 MB / 0.6828 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01362/1.841, allocations: 8.649 MB / 1.088 GB, free: 116.2 MB / 0.6828 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.991e-05/1.841, allocations: 0 / 1.088 GB, free: 116.2 MB / 0.6828 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00235/1.843, allocations: 0.6537 MB / 1.088 GB, free: 115.7 MB / 0.6828 GB Notification: Tearing is skipped for strong component 2 because system size of 429 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 2.214e-05/1.843, allocations: 8 kB / 1.088 GB, free: 115.7 MB / 0.6828 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003992/1.843, allocations: 130.8 kB / 1.089 GB, free: 115.6 MB / 0.6828 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.067e-06/1.843, allocations: 8 kB / 1.089 GB, free: 115.6 MB / 0.6828 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/1.843, allocations: 0 / 1.089 GB, free: 115.6 MB / 0.6828 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02291/1.866, allocations: 19.82 MB / 1.108 GB, free: 98.98 MB / 0.6828 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003612/1.87, allocations: 1.266 MB / 1.109 GB, free: 97.76 MB / 0.6828 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00113/1.871, allocations: 119.4 kB / 1.109 GB, free: 97.65 MB / 0.6828 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00758/1.879, allocations: 2.237 MB / 1.111 GB, free: 96.29 MB / 0.6828 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001363/1.88, allocations: 0.7764 MB / 1.112 GB, free: 95.89 MB / 0.6828 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000664/1.881, allocations: 192 kB / 1.112 GB, free: 95.7 MB / 0.6828 GB Notification: Performance of sorting global known variables: time 0.007066/1.888, allocations: 6.366 MB / 1.119 GB, free: 90.45 MB / 0.6828 GB Notification: Performance of sort global known variables: time 5.21e-07/1.888, allocations: 0 / 1.119 GB, free: 90.45 MB / 0.6828 GB Notification: Performance of remove unused functions: time 0.006281/1.894, allocations: 2.956 MB / 1.121 GB, free: 87.49 MB / 0.6828 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 20 (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) * 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 (242): * Single equations (assignments): 241 * 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 {(429,0.6%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02472/1.919, allocations: 20.64 MB / 1.142 GB, free: 70.07 MB / 0.6828 GB Notification: Performance of simCode: created initialization part: time 0.01903/1.938, allocations: 12.17 MB / 1.154 GB, free: 59.93 MB / 0.6828 GB Notification: Performance of simCode: created event and clocks part: time 1.521e-05/1.938, allocations: 18 kB / 1.154 GB, free: 59.92 MB / 0.6828 GB Notification: Performance of simCode: created simulation system equations: time 0.007819/1.946, allocations: 5.637 MB / 1.159 GB, free: 54.67 MB / 0.6828 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007717/1.954, allocations: 1.947 MB / 1.161 GB, free: 52.84 MB / 0.6828 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.387/2.341, allocations: 104.9 MB / 1.263 GB, free: 130.2 MB / 0.6828 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004095/2.345, allocations: 6.613 MB / 1.27 GB, free: 129.3 MB / 0.6828 GB Notification: Performance of simCode: alias equations: time 0.007044/2.352, allocations: 3.445 MB / 1.273 GB, free: 129.3 MB / 0.6828 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003229/2.355, allocations: 3.325 MB / 1.276 GB, free: 129.3 MB / 0.6828 GB Notification: Performance of SimCode: time 7.12e-07/2.355, allocations: 0 / 1.276 GB, free: 129.3 MB / 0.6828 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4848/2.84, allocations: 200.3 MB / 1.472 GB, free: 121.4 MB / 0.6984 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001387/2.84, allocations: 275 kB / 1.472 GB, free: 121 MB / 0.6984 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.551/9.391, allocations: 3.75 kB / 1.472 GB, free: 121 MB / 0.6984 GB (rm -f ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaActiveLoads_N_10_M_10.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaActiveLoads_N_10_M_10.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaActiveLoads_N_10_M_10.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaActiveLoads_N_10_M_10.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaActiveLoads_N_10_M_10_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelicaActiveLoads_N_10_M_10_fmu --startTime=0 --stopTime=3 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelicaActiveLoads_N_10_M_10.fmu > ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaActiveLoads_N_10_M_10.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaActiveLoads_N_10_M_10_res.mat does not exist to compare? outputFormat=mat