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.001211/0.00121, allocations: 180.6 kB / 16.39 MB, free: 5.762 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.46/1.46, allocations: 223.2 MB / 240.3 MB, free: 11.9 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.0008478/0.0008477, allocations: 101.9 kB / 291.5 MB, free: 10.92 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.14/1.14, allocations: 120.5 MB / 463 MB, free: 8.723 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003131/0.0003132, allocations: 8 kB / 0.5434 GB, free: 42.38 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1654/0.1658, allocations: 82.87 MB / 0.6243 GB, free: 9.125 MB / 442.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7767/0.9425, allocations: 126.3 MB / 0.7477 GB, free: 7.625 MB / 0.5107 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004724/0.9431, allocations: 50.3 kB / 0.7477 GB, free: 7.605 MB / 0.5107 GB Notification: Performance of FrontEnd - DAE generated: time 0.2335/1.177, allocations: 73.93 MB / 0.8199 GB, free: 7.566 MB / 0.5732 GB Notification: Performance of FrontEnd: time 1.914e-06/1.177, allocations: 3.938 kB / 0.8199 GB, free: 7.562 MB / 0.5732 GB Notification: Performance of Transformations before backend: time 7.424e-05/1.177, allocations: 32 kB / 0.82 GB, free: 7.531 MB / 0.5732 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.008525/1.185, allocations: 3.361 MB / 0.8233 GB, free: 4.215 MB / 0.5732 GB Notification: Performance of prepare preOptimizeDAE: time 6.085e-05/1.185, allocations: 8.031 kB / 0.8233 GB, free: 4.207 MB / 0.5732 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003615/1.186, allocations: 248.1 kB / 0.8235 GB, free: 4.051 MB / 0.5732 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003994/1.186, allocations: 189.8 kB / 0.8237 GB, free: 3.863 MB / 0.5732 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005213/1.191, allocations: 1.813 MB / 0.8255 GB, free: 2.113 MB / 0.5732 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001088/1.191, allocations: 144.8 kB / 0.8256 GB, free: 2.031 MB / 0.5732 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007851/1.192, allocations: 300.7 kB / 0.8259 GB, free: 1.812 MB / 0.5732 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004656/1.197, allocations: 2.775 MB / 0.8286 GB, free: 15.81 MB / 0.5888 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.211e-05/1.197, allocations: 7.906 kB / 0.8286 GB, free: 15.8 MB / 0.5888 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001863/1.197, allocations: 62.38 kB / 0.8287 GB, free: 15.79 MB / 0.5888 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.7e-05/1.197, allocations: 59.17 kB / 0.8287 GB, free: 15.73 MB / 0.5888 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005492/1.203, allocations: 3.634 MB / 0.8323 GB, free: 12.89 MB / 0.5888 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01785/1.221, allocations: 7.649 MB / 0.8397 GB, free: 6.512 MB / 0.5888 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006769/1.227, allocations: 4.687 MB / 0.8443 GB, free: 3.352 MB / 0.5888 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001532/1.228, allocations: 42.19 kB / 0.8443 GB, free: 3.312 MB / 0.5888 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.931e-05/1.228, allocations: 62.91 kB / 0.8444 GB, free: 3.258 MB / 0.5888 GB Notification: Performance of pre-optimization done (n=298): time 5.961e-06/1.228, allocations: 0 / 0.8444 GB, free: 3.258 MB / 0.5888 GB Notification: Performance of matching and sorting (n=298): time 0.009007/1.237, allocations: 5.777 MB / 0.85 GB, free: 14.88 MB / 0.6044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.249e-05/1.237, allocations: 81.75 kB / 0.8501 GB, free: 14.79 MB / 0.6044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001007/1.238, allocations: 0.7868 MB / 0.8509 GB, free: 14.15 MB / 0.6044 GB Notification: Performance of collectPreVariables (initialization): time 0.0006469/1.238, allocations: 88.02 kB / 0.851 GB, free: 14.11 MB / 0.6044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003718/1.239, allocations: 458 kB / 0.8514 GB, free: 13.81 MB / 0.6044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009231/1.24, allocations: 1.097 MB / 0.8525 GB, free: 12.85 MB / 0.6044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001942/1.24, allocations: 69.56 kB / 0.8526 GB, free: 12.83 MB / 0.6044 GB Notification: Performance of setup shared object (initialization): time 0.0003269/1.24, allocations: 0.5026 MB / 0.853 GB, free: 12.39 MB / 0.6044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003303/1.244, allocations: 2.153 MB / 0.8551 GB, free: 10.79 MB / 0.6044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003292/1.247, allocations: 2.515 MB / 0.8576 GB, free: 8.805 MB / 0.6044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003636/1.251, allocations: 2.506 MB / 0.86 GB, free: 7.004 MB / 0.6044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.576e-06/1.251, allocations: 0 / 0.86 GB, free: 7.004 MB / 0.6044 GB Notification: Performance of matching and sorting (n=428) (initialization): time 0.008031/1.259, allocations: 5.261 MB / 0.8652 GB, free: 3.059 MB / 0.6044 GB Notification: Performance of prepare postOptimizeDAE: time 3.871e-05/1.259, allocations: 10.81 kB / 0.8652 GB, free: 3.051 MB / 0.6044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.104e-05/1.259, allocations: 7.938 kB / 0.8652 GB, free: 3.043 MB / 0.6044 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.492e-05/1.259, allocations: 20 kB / 0.8652 GB, free: 3.023 MB / 0.6044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004863/1.264, allocations: 1.065 MB / 0.8663 GB, free: 1.98 MB / 0.6044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.035e-05/1.264, allocations: 23.98 kB / 0.8663 GB, free: 1.957 MB / 0.6044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002346/1.266, allocations: 430.9 kB / 0.8667 GB, free: 1.586 MB / 0.6044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002427/1.266, allocations: 111.1 kB / 0.8668 GB, free: 1.504 MB / 0.6044 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 () * Number of clocked 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.001181/1.267, allocations: 0.6356 MB / 0.8674 GB, free: 1 MB / 0.6044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004061/1.268, allocations: 158 kB / 0.8676 GB, free: 0.8438 MB / 0.6044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008125/1.276, allocations: 5.046 MB / 0.8725 GB, free: 13.21 MB / 0.62 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-05/1.276, allocations: 36 kB / 0.8725 GB, free: 13.17 MB / 0.62 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.419e-05/1.276, allocations: 4 kB / 0.8725 GB, free: 13.17 MB / 0.62 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.511e-05/1.276, allocations: 15.94 kB / 0.8726 GB, free: 13.15 MB / 0.62 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004062/1.28, allocations: 2.653 MB / 0.8751 GB, free: 11.04 MB / 0.62 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.057e-06/1.28, allocations: 0 / 0.8751 GB, free: 11.04 MB / 0.62 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005265/1.285, allocations: 1.041 MB / 0.8762 GB, free: 10.03 MB / 0.62 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.541e-05/1.286, allocations: 12 kB / 0.8762 GB, free: 10.02 MB / 0.62 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003314/1.286, allocations: 140.3 kB / 0.8763 GB, free: 9.934 MB / 0.62 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.866e-05/1.286, allocations: 12 kB / 0.8763 GB, free: 9.922 MB / 0.62 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.282e-06/1.286, allocations: 7.891 kB / 0.8763 GB, free: 9.914 MB / 0.62 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009603/1.296, allocations: 6.827 MB / 0.883 GB, free: 4.797 MB / 0.62 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002023/1.298, allocations: 0.6748 MB / 0.8837 GB, free: 4.168 MB / 0.62 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003864/1.298, allocations: 128.7 kB / 0.8838 GB, free: 4.098 MB / 0.62 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001488/1.299, allocations: 228.5 kB / 0.884 GB, free: 3.914 MB / 0.62 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003579/1.3, allocations: 194.1 kB / 0.8842 GB, free: 3.746 MB / 0.62 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001928/1.3, allocations: 88.84 kB / 0.8843 GB, free: 3.68 MB / 0.62 GB Notification: Performance of sorting global known variables: time 0.001035/1.301, allocations: 0.6 MB / 0.8848 GB, free: 3.215 MB / 0.62 GB Notification: Performance of sort global known variables: time 1.51e-07/1.301, allocations: 0 / 0.8848 GB, free: 3.215 MB / 0.62 GB Notification: Performance of remove unused functions: time 0.001691/1.303, allocations: 0.6933 MB / 0.8855 GB, free: 2.617 MB / 0.62 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 () * Number of clocked 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.009946/1.313, allocations: 7.538 MB / 0.8929 GB, free: 12.83 MB / 0.6357 GB Notification: Performance of simCode: created initialization part: time 0.007321/1.32, allocations: 4.715 MB / 0.8975 GB, free: 9.23 MB / 0.6357 GB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/1.32, allocations: 3.938 kB / 0.8975 GB, free: 9.227 MB / 0.6357 GB Notification: Performance of simCode: created simulation system equations: time 0.003057/1.323, allocations: 2.315 MB / 0.8998 GB, free: 7.492 MB / 0.6357 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006954/1.324, allocations: 92.33 kB / 0.8998 GB, free: 7.461 MB / 0.6357 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0364/1.36, allocations: 28.17 MB / 0.9274 GB, free: 14.23 MB / 0.6669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001334/1.362, allocations: 1.737 MB / 0.929 GB, free: 12.52 MB / 0.6669 GB Notification: Performance of simCode: alias equations: time 0.003401/1.365, allocations: 1.388 MB / 0.9304 GB, free: 11.12 MB / 0.6669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001279/1.366, allocations: 0.705 MB / 0.9311 GB, free: 10.92 MB / 0.6669 GB Notification: Performance of SimCode: time 9.92e-07/1.366, allocations: 0 / 0.9311 GB, free: 10.92 MB / 0.6669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.711/2.077, allocations: 42.45 MB / 0.9725 GB, free: 238.6 MB / 0.6828 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001801/2.078, allocations: 228.8 kB / 0.9728 GB, free: 238.4 MB / 0.6828 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.633/5.71, allocations: 2.75 kB / 0.9728 GB, free: 238.4 MB / 0.6828 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