Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaActiveLoads_N_28_M_28.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_28_M_28,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelicaActiveLoads_N_28_M_28",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaActiveLoads_N_28_M_28,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelicaActiveLoads_N_28_M_28",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.0009581/0.000958, allocations: 175.4 kB / 8.345 MB, free: 0.7305 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.294/1.294, allocations: 221.5 MB / 230.3 MB, free: 7.5 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.0009227/0.0009228, allocations: 90.11 kB / 281.2 MB, free: 5.246 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9418/0.9418, allocations: 120.5 MB / 452.4 MB, free: 10.46 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 1.829e-05/1.831e-05, allocations: 4 kB / 0.5289 GB, free: 1.168 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5563/0.5564, allocations: 82.84 MB / 0.6098 GB, free: 12.95 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1522/0.7086, allocations: 128.3 MB / 0.735 GB, free: 12.54 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001814/0.7088, allocations: 73.92 kB / 0.7351 GB, free: 12.47 MB / 0.5419 GB Notification: Performance of FrontEnd - DAE generated: time 5.147/5.855, allocations: 1.179 GB / 1.914 GB, free: 57.83 MB / 0.7609 GB Notification: Performance of FrontEnd: time 1.953e-06/5.855, allocations: 0 / 1.914 GB, free: 57.83 MB / 0.7609 GB Notification: Performance of Transformations before backend: time 0.01041/5.866, allocations: 1.733 MB / 1.916 GB, free: 57.63 MB / 0.7609 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16361 * Number of variables: 16361 Notification: Performance of Generate backend data structure: time 0.2294/6.095, allocations: 82.28 MB / 1.996 GB, free: 35 MB / 0.7609 GB Notification: Performance of prepare preOptimizeDAE: time 6.296e-05/6.095, allocations: 13.23 kB / 1.996 GB, free: 35 MB / 0.7609 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04668/6.142, allocations: 8.044 MB / 2.004 GB, free: 31.14 MB / 0.7609 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1255/6.268, allocations: 40.45 MB / 2.044 GB, free: 0.7266 MB / 0.7609 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.01167/6.279, allocations: 2.627 MB / 2.046 GB, free: 0 / 0.7609 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.03716/6.316, allocations: 4.823 MB / 2.051 GB, free: 15.02 MB / 0.7765 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 1.353/7.67, allocations: 100.4 MB / 2.149 GB, free: 60.91 MB / 0.777 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2169/7.886, allocations: 86.03 MB / 2.233 GB, free: 59.48 MB / 0.777 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.002701/7.889, allocations: 0.8438 kB / 2.233 GB, free: 59.48 MB / 0.777 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0189/7.908, allocations: 103.5 kB / 2.233 GB, free: 59.48 MB / 0.777 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001022/7.909, allocations: 1.498 MB / 2.235 GB, free: 59.48 MB / 0.777 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 1.447/9.356, allocations: 300.8 MB / 2.528 GB, free: 32.35 MB / 0.8239 GB Notification: Performance of preOpt comSubExp (simulation): time 0.1451/9.501, allocations: 91.12 MB / 2.617 GB, free: 17.91 MB / 0.8239 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.06129/9.562, allocations: 40.08 MB / 2.656 GB, free: 6.652 MB / 0.8239 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004148/9.567, allocations: 495.6 kB / 2.657 GB, free: 6.613 MB / 0.8239 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001214/9.568, allocations: 0.9248 MB / 2.658 GB, free: 6.023 MB / 0.8239 GB Notification: Performance of pre-optimization done (n=4900): time 6.559e-05/9.568, allocations: 3.344 kB / 2.658 GB, free: 6.023 MB / 0.8239 GB Notification: Performance of matching and sorting (n=4900): time 0.9101/10.48, allocations: 90.24 MB / 2.746 GB, free: 91.79 MB / 0.8395 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002952/10.48, allocations: 0.5357 MB / 2.746 GB, free: 91.68 MB / 0.8395 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1084/10.59, allocations: 51.34 MB / 2.797 GB, free: 90.16 MB / 0.8395 GB Notification: Performance of collectPreVariables (initialization): time 0.01269/10.6, allocations: 129.4 kB / 2.797 GB, free: 90.13 MB / 0.8395 GB Notification: Performance of collectInitialEqns (initialization): time 0.02821/10.63, allocations: 30.38 MB / 2.826 GB, free: 80.72 MB / 0.8395 GB Notification: Performance of collectInitialBindings (initialization): time 0.02179/10.65, allocations: 16.05 MB / 2.842 GB, free: 70.1 MB / 0.8395 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0124/10.66, allocations: 0 / 2.842 GB, free: 70.1 MB / 0.8395 GB Notification: Performance of setup shared object (initialization): time 0.006279/10.67, allocations: 2.893 MB / 2.845 GB, free: 69.66 MB / 0.8395 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.06905/10.74, allocations: 38.24 MB / 2.882 GB, free: 62.39 MB / 0.8395 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.07811/10.82, allocations: 46.36 MB / 2.927 GB, free: 45.78 MB / 0.8395 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.07229/10.89, allocations: 46.55 MB / 2.973 GB, free: 35.5 MB / 0.8395 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0006429/10.89, allocations: 48.06 kB / 2.973 GB, free: 35.5 MB / 0.8395 GB Notification: Performance of matching and sorting (n=7365) (initialization): time 0.9502/11.84, allocations: 125.4 MB / 3.095 GB, free: 77.28 MB / 0.8395 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002461/11.84, allocations: 85.94 kB / 3.096 GB, free: 77.28 MB / 0.8395 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000445/11.84, allocations: 179.9 kB / 3.096 GB, free: 77.28 MB / 0.8395 GB Notification: Tearing is skipped for strong component 1 because system size of 3219 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.0005399/11.84, allocations: 364.1 kB / 3.096 GB, free: 77.27 MB / 0.8395 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.04258/11.88, allocations: 9.643 MB / 3.105 GB, free: 76.81 MB / 0.8395 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007004/11.88, allocations: 447 kB / 3.106 GB, free: 76.74 MB / 0.8395 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.08584/11.97, allocations: 12.6 MB / 3.118 GB, free: 75.13 MB / 0.8395 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.01285/11.98, allocations: 1.821 MB / 3.12 GB, free: 75.13 MB / 0.8395 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 814 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4147): * Single equations (assignments): 4146 * 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 {(3219,0.1%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.02655/12.01, allocations: 0.8915 MB / 3.121 GB, free: 74.45 MB / 0.8395 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.2017/12.21, allocations: 89.74 MB / 3.208 GB, free: 68.06 MB / 0.8395 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.02795/12.24, allocations: 5.104 MB / 3.213 GB, free: 65.61 MB / 0.8395 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02448/12.26, allocations: 7.598 MB / 3.221 GB, free: 61.79 MB / 0.8395 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0004623/12.26, allocations: 461.1 kB / 3.221 GB, free: 61.79 MB / 0.8395 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000968/12.26, allocations: 457.3 kB / 3.222 GB, free: 61.79 MB / 0.8395 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001333/12.27, allocations: 227.3 kB / 3.222 GB, free: 61.79 MB / 0.8395 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1238/12.39, allocations: 53.34 MB / 3.274 GB, free: 47.43 MB / 0.8395 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0003432/12.39, allocations: 2.484 kB / 3.274 GB, free: 47.43 MB / 0.8395 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01586/12.41, allocations: 4.305 MB / 3.278 GB, free: 47.17 MB / 0.8395 GB Notification: Tearing is skipped for strong component 2 because system size of 3219 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.0002588/12.41, allocations: 51.09 kB / 3.278 GB, free: 47.17 MB / 0.8395 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00724/12.41, allocations: 55.77 kB / 3.278 GB, free: 47.15 MB / 0.8395 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001495/12.41, allocations: 55.2 kB / 3.278 GB, free: 47.15 MB / 0.8395 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.149e-06/12.41, allocations: 7.312 kB / 3.278 GB, free: 47.14 MB / 0.8395 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 1.057/13.47, allocations: 138 MB / 3.413 GB, free: 74.79 MB / 0.8395 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0279/13.5, allocations: 7.835 MB / 3.421 GB, free: 74.25 MB / 0.8395 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.02675/13.52, allocations: 41.78 kB / 3.421 GB, free: 74.25 MB / 0.8395 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.08859/13.61, allocations: 17.36 MB / 3.438 GB, free: 74.25 MB / 0.8395 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.01722/13.63, allocations: 5.643 MB / 3.443 GB, free: 74.21 MB / 0.8395 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.01247/13.64, allocations: 1.396 MB / 3.445 GB, free: 74.21 MB / 0.8395 GB Notification: Performance of sorting global known variables: time 0.08221/13.73, allocations: 37.7 MB / 3.482 GB, free: 73.17 MB / 0.8395 GB Notification: Performance of sort global known variables: time 4.61e-07/13.73, allocations: 0 / 3.482 GB, free: 73.17 MB / 0.8395 GB Notification: Performance of remove unused functions: time 0.08237/13.81, allocations: 20.05 MB / 3.501 GB, free: 70.49 MB / 0.8395 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 56 (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,activeLoad[21].firstOrder1.y,activeLoad[21].firstOrder2.y,activeLoad[22].firstOrder1.y,activeLoad[22].firstOrder2.y,activeLoad[23].firstOrder1.y,activeLoad[23].firstOrder2.y,activeLoad[24].firstOrder1.y,activeLoad[24].firstOrder2.y,activeLoad[25].firstOrder1.y,activeLoad[25].firstOrder2.y,activeLoad[26].firstOrder1.y,activeLoad[26].firstOrder2.y,activeLoad[27].firstOrder1.y,activeLoad[27].firstOrder2.y,activeLoad[28].firstOrder1.y,activeLoad[28].firstOrder2.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1682): * Single equations (assignments): 1681 * 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 {(3219,0.1%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.3078/14.12, allocations: 136.6 MB / 3.634 GB, free: 2.812 MB / 0.8395 GB Notification: Performance of simCode: created initialization part: time 0.7683/14.88, allocations: 84.51 MB / 3.717 GB, free: 103.5 MB / 0.8395 GB Notification: Performance of simCode: created event and clocks part: time 0.0001336/14.88, allocations: 115.4 kB / 3.717 GB, free: 103.5 MB / 0.8395 GB Notification: Performance of simCode: created simulation system equations: time 0.07875/14.96, allocations: 36.86 MB / 3.753 GB, free: 102.2 MB / 0.8395 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.07179/15.03, allocations: 9.623 MB / 3.763 GB, free: 101.7 MB / 0.8395 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4/15.43, allocations: 162.7 MB / 3.921 GB, free: 32.48 MB / 0.8395 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.7332/16.17, allocations: 46 MB / 3.966 GB, free: 86.5 MB / 0.8395 GB Notification: Performance of simCode: alias equations: time 0.08034/16.25, allocations: 25.73 MB / 3.991 GB, free: 85.13 MB / 0.8395 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.04915/16.3, allocations: 27.11 MB / 4.018 GB, free: 85.13 MB / 0.8395 GB Notification: Performance of SimCode: time 1.333e-06/16.3, allocations: 4.625 kB / 4.018 GB, free: 85.13 MB / 0.8395 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.859/20.16, allocations: 1.156 GB / 5.174 GB, free: 79.63 MB / 0.9489 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002108/20.16, allocations: 247.1 kB / 5.174 GB, free: 79.35 MB / 0.9489 GB Notification: Performance of buildModelFMU: Generate platform static: time 97.7/117.9, allocations: 2.062 kB / 5.174 GB, free: 79.35 MB / 0.9489 GB (rm -f ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaActiveLoads_N_28_M_28.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaActiveLoads_N_28_M_28.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaActiveLoads_N_28_M_28.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaActiveLoads_N_28_M_28.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaActiveLoads_N_28_M_28_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelicaActiveLoads_N_28_M_28_fmu --startTime=0 --stopTime=3 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelicaActiveLoads_N_28_M_28.fmu > ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaActiveLoads_N_28_M_28.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaActiveLoads_N_28_M_28_res.mat does not exist to compare? outputFormat=mat