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.001745/0.001746, allocations: 175.1 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.702/1.702, allocations: 221.3 MB / 235.5 MB, free: 2.879 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.001324/0.001324, allocations: 94.94 kB / 286.5 MB, free: 172 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.599/1.599, allocations: 120.5 MB / 457.9 MB, free: 7.039 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 4.076e-05/4.09e-05, allocations: 7.984 kB / 0.5358 GB, free: 12.09 MB / 426.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7423/0.7423, allocations: 82.83 MB / 0.6167 GB, free: 9.324 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1666/0.909, allocations: 126.3 MB / 0.74 GB, free: 10.92 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001627/0.9092, allocations: 55.92 kB / 0.7401 GB, free: 10.87 MB / 0.5419 GB Notification: Performance of FrontEnd - DAE generated: time 1.177/2.086, allocations: 74 MB / 0.8123 GB, free: 79.21 MB / 0.5421 GB Notification: Performance of FrontEnd: time 3.336e-06/2.086, allocations: 0 / 0.8123 GB, free: 79.21 MB / 0.5421 GB Notification: Performance of Transformations before backend: time 0.0001261/2.087, allocations: 32 kB / 0.8124 GB, free: 79.18 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.01139/2.098, allocations: 3.197 MB / 0.8155 GB, free: 75.93 MB / 0.5421 GB Notification: Performance of prepare preOptimizeDAE: time 8.692e-05/2.098, allocations: 8.031 kB / 0.8155 GB, free: 75.93 MB / 0.5421 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001663/2.1, allocations: 248.1 kB / 0.8157 GB, free: 75.67 MB / 0.5421 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002093/2.102, allocations: 185.8 kB / 0.8159 GB, free: 75.49 MB / 0.5421 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006825/2.109, allocations: 1.805 MB / 0.8177 GB, free: 73.64 MB / 0.5421 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002676/2.109, allocations: 143.1 kB / 0.8178 GB, free: 73.5 MB / 0.5421 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002063/2.111, allocations: 295.4 kB / 0.8181 GB, free: 73.21 MB / 0.5421 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008379/2.12, allocations: 2.711 MB / 0.8207 GB, free: 70.48 MB / 0.5421 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001511/2.12, allocations: 11.91 kB / 0.8207 GB, free: 70.46 MB / 0.5421 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007416/2.121, allocations: 75.92 kB / 0.8208 GB, free: 70.39 MB / 0.5421 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001289/2.121, allocations: 59.16 kB / 0.8209 GB, free: 70.33 MB / 0.5421 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007296/2.128, allocations: 3.588 MB / 0.8244 GB, free: 66.74 MB / 0.5421 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02215/2.15, allocations: 7.637 MB / 0.8318 GB, free: 59.04 MB / 0.5421 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008509/2.159, allocations: 4.646 MB / 0.8364 GB, free: 54.38 MB / 0.5421 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003837/2.163, allocations: 2.386 MB / 0.8387 GB, free: 51.98 MB / 0.5421 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002791/2.163, allocations: 46.3 kB / 0.8387 GB, free: 51.93 MB / 0.5421 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.908e-05/2.163, allocations: 56.91 kB / 0.8388 GB, free: 51.87 MB / 0.5421 GB Notification: Performance of pre-optimization done (n=298): time 8.045e-06/2.163, allocations: 0 / 0.8388 GB, free: 51.87 MB / 0.5421 GB Notification: Performance of matching and sorting (n=298): time 0.008377/2.172, allocations: 3.988 MB / 0.8427 GB, free: 47.83 MB / 0.5421 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.096e-05/2.172, allocations: 81.75 kB / 0.8428 GB, free: 47.73 MB / 0.5421 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001664/2.173, allocations: 0.7889 MB / 0.8435 GB, free: 46.94 MB / 0.5421 GB Notification: Performance of collectPreVariables (initialization): time 0.0005259/2.174, allocations: 89.7 kB / 0.8436 GB, free: 46.84 MB / 0.5421 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006641/2.175, allocations: 459.7 kB / 0.8441 GB, free: 46.39 MB / 0.5421 GB Notification: Performance of collectInitialBindings (initialization): time 0.001305/2.176, allocations: 1.097 MB / 0.8451 GB, free: 45.27 MB / 0.5421 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004744/2.176, allocations: 64 kB / 0.8452 GB, free: 45.21 MB / 0.5421 GB Notification: Performance of setup shared object (initialization): time 0.000486/2.177, allocations: 0.5056 MB / 0.8457 GB, free: 44.7 MB / 0.5421 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003866/2.181, allocations: 2.118 MB / 0.8478 GB, free: 42.57 MB / 0.5421 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004195/2.185, allocations: 2.485 MB / 0.8502 GB, free: 40.01 MB / 0.5421 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004544/2.19, allocations: 2.487 MB / 0.8526 GB, free: 37.51 MB / 0.5421 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-05/2.19, allocations: 0 / 0.8526 GB, free: 37.51 MB / 0.5421 GB Notification: Performance of matching and sorting (n=428) (initialization): time 0.01071/2.2, allocations: 5.199 MB / 0.8577 GB, free: 32.28 MB / 0.5421 GB Notification: Performance of prepare postOptimizeDAE: time 6.134e-05/2.2, allocations: 5.406 kB / 0.8577 GB, free: 32.28 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.168e-05/2.2, allocations: 8 kB / 0.8577 GB, free: 32.27 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.405e-05/2.201, allocations: 20 kB / 0.8577 GB, free: 32.25 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005288/2.206, allocations: 1.065 MB / 0.8588 GB, free: 31.18 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001287/2.206, allocations: 23.98 kB / 0.8588 GB, free: 31.16 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003549/2.21, allocations: 432.8 kB / 0.8592 GB, free: 30.73 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005853/2.21, allocations: 111.9 kB / 0.8593 GB, free: 30.62 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.001099/2.211, allocations: 272.2 kB / 0.8596 GB, free: 30.35 MB / 0.5421 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009485/2.212, allocations: 154.1 kB / 0.8597 GB, free: 30.2 MB / 0.5421 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01042/2.223, allocations: 4.986 MB / 0.8646 GB, free: 25.17 MB / 0.5421 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.748e-05/2.223, allocations: 39.98 kB / 0.8646 GB, free: 25.13 MB / 0.5421 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.25e-05/2.223, allocations: 0 / 0.8646 GB, free: 25.13 MB / 0.5421 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.143e-05/2.223, allocations: 19.92 kB / 0.8646 GB, free: 25.11 MB / 0.5421 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005238/2.228, allocations: 2.635 MB / 0.8672 GB, free: 22.42 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.673e-05/2.228, allocations: 0 / 0.8672 GB, free: 22.42 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005383/2.234, allocations: 1.049 MB / 0.8682 GB, free: 21.37 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.108e-05/2.234, allocations: 8 kB / 0.8682 GB, free: 21.36 MB / 0.5421 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005964/2.234, allocations: 147.9 kB / 0.8684 GB, free: 21.22 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.304e-05/2.234, allocations: 12 kB / 0.8684 GB, free: 21.21 MB / 0.5421 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.322e-06/2.234, allocations: 3.953 kB / 0.8684 GB, free: 21.2 MB / 0.5421 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01233/2.247, allocations: 6.741 MB / 0.875 GB, free: 14.4 MB / 0.5421 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002203/2.249, allocations: 0.6776 MB / 0.8756 GB, free: 13.7 MB / 0.5421 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008069/2.25, allocations: 127.9 kB / 0.8758 GB, free: 13.58 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002421/2.252, allocations: 231.7 kB / 0.876 GB, free: 13.35 MB / 0.5421 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005104/2.253, allocations: 194.5 kB / 0.8762 GB, free: 13.16 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002734/2.253, allocations: 91.97 kB / 0.8763 GB, free: 13.07 MB / 0.5421 GB Notification: Performance of sorting global known variables: time 0.00111/2.254, allocations: 0.5849 MB / 0.8768 GB, free: 12.49 MB / 0.5421 GB Notification: Performance of sort global known variables: time 6.71e-07/2.254, allocations: 0 / 0.8768 GB, free: 12.49 MB / 0.5421 GB Notification: Performance of remove unused functions: time 0.003122/2.258, allocations: 0.6949 MB / 0.8775 GB, free: 11.8 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.01292/2.27, allocations: 7.461 MB / 0.8848 GB, free: 4.27 MB / 0.5421 GB Notification: Performance of simCode: created initialization part: time 0.009279/2.28, allocations: 4.643 MB / 0.8893 GB, free: 15.6 MB / 0.5578 GB Notification: Performance of simCode: created event and clocks part: time 1.059e-05/2.28, allocations: 4 kB / 0.8893 GB, free: 15.6 MB / 0.5578 GB Notification: Performance of simCode: created simulation system equations: time 0.00539/2.285, allocations: 2.284 MB / 0.8916 GB, free: 13.31 MB / 0.5578 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001686/2.287, allocations: 91.2 kB / 0.8917 GB, free: 13.22 MB / 0.5578 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02921/2.316, allocations: 11.75 MB / 0.9031 GB, free: 1.402 MB / 0.5578 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003041/2.32, allocations: 1.744 MB / 0.9048 GB, free: 15.62 MB / 0.5734 GB Notification: Performance of simCode: alias equations: time 0.006923/2.327, allocations: 1.38 MB / 0.9062 GB, free: 14.23 MB / 0.5734 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003726/2.33, allocations: 0.7023 MB / 0.9069 GB, free: 13.53 MB / 0.5734 GB Notification: Performance of SimCode: time 4.048e-06/2.33, allocations: 0 / 0.9069 GB, free: 13.53 MB / 0.5734 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1239/2.454, allocations: 42.51 MB / 0.9484 GB, free: 3.258 MB / 0.6046 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003392/2.455, allocations: 202.3 kB / 0.9486 GB, free: 3.035 MB / 0.6046 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.516/6.971, allocations: 4.062 kB / 0.9486 GB, free: 3.031 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