Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_4_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_4_M_8,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Power_ConceptualPowerSystem_ScaledExperiments_PowerSystemStepLoad_N_4_M_8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_4_M_8,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Power_ConceptualPowerSystem_ScaledExperiments_PowerSystemStepLoad_N_4_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.002623/0.002623, allocations: 176.4 kB / 8.346 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.888/1.888, allocations: 221.5 MB / 230.3 MB, free: 7.578 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.001594/0.001594, allocations: 93.92 kB / 281.2 MB, free: 5.336 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.571/1.571, allocations: 120.5 MB / 452.4 MB, free: 10.52 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 2.48e-05/2.476e-05, allocations: 4 kB / 0.5289 GB, free: 1.223 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9358/0.9358, allocations: 82.84 MB / 0.6098 GB, free: 12.98 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2131/1.149, allocations: 125.6 MB / 0.7324 GB, free: 15.25 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000205/1.149, allocations: 55.92 kB / 0.7325 GB, free: 15.2 MB / 0.5419 GB Notification: Performance of FrontEnd - DAE generated: time 1.143/2.293, allocations: 31.76 MB / 0.7635 GB, free: 129.7 MB / 0.5421 GB Notification: Performance of FrontEnd: time 2.575e-06/2.293, allocations: 0 / 0.7635 GB, free: 129.7 MB / 0.5421 GB Notification: Performance of Transformations before backend: time 4.345e-05/2.293, allocations: 16 kB / 0.7635 GB, free: 129.6 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: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.005218/2.298, allocations: 1.896 MB / 0.7654 GB, free: 127.7 MB / 0.5421 GB Notification: Performance of prepare preOptimizeDAE: time 6.88e-05/2.298, allocations: 8.031 kB / 0.7654 GB, free: 127.7 MB / 0.5421 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003447/2.299, allocations: 98.92 kB / 0.7655 GB, free: 127.6 MB / 0.5421 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004009/2.303, allocations: 1.422 MB / 0.7669 GB, free: 126.1 MB / 0.5421 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.952e-05/2.303, allocations: 28 kB / 0.7669 GB, free: 126.1 MB / 0.5421 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005082/2.303, allocations: 123.7 kB / 0.767 GB, free: 126 MB / 0.5421 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002049/2.305, allocations: 1.401 MB / 0.7684 GB, free: 124.6 MB / 0.5421 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001879/2.307, allocations: 1.326 MB / 0.7697 GB, free: 123.2 MB / 0.5421 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.61e-05/2.307, allocations: 4 kB / 0.7697 GB, free: 123.2 MB / 0.5421 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.473e-05/2.307, allocations: 0 / 0.7697 GB, free: 123.2 MB / 0.5421 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.634e-05/2.307, allocations: 30.66 kB / 0.7697 GB, free: 123.2 MB / 0.5421 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009546/2.317, allocations: 4.156 MB / 0.7738 GB, free: 119 MB / 0.5421 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002972/2.32, allocations: 2.197 MB / 0.7759 GB, free: 116.8 MB / 0.5421 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001176/2.321, allocations: 1.019 MB / 0.7769 GB, free: 115.8 MB / 0.5421 GB Notification: Performance of preOpt evalFunc (simulation): time 8.972e-05/2.321, allocations: 13.31 kB / 0.7769 GB, free: 115.8 MB / 0.5421 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.945e-05/2.321, allocations: 43.88 kB / 0.7769 GB, free: 115.7 MB / 0.5421 GB Notification: Performance of pre-optimization done (n=134): time 4.188e-06/2.321, allocations: 0 / 0.7769 GB, free: 115.7 MB / 0.5421 GB Notification: Performance of matching and sorting (n=134): time 0.00275/2.324, allocations: 1.88 MB / 0.7788 GB, free: 113.8 MB / 0.5421 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.165e-05/2.324, allocations: 72.72 kB / 0.7789 GB, free: 113.8 MB / 0.5421 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004947/2.325, allocations: 425 kB / 0.7793 GB, free: 113.3 MB / 0.5421 GB Notification: Performance of collectPreVariables (initialization): time 0.0001626/2.325, allocations: 25.7 kB / 0.7793 GB, free: 113.3 MB / 0.5421 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001977/2.325, allocations: 281.6 kB / 0.7796 GB, free: 113 MB / 0.5421 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003548/2.325, allocations: 0.5004 MB / 0.78 GB, free: 112.5 MB / 0.5421 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001044/2.325, allocations: 0 / 0.78 GB, free: 112.5 MB / 0.5421 GB Notification: Performance of setup shared object (initialization): time 0.0001583/2.326, allocations: 407.8 kB / 0.7804 GB, free: 112.1 MB / 0.5421 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001418/2.327, allocations: 1.151 MB / 0.7816 GB, free: 110.9 MB / 0.5421 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001529/2.329, allocations: 1.321 MB / 0.7828 GB, free: 109.6 MB / 0.5421 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001659/2.33, allocations: 1.333 MB / 0.7841 GB, free: 108.3 MB / 0.5421 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.869e-06/2.33, allocations: 3.953 kB / 0.7841 GB, free: 108.2 MB / 0.5421 GB Notification: Performance of matching and sorting (n=216) (initialization): time 0.003682/2.334, allocations: 2.725 MB / 0.7868 GB, free: 105.5 MB / 0.5421 GB Notification: Performance of prepare postOptimizeDAE: time 3.502e-05/2.334, allocations: 8 kB / 0.7868 GB, free: 105.5 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.81e-05/2.334, allocations: 7.984 kB / 0.7868 GB, free: 105.5 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.001e-05/2.334, allocations: 8 kB / 0.7868 GB, free: 105.5 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00265/2.337, allocations: 0.6207 MB / 0.7874 GB, free: 104.9 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.529e-05/2.337, allocations: 15.88 kB / 0.7875 GB, free: 104.9 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001198/2.338, allocations: 198.4 kB / 0.7876 GB, free: 104.7 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001261/2.338, allocations: 56 kB / 0.7877 GB, free: 104.6 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 (216): * Single equations (assignments): 216 * 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.0003237/2.338, allocations: 132.6 kB / 0.7878 GB, free: 104.5 MB / 0.5421 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002493/2.341, allocations: 1.872 MB / 0.7897 GB, free: 102.6 MB / 0.5421 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000159/2.341, allocations: 67.16 kB / 0.7897 GB, free: 102.5 MB / 0.5421 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002978/2.344, allocations: 2.171 MB / 0.7918 GB, free: 100.3 MB / 0.5421 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.464e-05/2.344, allocations: 16 kB / 0.7919 GB, free: 100.3 MB / 0.5421 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.678e-06/2.344, allocations: 0 / 0.7919 GB, free: 100.3 MB / 0.5421 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.487e-05/2.344, allocations: 7.969 kB / 0.7919 GB, free: 100.3 MB / 0.5421 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001685/2.346, allocations: 1.239 MB / 0.7931 GB, free: 99.04 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.162e-06/2.346, allocations: 0 / 0.7931 GB, free: 99.04 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002902/2.349, allocations: 0.5774 MB / 0.7936 GB, free: 98.46 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.003e-05/2.349, allocations: 12 kB / 0.7936 GB, free: 98.45 MB / 0.5421 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001741/2.349, allocations: 67.92 kB / 0.7937 GB, free: 98.38 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.207e-06/2.349, allocations: 4 kB / 0.7937 GB, free: 98.38 MB / 0.5421 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/2.349, allocations: 0 / 0.7937 GB, free: 98.38 MB / 0.5421 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003612/2.353, allocations: 3.144 MB / 0.7968 GB, free: 95.21 MB / 0.5421 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006772/2.353, allocations: 379.6 kB / 0.7971 GB, free: 94.82 MB / 0.5421 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000205/2.354, allocations: 51.94 kB / 0.7972 GB, free: 94.77 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008335/2.354, allocations: 107.8 kB / 0.7973 GB, free: 94.67 MB / 0.5421 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001436/2.355, allocations: 77.19 kB / 0.7974 GB, free: 94.59 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.991e-05/2.355, allocations: 43.98 kB / 0.7974 GB, free: 94.55 MB / 0.5421 GB Notification: Performance of sorting global known variables: time 0.0003547/2.355, allocations: 310.9 kB / 0.7977 GB, free: 94.25 MB / 0.5421 GB Notification: Performance of sort global known variables: time 1.41e-07/2.355, allocations: 0 / 0.7977 GB, free: 94.25 MB / 0.5421 GB Notification: Performance of remove unused functions: time 0.001097/2.356, allocations: 299.6 kB / 0.798 GB, free: 93.95 MB / 0.5421 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 65 (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) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (146): * Single equations (assignments): 146 * 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.003937/2.36, allocations: 3.749 MB / 0.8017 GB, free: 90.18 MB / 0.5421 GB Notification: Performance of simCode: created initialization part: time 0.003407/2.364, allocations: 2.304 MB / 0.8039 GB, free: 87.87 MB / 0.5421 GB Notification: Performance of simCode: created event and clocks part: time 7.564e-06/2.364, allocations: 4 kB / 0.8039 GB, free: 87.87 MB / 0.5421 GB Notification: Performance of simCode: created simulation system equations: time 0.001219/2.365, allocations: 1.016 MB / 0.8049 GB, free: 86.85 MB / 0.5421 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005335/2.365, allocations: 13.88 kB / 0.8049 GB, free: 86.84 MB / 0.5421 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00825/2.374, allocations: 6.715 MB / 0.8115 GB, free: 80.07 MB / 0.5421 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007014/2.374, allocations: 1.216 MB / 0.8127 GB, free: 78.82 MB / 0.5421 GB Notification: Performance of simCode: alias equations: time 0.001762/2.376, allocations: 0.678 MB / 0.8133 GB, free: 78.14 MB / 0.5421 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007082/2.377, allocations: 331.3 kB / 0.8136 GB, free: 77.82 MB / 0.5421 GB Notification: Performance of SimCode: time 3.056e-06/2.377, allocations: 0 / 0.8136 GB, free: 77.82 MB / 0.5421 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05475/2.432, allocations: 21.08 MB / 0.8342 GB, free: 56.82 MB / 0.5421 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000239/2.432, allocations: 195.4 kB / 0.8344 GB, free: 56.62 MB / 0.5421 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.322/5.754, allocations: 4 kB / 0.8344 GB, free: 56.62 MB / 0.5421 GB (rm -f ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_4_M_8.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_4_M_8.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_4_M_8.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_4_M_8.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_4_M_8_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Power_ConceptualPowerSystem_ScaledExperiments_PowerSystemStepLoad_N_4_M_8_fmu --startTime=0 --stopTime=200 --timeout=300 --tolerance=1e-07 ScalableTestSuite_ScalableTestSuite_Power_ConceptualPowerSystem_ScaledExperiments_PowerSystemStepLoad_N_4_M_8.fmu > ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_4_M_8.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_4_M_8_res.mat does not exist to compare? outputFormat=mat