Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_4_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_4_M_4,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Power_ConceptualPowerSystem_ScaledExperiments_PowerSystemStepLoad_N_4_M_4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_4_M_4,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Power_ConceptualPowerSystem_ScaledExperiments_PowerSystemStepLoad_N_4_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.001234/0.001235, allocations: 180.3 kB / 16.38 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.464/1.464, allocations: 223.2 MB / 240.3 MB, free: 10.16 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.001308/0.001308, allocations: 100.2 kB / 291.5 MB, free: 10.7 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.136/1.136, allocations: 120.5 MB / 463 MB, free: 8.707 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003429/0.0003429, allocations: 8 kB / 0.5434 GB, free: 42.35 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1723/0.1727, allocations: 82.85 MB / 0.6243 GB, free: 9.121 MB / 442.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8498/1.023, allocations: 126.3 MB / 0.7477 GB, free: 7.59 MB / 0.5107 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001781/1.023, allocations: 46.36 kB / 0.7477 GB, free: 7.57 MB / 0.5107 GB Notification: Performance of FrontEnd - DAE generated: time 0.08773/1.111, allocations: 26.65 MB / 0.7738 GB, free: 336 kB / 0.5263 GB Notification: Performance of FrontEnd: time 4.609e-06/1.111, allocations: 11.92 kB / 0.7738 GB, free: 324 kB / 0.5263 GB Notification: Performance of Transformations before backend: time 3.801e-05/1.111, allocations: 16 kB / 0.7738 GB, free: 308 kB / 0.5263 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 171 * Number of variables: 171 Notification: Performance of Generate backend data structure: time 0.003989/1.115, allocations: 1.552 MB / 0.7753 GB, free: 14.75 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 6.862e-05/1.115, allocations: 16.03 kB / 0.7753 GB, free: 14.73 MB / 0.5419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001759/1.115, allocations: 120.1 kB / 0.7754 GB, free: 14.64 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001928/1.115, allocations: 90.91 kB / 0.7755 GB, free: 14.55 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002864/1.118, allocations: 0.9493 MB / 0.7765 GB, free: 13.62 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.377e-05/1.118, allocations: 61.38 kB / 0.7765 GB, free: 13.58 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004012/1.118, allocations: 138.5 kB / 0.7766 GB, free: 13.48 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001889/1.12, allocations: 1.14 MB / 0.7778 GB, free: 12.6 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.861e-05/1.12, allocations: 0 / 0.7778 GB, free: 12.6 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.585e-05/1.121, allocations: 26.38 kB / 0.7778 GB, free: 12.59 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.607e-05/1.121, allocations: 33.67 kB / 0.7778 GB, free: 12.57 MB / 0.5419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002061/1.123, allocations: 1.237 MB / 0.779 GB, free: 11.61 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007544/1.13, allocations: 3.239 MB / 0.7822 GB, free: 8.875 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003145/1.133, allocations: 1.837 MB / 0.784 GB, free: 7.543 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 6.777e-05/1.133, allocations: 13 kB / 0.784 GB, free: 7.531 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.562e-05/1.133, allocations: 43.38 kB / 0.784 GB, free: 7.488 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=118): time 3.497e-06/1.134, allocations: 0 / 0.784 GB, free: 7.488 MB / 0.5419 GB Notification: Performance of matching and sorting (n=118): time 0.003609/1.137, allocations: 2.258 MB / 0.7862 GB, free: 5.77 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.991e-05/1.137, allocations: 68.41 kB / 0.7863 GB, free: 5.691 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005507/1.138, allocations: 457.4 kB / 0.7867 GB, free: 5.32 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 0.0001017/1.138, allocations: 56.95 kB / 0.7868 GB, free: 5.281 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002226/1.138, allocations: 262.3 kB / 0.787 GB, free: 5.09 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004035/1.139, allocations: 463.2 kB / 0.7875 GB, free: 4.691 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.986e-05/1.139, allocations: 31.38 kB / 0.7875 GB, free: 4.684 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 0.0002358/1.139, allocations: 401 kB / 0.7879 GB, free: 4.32 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001548/1.14, allocations: 0.8892 MB / 0.7888 GB, free: 3.652 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001423/1.142, allocations: 1.063 MB / 0.7898 GB, free: 2.789 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001477/1.143, allocations: 1.043 MB / 0.7908 GB, free: 2.043 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/1.143, allocations: 0 / 0.7908 GB, free: 2.043 MB / 0.5419 GB Notification: Performance of matching and sorting (n=184) (initialization): time 0.003482/1.147, allocations: 2.223 MB / 0.793 GB, free: 364 kB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 3.039e-05/1.147, allocations: 14.75 kB / 0.793 GB, free: 352 kB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.493e-05/1.147, allocations: 4 kB / 0.793 GB, free: 348 kB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.994e-05/1.147, allocations: 8 kB / 0.793 GB, free: 340 kB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002332/1.149, allocations: 483.1 kB / 0.7935 GB, free: 15.87 MB / 0.5575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.27e-05/1.149, allocations: 16.3 kB / 0.7935 GB, free: 15.86 MB / 0.5575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008729/1.15, allocations: 193.8 kB / 0.7937 GB, free: 15.69 MB / 0.5575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.871e-05/1.15, allocations: 47.61 kB / 0.7937 GB, free: 15.65 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 (184): * Single equations (assignments): 184 * 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.0004976/1.151, allocations: 338.7 kB / 0.794 GB, free: 15.38 MB / 0.5575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001445/1.151, allocations: 71.06 kB / 0.7941 GB, free: 15.3 MB / 0.5575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003147/1.154, allocations: 1.88 MB / 0.796 GB, free: 13.96 MB / 0.5575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.348e-05/1.154, allocations: 16 kB / 0.796 GB, free: 13.95 MB / 0.5575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.877e-06/1.154, allocations: 0 / 0.796 GB, free: 13.95 MB / 0.5575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.406e-05/1.154, allocations: 7.938 kB / 0.796 GB, free: 13.94 MB / 0.5575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001523/1.156, allocations: 1.133 MB / 0.7971 GB, free: 12.99 MB / 0.5575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.379e-06/1.156, allocations: 3.938 kB / 0.7971 GB, free: 12.98 MB / 0.5575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002248/1.158, allocations: 447.2 kB / 0.7975 GB, free: 12.55 MB / 0.5575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.878e-05/1.158, allocations: 4 kB / 0.7975 GB, free: 12.55 MB / 0.5575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003519/1.158, allocations: 59.39 kB / 0.7976 GB, free: 12.52 MB / 0.5575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.053e-06/1.158, allocations: 4 kB / 0.7976 GB, free: 12.51 MB / 0.5575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/1.158, allocations: 7.984 kB / 0.7976 GB, free: 12.5 MB / 0.5575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003404/1.162, allocations: 2.708 MB / 0.8002 GB, free: 10.43 MB / 0.5575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008772/1.163, allocations: 326.2 kB / 0.8005 GB, free: 10.12 MB / 0.5575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001586/1.163, allocations: 55.33 kB / 0.8006 GB, free: 10.09 MB / 0.5575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006557/1.164, allocations: 95.23 kB / 0.8007 GB, free: 10.01 MB / 0.5575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001422/1.164, allocations: 68.95 kB / 0.8007 GB, free: 9.953 MB / 0.5575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.131e-05/1.164, allocations: 35.73 kB / 0.8008 GB, free: 9.926 MB / 0.5575 GB Notification: Performance of sorting global known variables: time 0.0003675/1.164, allocations: 352.8 kB / 0.8011 GB, free: 9.648 MB / 0.5575 GB Notification: Performance of sort global known variables: time 1.51e-07/1.164, allocations: 4 kB / 0.8011 GB, free: 9.645 MB / 0.5575 GB Notification: Performance of remove unused functions: time 0.0007036/1.165, allocations: 289.6 kB / 0.8014 GB, free: 9.398 MB / 0.5575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 49 (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) * 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 (130): * Single equations (assignments): 130 * 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.00426/1.169, allocations: 3.318 MB / 0.8046 GB, free: 6.734 MB / 0.5575 GB Notification: Performance of simCode: created initialization part: time 0.003214/1.172, allocations: 1.879 MB / 0.8065 GB, free: 5.285 MB / 0.5575 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/1.172, allocations: 0 / 0.8065 GB, free: 5.285 MB / 0.5575 GB Notification: Performance of simCode: created simulation system equations: time 0.001133/1.174, allocations: 0.8632 MB / 0.8073 GB, free: 4.629 MB / 0.5575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004038/1.174, allocations: 34.92 kB / 0.8074 GB, free: 4.621 MB / 0.5575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01651/1.191, allocations: 12.76 MB / 0.8198 GB, free: 9.133 MB / 0.5732 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001336/1.192, allocations: 1.15 MB / 0.8209 GB, free: 7.984 MB / 0.5732 GB Notification: Performance of simCode: alias equations: time 0.001402/1.193, allocations: 0.5486 MB / 0.8215 GB, free: 7.43 MB / 0.5732 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005442/1.194, allocations: 290.9 kB / 0.8217 GB, free: 7.344 MB / 0.5732 GB Notification: Performance of SimCode: time 2.755e-06/1.194, allocations: 0 / 0.8217 GB, free: 7.344 MB / 0.5732 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0397/1.234, allocations: 18.31 MB / 0.8396 GB, free: 5.285 MB / 0.5888 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002484/1.234, allocations: 244.9 kB / 0.8399 GB, free: 5.035 MB / 0.5888 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.807/4.041, allocations: 0 / 0.8399 GB, free: 5.035 MB / 0.5888 GB (rm -f ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_4_M_4.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_4_M_4.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_4_M_4.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_4_M_4.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_4_M_4_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Power_ConceptualPowerSystem_ScaledExperiments_PowerSystemStepLoad_N_4_M_4_fmu --startTime=0 --stopTime=200 --timeout=300 --tolerance=1e-07 ScalableTestSuite_ScalableTestSuite_Power_ConceptualPowerSystem_ScaledExperiments_PowerSystemStepLoad_N_4_M_4.fmu > ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_4_M_4.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_4_M_4_res.mat does not exist to compare? outputFormat=mat