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.001635/0.001635, allocations: 174.9 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.308/1.308, allocations: 221.4 MB / 235.5 MB, free: 2.926 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.001129/0.00113, allocations: 93.73 kB / 286.5 MB, free: 224 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9308/0.9308, allocations: 120.5 MB / 457.9 MB, free: 7.012 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 3.132e-05/3.134e-05, allocations: 4 kB / 0.5358 GB, free: 12.07 MB / 426.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5848/0.5849, allocations: 82.84 MB / 0.6167 GB, free: 9.312 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1528/0.7377, allocations: 128.9 MB / 0.7426 GB, free: 8.234 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002085/0.738, allocations: 63.97 kB / 0.7427 GB, free: 8.172 MB / 0.5419 GB Notification: Performance of FrontEnd - DAE generated: time 0.9793/1.717, allocations: 153 MB / 0.8921 GB, free: 13.08 MB / 0.5578 GB Notification: Performance of FrontEnd: time 2.865e-06/1.717, allocations: 0 / 0.8921 GB, free: 13.08 MB / 0.5578 GB Notification: Performance of Transformations before backend: time 0.00178/1.719, allocations: 247.9 kB / 0.8924 GB, free: 12.84 MB / 0.5578 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.03234/1.752, allocations: 11.18 MB / 0.9033 GB, free: 1.57 MB / 0.5578 GB Notification: Performance of prepare preOptimizeDAE: time 7.379e-05/1.752, allocations: 8.031 kB / 0.9033 GB, free: 1.562 MB / 0.5578 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005616/1.757, allocations: 1.246 MB / 0.9045 GB, free: 312 kB / 0.5578 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00708/1.764, allocations: 1.116 MB / 0.9056 GB, free: 15.17 MB / 0.5734 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02081/1.785, allocations: 5.713 MB / 0.9112 GB, free: 9.383 MB / 0.5734 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009187/1.786, allocations: 0.6422 MB / 0.9118 GB, free: 8.738 MB / 0.5734 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003247/1.789, allocations: 0.8398 MB / 0.9126 GB, free: 7.898 MB / 0.5734 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03108/1.821, allocations: 13.02 MB / 0.9253 GB, free: 10.83 MB / 0.589 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001723/1.821, allocations: 4 kB / 0.9253 GB, free: 10.82 MB / 0.589 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001579/1.822, allocations: 391.8 kB / 0.9257 GB, free: 10.45 MB / 0.589 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001344/1.823, allocations: 212 kB / 0.9259 GB, free: 10.24 MB / 0.589 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02308/1.846, allocations: 13.2 MB / 0.9388 GB, free: 13.02 MB / 0.6046 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08672/1.932, allocations: 42.13 MB / 0.9799 GB, free: 2.129 MB / 0.6359 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01677/1.949, allocations: 12.22 MB / 0.9919 GB, free: 5.914 MB / 0.6515 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007873/1.957, allocations: 5.611 MB / 0.9974 GB, free: 296 kB / 0.6515 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004839/1.958, allocations: 69.25 kB / 0.9974 GB, free: 224 kB / 0.6515 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001763/1.958, allocations: 157.8 kB / 0.9976 GB, free: 52 kB / 0.6515 GB Notification: Performance of pre-optimization done (n=670): time 1.298e-05/1.958, allocations: 4 kB / 0.9976 GB, free: 48 kB / 0.6515 GB Notification: Performance of matching and sorting (n=670): time 0.4177/2.376, allocations: 12.74 MB / 1.01 GB, free: 132.1 MB / 0.6515 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.583e-05/2.376, allocations: 117.2 kB / 1.01 GB, free: 132 MB / 0.6515 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01136/2.387, allocations: 8.44 MB / 1.018 GB, free: 131.6 MB / 0.6515 GB Notification: Performance of collectPreVariables (initialization): time 0.001313/2.388, allocations: 175.5 kB / 1.019 GB, free: 131.6 MB / 0.6515 GB Notification: Performance of collectInitialEqns (initialization): time 0.002396/2.391, allocations: 4.042 MB / 1.022 GB, free: 130.5 MB / 0.6515 GB Notification: Performance of collectInitialBindings (initialization): time 0.002413/2.393, allocations: 2.285 MB / 1.025 GB, free: 129.4 MB / 0.6515 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006522/2.394, allocations: 159.7 kB / 1.025 GB, free: 129.4 MB / 0.6515 GB Notification: Performance of setup shared object (initialization): time 0.0003487/2.394, allocations: 0.6542 MB / 1.026 GB, free: 129 MB / 0.6515 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006067/2.4, allocations: 5.384 MB / 1.031 GB, free: 129 MB / 0.6515 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00678/2.407, allocations: 6.539 MB / 1.037 GB, free: 128 MB / 0.6515 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007465/2.415, allocations: 6.497 MB / 1.043 GB, free: 127.9 MB / 0.6515 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.675e-05/2.415, allocations: 7.906 kB / 1.044 GB, free: 127.9 MB / 0.6515 GB Notification: Performance of matching and sorting (n=1011) (initialization): time 0.02413/2.439, allocations: 17.69 MB / 1.061 GB, free: 126.8 MB / 0.6515 GB Notification: Performance of prepare postOptimizeDAE: time 5.144e-05/2.439, allocations: 15.38 kB / 1.061 GB, free: 126.8 MB / 0.6515 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.186e-05/2.439, allocations: 25.56 kB / 1.061 GB, free: 126.8 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 7.679e-05/2.439, allocations: 51.03 kB / 1.061 GB, free: 126.8 MB / 0.6515 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005035/2.444, allocations: 1.346 MB / 1.062 GB, free: 126.7 MB / 0.6515 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.925e-05/2.444, allocations: 68.44 kB / 1.062 GB, free: 126.7 MB / 0.6515 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009619/2.454, allocations: 1.79 MB / 1.064 GB, free: 126.3 MB / 0.6515 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001185/2.455, allocations: 259.1 kB / 1.064 GB, free: 126.3 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.00151/2.457, allocations: 0.4909 MB / 1.065 GB, free: 126.1 MB / 0.6515 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002044/2.459, allocations: 0.7834 MB / 1.065 GB, free: 125.7 MB / 0.6515 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002551/2.461, allocations: 1.199 MB / 1.067 GB, free: 125.6 MB / 0.6515 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.293e-05/2.461, allocations: 64.25 kB / 1.067 GB, free: 125.6 MB / 0.6515 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001537/2.461, allocations: 58.22 kB / 1.067 GB, free: 125.6 MB / 0.6515 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.707e-05/2.461, allocations: 36.59 kB / 1.067 GB, free: 125.6 MB / 0.6515 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01209/2.474, allocations: 8.656 MB / 1.075 GB, free: 123.2 MB / 0.6515 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.532e-05/2.474, allocations: 0 / 1.075 GB, free: 123.2 MB / 0.6515 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002441/2.476, allocations: 0.6606 MB / 1.076 GB, free: 123.1 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.497e-05/2.476, allocations: 7.625 kB / 1.076 GB, free: 123.1 MB / 0.6515 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005528/2.477, allocations: 122.2 kB / 1.076 GB, free: 123 MB / 0.6515 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.097e-05/2.477, allocations: 7.406 kB / 1.076 GB, free: 123 MB / 0.6515 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/2.477, allocations: 0 / 1.076 GB, free: 123 MB / 0.6515 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02601/2.503, allocations: 19.04 MB / 1.095 GB, free: 115 MB / 0.6515 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0042/2.507, allocations: 1.267 MB / 1.096 GB, free: 113.8 MB / 0.6515 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002453/2.509, allocations: 128.5 kB / 1.096 GB, free: 113.7 MB / 0.6515 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01021/2.52, allocations: 2.226 MB / 1.098 GB, free: 112.3 MB / 0.6515 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001799/2.522, allocations: 0.7823 MB / 1.099 GB, free: 111.9 MB / 0.6515 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0012/2.523, allocations: 195.2 kB / 1.099 GB, free: 111.7 MB / 0.6515 GB Notification: Performance of sorting global known variables: time 0.01008/2.533, allocations: 6.29 MB / 1.105 GB, free: 106.3 MB / 0.6515 GB Notification: Performance of sort global known variables: time 3.91e-07/2.533, allocations: 0 / 1.105 GB, free: 106.3 MB / 0.6515 GB Notification: Performance of remove unused functions: time 0.009788/2.543, allocations: 2.959 MB / 1.108 GB, free: 103.3 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.02908/2.572, allocations: 19.86 MB / 1.128 GB, free: 86.22 MB / 0.6515 GB Notification: Performance of simCode: created initialization part: time 0.0176/2.589, allocations: 11.57 MB / 1.139 GB, free: 76.2 MB / 0.6515 GB Notification: Performance of simCode: created event and clocks part: time 1.455e-05/2.59, allocations: 14 kB / 1.139 GB, free: 76.19 MB / 0.6515 GB Notification: Performance of simCode: created simulation system equations: time 0.008161/2.598, allocations: 5.313 MB / 1.144 GB, free: 71.63 MB / 0.6515 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01005/2.608, allocations: 1.947 MB / 1.146 GB, free: 70.13 MB / 0.6515 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04107/2.649, allocations: 22.17 MB / 1.168 GB, free: 51.21 MB / 0.6515 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006299/2.655, allocations: 6.607 MB / 1.174 GB, free: 46.4 MB / 0.6515 GB Notification: Performance of simCode: alias equations: time 0.009413/2.665, allocations: 3.442 MB / 1.177 GB, free: 44.18 MB / 0.6515 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005204/2.67, allocations: 3.319 MB / 1.181 GB, free: 41.09 MB / 0.6515 GB Notification: Performance of SimCode: time 8.72e-07/2.67, allocations: 3.5 kB / 1.181 GB, free: 41.09 MB / 0.6515 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6944/3.364, allocations: 200.2 MB / 1.376 GB, free: 116.3 MB / 0.6828 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001796/3.365, allocations: 247.8 kB / 1.376 GB, free: 116 MB / 0.6828 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.937/11.3, allocations: 0 / 1.376 GB, free: 116 MB / 0.6828 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