Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_8_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_8_M_8,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Power_ConceptualPowerSystem_ScaledExperiments_PowerSystemStepLoad_N_8_M_8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_8_M_8,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Power_ConceptualPowerSystem_ScaledExperiments_PowerSystemStepLoad_N_8_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.001359/0.001359, 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.543/1.543, 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.001053/0.001053, allocations: 92.5 kB / 291.5 MB, free: 10.91 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.917/0.917, allocations: 120.5 MB / 463 MB, free: 8.699 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003327/0.0003327, allocations: 4 kB / 0.5434 GB, free: 42.3 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1621/0.1624, allocations: 82.86 MB / 0.6243 GB, free: 9.102 MB / 442.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7083/0.8708, allocations: 126.3 MB / 0.7477 GB, free: 7.762 MB / 0.5107 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001372/0.871, allocations: 48.86 kB / 0.7477 GB, free: 7.738 MB / 0.5107 GB Notification: Performance of FrontEnd - DAE generated: time 0.2619/1.133, allocations: 84.49 MB / 0.8303 GB, free: 13.79 MB / 0.5888 GB Notification: Performance of FrontEnd: time 3.025e-06/1.133, allocations: 4 kB / 0.8303 GB, free: 13.79 MB / 0.5888 GB Notification: Performance of Transformations before backend: time 0.0001454/1.133, allocations: 44 kB / 0.8303 GB, free: 13.74 MB / 0.5888 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 467 * Number of variables: 467 Notification: Performance of Generate backend data structure: time 0.0145/1.148, allocations: 4.208 MB / 0.8344 GB, free: 9.594 MB / 0.5888 GB Notification: Performance of prepare preOptimizeDAE: time 5.829e-05/1.148, allocations: 12.03 kB / 0.8344 GB, free: 9.582 MB / 0.5888 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00151/1.149, allocations: 277.2 kB / 0.8347 GB, free: 9.414 MB / 0.5888 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001925/1.151, allocations: 213.6 kB / 0.8349 GB, free: 9.203 MB / 0.5888 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009814/1.161, allocations: 2.776 MB / 0.8376 GB, free: 6.52 MB / 0.5888 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002612/1.161, allocations: 164.9 kB / 0.8378 GB, free: 6.43 MB / 0.5888 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0022/1.164, allocations: 356.1 kB / 0.8381 GB, free: 6.168 MB / 0.5888 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009523/1.173, allocations: 3.351 MB / 0.8414 GB, free: 3.617 MB / 0.5888 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001643/1.173, allocations: 11.89 kB / 0.8414 GB, free: 3.605 MB / 0.5888 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000869/1.174, allocations: 73.44 kB / 0.8415 GB, free: 3.59 MB / 0.5888 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001028/1.174, allocations: 67.67 kB / 0.8415 GB, free: 3.523 MB / 0.5888 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007754/1.182, allocations: 4.083 MB / 0.8455 GB, free: 336 kB / 0.5888 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02817/1.21, allocations: 9.814 MB / 0.8551 GB, free: 8.086 MB / 0.6044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009255/1.22, allocations: 5.592 MB / 0.8606 GB, free: 4.316 MB / 0.6044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002979/1.22, allocations: 42.19 kB / 0.8606 GB, free: 4.277 MB / 0.6044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.893e-05/1.22, allocations: 76.61 kB / 0.8607 GB, free: 4.211 MB / 0.6044 GB Notification: Performance of pre-optimization done (n=330): time 5.461e-06/1.22, allocations: 0 / 0.8607 GB, free: 4.211 MB / 0.6044 GB Notification: Performance of matching and sorting (n=330): time 0.01117/1.231, allocations: 6.855 MB / 0.8674 GB, free: 15.01 MB / 0.62 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.064e-05/1.231, allocations: 85.98 kB / 0.8674 GB, free: 14.91 MB / 0.62 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001276/1.233, allocations: 0.8002 MB / 0.8682 GB, free: 14.27 MB / 0.62 GB Notification: Performance of collectPreVariables (initialization): time 0.0006145/1.233, allocations: 99.64 kB / 0.8683 GB, free: 14.22 MB / 0.62 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004065/1.234, allocations: 0.4936 MB / 0.8688 GB, free: 13.88 MB / 0.62 GB Notification: Performance of collectInitialBindings (initialization): time 0.001171/1.235, allocations: 1.242 MB / 0.87 GB, free: 12.8 MB / 0.62 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002623/1.235, allocations: 77.69 kB / 0.8701 GB, free: 12.78 MB / 0.62 GB Notification: Performance of setup shared object (initialization): time 0.0003858/1.236, allocations: 0.5237 MB / 0.8706 GB, free: 12.33 MB / 0.62 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004149/1.24, allocations: 2.767 MB / 0.8733 GB, free: 10.26 MB / 0.62 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004843/1.245, allocations: 3.16 MB / 0.8764 GB, free: 7.781 MB / 0.62 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005519/1.25, allocations: 3.173 MB / 0.8795 GB, free: 5.488 MB / 0.62 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.186e-05/1.25, allocations: 0 / 0.8795 GB, free: 5.488 MB / 0.62 GB Notification: Performance of matching and sorting (n=492) (initialization): time 0.01147/1.262, allocations: 6.603 MB / 0.8859 GB, free: 0.5312 MB / 0.62 GB Notification: Performance of prepare postOptimizeDAE: time 4.106e-05/1.262, allocations: 11.12 kB / 0.8859 GB, free: 0.5234 MB / 0.62 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.048e-05/1.262, allocations: 12.73 kB / 0.886 GB, free: 0.5117 MB / 0.62 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.483e-05/1.262, allocations: 28 kB / 0.886 GB, free: 496 kB / 0.62 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006712/1.269, allocations: 1.36 MB / 0.8873 GB, free: 15.15 MB / 0.6357 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.321e-05/1.269, allocations: 27.94 kB / 0.8873 GB, free: 15.12 MB / 0.6357 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003428/1.272, allocations: 0.5119 MB / 0.8878 GB, free: 14.67 MB / 0.6357 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000746/1.273, allocations: 122.2 kB / 0.888 GB, free: 14.58 MB / 0.6357 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 (492): * Single equations (assignments): 492 * 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.001875/1.275, allocations: 0.7219 MB / 0.8887 GB, free: 14.01 MB / 0.6357 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006101/1.275, allocations: 165.9 kB / 0.8888 GB, free: 13.84 MB / 0.6357 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009663/1.285, allocations: 5.895 MB / 0.8946 GB, free: 9.605 MB / 0.6357 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.518e-05/1.285, allocations: 43.95 kB / 0.8946 GB, free: 9.562 MB / 0.6357 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.492e-05/1.285, allocations: 0 / 0.8946 GB, free: 9.562 MB / 0.6357 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.746e-05/1.285, allocations: 19.92 kB / 0.8946 GB, free: 9.543 MB / 0.6357 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004867/1.29, allocations: 3.095 MB / 0.8977 GB, free: 7.082 MB / 0.6357 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.55e-05/1.29, allocations: 3.953 kB / 0.8977 GB, free: 7.078 MB / 0.6357 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007121/1.297, allocations: 1.333 MB / 0.899 GB, free: 5.777 MB / 0.6357 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.468e-05/1.297, allocations: 12 kB / 0.899 GB, free: 5.766 MB / 0.6357 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006192/1.298, allocations: 177.6 kB / 0.8991 GB, free: 5.652 MB / 0.6357 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.116e-05/1.298, allocations: 16 kB / 0.8992 GB, free: 5.637 MB / 0.6357 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/1.298, allocations: 3.938 kB / 0.8992 GB, free: 5.633 MB / 0.6357 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01122/1.309, allocations: 7.981 MB / 0.907 GB, free: 15.63 MB / 0.6513 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002692/1.312, allocations: 0.7872 MB / 0.9077 GB, free: 14.9 MB / 0.6513 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006892/1.313, allocations: 160.9 kB / 0.9079 GB, free: 14.8 MB / 0.6513 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002317/1.315, allocations: 289.2 kB / 0.9082 GB, free: 14.57 MB / 0.6513 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004472/1.316, allocations: 209.3 kB / 0.9084 GB, free: 14.39 MB / 0.6513 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002268/1.316, allocations: 98.97 kB / 0.9085 GB, free: 14.31 MB / 0.6513 GB Notification: Performance of sorting global known variables: time 0.0007961/1.317, allocations: 0.5991 MB / 0.909 GB, free: 13.85 MB / 0.6513 GB Notification: Performance of sort global known variables: time 1.773e-06/1.317, allocations: 0 / 0.909 GB, free: 13.85 MB / 0.6513 GB Notification: Performance of remove unused functions: time 0.002488/1.319, allocations: 0.817 MB / 0.9098 GB, free: 13.14 MB / 0.6513 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 129 (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,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].T_s[5],generator[5].T_s[6],generator[5].T_s[7],generator[5].T_s[8],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].T_s[5],generator[6].T_s[6],generator[6].T_s[7],generator[6].T_s[8],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].T_s[5],generator[7].T_s[6],generator[7].T_s[7],generator[7].T_s[8],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].T_s[5],generator[8].T_s[6],generator[8].T_s[7],generator[8].T_s[8],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 (386): * Single equations (assignments): 386 * 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.01147/1.331, allocations: 8.758 MB / 0.9184 GB, free: 6.398 MB / 0.6513 GB Notification: Performance of simCode: created initialization part: time 0.009108/1.34, allocations: 5.765 MB / 0.924 GB, free: 1.992 MB / 0.6513 GB Notification: Performance of simCode: created event and clocks part: time 6.823e-06/1.34, allocations: 0 / 0.924 GB, free: 1.992 MB / 0.6513 GB Notification: Performance of simCode: created simulation system equations: time 0.004136/1.344, allocations: 2.714 MB / 0.9267 GB, free: 15.95 MB / 0.6669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009654/1.345, allocations: 87.5 kB / 0.9268 GB, free: 15.93 MB / 0.6669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0492/1.394, allocations: 33.93 MB / 0.9599 GB, free: 0.5664 MB / 0.6825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.7105/2.105, allocations: 1.869 MB / 0.9617 GB, free: 238.7 MB / 0.6828 GB Notification: Performance of simCode: alias equations: time 0.00583/2.111, allocations: 1.634 MB / 0.9633 GB, free: 238.7 MB / 0.6828 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002767/2.114, allocations: 0.8201 MB / 0.9641 GB, free: 238.7 MB / 0.6828 GB Notification: Performance of SimCode: time 1.252e-06/2.114, allocations: 3.969 kB / 0.9641 GB, free: 238.7 MB / 0.6828 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08881/2.202, allocations: 50.84 MB / 1.014 GB, free: 222.9 MB / 0.6828 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002701/2.203, allocations: 236.8 kB / 1.014 GB, free: 222.7 MB / 0.6828 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.207/6.41, allocations: 7.094 kB / 1.014 GB, free: 222.7 MB / 0.6828 GB (rm -f ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_8_M_8.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_8_M_8.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_8_M_8.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_8_M_8.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_8_M_8_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Power_ConceptualPowerSystem_ScaledExperiments_PowerSystemStepLoad_N_8_M_8_fmu --startTime=0 --stopTime=200 --timeout=300 --tolerance=1e-07 ScalableTestSuite_ScalableTestSuite_Power_ConceptualPowerSystem_ScaledExperiments_PowerSystemStepLoad_N_8_M_8.fmu > ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_8_M_8.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_8_M_8_res.mat does not exist to compare? outputFormat=mat