Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_4_M_16.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_16,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Power_ConceptualPowerSystem_ScaledExperiments_PowerSystemStepLoad_N_4_M_16",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_4_M_16,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Power_ConceptualPowerSystem_ScaledExperiments_PowerSystemStepLoad_N_4_M_16",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.001586/0.001586, 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.718/1.718, allocations: 221.3 MB / 235.5 MB, free: 2.949 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.001293/0.001293, allocations: 91.73 kB / 286.5 MB, free: 240 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.727/1.727, allocations: 120.5 MB / 457.9 MB, free: 7.043 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 4.404e-05/4.433e-05, allocations: 0 / 0.5358 GB, free: 12.11 MB / 426.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9174/0.9174, allocations: 82.84 MB / 0.6167 GB, free: 9.34 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2162/1.134, allocations: 126.3 MB / 0.74 GB, free: 10.94 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002112/1.134, allocations: 51.92 kB / 0.7401 GB, free: 10.89 MB / 0.5419 GB Notification: Performance of FrontEnd - DAE generated: time 0.9506/2.085, allocations: 42.67 MB / 0.7817 GB, free: 110.7 MB / 0.5421 GB Notification: Performance of FrontEnd: time 1.984e-06/2.085, allocations: 0 / 0.7817 GB, free: 110.7 MB / 0.5421 GB Notification: Performance of Transformations before backend: time 6.639e-05/2.085, allocations: 24 kB / 0.7817 GB, free: 110.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: 267 * Number of variables: 267 Notification: Performance of Generate backend data structure: time 0.00855/2.093, allocations: 2.762 MB / 0.7844 GB, free: 107.8 MB / 0.5421 GB Notification: Performance of prepare preOptimizeDAE: time 5.02e-05/2.093, allocations: 12.03 kB / 0.7845 GB, free: 107.8 MB / 0.5421 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000781/2.094, allocations: 176.6 kB / 0.7846 GB, free: 107.6 MB / 0.5421 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000917/2.095, allocations: 122.7 kB / 0.7847 GB, free: 107.5 MB / 0.5421 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007511/2.103, allocations: 2.397 MB / 0.7871 GB, free: 105.1 MB / 0.5421 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001282/2.103, allocations: 98.08 kB / 0.7872 GB, free: 105 MB / 0.5421 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001149/2.104, allocations: 219.5 kB / 0.7874 GB, free: 104.8 MB / 0.5421 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004589/2.109, allocations: 2.038 MB / 0.7894 GB, free: 102.7 MB / 0.5421 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.83e-05/2.109, allocations: 3.984 kB / 0.7894 GB, free: 102.7 MB / 0.5421 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003408/2.109, allocations: 43.94 kB / 0.7894 GB, free: 102.6 MB / 0.5421 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.894e-05/2.109, allocations: 38.11 kB / 0.7895 GB, free: 102.6 MB / 0.5421 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003024/2.112, allocations: 1.878 MB / 0.7913 GB, free: 100.7 MB / 0.5421 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0157/2.128, allocations: 6.49 MB / 0.7976 GB, free: 94.15 MB / 0.5421 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004363/2.132, allocations: 3.126 MB / 0.8007 GB, free: 91.02 MB / 0.5421 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001894/2.134, allocations: 1.413 MB / 0.8021 GB, free: 89.61 MB / 0.5421 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001667/2.134, allocations: 21.31 kB / 0.8021 GB, free: 89.58 MB / 0.5421 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.772e-05/2.134, allocations: 47.88 kB / 0.8021 GB, free: 89.53 MB / 0.5421 GB Notification: Performance of pre-optimization done (n=166): time 3.657e-06/2.134, allocations: 0 / 0.8021 GB, free: 89.53 MB / 0.5421 GB Notification: Performance of matching and sorting (n=166): time 0.004213/2.139, allocations: 2.684 MB / 0.8047 GB, free: 86.83 MB / 0.5421 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.817e-05/2.139, allocations: 68.72 kB / 0.8048 GB, free: 86.75 MB / 0.5421 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005324/2.139, allocations: 471 kB / 0.8053 GB, free: 86.29 MB / 0.5421 GB Notification: Performance of collectPreVariables (initialization): time 0.000318/2.14, allocations: 69.64 kB / 0.8053 GB, free: 86.21 MB / 0.5421 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003109/2.14, allocations: 334.2 kB / 0.8056 GB, free: 85.88 MB / 0.5421 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004655/2.14, allocations: 0.6623 MB / 0.8063 GB, free: 85.2 MB / 0.5421 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002794/2.141, allocations: 44 kB / 0.8063 GB, free: 85.16 MB / 0.5421 GB Notification: Performance of setup shared object (initialization): time 0.0002025/2.141, allocations: 440.2 kB / 0.8068 GB, free: 84.72 MB / 0.5421 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002475/2.143, allocations: 1.788 MB / 0.8085 GB, free: 82.93 MB / 0.5421 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002575/2.146, allocations: 2.007 MB / 0.8105 GB, free: 80.87 MB / 0.5421 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002738/2.149, allocations: 2.025 MB / 0.8124 GB, free: 78.82 MB / 0.5421 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.269e-05/2.149, allocations: 0 / 0.8124 GB, free: 78.82 MB / 0.5421 GB Notification: Performance of matching and sorting (n=280) (initialization): time 0.006065/2.155, allocations: 4.187 MB / 0.8165 GB, free: 74.58 MB / 0.5421 GB Notification: Performance of prepare postOptimizeDAE: time 3.284e-05/2.155, allocations: 12.06 kB / 0.8165 GB, free: 74.57 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.582e-05/2.155, allocations: 0 / 0.8165 GB, free: 74.57 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.21e-05/2.155, allocations: 16 kB / 0.8166 GB, free: 74.55 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004099/2.159, allocations: 0.9245 MB / 0.8175 GB, free: 73.62 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.408e-05/2.159, allocations: 19.92 kB / 0.8175 GB, free: 73.61 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001967/2.161, allocations: 329.9 kB / 0.8178 GB, free: 73.28 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003899/2.162, allocations: 68 kB / 0.8179 GB, free: 73.21 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 (280): * Single equations (assignments): 280 * 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.0006366/2.162, allocations: 204.5 kB / 0.8181 GB, free: 73.01 MB / 0.5421 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003508/2.163, allocations: 90.95 kB / 0.8181 GB, free: 72.92 MB / 0.5421 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004854/2.167, allocations: 3.133 MB / 0.8212 GB, free: 69.77 MB / 0.5421 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.504e-05/2.167, allocations: 16 kB / 0.8212 GB, free: 69.75 MB / 0.5421 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.248e-06/2.167, allocations: 3.953 kB / 0.8212 GB, free: 69.75 MB / 0.5421 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.742e-05/2.167, allocations: 7.969 kB / 0.8212 GB, free: 69.74 MB / 0.5421 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00225/2.17, allocations: 1.809 MB / 0.823 GB, free: 67.88 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.618e-05/2.17, allocations: 0 / 0.823 GB, free: 67.88 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004578/2.174, allocations: 0.874 MB / 0.8238 GB, free: 67 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.701e-05/2.174, allocations: 8 kB / 0.8239 GB, free: 67 MB / 0.5421 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000393/2.175, allocations: 123.9 kB / 0.824 GB, free: 66.88 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.497e-05/2.175, allocations: 12 kB / 0.824 GB, free: 66.86 MB / 0.5421 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/2.175, allocations: 0 / 0.824 GB, free: 66.86 MB / 0.5421 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006042/2.181, allocations: 4.403 MB / 0.8283 GB, free: 62.43 MB / 0.5421 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009771/2.182, allocations: 487.4 kB / 0.8287 GB, free: 61.93 MB / 0.5421 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004179/2.182, allocations: 107.9 kB / 0.8289 GB, free: 61.82 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001439/2.184, allocations: 179.7 kB / 0.829 GB, free: 61.65 MB / 0.5421 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002495/2.184, allocations: 101.8 kB / 0.8291 GB, free: 61.55 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001305/2.184, allocations: 47.98 kB / 0.8292 GB, free: 61.5 MB / 0.5421 GB Notification: Performance of sorting global known variables: time 0.0003675/2.185, allocations: 349.1 kB / 0.8295 GB, free: 61.16 MB / 0.5421 GB Notification: Performance of sort global known variables: time 3.4e-07/2.185, allocations: 0 / 0.8295 GB, free: 61.16 MB / 0.5421 GB Notification: Performance of remove unused functions: time 0.001426/2.186, allocations: 483.5 kB / 0.83 GB, free: 60.69 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].T_s[5],generator[1].T_s[6],generator[1].T_s[7],generator[1].T_s[8],generator[1].T_s[9],generator[1].T_s[10],generator[1].T_s[11],generator[1].T_s[12],generator[1].T_s[13],generator[1].T_s[14],generator[1].T_s[15],generator[1].T_s[16],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].T_s[9],generator[2].T_s[10],generator[2].T_s[11],generator[2].T_s[12],generator[2].T_s[13],generator[2].T_s[14],generator[2].T_s[15],generator[2].T_s[16],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].T_s[9],generator[3].T_s[10],generator[3].T_s[11],generator[3].T_s[12],generator[3].T_s[13],generator[3].T_s[14],generator[3].T_s[15],generator[3].T_s[16],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].T_s[9],generator[4].T_s[10],generator[4].T_s[11],generator[4].T_s[12],generator[4].T_s[13],generator[4].T_s[14],generator[4].T_s[15],generator[4].T_s[16],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 (178): * Single equations (assignments): 178 * 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.005745/2.192, allocations: 5.077 MB / 0.8349 GB, free: 55.57 MB / 0.5421 GB Notification: Performance of simCode: created initialization part: time 0.004781/2.197, allocations: 3.426 MB / 0.8383 GB, free: 52.14 MB / 0.5421 GB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/2.197, allocations: 4.125 kB / 0.8383 GB, free: 52.14 MB / 0.5421 GB Notification: Performance of simCode: created simulation system equations: time 0.001654/2.198, allocations: 1.44 MB / 0.8397 GB, free: 50.7 MB / 0.5421 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004765/2.199, allocations: 49.86 kB / 0.8397 GB, free: 50.66 MB / 0.5421 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01065/2.209, allocations: 9.911 MB / 0.8494 GB, free: 40.68 MB / 0.5421 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009934/2.21, allocations: 1.368 MB / 0.8507 GB, free: 39.29 MB / 0.5421 GB Notification: Performance of simCode: alias equations: time 0.002524/2.213, allocations: 0.9452 MB / 0.8517 GB, free: 38.34 MB / 0.5421 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001175/2.214, allocations: 431.3 kB / 0.8521 GB, free: 37.92 MB / 0.5421 GB Notification: Performance of SimCode: time 1.282e-06/2.214, allocations: 4 kB / 0.8521 GB, free: 37.91 MB / 0.5421 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05629/2.271, allocations: 30.62 MB / 0.882 GB, free: 7.539 MB / 0.5421 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001981/2.271, allocations: 213.5 kB / 0.8822 GB, free: 7.309 MB / 0.5421 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.301/5.572, allocations: 0 / 0.8822 GB, free: 7.309 MB / 0.5421 GB (rm -f ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_4_M_16.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_4_M_16.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_4_M_16.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_4_M_16.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_4_M_16_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Power_ConceptualPowerSystem_ScaledExperiments_PowerSystemStepLoad_N_4_M_16_fmu --startTime=0 --stopTime=200 --timeout=300 --tolerance=1e-07 ScalableTestSuite_ScalableTestSuite_Power_ConceptualPowerSystem_ScaledExperiments_PowerSystemStepLoad_N_4_M_16.fmu > ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_4_M_16.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_4_M_16_res.mat does not exist to compare? outputFormat=mat