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.0009856/0.0009856, allocations: 175.1 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.228/1.228, allocations: 221.3 MB / 235.5 MB, free: 2.875 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.0009665/0.0009664, allocations: 92.7 kB / 286.5 MB, free: 180 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8816/0.8816, allocations: 120.5 MB / 457.9 MB, free: 7.055 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 2.746e-05/2.747e-05, allocations: 0 / 0.5358 GB, free: 12.11 MB / 426.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5423/0.5423, allocations: 82.83 MB / 0.6167 GB, free: 9.336 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1434/0.6858, allocations: 128.9 MB / 0.7426 GB, free: 8.258 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001631/0.686, allocations: 71.89 kB / 0.7427 GB, free: 8.188 MB / 0.5419 GB Notification: Performance of FrontEnd - DAE generated: time 4.93/5.616, allocations: 1.189 GB / 1.932 GB, free: 54.27 MB / 0.7609 GB Notification: Performance of FrontEnd: time 2.114e-06/5.616, allocations: 7.094 kB / 1.932 GB, free: 54.27 MB / 0.7609 GB Notification: Performance of Transformations before backend: time 0.01061/5.627, allocations: 1.734 MB / 1.933 GB, free: 54.07 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.2146/5.841, allocations: 82.28 MB / 2.014 GB, free: 25.17 MB / 0.7609 GB Notification: Performance of prepare preOptimizeDAE: time 5.223e-05/5.841, allocations: 12.03 kB / 2.014 GB, free: 25.16 MB / 0.7609 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0313/5.873, allocations: 8.913 MB / 2.022 GB, free: 21.73 MB / 0.7609 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03921/5.912, allocations: 8.042 MB / 2.03 GB, free: 13.6 MB / 0.7609 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1234/6.035, allocations: 40.92 MB / 2.07 GB, free: 0 / 0.7765 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.01793/6.053, allocations: 5.633 MB / 2.076 GB, free: 15.37 MB / 0.7921 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0226/6.076, allocations: 6.042 MB / 2.082 GB, free: 11.34 MB / 0.7921 GB Notification: Performance of preOpt clockPartitioning (simulation): time 1.288/7.364, allocations: 101.3 MB / 2.181 GB, free: 66.73 MB / 0.7926 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0037/7.368, allocations: 3.5 kB / 2.181 GB, free: 66.73 MB / 0.7926 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0234/7.391, allocations: 2.794 MB / 2.183 GB, free: 66.73 MB / 0.7926 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001272/7.392, allocations: 1.497 MB / 2.185 GB, free: 66.73 MB / 0.7926 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1778/7.57, allocations: 97.78 MB / 2.28 GB, free: 55.73 MB / 0.7926 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 1.372/8.942, allocations: 316.5 MB / 2.589 GB, free: 23.7 MB / 0.8239 GB Notification: Performance of preOpt comSubExp (simulation): time 0.1497/9.092, allocations: 93.74 MB / 2.681 GB, free: 1.125 MB / 0.8239 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.08678/9.179, allocations: 43.07 MB / 2.723 GB, free: 5.383 MB / 0.8395 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004432/9.183, allocations: 498.3 kB / 2.723 GB, free: 4.895 MB / 0.8395 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001385/9.185, allocations: 0.924 MB / 2.724 GB, free: 3.957 MB / 0.8395 GB Notification: Performance of pre-optimization done (n=4900): time 7.918e-05/9.185, allocations: 0 / 2.724 GB, free: 3.957 MB / 0.8395 GB Notification: Performance of matching and sorting (n=4900): time 0.8306/10.02, allocations: 94.42 MB / 2.817 GB, free: 93.76 MB / 0.8551 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003052/10.02, allocations: 0.5398 MB / 2.817 GB, free: 93.66 MB / 0.8551 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1258/10.14, allocations: 61.4 MB / 2.877 GB, free: 91.36 MB / 0.8551 GB Notification: Performance of collectPreVariables (initialization): time 0.01172/10.15, allocations: 1.075 MB / 2.878 GB, free: 91.33 MB / 0.8551 GB Notification: Performance of collectInitialEqns (initialization): time 0.02996/10.18, allocations: 30.22 MB / 2.908 GB, free: 77.04 MB / 0.8551 GB Notification: Performance of collectInitialBindings (initialization): time 0.02227/10.21, allocations: 16.73 MB / 2.924 GB, free: 64.16 MB / 0.8551 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01371/10.22, allocations: 1.123 MB / 2.925 GB, free: 63.26 MB / 0.8551 GB Notification: Performance of setup shared object (initialization): time 0.008657/10.23, allocations: 2.893 MB / 2.928 GB, free: 61.93 MB / 0.8551 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.06793/10.3, allocations: 39.37 MB / 2.966 GB, free: 53.23 MB / 0.8551 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.07674/10.37, allocations: 47.82 MB / 3.013 GB, free: 36.5 MB / 0.8551 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.7222/11.1, allocations: 49.87 MB / 3.062 GB, free: 80.25 MB / 0.8551 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004013/11.1, allocations: 53.59 kB / 3.062 GB, free: 80.25 MB / 0.8551 GB Notification: Performance of matching and sorting (n=7365) (initialization): time 0.2777/11.37, allocations: 131.1 MB / 3.19 GB, free: 74.52 MB / 0.8551 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002025/11.37, allocations: 81.38 kB / 3.19 GB, free: 74.52 MB / 0.8551 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004245/11.37, allocations: 178.2 kB / 3.19 GB, free: 74.52 MB / 0.8551 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.0004554/11.37, allocations: 362.6 kB / 3.19 GB, free: 74.52 MB / 0.8551 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.04216/11.42, allocations: 9.648 MB / 3.2 GB, free: 74.06 MB / 0.8551 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000958/11.42, allocations: 452.8 kB / 3.2 GB, free: 73.98 MB / 0.8551 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.08917/11.51, allocations: 14.32 MB / 3.214 GB, free: 71.64 MB / 0.8551 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.01374/11.52, allocations: 1.829 MB / 3.216 GB, free: 71.64 MB / 0.8551 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.02526/11.55, allocations: 2.954 MB / 3.219 GB, free: 70.96 MB / 0.8551 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.03117/11.58, allocations: 5.638 MB / 3.224 GB, free: 68.26 MB / 0.8551 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02575/11.6, allocations: 8.746 MB / 3.233 GB, free: 67.03 MB / 0.8551 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0004589/11.6, allocations: 461.7 kB / 3.233 GB, free: 67.03 MB / 0.8551 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.001046/11.6, allocations: 449.6 kB / 3.234 GB, free: 67.03 MB / 0.8551 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001269/11.61, allocations: 240.9 kB / 3.234 GB, free: 67.02 MB / 0.8551 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.153/11.76, allocations: 62.13 MB / 3.295 GB, free: 49.74 MB / 0.8551 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0003034/11.76, allocations: 0.75 kB / 3.295 GB, free: 49.74 MB / 0.8551 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01603/11.78, allocations: 4.31 MB / 3.299 GB, free: 49.48 MB / 0.8551 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.0002785/11.78, allocations: 50.47 kB / 3.299 GB, free: 49.48 MB / 0.8551 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.008066/11.78, allocations: 0.791 MB / 3.3 GB, free: 48.87 MB / 0.8551 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002356/11.78, allocations: 53.94 kB / 3.3 GB, free: 48.87 MB / 0.8551 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/11.78, allocations: 0 / 3.3 GB, free: 48.87 MB / 0.8551 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.9519/12.74, allocations: 144.4 MB / 3.441 GB, free: 66.7 MB / 0.8551 GB Notification: Performance of postOpt removeConstants (simulation): time 0.03024/12.77, allocations: 8.833 MB / 3.449 GB, free: 66.13 MB / 0.8551 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.02577/12.79, allocations: 0.7864 MB / 3.45 GB, free: 66.13 MB / 0.8551 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.09112/12.88, allocations: 18.3 MB / 3.468 GB, free: 66.12 MB / 0.8551 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.01613/12.9, allocations: 5.651 MB / 3.474 GB, free: 66.08 MB / 0.8551 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.01197/12.91, allocations: 1.394 MB / 3.475 GB, free: 66.08 MB / 0.8551 GB Notification: Performance of sorting global known variables: time 0.09261/13, allocations: 45.85 MB / 3.52 GB, free: 64.62 MB / 0.8551 GB Notification: Performance of sort global known variables: time 9.32e-07/13, allocations: 0 / 3.52 GB, free: 64.62 MB / 0.8551 GB Notification: Performance of remove unused functions: time 0.08381/13.09, allocations: 21.61 MB / 3.541 GB, free: 62.41 MB / 0.8551 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.3274/13.42, allocations: 143.1 MB / 3.681 GB, free: 8.16 MB / 0.8551 GB Notification: Performance of simCode: created initialization part: time 0.7458/14.16, allocations: 88.94 MB / 3.767 GB, free: 113.7 MB / 0.8551 GB Notification: Performance of simCode: created event and clocks part: time 9.205e-05/14.16, allocations: 111.4 kB / 3.767 GB, free: 113.6 MB / 0.8551 GB Notification: Performance of simCode: created simulation system equations: time 0.08184/14.24, allocations: 38.22 MB / 3.805 GB, free: 112.2 MB / 0.8551 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.08281/14.33, allocations: 14.36 MB / 3.819 GB, free: 111.6 MB / 0.8551 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3602/14.69, allocations: 168.8 MB / 3.984 GB, free: 34.83 MB / 0.8551 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.7228/15.41, allocations: 47.09 MB / 4.03 GB, free: 101.7 MB / 0.8551 GB Notification: Performance of simCode: alias equations: time 0.08836/15.5, allocations: 27.4 MB / 4.056 GB, free: 100 MB / 0.8551 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.05411/15.55, allocations: 27.66 MB / 4.083 GB, free: 100 MB / 0.8551 GB Notification: Performance of SimCode: time 1.142e-06/15.55, allocations: 3.375 kB / 4.083 GB, free: 100 MB / 0.8551 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.885/20.44, allocations: 1.35 GB / 5.433 GB, free: 26.32 MB / 0.9958 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002323/20.44, allocations: 293.8 kB / 5.433 GB, free: 25.99 MB / 0.9958 GB Notification: Performance of buildModelFMU: Generate platform static: time 85.79/106.2, allocations: 0 / 5.433 GB, free: 25.99 MB / 0.9958 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