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.001795/0.001795, allocations: 179.5 kB / 16.39 MB, free: 5.766 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.443/1.443, allocations: 223.2 MB / 240.3 MB, free: 10.15 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001018/0.001018, allocations: 93.22 kB / 291.5 MB, free: 10.71 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.7693/0.7693, allocations: 120.5 MB / 463 MB, free: 8.734 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003468/0.0003468, allocations: 4 kB / 0.5434 GB, free: 42.32 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1682/0.1685, allocations: 82.85 MB / 0.6243 GB, free: 9.137 MB / 442.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8862/1.055, allocations: 126.3 MB / 0.7477 GB, free: 7.609 MB / 0.5107 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000163/1.055, allocations: 50.61 kB / 0.7477 GB, free: 7.59 MB / 0.5107 GB Notification: Performance of FrontEnd - DAE generated: time 0.1002/1.155, allocations: 31.94 MB / 0.7789 GB, free: 11.39 MB / 0.5419 GB Notification: Performance of FrontEnd: time 2.164e-06/1.155, allocations: 0 / 0.7789 GB, free: 11.39 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 3.939e-05/1.155, allocations: 16 kB / 0.779 GB, free: 11.37 MB / 0.5419 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.00507/1.16, allocations: 1.996 MB / 0.7809 GB, free: 9.379 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 4.783e-05/1.16, allocations: 12.03 kB / 0.7809 GB, free: 9.367 MB / 0.5419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002758/1.161, allocations: 133.4 kB / 0.781 GB, free: 9.277 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002688/1.161, allocations: 94.95 kB / 0.7811 GB, free: 9.184 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004153/1.165, allocations: 1.421 MB / 0.7825 GB, free: 7.785 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.54e-05/1.165, allocations: 76.62 kB / 0.7826 GB, free: 7.742 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005247/1.166, allocations: 162 kB / 0.7827 GB, free: 7.621 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002152/1.168, allocations: 1.453 MB / 0.7842 GB, free: 6.496 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.992e-05/1.168, allocations: 4 kB / 0.7842 GB, free: 6.492 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.482e-05/1.168, allocations: 35.31 kB / 0.7842 GB, free: 6.484 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.366e-05/1.168, allocations: 30 kB / 0.7842 GB, free: 6.457 MB / 0.5419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001989/1.17, allocations: 1.452 MB / 0.7857 GB, free: 5.336 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01008/1.18, allocations: 4.331 MB / 0.7899 GB, free: 1.645 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003296/1.184, allocations: 2.269 MB / 0.7921 GB, free: 36 kB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 9.423e-05/1.184, allocations: 17.12 kB / 0.7921 GB, free: 24 kB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.913e-05/1.184, allocations: 51.56 kB / 0.7922 GB, free: 15.97 MB / 0.5575 GB Notification: Performance of pre-optimization done (n=134): time 3.296e-06/1.184, allocations: 0 / 0.7922 GB, free: 15.97 MB / 0.5575 GB Notification: Performance of matching and sorting (n=134): time 0.004199/1.188, allocations: 2.807 MB / 0.7949 GB, free: 13.82 MB / 0.5575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.746e-05/1.188, allocations: 64.72 kB / 0.795 GB, free: 13.75 MB / 0.5575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005509/1.189, allocations: 458.2 kB / 0.7954 GB, free: 13.38 MB / 0.5575 GB Notification: Performance of collectPreVariables (initialization): time 0.0002189/1.189, allocations: 60.39 kB / 0.7955 GB, free: 13.34 MB / 0.5575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002353/1.189, allocations: 295.3 kB / 0.7957 GB, free: 13.12 MB / 0.5575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004297/1.19, allocations: 0.5163 MB / 0.7962 GB, free: 12.67 MB / 0.5575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001468/1.19, allocations: 35.19 kB / 0.7963 GB, free: 12.66 MB / 0.5575 GB Notification: Performance of setup shared object (initialization): time 0.0001949/1.19, allocations: 417 kB / 0.7967 GB, free: 12.29 MB / 0.5575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001738/1.192, allocations: 1.195 MB / 0.7978 GB, free: 11.38 MB / 0.5575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00184/1.194, allocations: 1.383 MB / 0.7992 GB, free: 10.27 MB / 0.5575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001967/1.196, allocations: 1.381 MB / 0.8005 GB, free: 9.277 MB / 0.5575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.327e-06/1.196, allocations: 0 / 0.8005 GB, free: 9.277 MB / 0.5575 GB Notification: Performance of matching and sorting (n=216) (initialization): time 0.004302/1.2, allocations: 2.892 MB / 0.8034 GB, free: 7.082 MB / 0.5575 GB Notification: Performance of prepare postOptimizeDAE: time 2.737e-05/1.2, allocations: 7.125 kB / 0.8034 GB, free: 7.078 MB / 0.5575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.435e-05/1.2, allocations: 4 kB / 0.8034 GB, free: 7.074 MB / 0.5575 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.093e-05/1.2, allocations: 12 kB / 0.8034 GB, free: 7.062 MB / 0.5575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002855/1.203, allocations: 0.616 MB / 0.804 GB, free: 6.457 MB / 0.5575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.527e-05/1.203, allocations: 15.98 kB / 0.804 GB, free: 6.441 MB / 0.5575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001284/1.204, allocations: 233 kB / 0.8042 GB, free: 6.238 MB / 0.5575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000274/1.204, allocations: 63.55 kB / 0.8043 GB, free: 6.191 MB / 0.5575 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 () * Number of clocked 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.0007576/1.205, allocations: 390.1 kB / 0.8047 GB, free: 5.871 MB / 0.5575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002383/1.205, allocations: 75.06 kB / 0.8047 GB, free: 5.797 MB / 0.5575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003583/1.209, allocations: 2.297 MB / 0.807 GB, free: 4.148 MB / 0.5575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.256e-05/1.209, allocations: 12 kB / 0.807 GB, free: 4.137 MB / 0.5575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.197e-06/1.209, allocations: 0 / 0.807 GB, free: 4.137 MB / 0.5575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.723e-05/1.209, allocations: 11.97 kB / 0.807 GB, free: 4.125 MB / 0.5575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001824/1.211, allocations: 1.375 MB / 0.8083 GB, free: 2.984 MB / 0.5575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.421e-05/1.211, allocations: 4 kB / 0.8083 GB, free: 2.98 MB / 0.5575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003139/1.214, allocations: 0.577 MB / 0.8089 GB, free: 2.414 MB / 0.5575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.153e-05/1.214, allocations: 8 kB / 0.8089 GB, free: 2.406 MB / 0.5575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002149/1.214, allocations: 78.92 kB / 0.809 GB, free: 2.355 MB / 0.5575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.311e-05/1.214, allocations: 8 kB / 0.809 GB, free: 2.348 MB / 0.5575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/1.214, allocations: 0 / 0.809 GB, free: 2.348 MB / 0.5575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004345/1.219, allocations: 3.282 MB / 0.8122 GB, free: 15.84 MB / 0.5732 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008755/1.22, allocations: 382.2 kB / 0.8126 GB, free: 15.48 MB / 0.5732 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002689/1.22, allocations: 78.61 kB / 0.8126 GB, free: 15.43 MB / 0.5732 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009371/1.221, allocations: 119.1 kB / 0.8128 GB, free: 15.33 MB / 0.5732 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001789/1.221, allocations: 81 kB / 0.8128 GB, free: 15.26 MB / 0.5732 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001007/1.221, allocations: 39.61 kB / 0.8129 GB, free: 15.23 MB / 0.5732 GB Notification: Performance of sorting global known variables: time 0.0003742/1.222, allocations: 348.4 kB / 0.8132 GB, free: 14.96 MB / 0.5732 GB Notification: Performance of sort global known variables: time 3.61e-07/1.222, allocations: 4 kB / 0.8132 GB, free: 14.96 MB / 0.5732 GB Notification: Performance of remove unused functions: time 0.001117/1.223, allocations: 358.2 kB / 0.8136 GB, free: 14.66 MB / 0.5732 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 () * Number of clocked 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.004563/1.227, allocations: 3.912 MB / 0.8174 GB, free: 11.52 MB / 0.5732 GB Notification: Performance of simCode: created initialization part: time 0.003556/1.231, allocations: 2.403 MB / 0.8197 GB, free: 9.676 MB / 0.5732 GB Notification: Performance of simCode: created event and clocks part: time 5.14e-06/1.231, allocations: 0 / 0.8197 GB, free: 9.676 MB / 0.5732 GB Notification: Performance of simCode: created simulation system equations: time 0.001335/1.232, allocations: 1.066 MB / 0.8208 GB, free: 8.863 MB / 0.5732 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004931/1.233, allocations: 40.64 kB / 0.8208 GB, free: 8.852 MB / 0.5732 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01889/1.252, allocations: 15.51 MB / 0.8359 GB, free: 10.93 MB / 0.5888 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008727/1.253, allocations: 1.221 MB / 0.8371 GB, free: 9.719 MB / 0.5888 GB Notification: Performance of simCode: alias equations: time 0.001922/1.255, allocations: 0.686 MB / 0.8378 GB, free: 9.027 MB / 0.5888 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007837/1.255, allocations: 331.6 kB / 0.8381 GB, free: 8.93 MB / 0.5888 GB Notification: Performance of SimCode: time 1.383e-06/1.255, allocations: 3.938 kB / 0.8381 GB, free: 8.926 MB / 0.5888 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0415/1.297, allocations: 22.5 MB / 0.8601 GB, free: 2.699 MB / 0.6044 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000226/1.297, allocations: 233.3 kB / 0.8603 GB, free: 2.453 MB / 0.6044 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.801/4.098, allocations: 0 / 0.8603 GB, free: 2.453 MB / 0.6044 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