Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaActiveLoads_N_20_M_20.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_20_M_20,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelicaActiveLoads_N_20_M_20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaActiveLoads_N_20_M_20,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelicaActiveLoads_N_20_M_20",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.0009909/0.0009911, allocations: 175.5 kB / 13.63 MB, free: 1.684 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.251/1.251, allocations: 221.3 MB / 235.5 MB, free: 2.973 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.001023/0.001023, allocations: 93.98 kB / 286.5 MB, free: 248 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9098/0.9098, allocations: 120.5 MB / 457.9 MB, free: 7.051 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 3.415e-05/3.431e-05, allocations: 7.984 kB / 0.5358 GB, free: 12.11 MB / 426.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5387/0.5387, allocations: 82.82 MB / 0.6167 GB, free: 9.344 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1412/0.68, allocations: 128.9 MB / 0.7426 GB, free: 8.266 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001712/0.6802, allocations: 71.78 kB / 0.7427 GB, free: 8.199 MB / 0.5419 GB Notification: Performance of FrontEnd - DAE generated: time 2.595/3.276, allocations: 0.5819 GB / 1.325 GB, free: 49.54 MB / 0.6984 GB Notification: Performance of FrontEnd: time 2.625e-06/3.276, allocations: 0 / 1.325 GB, free: 49.54 MB / 0.6984 GB Notification: Performance of Transformations before backend: time 0.005067/3.281, allocations: 0.9063 MB / 1.325 GB, free: 49.44 MB / 0.6984 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8489 * Number of variables: 8489 Notification: Performance of Generate backend data structure: time 0.1084/3.389, allocations: 42.5 MB / 1.367 GB, free: 38.96 MB / 0.6984 GB Notification: Performance of prepare preOptimizeDAE: time 4.759e-05/3.389, allocations: 11.56 kB / 1.367 GB, free: 38.96 MB / 0.6984 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01479/3.404, allocations: 4.631 MB / 1.371 GB, free: 38.71 MB / 0.6984 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01947/3.424, allocations: 4.187 MB / 1.376 GB, free: 36.69 MB / 0.6984 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06195/3.486, allocations: 21.03 MB / 1.396 GB, free: 33.04 MB / 0.6984 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002602/3.488, allocations: 2.409 MB / 1.398 GB, free: 32.98 MB / 0.6984 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01032/3.499, allocations: 3.137 MB / 1.402 GB, free: 32.97 MB / 0.6984 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1073/3.606, allocations: 49.51 MB / 1.45 GB, free: 28.39 MB / 0.6984 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001529/3.607, allocations: 3.391 kB / 1.45 GB, free: 28.39 MB / 0.6984 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01014/3.618, allocations: 1.455 MB / 1.451 GB, free: 28.02 MB / 0.6984 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006179/3.618, allocations: 0.7773 MB / 1.452 GB, free: 27.24 MB / 0.6984 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.153/3.771, allocations: 56.06 MB / 1.507 GB, free: 0 / 0.6984 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7482/4.52, allocations: 161.7 MB / 1.665 GB, free: 32.14 MB / 0.7296 GB Notification: Performance of preOpt comSubExp (simulation): time 0.08106/4.601, allocations: 47.79 MB / 1.711 GB, free: 25.75 MB / 0.7296 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.03719/4.638, allocations: 21.45 MB / 1.732 GB, free: 19.73 MB / 0.7296 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002667/4.641, allocations: 257.2 kB / 1.733 GB, free: 19.71 MB / 0.7296 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000779/4.641, allocations: 0.4888 MB / 1.733 GB, free: 19.39 MB / 0.7296 GB Notification: Performance of pre-optimization done (n=2540): time 0.0001381/4.642, allocations: 3.688 kB / 1.733 GB, free: 19.39 MB / 0.7296 GB Notification: Performance of matching and sorting (n=2540): time 0.1546/4.796, allocations: 51.53 MB / 1.783 GB, free: 11.32 MB / 0.7453 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003594/4.797, allocations: 314.6 kB / 1.784 GB, free: 11 MB / 0.7453 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.758/5.555, allocations: 35.54 MB / 1.818 GB, free: 82.74 MB / 0.7453 GB Notification: Performance of collectPreVariables (initialization): time 0.006568/5.561, allocations: 0.5703 MB / 1.819 GB, free: 82.71 MB / 0.7453 GB Notification: Performance of collectInitialEqns (initialization): time 0.01631/5.578, allocations: 15.46 MB / 1.834 GB, free: 79.06 MB / 0.7453 GB Notification: Performance of collectInitialBindings (initialization): time 0.01165/5.589, allocations: 8.635 MB / 1.843 GB, free: 73.6 MB / 0.7453 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004911/5.594, allocations: 0.5826 MB / 1.843 GB, free: 73.6 MB / 0.7453 GB Notification: Performance of setup shared object (initialization): time 6.546e-05/5.594, allocations: 308 kB / 1.843 GB, free: 73.3 MB / 0.7453 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03456/5.629, allocations: 20.41 MB / 1.863 GB, free: 73.24 MB / 0.7453 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.04023/5.669, allocations: 24.78 MB / 1.887 GB, free: 69.59 MB / 0.7453 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04044/5.71, allocations: 24.75 MB / 1.912 GB, free: 69.23 MB / 0.7453 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002696/5.71, allocations: 29.03 kB / 1.912 GB, free: 69.23 MB / 0.7453 GB Notification: Performance of matching and sorting (n=3821) (initialization): time 0.1481/5.858, allocations: 67.74 MB / 1.978 GB, free: 60.23 MB / 0.7453 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002817/5.858, allocations: 45.28 kB / 1.978 GB, free: 60.23 MB / 0.7453 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002774/5.859, allocations: 91.16 kB / 1.978 GB, free: 60.23 MB / 0.7453 GB Notification: Tearing is skipped for strong component 1 because system size of 1659 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.0003777/5.859, allocations: 193.9 kB / 1.978 GB, free: 60.23 MB / 0.7453 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02202/5.881, allocations: 5.024 MB / 1.983 GB, free: 59.85 MB / 0.7453 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004982/5.882, allocations: 230.2 kB / 1.983 GB, free: 59.81 MB / 0.7453 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.05201/5.934, allocations: 7.283 MB / 1.99 GB, free: 57.6 MB / 0.7453 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.009011/5.943, allocations: 0.9464 MB / 1.991 GB, free: 57.37 MB / 0.7453 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 422 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2163): * Single equations (assignments): 2162 * 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 {(1659,0.2%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01622/5.959, allocations: 1.58 MB / 1.993 GB, free: 56.11 MB / 0.7453 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01648/5.976, allocations: 2.933 MB / 1.996 GB, free: 54.7 MB / 0.7453 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.014/5.99, allocations: 4.536 MB / 2 GB, free: 51.8 MB / 0.7453 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002041/5.99, allocations: 239.5 kB / 2 GB, free: 51.8 MB / 0.7453 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0005325/5.99, allocations: 232.7 kB / 2.001 GB, free: 51.8 MB / 0.7453 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000666/5.991, allocations: 121.5 kB / 2.001 GB, free: 51.8 MB / 0.7453 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08107/6.072, allocations: 32.3 MB / 2.032 GB, free: 28.76 MB / 0.7453 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002233/6.072, allocations: 4 kB / 2.032 GB, free: 28.75 MB / 0.7453 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009076/6.082, allocations: 2.286 MB / 2.035 GB, free: 27.11 MB / 0.7453 GB Notification: Tearing is skipped for strong component 2 because system size of 1659 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.0001811/6.082, allocations: 35.75 kB / 2.035 GB, free: 27.08 MB / 0.7453 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.005942/6.088, allocations: 429.1 kB / 2.035 GB, free: 26.67 MB / 0.7453 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002155/6.088, allocations: 28 kB / 2.035 GB, free: 26.64 MB / 0.7453 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.941e-06/6.088, allocations: 3.875 kB / 2.035 GB, free: 26.64 MB / 0.7453 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.6589/6.747, allocations: 73.15 MB / 2.106 GB, free: 75.47 MB / 0.7609 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01483/6.762, allocations: 4.609 MB / 2.111 GB, free: 74.97 MB / 0.7609 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01243/6.774, allocations: 423.6 kB / 2.111 GB, free: 74.97 MB / 0.7609 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.04391/6.818, allocations: 9.253 MB / 2.12 GB, free: 74.97 MB / 0.7609 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.007125/6.825, allocations: 2.942 MB / 2.123 GB, free: 74.95 MB / 0.7609 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.005482/6.831, allocations: 0.7251 MB / 2.124 GB, free: 74.95 MB / 0.7609 GB Notification: Performance of sorting global known variables: time 0.04456/6.875, allocations: 23.73 MB / 2.147 GB, free: 74.21 MB / 0.7609 GB Notification: Performance of sort global known variables: time 5.81e-07/6.876, allocations: 0 / 2.147 GB, free: 74.21 MB / 0.7609 GB Notification: Performance of remove unused functions: time 0.03626/6.912, allocations: 11.2 MB / 2.158 GB, free: 73.61 MB / 0.7609 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 40 (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) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (882): * Single equations (assignments): 881 * 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 {(1659,0.2%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.1371/7.049, allocations: 74.15 MB / 2.23 GB, free: 69.1 MB / 0.7609 GB Notification: Performance of simCode: created initialization part: time 0.07539/7.124, allocations: 43.6 MB / 2.273 GB, free: 58.78 MB / 0.7609 GB Notification: Performance of simCode: created event and clocks part: time 4.919e-05/7.124, allocations: 56.27 kB / 2.273 GB, free: 58.77 MB / 0.7609 GB Notification: Performance of simCode: created simulation system equations: time 0.03745/7.162, allocations: 19.85 MB / 2.292 GB, free: 44.44 MB / 0.7609 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04071/7.203, allocations: 7.423 MB / 2.3 GB, free: 38.84 MB / 0.7609 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6751/7.878, allocations: 92.01 MB / 2.39 GB, free: 71.05 MB / 0.7609 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02905/7.907, allocations: 22.96 MB / 2.412 GB, free: 69.51 MB / 0.7609 GB Notification: Performance of simCode: alias equations: time 0.041/7.948, allocations: 13.7 MB / 2.425 GB, free: 69.27 MB / 0.7609 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.03102/7.979, allocations: 13.64 MB / 2.439 GB, free: 69.27 MB / 0.7609 GB Notification: Performance of SimCode: time 1.262e-06/7.979, allocations: 3.625 kB / 2.439 GB, free: 69.27 MB / 0.7609 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.982/9.962, allocations: 0.6998 GB / 3.138 GB, free: 27.67 MB / 0.8078 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001841/9.962, allocations: 279 kB / 3.139 GB, free: 27.34 MB / 0.8078 GB Notification: Performance of buildModelFMU: Generate platform static: time 27.02/36.98, allocations: 2.734 kB / 3.139 GB, free: 27.34 MB / 0.8078 GB (rm -f ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaActiveLoads_N_20_M_20.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaActiveLoads_N_20_M_20.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaActiveLoads_N_20_M_20.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaActiveLoads_N_20_M_20.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaActiveLoads_N_20_M_20_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelicaActiveLoads_N_20_M_20_fmu --startTime=0 --stopTime=3 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelicaActiveLoads_N_20_M_20.fmu > ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaActiveLoads_N_20_M_20.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaActiveLoads_N_20_M_20_res.mat does not exist to compare? outputFormat=mat