Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_4_M_8.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.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_4_M_8,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Power_ConceptualPowerSystem_ScaledExperiments_PowerSystemStepLoad_N_4_M_8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_4_M_8,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Power_ConceptualPowerSystem_ScaledExperiments_PowerSystemStepLoad_N_4_M_8",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.001703/0.001702, 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.583/1.583, allocations: 221.3 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.001078/0.001078, allocations: 94 kB / 286.5 MB, free: 184 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.395/1.395, allocations: 120.5 MB / 457.9 MB, free: 7.059 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 5.193e-05/5.205e-05, allocations: 4 kB / 0.5358 GB, free: 12.11 MB / 426.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.016/1.016, allocations: 82.84 MB / 0.6167 GB, free: 9.344 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2637/1.28, allocations: 126.3 MB / 0.74 GB, free: 10.93 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002823/1.28, allocations: 47.98 kB / 0.7401 GB, free: 10.88 MB / 0.5419 GB Notification: Performance of FrontEnd - DAE generated: time 1.286/2.565, allocations: 31.95 MB / 0.7713 GB, free: 121.4 MB / 0.5421 GB Notification: Performance of FrontEnd: time 2.294e-06/2.566, allocations: 4 kB / 0.7713 GB, free: 121.4 MB / 0.5421 GB Notification: Performance of Transformations before backend: time 0.0001048/2.566, allocations: 20 kB / 0.7713 GB, free: 121.4 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: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.006802/2.572, allocations: 1.9 MB / 0.7731 GB, free: 119.4 MB / 0.5421 GB Notification: Performance of prepare preOptimizeDAE: time 8.148e-05/2.573, allocations: 12.03 kB / 0.7732 GB, free: 119.4 MB / 0.5421 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003148/2.573, allocations: 138.9 kB / 0.7733 GB, free: 119.3 MB / 0.5421 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003368/2.573, allocations: 94.97 kB / 0.7734 GB, free: 119.2 MB / 0.5421 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004445/2.578, allocations: 1.43 MB / 0.7748 GB, free: 117.7 MB / 0.5421 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.45e-05/2.578, allocations: 74 kB / 0.7748 GB, free: 117.6 MB / 0.5421 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005359/2.578, allocations: 167.7 kB / 0.775 GB, free: 117.4 MB / 0.5421 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002426/2.581, allocations: 1.428 MB / 0.7764 GB, free: 116 MB / 0.5421 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.264e-05/2.581, allocations: 0 / 0.7764 GB, free: 116 MB / 0.5421 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001135/2.581, allocations: 32 kB / 0.7764 GB, free: 116 MB / 0.5421 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.096e-05/2.581, allocations: 30 kB / 0.7765 GB, free: 116 MB / 0.5421 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002053/2.583, allocations: 1.444 MB / 0.7779 GB, free: 114.5 MB / 0.5421 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01006/2.593, allocations: 4.316 MB / 0.7821 GB, free: 110.1 MB / 0.5421 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003671/2.597, allocations: 2.248 MB / 0.7843 GB, free: 107.9 MB / 0.5421 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001499/2.598, allocations: 1.062 MB / 0.7853 GB, free: 106.8 MB / 0.5421 GB Notification: Performance of preOpt evalFunc (simulation): time 9.413e-05/2.599, allocations: 13.31 kB / 0.7853 GB, free: 106.8 MB / 0.5421 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.615e-05/2.599, allocations: 47.88 kB / 0.7854 GB, free: 106.8 MB / 0.5421 GB Notification: Performance of pre-optimization done (n=134): time 5.901e-06/2.599, allocations: 1.094 kB / 0.7854 GB, free: 106.8 MB / 0.5421 GB Notification: Performance of matching and sorting (n=134): time 0.003252/2.602, allocations: 1.938 MB / 0.7873 GB, free: 104.8 MB / 0.5421 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.266e-05/2.602, allocations: 72.72 kB / 0.7873 GB, free: 104.7 MB / 0.5421 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006175/2.603, allocations: 458.9 kB / 0.7878 GB, free: 104.3 MB / 0.5421 GB Notification: Performance of collectPreVariables (initialization): time 0.0001501/2.603, allocations: 65.69 kB / 0.7878 GB, free: 104.2 MB / 0.5421 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002797/2.603, allocations: 289.7 kB / 0.7881 GB, free: 103.9 MB / 0.5421 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004856/2.604, allocations: 0.516 MB / 0.7886 GB, free: 103.4 MB / 0.5421 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001134/2.604, allocations: 36 kB / 0.7887 GB, free: 103.4 MB / 0.5421 GB Notification: Performance of setup shared object (initialization): time 0.0002931/2.604, allocations: 414.7 kB / 0.7891 GB, free: 102.9 MB / 0.5421 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001913/2.606, allocations: 1.183 MB / 0.7902 GB, free: 101.8 MB / 0.5421 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001923/2.608, allocations: 1.368 MB / 0.7915 GB, free: 100.4 MB / 0.5421 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001975/2.61, allocations: 1.364 MB / 0.7929 GB, free: 98.99 MB / 0.5421 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.375e-06/2.61, allocations: 0 / 0.7929 GB, free: 98.99 MB / 0.5421 GB Notification: Performance of matching and sorting (n=216) (initialization): time 0.004048/2.614, allocations: 2.869 MB / 0.7957 GB, free: 96.11 MB / 0.5421 GB Notification: Performance of prepare postOptimizeDAE: time 3.555e-05/2.614, allocations: 4 kB / 0.7957 GB, free: 96.11 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.59e-05/2.614, allocations: 4 kB / 0.7957 GB, free: 96.11 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.872e-05/2.614, allocations: 12 kB / 0.7957 GB, free: 96.09 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002827/2.617, allocations: 0.6164 MB / 0.7963 GB, free: 95.48 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.411e-05/2.617, allocations: 12.34 kB / 0.7963 GB, free: 95.46 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001199/2.618, allocations: 246.2 kB / 0.7965 GB, free: 95.22 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001291/2.618, allocations: 52 kB / 0.7966 GB, free: 95.17 MB / 0.5421 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (216): * Single equations (assignments): 216 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003614/2.619, allocations: 184.6 kB / 0.7968 GB, free: 94.98 MB / 0.5421 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002094/2.619, allocations: 75.06 kB / 0.7968 GB, free: 94.91 MB / 0.5421 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003575/2.622, allocations: 2.28 MB / 0.7991 GB, free: 92.62 MB / 0.5421 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.459e-05/2.622, allocations: 20 kB / 0.7991 GB, free: 92.6 MB / 0.5421 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.077e-06/2.622, allocations: 3.938 kB / 0.7991 GB, free: 92.59 MB / 0.5421 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.49e-05/2.623, allocations: 3.984 kB / 0.7991 GB, free: 92.59 MB / 0.5421 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001806/2.624, allocations: 1.36 MB / 0.8004 GB, free: 91.18 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.558e-06/2.624, allocations: 0 / 0.8004 GB, free: 91.18 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002766/2.627, allocations: 0.5775 MB / 0.801 GB, free: 90.6 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.502e-05/2.627, allocations: 4 kB / 0.801 GB, free: 90.59 MB / 0.5421 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001658/2.627, allocations: 83.92 kB / 0.8011 GB, free: 90.51 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.364e-06/2.627, allocations: 8 kB / 0.8011 GB, free: 90.5 MB / 0.5421 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/2.627, allocations: 0 / 0.8011 GB, free: 90.5 MB / 0.5421 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004055/2.631, allocations: 3.245 MB / 0.8042 GB, free: 87.24 MB / 0.5421 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007977/2.632, allocations: 379.6 kB / 0.8046 GB, free: 86.85 MB / 0.5421 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002537/2.632, allocations: 75.94 kB / 0.8047 GB, free: 86.78 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000799/2.633, allocations: 119.8 kB / 0.8048 GB, free: 86.66 MB / 0.5421 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001871/2.633, allocations: 81.19 kB / 0.8049 GB, free: 86.58 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.965e-05/2.634, allocations: 43.98 kB / 0.8049 GB, free: 86.54 MB / 0.5421 GB Notification: Performance of sorting global known variables: time 0.0004328/2.634, allocations: 345.1 kB / 0.8052 GB, free: 86.2 MB / 0.5421 GB Notification: Performance of sort global known variables: time 4.61e-07/2.634, allocations: 4 kB / 0.8052 GB, free: 86.2 MB / 0.5421 GB Notification: Performance of remove unused functions: time 0.001058/2.635, allocations: 355.7 kB / 0.8056 GB, free: 85.85 MB / 0.5421 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 65 (P_sfc,generator[1].theta,generator[1].omega,generator[1].p,generator[1].q_ev,generator[1].y_t,generator[1].p_t_lp,generator[1].T_s[1],generator[1].T_s[2],generator[1].T_s[3],generator[1].T_s[4],generator[1].T_s[5],generator[1].T_s[6],generator[1].T_s[7],generator[1].T_s[8],generator[1].err_p_t_int,generator[1].err_p_int,generator[2].theta,generator[2].omega,generator[2].p,generator[2].q_ev,generator[2].y_t,generator[2].p_t_lp,generator[2].T_s[1],generator[2].T_s[2],generator[2].T_s[3],generator[2].T_s[4],generator[2].T_s[5],generator[2].T_s[6],generator[2].T_s[7],generator[2].T_s[8],generator[2].err_p_t_int,generator[2].err_p_int,generator[3].theta,generator[3].omega,generator[3].p,generator[3].q_ev,generator[3].y_t,generator[3].p_t_lp,generator[3].T_s[1],generator[3].T_s[2],generator[3].T_s[3],generator[3].T_s[4],generator[3].T_s[5],generator[3].T_s[6],generator[3].T_s[7],generator[3].T_s[8],generator[3].err_p_t_int,generator[3].err_p_int,generator[4].theta,generator[4].omega,generator[4].p,generator[4].q_ev,generator[4].y_t,generator[4].p_t_lp,generator[4].T_s[1],generator[4].T_s[2],generator[4].T_s[3],generator[4].T_s[4],generator[4].T_s[5],generator[4].T_s[6],generator[4].T_s[7],generator[4].T_s[8],generator[4].err_p_t_int,generator[4].err_p_int) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (146): * Single equations (assignments): 146 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004571/2.64, allocations: 3.869 MB / 0.8094 GB, free: 81.95 MB / 0.5421 GB Notification: Performance of simCode: created initialization part: time 0.003534/2.643, allocations: 2.381 MB / 0.8117 GB, free: 79.56 MB / 0.5421 GB Notification: Performance of simCode: created event and clocks part: time 4.929e-06/2.643, allocations: 4.062 kB / 0.8117 GB, free: 79.56 MB / 0.5421 GB Notification: Performance of simCode: created simulation system equations: time 0.001331/2.645, allocations: 1.05 MB / 0.8127 GB, free: 78.51 MB / 0.5421 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004371/2.645, allocations: 42.91 kB / 0.8128 GB, free: 78.47 MB / 0.5421 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008507/2.654, allocations: 6.834 MB / 0.8194 GB, free: 71.58 MB / 0.5421 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008655/2.654, allocations: 1.214 MB / 0.8206 GB, free: 70.34 MB / 0.5421 GB Notification: Performance of simCode: alias equations: time 0.001697/2.656, allocations: 0.6938 MB / 0.8213 GB, free: 69.64 MB / 0.5421 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006856/2.657, allocations: 327.3 kB / 0.8216 GB, free: 69.32 MB / 0.5421 GB Notification: Performance of SimCode: time 2.204e-06/2.657, allocations: 0 / 0.8216 GB, free: 69.32 MB / 0.5421 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04675/2.704, allocations: 22.33 MB / 0.8434 GB, free: 47.22 MB / 0.5421 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002569/2.704, allocations: 203.4 kB / 0.8436 GB, free: 47 MB / 0.5421 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.007/5.711, allocations: 0 / 0.8436 GB, free: 47 MB / 0.5421 GB (rm -f ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_4_M_8.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_4_M_8.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_4_M_8.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_4_M_8.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_4_M_8_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Power_ConceptualPowerSystem_ScaledExperiments_PowerSystemStepLoad_N_4_M_8_fmu --startTime=0 --stopTime=200 --timeout=300 --tolerance=1e-07 ScalableTestSuite_ScalableTestSuite_Power_ConceptualPowerSystem_ScaledExperiments_PowerSystemStepLoad_N_4_M_8.fmu > ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_4_M_8.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_4_M_8_res.mat does not exist to compare? outputFormat=mat