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.001114/0.001115, allocations: 176.4 kB / 8.346 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.264/1.264, allocations: 221.5 MB / 230.3 MB, free: 7.574 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.0009281/0.000928, allocations: 99.59 kB / 281.2 MB, free: 5.324 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.906/0.906, allocations: 120.5 MB / 452.4 MB, free: 10.48 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 1.788e-05/1.796e-05, allocations: 4 kB / 0.5289 GB, free: 1.195 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5335/0.5336, allocations: 82.83 MB / 0.6098 GB, free: 13.03 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.136/0.6697, allocations: 128.3 MB / 0.735 GB, free: 12.61 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000179/0.6699, allocations: 67.97 kB / 0.7351 GB, free: 12.54 MB / 0.5419 GB Notification: Performance of FrontEnd - DAE generated: time 0.8733/1.543, allocations: 151.6 MB / 0.8831 GB, free: 6.145 MB / 0.5421 GB Notification: Performance of FrontEnd: time 2.315e-06/1.543, allocations: 0 / 0.8831 GB, free: 6.145 MB / 0.5421 GB Notification: Performance of Transformations before backend: time 0.0007589/1.544, allocations: 247.9 kB / 0.8833 GB, free: 5.902 MB / 0.5421 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.0248/1.569, allocations: 11.18 MB / 0.8943 GB, free: 10.62 MB / 0.5578 GB Notification: Performance of prepare preOptimizeDAE: time 4.818e-05/1.569, allocations: 12.03 kB / 0.8943 GB, free: 10.61 MB / 0.5578 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004117/1.573, allocations: 1.12 MB / 0.8954 GB, free: 9.48 MB / 0.5578 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01301/1.586, allocations: 5.702 MB / 0.9009 GB, free: 3.703 MB / 0.5578 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004526/1.587, allocations: 280 kB / 0.9012 GB, free: 3.43 MB / 0.5578 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001987/1.589, allocations: 0.4998 MB / 0.9017 GB, free: 2.93 MB / 0.5578 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02189/1.61, allocations: 12.77 MB / 0.9142 GB, free: 6.145 MB / 0.5734 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02745/1.638, allocations: 11.69 MB / 0.9256 GB, free: 10.41 MB / 0.589 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005406/1.639, allocations: 3.953 kB / 0.9256 GB, free: 10.41 MB / 0.589 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003161/1.642, allocations: 16 kB / 0.9256 GB, free: 10.39 MB / 0.589 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002136/1.642, allocations: 212 kB / 0.9258 GB, free: 10.18 MB / 0.589 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09065/1.733, allocations: 40.17 MB / 0.965 GB, free: 1.285 MB / 0.6203 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01685/1.75, allocations: 11.88 MB / 0.9766 GB, free: 5.41 MB / 0.6359 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007371/1.757, allocations: 5.399 MB / 0.9819 GB, free: 0 / 0.6359 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004958/1.758, allocations: 69.3 kB / 0.982 GB, free: 15.93 MB / 0.6515 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001545/1.758, allocations: 157.8 kB / 0.9821 GB, free: 15.76 MB / 0.6515 GB Notification: Performance of pre-optimization done (n=670): time 1.617e-05/1.758, allocations: 0 / 0.9821 GB, free: 15.76 MB / 0.6515 GB Notification: Performance of matching and sorting (n=670): time 0.02179/1.779, allocations: 12.13 MB / 0.994 GB, free: 3.543 MB / 0.6515 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.917e-05/1.78, allocations: 116.7 kB / 0.9941 GB, free: 3.414 MB / 0.6515 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3683/2.148, allocations: 7.091 MB / 1.001 GB, free: 136.3 MB / 0.6515 GB Notification: Performance of collectPreVariables (initialization): time 0.001581/2.15, allocations: 39.14 kB / 1.001 GB, free: 136.3 MB / 0.6515 GB Notification: Performance of collectInitialEqns (initialization): time 0.00344/2.153, allocations: 4.088 MB / 1.005 GB, free: 135.5 MB / 0.6515 GB Notification: Performance of collectInitialBindings (initialization): time 0.002541/2.156, allocations: 2.195 MB / 1.007 GB, free: 134.2 MB / 0.6515 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008595/2.156, allocations: 0 / 1.007 GB, free: 134.2 MB / 0.6515 GB Notification: Performance of setup shared object (initialization): time 0.0004269/2.157, allocations: 0.6522 MB / 1.008 GB, free: 133.9 MB / 0.6515 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005972/2.163, allocations: 5.229 MB / 1.013 GB, free: 133.9 MB / 0.6515 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00859/2.172, allocations: 6.341 MB / 1.019 GB, free: 133 MB / 0.6515 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008245/2.18, allocations: 6.323 MB / 1.025 GB, free: 132.9 MB / 0.6515 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.834e-05/2.18, allocations: 7.438 kB / 1.025 GB, free: 132.9 MB / 0.6515 GB Notification: Performance of matching and sorting (n=1011) (initialization): time 0.02934/2.209, allocations: 16.8 MB / 1.042 GB, free: 131.9 MB / 0.6515 GB Notification: Performance of prepare postOptimizeDAE: time 5.725e-05/2.209, allocations: 23.59 kB / 1.042 GB, free: 131.9 MB / 0.6515 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-05/2.209, allocations: 23.41 kB / 1.042 GB, free: 131.9 MB / 0.6515 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 8.207e-05/2.21, allocations: 53.7 kB / 1.042 GB, free: 131.9 MB / 0.6515 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005727/2.215, allocations: 1.349 MB / 1.043 GB, free: 131.8 MB / 0.6515 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.686e-05/2.215, allocations: 60.14 kB / 1.043 GB, free: 131.8 MB / 0.6515 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01074/2.226, allocations: 1.557 MB / 1.045 GB, free: 131.4 MB / 0.6515 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001635/2.228, allocations: 259.3 kB / 1.045 GB, free: 131.4 MB / 0.6515 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 () * 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.001844/2.23, allocations: 213.6 kB / 1.045 GB, free: 131.3 MB / 0.6515 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01732/2.247, allocations: 12.12 MB / 1.057 GB, free: 130.3 MB / 0.6515 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003082/2.25, allocations: 0.716 MB / 1.058 GB, free: 129.9 MB / 0.6515 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002818/2.253, allocations: 1.05 MB / 1.059 GB, free: 129.9 MB / 0.6515 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-05/2.253, allocations: 60.09 kB / 1.059 GB, free: 129.9 MB / 0.6515 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001705/2.253, allocations: 60.75 kB / 1.059 GB, free: 129.9 MB / 0.6515 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.424e-05/2.253, allocations: 35.69 kB / 1.059 GB, free: 129.9 MB / 0.6515 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01266/2.266, allocations: 7.443 MB / 1.066 GB, free: 129.4 MB / 0.6515 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.683e-05/2.266, allocations: 0 / 1.066 GB, free: 129.4 MB / 0.6515 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002634/2.269, allocations: 0.6498 MB / 1.067 GB, free: 129.4 MB / 0.6515 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 4.378e-05/2.269, allocations: 11.25 kB / 1.067 GB, free: 129.4 MB / 0.6515 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008185/2.27, allocations: 23.31 kB / 1.067 GB, free: 129.4 MB / 0.6515 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.195e-05/2.27, allocations: 7.812 kB / 1.067 GB, free: 129.4 MB / 0.6515 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.503e-06/2.27, allocations: 0 / 1.067 GB, free: 129.4 MB / 0.6515 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02759/2.297, allocations: 18.33 MB / 1.085 GB, free: 124.5 MB / 0.6515 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004129/2.301, allocations: 1.135 MB / 1.086 GB, free: 123.9 MB / 0.6515 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003688/2.305, allocations: 22.61 kB / 1.086 GB, free: 123.9 MB / 0.6515 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01137/2.317, allocations: 2.107 MB / 1.088 GB, free: 123.9 MB / 0.6515 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001978/2.319, allocations: 0.776 MB / 1.089 GB, free: 123.8 MB / 0.6515 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000782/2.319, allocations: 193.8 kB / 1.089 GB, free: 123.8 MB / 0.6515 GB Notification: Performance of sorting global known variables: time 0.007655/2.327, allocations: 5.218 MB / 1.094 GB, free: 120.1 MB / 0.6515 GB Notification: Performance of sort global known variables: time 5.21e-07/2.327, allocations: 0 / 1.094 GB, free: 120.1 MB / 0.6515 GB Notification: Performance of remove unused functions: time 0.008919/2.336, allocations: 2.743 MB / 1.097 GB, free: 117.4 MB / 0.6515 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 () * 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.02566/2.362, allocations: 18.98 MB / 1.115 GB, free: 101.2 MB / 0.6515 GB Notification: Performance of simCode: created initialization part: time 0.01669/2.378, allocations: 11.15 MB / 1.126 GB, free: 91.57 MB / 0.6515 GB Notification: Performance of simCode: created event and clocks part: time 2.297e-05/2.379, allocations: 17.72 kB / 1.126 GB, free: 91.56 MB / 0.6515 GB Notification: Performance of simCode: created simulation system equations: time 0.007786/2.386, allocations: 5.12 MB / 1.131 GB, free: 87.2 MB / 0.6515 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00819/2.395, allocations: 1.328 MB / 1.132 GB, free: 86.19 MB / 0.6515 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03729/2.432, allocations: 21.36 MB / 1.153 GB, free: 68.05 MB / 0.6515 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005174/2.437, allocations: 6.63 MB / 1.16 GB, free: 63.21 MB / 0.6515 GB Notification: Performance of simCode: alias equations: time 0.009357/2.447, allocations: 3.162 MB / 1.163 GB, free: 61.17 MB / 0.6515 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004978/2.452, allocations: 3.257 MB / 1.166 GB, free: 58.14 MB / 0.6515 GB Notification: Performance of SimCode: time 7.41e-07/2.452, allocations: 3.312 kB / 1.166 GB, free: 58.14 MB / 0.6515 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.605/3.057, allocations: 172.6 MB / 1.334 GB, free: 137 MB / 0.6671 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000171/3.057, allocations: 217.7 kB / 1.335 GB, free: 136.7 MB / 0.6671 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.493/9.55, allocations: 3.938 kB / 1.335 GB, free: 136.7 MB / 0.6671 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