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.001258/0.001258, 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.636/1.636, allocations: 221.3 MB / 235.5 MB, free: 2.965 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.001385/0.001385, allocations: 88.92 kB / 286.5 MB, free: 232 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.305/1.305, allocations: 120.5 MB / 457.9 MB, free: 7.051 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 6.08e-05/6.112e-05, allocations: 8 kB / 0.5358 GB, free: 12.1 MB / 426.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9682/0.9682, allocations: 82.82 MB / 0.6167 GB, free: 9.336 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2136/1.182, allocations: 126.3 MB / 0.74 GB, free: 10.93 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002344/1.182, allocations: 51.92 kB / 0.7401 GB, free: 10.88 MB / 0.5419 GB Notification: Performance of FrontEnd - DAE generated: time 1.036/2.218, allocations: 26.65 MB / 0.7661 GB, free: 125.4 MB / 0.5421 GB Notification: Performance of FrontEnd: time 2.565e-06/2.218, allocations: 0 / 0.7661 GB, free: 125.4 MB / 0.5421 GB Notification: Performance of Transformations before backend: time 5.011e-05/2.218, allocations: 18.62 kB / 0.7661 GB, free: 125.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: 171 * Number of variables: 171 Notification: Performance of Generate backend data structure: time 0.003883/2.222, allocations: 1.47 MB / 0.7676 GB, free: 124.5 MB / 0.5421 GB Notification: Performance of prepare preOptimizeDAE: time 7.477e-05/2.222, allocations: 11.59 kB / 0.7676 GB, free: 124.5 MB / 0.5421 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001928/2.222, allocations: 129.3 kB / 0.7677 GB, free: 124.4 MB / 0.5421 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002177/2.222, allocations: 86.44 kB / 0.7678 GB, free: 124.4 MB / 0.5421 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002492/2.225, allocations: 0.9397 MB / 0.7687 GB, free: 123.8 MB / 0.5421 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.575e-05/2.225, allocations: 58.56 kB / 0.7687 GB, free: 123.8 MB / 0.5421 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004227/2.225, allocations: 137.3 kB / 0.7689 GB, free: 123.7 MB / 0.5421 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001773/2.227, allocations: 1.128 MB / 0.77 GB, free: 122.6 MB / 0.5421 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.641e-05/2.227, allocations: 11.92 kB / 0.77 GB, free: 122.6 MB / 0.5421 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.01e-05/2.227, allocations: 28 kB / 0.77 GB, free: 122.5 MB / 0.5421 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.272e-05/2.227, allocations: 26 kB / 0.77 GB, free: 122.5 MB / 0.5421 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001744/2.229, allocations: 1.214 MB / 0.7712 GB, free: 121.3 MB / 0.5421 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006704/2.236, allocations: 3.245 MB / 0.7744 GB, free: 118 MB / 0.5421 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003068/2.239, allocations: 1.812 MB / 0.7762 GB, free: 116.2 MB / 0.5421 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001393/2.24, allocations: 0.8792 MB / 0.777 GB, free: 115.3 MB / 0.5421 GB Notification: Performance of preOpt evalFunc (simulation): time 8.288e-05/2.241, allocations: 12.98 kB / 0.777 GB, free: 115.3 MB / 0.5421 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.076e-05/2.241, allocations: 47.56 kB / 0.7771 GB, free: 115.2 MB / 0.5421 GB Notification: Performance of pre-optimization done (n=118): time 7.444e-06/2.241, allocations: 0 / 0.7771 GB, free: 115.2 MB / 0.5421 GB Notification: Performance of matching and sorting (n=118): time 0.00244/2.243, allocations: 1.582 MB / 0.7786 GB, free: 113.6 MB / 0.5421 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.268e-05/2.243, allocations: 64.41 kB / 0.7787 GB, free: 113.6 MB / 0.5421 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005124/2.244, allocations: 455 kB / 0.7791 GB, free: 113.1 MB / 0.5421 GB Notification: Performance of collectPreVariables (initialization): time 0.0001155/2.244, allocations: 49.7 kB / 0.7792 GB, free: 113.1 MB / 0.5421 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001943/2.244, allocations: 261.5 kB / 0.7794 GB, free: 112.8 MB / 0.5421 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003383/2.244, allocations: 457.4 kB / 0.7798 GB, free: 112.3 MB / 0.5421 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.358e-05/2.244, allocations: 28 kB / 0.7799 GB, free: 112.3 MB / 0.5421 GB Notification: Performance of setup shared object (initialization): time 0.0001856/2.245, allocations: 398.8 kB / 0.7803 GB, free: 111.9 MB / 0.5421 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001159/2.246, allocations: 0.8861 MB / 0.7811 GB, free: 111 MB / 0.5421 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001219/2.247, allocations: 1.04 MB / 0.7821 GB, free: 109.9 MB / 0.5421 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001321/2.248, allocations: 1.044 MB / 0.7832 GB, free: 108.9 MB / 0.5421 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.424e-06/2.248, allocations: 0 / 0.7832 GB, free: 108.9 MB / 0.5421 GB Notification: Performance of matching and sorting (n=184) (initialization): time 0.002903/2.251, allocations: 2.194 MB / 0.7853 GB, free: 106.7 MB / 0.5421 GB Notification: Performance of prepare postOptimizeDAE: time 3.502e-05/2.251, allocations: 8 kB / 0.7853 GB, free: 106.7 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.488e-05/2.251, allocations: 4 kB / 0.7853 GB, free: 106.7 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.115e-05/2.251, allocations: 8.406 kB / 0.7853 GB, free: 106.7 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002044/2.253, allocations: 491.3 kB / 0.7858 GB, free: 106.2 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.896e-05/2.253, allocations: 11.95 kB / 0.7858 GB, free: 106.2 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009841/2.254, allocations: 187.8 kB / 0.786 GB, free: 106 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001079/2.255, allocations: 47.98 kB / 0.786 GB, free: 106 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 (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.0002939/2.255, allocations: 172.6 kB / 0.7862 GB, free: 105.8 MB / 0.5421 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001643/2.255, allocations: 75.06 kB / 0.7863 GB, free: 105.7 MB / 0.5421 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002838/2.258, allocations: 1.856 MB / 0.7881 GB, free: 103.8 MB / 0.5421 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-05/2.258, allocations: 16 kB / 0.7881 GB, free: 103.8 MB / 0.5421 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.119e-05/2.258, allocations: 0 / 0.7881 GB, free: 103.8 MB / 0.5421 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.479e-05/2.258, allocations: 7.938 kB / 0.7881 GB, free: 103.8 MB / 0.5421 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001581/2.26, allocations: 1.13 MB / 0.7892 GB, free: 102.6 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.674e-06/2.26, allocations: 0 / 0.7892 GB, free: 102.6 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002153/2.262, allocations: 447.5 kB / 0.7896 GB, free: 102.2 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.548e-05/2.262, allocations: 8 kB / 0.7896 GB, free: 102.2 MB / 0.5421 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001654/2.262, allocations: 67.88 kB / 0.7897 GB, free: 102.1 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.014e-05/2.262, allocations: 7.984 kB / 0.7897 GB, free: 102.1 MB / 0.5421 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/2.262, allocations: 0 / 0.7897 GB, free: 102.1 MB / 0.5421 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003588/2.266, allocations: 2.673 MB / 0.7923 GB, free: 99.43 MB / 0.5421 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008153/2.266, allocations: 323.8 kB / 0.7926 GB, free: 99.09 MB / 0.5421 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002338/2.267, allocations: 55.95 kB / 0.7927 GB, free: 99.04 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008017/2.267, allocations: 103.8 kB / 0.7928 GB, free: 98.94 MB / 0.5421 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001718/2.268, allocations: 77.2 kB / 0.7929 GB, free: 98.86 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.371e-05/2.268, allocations: 35.98 kB / 0.7929 GB, free: 98.83 MB / 0.5421 GB Notification: Performance of sorting global known variables: time 0.0004455/2.268, allocations: 341.1 kB / 0.7932 GB, free: 98.5 MB / 0.5421 GB Notification: Performance of sort global known variables: time 7.11e-07/2.268, allocations: 0 / 0.7932 GB, free: 98.5 MB / 0.5421 GB Notification: Performance of remove unused functions: time 0.001022/2.269, allocations: 295.8 kB / 0.7935 GB, free: 98.21 MB / 0.5421 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 () * 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.003906/2.273, allocations: 3.288 MB / 0.7967 GB, free: 94.9 MB / 0.5421 GB Notification: Performance of simCode: created initialization part: time 0.002896/2.276, allocations: 1.854 MB / 0.7985 GB, free: 93.04 MB / 0.5421 GB Notification: Performance of simCode: created event and clocks part: time 5.109e-06/2.276, allocations: 4.25 kB / 0.7985 GB, free: 93.04 MB / 0.5421 GB Notification: Performance of simCode: created simulation system equations: time 0.001049/2.277, allocations: 0.8584 MB / 0.7994 GB, free: 92.18 MB / 0.5421 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004473/2.278, allocations: 36.53 kB / 0.7994 GB, free: 92.14 MB / 0.5421 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007593/2.285, allocations: 5.328 MB / 0.8046 GB, free: 86.76 MB / 0.5421 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007812/2.286, allocations: 1.147 MB / 0.8057 GB, free: 85.59 MB / 0.5421 GB Notification: Performance of simCode: alias equations: time 0.001396/2.287, allocations: 0.5408 MB / 0.8062 GB, free: 85.04 MB / 0.5421 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006717/2.288, allocations: 291.3 kB / 0.8065 GB, free: 84.75 MB / 0.5421 GB Notification: Performance of SimCode: time 2.234e-06/2.288, allocations: 4 kB / 0.8065 GB, free: 84.75 MB / 0.5421 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04797/2.336, allocations: 18.2 MB / 0.8243 GB, free: 66.77 MB / 0.5421 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002973/2.337, allocations: 207.4 kB / 0.8245 GB, free: 66.54 MB / 0.5421 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.955/5.292, allocations: 3.938 kB / 0.8245 GB, free: 66.54 MB / 0.5421 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