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.002236/0.002236, allocations: 176.2 kB / 8.348 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.782/1.782, 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.001324/0.001324, allocations: 96.58 kB / 281.2 MB, free: 5.328 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.468/1.468, allocations: 120.4 MB / 452.4 MB, free: 10.5 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 2.439e-05/2.441e-05, allocations: 0 / 0.5289 GB, free: 1.219 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.043/1.043, allocations: 82.84 MB / 0.6098 GB, free: 12.94 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2587/1.302, allocations: 125.6 MB / 0.7324 GB, free: 15.2 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002099/1.302, allocations: 59.92 kB / 0.7325 GB, free: 15.14 MB / 0.5419 GB Notification: Performance of FrontEnd - DAE generated: time 1.15/2.452, allocations: 84.09 MB / 0.8146 GB, free: 76.55 MB / 0.5421 GB Notification: Performance of FrontEnd: time 2.094e-06/2.452, allocations: 0 / 0.8146 GB, free: 76.55 MB / 0.5421 GB Notification: Performance of Transformations before backend: time 8.303e-05/2.452, allocations: 36 kB / 0.8146 GB, free: 76.52 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: 467 * Number of variables: 467 Notification: Performance of Generate backend data structure: time 0.01275/2.465, allocations: 4.045 MB / 0.8186 GB, free: 72.42 MB / 0.5421 GB Notification: Performance of prepare preOptimizeDAE: time 7.956e-05/2.465, allocations: 16.03 kB / 0.8186 GB, free: 72.41 MB / 0.5421 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001765/2.467, allocations: 213.5 kB / 0.8188 GB, free: 72.2 MB / 0.5421 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009679/2.477, allocations: 2.762 MB / 0.8215 GB, free: 69.38 MB / 0.5421 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001247/2.477, allocations: 56 kB / 0.8216 GB, free: 69.33 MB / 0.5421 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001838/2.479, allocations: 267.3 kB / 0.8218 GB, free: 69.07 MB / 0.5421 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00661/2.485, allocations: 3.942 MB / 0.8257 GB, free: 65.12 MB / 0.5421 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005054/2.49, allocations: 3.084 MB / 0.8287 GB, free: 62.02 MB / 0.5421 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.04e-05/2.49, allocations: 11.91 kB / 0.8287 GB, free: 62.01 MB / 0.5421 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002198/2.491, allocations: 3.984 kB / 0.8287 GB, free: 62.01 MB / 0.5421 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.387e-05/2.491, allocations: 63.67 kB / 0.8288 GB, free: 61.95 MB / 0.5421 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02589/2.517, allocations: 9.464 MB / 0.838 GB, free: 52.43 MB / 0.5421 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008372/2.525, allocations: 5.396 MB / 0.8433 GB, free: 47.03 MB / 0.5421 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004155/2.529, allocations: 2.652 MB / 0.8459 GB, free: 44.37 MB / 0.5421 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003448/2.53, allocations: 50.55 kB / 0.8459 GB, free: 44.32 MB / 0.5421 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.916e-05/2.53, allocations: 65.14 kB / 0.846 GB, free: 44.24 MB / 0.5421 GB Notification: Performance of pre-optimization done (n=330): time 6.062e-06/2.53, allocations: 4 kB / 0.846 GB, free: 44.24 MB / 0.5421 GB Notification: Performance of matching and sorting (n=330): time 0.009358/2.539, allocations: 4.555 MB / 0.8504 GB, free: 39.64 MB / 0.5421 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.141e-05/2.539, allocations: 86 kB / 0.8505 GB, free: 39.54 MB / 0.5421 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001699/2.541, allocations: 0.7144 MB / 0.8512 GB, free: 38.82 MB / 0.5421 GB Notification: Performance of collectPreVariables (initialization): time 0.0008503/2.542, allocations: 29.7 kB / 0.8512 GB, free: 38.79 MB / 0.5421 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008766/2.543, allocations: 480.1 kB / 0.8517 GB, free: 38.31 MB / 0.5421 GB Notification: Performance of collectInitialBindings (initialization): time 0.00136/2.544, allocations: 1.197 MB / 0.8528 GB, free: 37.09 MB / 0.5421 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000633/2.545, allocations: 0 / 0.8528 GB, free: 37.09 MB / 0.5421 GB Notification: Performance of setup shared object (initialization): time 0.0004732/2.545, allocations: 0.5302 MB / 0.8534 GB, free: 36.55 MB / 0.5421 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004371/2.55, allocations: 2.65 MB / 0.856 GB, free: 33.9 MB / 0.5421 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004686/2.554, allocations: 3.026 MB / 0.8589 GB, free: 30.8 MB / 0.5421 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00491/2.559, allocations: 3.068 MB / 0.8619 GB, free: 27.73 MB / 0.5421 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.517e-05/2.559, allocations: 0 / 0.8619 GB, free: 27.73 MB / 0.5421 GB Notification: Performance of matching and sorting (n=492) (initialization): time 0.01172/2.571, allocations: 6.233 MB / 0.868 GB, free: 21.48 MB / 0.5421 GB Notification: Performance of prepare postOptimizeDAE: time 4.91e-05/2.571, allocations: 11.94 kB / 0.868 GB, free: 21.46 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.267e-05/2.571, allocations: 4 kB / 0.868 GB, free: 21.46 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.654e-05/2.571, allocations: 24 kB / 0.868 GB, free: 21.44 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006812/2.578, allocations: 1.362 MB / 0.8694 GB, free: 20.07 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001464/2.578, allocations: 27.94 kB / 0.8694 GB, free: 20.05 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004343/2.583, allocations: 440.4 kB / 0.8698 GB, free: 19.61 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001237/2.584, allocations: 127.9 kB / 0.8699 GB, free: 19.49 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 (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.002065/2.586, allocations: 156.2 kB / 0.8701 GB, free: 19.33 MB / 0.5421 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.009572/2.596, allocations: 4.551 MB / 0.8745 GB, free: 14.73 MB / 0.5421 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008723/2.597, allocations: 158 kB / 0.8747 GB, free: 14.58 MB / 0.5421 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01141/2.608, allocations: 5.558 MB / 0.8801 GB, free: 8.977 MB / 0.5421 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.072e-05/2.608, allocations: 40 kB / 0.8801 GB, free: 8.938 MB / 0.5421 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.708e-05/2.608, allocations: 0 / 0.8801 GB, free: 8.938 MB / 0.5421 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.906e-05/2.608, allocations: 19.92 kB / 0.8802 GB, free: 8.918 MB / 0.5421 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005677/2.614, allocations: 2.806 MB / 0.8829 GB, free: 6.07 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.425e-05/2.614, allocations: 0 / 0.8829 GB, free: 6.07 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007111/2.621, allocations: 1.326 MB / 0.8842 GB, free: 4.742 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.843e-05/2.621, allocations: 19.98 kB / 0.8842 GB, free: 4.723 MB / 0.5421 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008345/2.622, allocations: 131.8 kB / 0.8843 GB, free: 4.594 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.814e-05/2.622, allocations: 15.94 kB / 0.8844 GB, free: 4.578 MB / 0.5421 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.563e-06/2.622, allocations: 0 / 0.8844 GB, free: 4.578 MB / 0.5421 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01545/2.638, allocations: 7.624 MB / 0.8918 GB, free: 12.87 MB / 0.5578 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002812/2.641, allocations: 0.7867 MB / 0.8926 GB, free: 12.06 MB / 0.5578 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001112/2.642, allocations: 103.9 kB / 0.8927 GB, free: 11.96 MB / 0.5578 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003005/2.645, allocations: 219.6 kB / 0.8929 GB, free: 11.75 MB / 0.5578 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006748/2.646, allocations: 218.7 kB / 0.8931 GB, free: 11.53 MB / 0.5578 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00045/2.646, allocations: 99.97 kB / 0.8932 GB, free: 11.43 MB / 0.5578 GB Notification: Performance of sorting global known variables: time 0.001283/2.647, allocations: 0.5186 MB / 0.8937 GB, free: 10.92 MB / 0.5578 GB Notification: Performance of sort global known variables: time 6.21e-07/2.647, allocations: 0 / 0.8937 GB, free: 10.92 MB / 0.5578 GB Notification: Performance of remove unused functions: time 0.004033/2.651, allocations: 0.683 MB / 0.8944 GB, free: 10.24 MB / 0.5578 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 () * 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.01684/2.668, allocations: 8.322 MB / 0.9025 GB, free: 1.836 MB / 0.5578 GB Notification: Performance of simCode: created initialization part: time 0.01251/2.681, allocations: 5.519 MB / 0.9079 GB, free: 12.3 MB / 0.5734 GB Notification: Performance of simCode: created event and clocks part: time 9.457e-06/2.681, allocations: 4.062 kB / 0.9079 GB, free: 12.3 MB / 0.5734 GB Notification: Performance of simCode: created simulation system equations: time 0.005543/2.687, allocations: 2.603 MB / 0.9104 GB, free: 9.699 MB / 0.5734 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001185/2.688, allocations: 23.31 kB / 0.9104 GB, free: 9.672 MB / 0.5734 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02892/2.717, allocations: 14.57 MB / 0.9247 GB, free: 11.01 MB / 0.589 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002464/2.719, allocations: 1.874 MB / 0.9265 GB, free: 9.094 MB / 0.589 GB Notification: Performance of simCode: alias equations: time 0.005322/2.725, allocations: 1.632 MB / 0.9281 GB, free: 7.457 MB / 0.589 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0025/2.727, allocations: 0.8117 MB / 0.9289 GB, free: 6.645 MB / 0.589 GB Notification: Performance of SimCode: time 2.515e-06/2.727, allocations: 0 / 0.9289 GB, free: 6.645 MB / 0.589 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1311/2.858, allocations: 48.51 MB / 0.9763 GB, free: 6.254 MB / 0.6359 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003099/2.859, allocations: 200.3 kB / 0.9764 GB, free: 6.055 MB / 0.6359 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.668/7.527, allocations: 2.922 kB / 0.9764 GB, free: 6.055 MB / 0.6359 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