Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_8_M_4.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_8_M_4,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Power_ConceptualPowerSystem_ScaledExperiments_PowerSystemStepLoad_N_8_M_4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_8_M_4,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Power_ConceptualPowerSystem_ScaledExperiments_PowerSystemStepLoad_N_8_M_4",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.00146/0.00146, allocations: 176.6 kB / 8.349 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.636/1.636, 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.001192/0.001192, allocations: 94.09 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 1.5/1.5, allocations: 120.4 MB / 452.4 MB, free: 10.5 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 2.803e-05/2.802e-05, allocations: 7.984 kB / 0.5289 GB, free: 1.203 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8709/0.8709, allocations: 82.83 MB / 0.6098 GB, free: 12.97 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2128/1.084, allocations: 125.6 MB / 0.7324 GB, free: 15.23 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001832/1.084, allocations: 51.92 kB / 0.7325 GB, free: 15.18 MB / 0.5419 GB Notification: Performance of FrontEnd - DAE generated: time 1.162/2.246, allocations: 73.52 MB / 0.8043 GB, free: 87.17 MB / 0.5421 GB Notification: Performance of FrontEnd: time 1.603e-06/2.246, allocations: 0 / 0.8043 GB, free: 87.17 MB / 0.5421 GB Notification: Performance of Transformations before backend: time 7.219e-05/2.246, allocations: 32 kB / 0.8043 GB, free: 87.14 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: 403 * Number of variables: 403 Notification: Performance of Generate backend data structure: time 0.007257/2.253, allocations: 3.197 MB / 0.8074 GB, free: 83.89 MB / 0.5421 GB Notification: Performance of prepare preOptimizeDAE: time 5.236e-05/2.253, allocations: 12.03 kB / 0.8074 GB, free: 83.88 MB / 0.5421 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004337/2.254, allocations: 193.8 kB / 0.8076 GB, free: 83.69 MB / 0.5421 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004414/2.258, allocations: 1.805 MB / 0.8094 GB, free: 81.84 MB / 0.5421 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.84e-05/2.258, allocations: 48 kB / 0.8094 GB, free: 81.79 MB / 0.5421 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007255/2.259, allocations: 231.5 kB / 0.8097 GB, free: 81.56 MB / 0.5421 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004279/2.263, allocations: 3.504 MB / 0.8131 GB, free: 78.05 MB / 0.5421 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003392/2.267, allocations: 2.513 MB / 0.8155 GB, free: 75.52 MB / 0.5421 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.635e-05/2.267, allocations: 19.89 kB / 0.8155 GB, free: 75.5 MB / 0.5421 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001755/2.267, allocations: 0 / 0.8155 GB, free: 75.5 MB / 0.5421 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.91e-05/2.267, allocations: 59.17 kB / 0.8156 GB, free: 75.45 MB / 0.5421 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01461/2.282, allocations: 7.343 MB / 0.8228 GB, free: 68.05 MB / 0.5421 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005512/2.287, allocations: 4.53 MB / 0.8272 GB, free: 63.52 MB / 0.5421 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002548/2.29, allocations: 2.301 MB / 0.8294 GB, free: 61.21 MB / 0.5421 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001659/2.29, allocations: 50.3 kB / 0.8295 GB, free: 61.16 MB / 0.5421 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.851e-05/2.29, allocations: 64.91 kB / 0.8296 GB, free: 61.09 MB / 0.5421 GB Notification: Performance of pre-optimization done (n=298): time 5.942e-06/2.29, allocations: 0 / 0.8296 GB, free: 61.09 MB / 0.5421 GB Notification: Performance of matching and sorting (n=298): time 0.00497/2.295, allocations: 3.828 MB / 0.8333 GB, free: 57.21 MB / 0.5421 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4e-05/2.295, allocations: 81.75 kB / 0.8334 GB, free: 57.11 MB / 0.5421 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000701/2.296, allocations: 0.7065 MB / 0.8341 GB, free: 56.4 MB / 0.5421 GB Notification: Performance of collectPreVariables (initialization): time 0.0002497/2.296, allocations: 25.7 kB / 0.8341 GB, free: 56.37 MB / 0.5421 GB Notification: Performance of collectInitialEqns (initialization): time 0.000242/2.296, allocations: 435.7 kB / 0.8345 GB, free: 55.94 MB / 0.5421 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006823/2.297, allocations: 1.074 MB / 0.8356 GB, free: 54.85 MB / 0.5421 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001927/2.297, allocations: 0 / 0.8356 GB, free: 54.85 MB / 0.5421 GB Notification: Performance of setup shared object (initialization): time 0.000199/2.297, allocations: 0.4978 MB / 0.836 GB, free: 54.34 MB / 0.5421 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002363/2.3, allocations: 2.048 MB / 0.838 GB, free: 52.29 MB / 0.5421 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002624/2.302, allocations: 2.4 MB / 0.8404 GB, free: 49.81 MB / 0.5421 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002833/2.305, allocations: 2.407 MB / 0.8427 GB, free: 47.39 MB / 0.5421 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.159e-05/2.305, allocations: 7.938 kB / 0.8427 GB, free: 47.38 MB / 0.5421 GB Notification: Performance of matching and sorting (n=428) (initialization): time 0.00634/2.311, allocations: 4.93 MB / 0.8476 GB, free: 42.43 MB / 0.5421 GB Notification: Performance of prepare postOptimizeDAE: time 2.72e-05/2.312, allocations: 8 kB / 0.8476 GB, free: 42.42 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.955e-05/2.312, allocations: 12.02 kB / 0.8476 GB, free: 42.41 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.979e-05/2.312, allocations: 24 kB / 0.8476 GB, free: 42.38 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004415/2.316, allocations: 1.057 MB / 0.8486 GB, free: 41.32 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.503e-05/2.316, allocations: 20 kB / 0.8486 GB, free: 41.3 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002298/2.318, allocations: 360.8 kB / 0.849 GB, free: 40.95 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004198/2.319, allocations: 112 kB / 0.8491 GB, free: 40.84 MB / 0.5421 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (428): * Single equations (assignments): 428 * 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.0006631/2.32, allocations: 160.2 kB / 0.8493 GB, free: 40.68 MB / 0.5421 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.005329/2.325, allocations: 3.824 MB / 0.853 GB, free: 36.8 MB / 0.5421 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003824/2.325, allocations: 154.1 kB / 0.8531 GB, free: 36.65 MB / 0.5421 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006779/2.332, allocations: 4.713 MB / 0.8577 GB, free: 31.89 MB / 0.5421 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.34e-05/2.332, allocations: 43.98 kB / 0.8578 GB, free: 31.85 MB / 0.5421 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.402e-05/2.332, allocations: 0 / 0.8578 GB, free: 31.85 MB / 0.5421 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.337e-05/2.332, allocations: 19.88 kB / 0.8578 GB, free: 31.83 MB / 0.5421 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00321/2.335, allocations: 2.392 MB / 0.8601 GB, free: 29.39 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.498e-06/2.335, allocations: 0 / 0.8601 GB, free: 29.39 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004938/2.34, allocations: 1.042 MB / 0.8611 GB, free: 28.35 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.312e-05/2.34, allocations: 12 kB / 0.8612 GB, free: 28.34 MB / 0.5421 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004551/2.341, allocations: 103.9 kB / 0.8613 GB, free: 28.24 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.386e-05/2.341, allocations: 16 kB / 0.8613 GB, free: 28.22 MB / 0.5421 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/2.341, allocations: 0 / 0.8613 GB, free: 28.22 MB / 0.5421 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008306/2.349, allocations: 6.491 MB / 0.8676 GB, free: 21.67 MB / 0.5421 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001301/2.351, allocations: 0.6776 MB / 0.8683 GB, free: 20.97 MB / 0.5421 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005375/2.351, allocations: 71.91 kB / 0.8683 GB, free: 20.9 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001783/2.353, allocations: 171.7 kB / 0.8685 GB, free: 20.73 MB / 0.5421 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003452/2.353, allocations: 194.5 kB / 0.8687 GB, free: 20.54 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002198/2.354, allocations: 95.92 kB / 0.8688 GB, free: 20.45 MB / 0.5421 GB Notification: Performance of sorting global known variables: time 0.0005786/2.354, allocations: 0.5186 MB / 0.8693 GB, free: 19.93 MB / 0.5421 GB Notification: Performance of sort global known variables: time 2e-07/2.354, allocations: 0 / 0.8693 GB, free: 19.93 MB / 0.5421 GB Notification: Performance of remove unused functions: time 0.001803/2.356, allocations: 0.5777 MB / 0.8699 GB, free: 19.36 MB / 0.5421 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 97 (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].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].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].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].err_p_t_int,generator[4].err_p_int,generator[5].theta,generator[5].omega,generator[5].p,generator[5].q_ev,generator[5].y_t,generator[5].p_t_lp,generator[5].T_s[1],generator[5].T_s[2],generator[5].T_s[3],generator[5].T_s[4],generator[5].err_p_t_int,generator[5].err_p_int,generator[6].theta,generator[6].omega,generator[6].p,generator[6].q_ev,generator[6].y_t,generator[6].p_t_lp,generator[6].T_s[1],generator[6].T_s[2],generator[6].T_s[3],generator[6].T_s[4],generator[6].err_p_t_int,generator[6].err_p_int,generator[7].theta,generator[7].omega,generator[7].p,generator[7].q_ev,generator[7].y_t,generator[7].p_t_lp,generator[7].T_s[1],generator[7].T_s[2],generator[7].T_s[3],generator[7].T_s[4],generator[7].err_p_t_int,generator[7].err_p_int,generator[8].theta,generator[8].omega,generator[8].p,generator[8].q_ev,generator[8].y_t,generator[8].p_t_lp,generator[8].T_s[1],generator[8].T_s[2],generator[8].T_s[3],generator[8].T_s[4],generator[8].err_p_t_int,generator[8].err_p_int) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (354): * Single equations (assignments): 354 * 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.008459/2.364, allocations: 7.152 MB / 0.8768 GB, free: 12.14 MB / 0.5421 GB Notification: Performance of simCode: created initialization part: time 0.006153/2.371, allocations: 4.486 MB / 0.8812 GB, free: 7.637 MB / 0.5421 GB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/2.371, allocations: 4 kB / 0.8812 GB, free: 7.633 MB / 0.5421 GB Notification: Performance of simCode: created simulation system equations: time 0.002784/2.373, allocations: 2.216 MB / 0.8834 GB, free: 5.418 MB / 0.5421 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000863/2.374, allocations: 32.86 kB / 0.8834 GB, free: 5.391 MB / 0.5421 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01628/2.391, allocations: 11.44 MB / 0.8946 GB, free: 9.867 MB / 0.5578 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001753/2.392, allocations: 1.748 MB / 0.8963 GB, free: 8.082 MB / 0.5578 GB Notification: Performance of simCode: alias equations: time 0.004562/2.397, allocations: 1.403 MB / 0.8977 GB, free: 6.672 MB / 0.5578 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002109/2.399, allocations: 0.7063 MB / 0.8984 GB, free: 5.965 MB / 0.5578 GB Notification: Performance of SimCode: time 1.493e-06/2.399, allocations: 4 kB / 0.8984 GB, free: 5.961 MB / 0.5578 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09549/2.495, allocations: 40.65 MB / 0.9381 GB, free: 13.41 MB / 0.6046 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002463/2.495, allocations: 204.3 kB / 0.9383 GB, free: 13.2 MB / 0.6046 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.743/7.238, allocations: 0 / 0.9383 GB, free: 13.2 MB / 0.6046 GB (rm -f ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_8_M_4.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_8_M_4.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_8_M_4.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_8_M_4.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_8_M_4_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Power_ConceptualPowerSystem_ScaledExperiments_PowerSystemStepLoad_N_8_M_4_fmu --startTime=0 --stopTime=200 --timeout=300 --tolerance=1e-07 ScalableTestSuite_ScalableTestSuite_Power_ConceptualPowerSystem_ScaledExperiments_PowerSystemStepLoad_N_8_M_4.fmu > ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_8_M_4.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_8_M_4_res.mat does not exist to compare? outputFormat=mat