Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_2_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_2_M_4,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Power_ConceptualPowerSystem_ScaledExperiments_PowerSystemStepLoad_N_2_M_4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_2_M_4,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Power_ConceptualPowerSystem_ScaledExperiments_PowerSystemStepLoad_N_2_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.002913/0.002913, 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 2.306/2.306, allocations: 221.5 MB / 230.3 MB, free: 7.562 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.001445/0.001445, allocations: 102 kB / 281.2 MB, free: 5.309 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.381/1.381, allocations: 120.5 MB / 452.4 MB, free: 10.49 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 2.211e-05/2.213e-05, allocations: 4 kB / 0.5289 GB, free: 1.195 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7523/0.7523, allocations: 82.84 MB / 0.6098 GB, free: 13.03 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1774/0.9298, allocations: 125.6 MB / 0.7324 GB, free: 15.29 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002312/0.9301, allocations: 51.98 kB / 0.7325 GB, free: 15.24 MB / 0.5419 GB Notification: Performance of FrontEnd - DAE generated: time 0.0374/0.9675, allocations: 11.2 MB / 0.7434 GB, free: 4.008 MB / 0.5419 GB Notification: Performance of FrontEnd: time 1.312e-06/0.9676, allocations: 0 / 0.7434 GB, free: 4.008 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 2.057e-05/0.9676, allocations: 8 kB / 0.7434 GB, free: 4 MB / 0.5419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001785/0.9694, allocations: 0.8419 MB / 0.7442 GB, free: 3.113 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 5.78e-05/0.9695, allocations: 15.97 kB / 0.7443 GB, free: 3.098 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000111/0.9696, allocations: 43.48 kB / 0.7443 GB, free: 3.055 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001359/0.9709, allocations: 0.5449 MB / 0.7448 GB, free: 2.469 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.97e-05/0.971, allocations: 12 kB / 0.7448 GB, free: 2.457 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002092/0.9712, allocations: 47.88 kB / 0.7449 GB, free: 2.41 MB / 0.5419 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007338/0.9719, allocations: 497.1 kB / 0.7454 GB, free: 1.926 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007386/0.9727, allocations: 489.8 kB / 0.7458 GB, free: 1.438 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.029e-05/0.9727, allocations: 4 kB / 0.7458 GB, free: 1.434 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.824e-05/0.9728, allocations: 3.938 kB / 0.7458 GB, free: 1.43 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.823e-05/0.9728, allocations: 12.78 kB / 0.7459 GB, free: 1.418 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 1.067/2.04, allocations: 1.504 MB / 0.7473 GB, free: 134.2 MB / 0.5421 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00315/2.044, allocations: 0.8389 MB / 0.7481 GB, free: 134.1 MB / 0.5421 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009632/2.045, allocations: 360 kB / 0.7485 GB, free: 134.1 MB / 0.5421 GB Notification: Performance of preOpt evalFunc (simulation): time 5.786e-05/2.045, allocations: 9.5 kB / 0.7485 GB, free: 134.1 MB / 0.5421 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.783e-05/2.045, allocations: 41.92 kB / 0.7485 GB, free: 134.1 MB / 0.5421 GB Notification: Performance of pre-optimization done (n=52): time 7.004e-06/2.045, allocations: 0 / 0.7485 GB, free: 134.1 MB / 0.5421 GB Notification: Performance of matching and sorting (n=52): time 0.002141/2.047, allocations: 0.6656 MB / 0.7492 GB, free: 134 MB / 0.5421 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.892e-05/2.047, allocations: 57.66 kB / 0.7492 GB, free: 134 MB / 0.5421 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000531/2.048, allocations: 259.2 kB / 0.7495 GB, free: 133.9 MB / 0.5421 GB Notification: Performance of collectPreVariables (initialization): time 6.103e-05/2.048, allocations: 26.48 kB / 0.7495 GB, free: 133.8 MB / 0.5421 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001889/2.048, allocations: 170 kB / 0.7497 GB, free: 133.7 MB / 0.5421 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002276/2.048, allocations: 200.7 kB / 0.7499 GB, free: 133.6 MB / 0.5421 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.952e-05/2.048, allocations: 1 kB / 0.7499 GB, free: 133.6 MB / 0.5421 GB Notification: Performance of setup shared object (initialization): time 0.0002142/2.048, allocations: 358.1 kB / 0.7502 GB, free: 133.3 MB / 0.5421 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001009/2.049, allocations: 394.1 kB / 0.7506 GB, free: 133.3 MB / 0.5421 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001147/2.05, allocations: 472.8 kB / 0.751 GB, free: 133.3 MB / 0.5421 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001181/2.052, allocations: 468.3 kB / 0.7515 GB, free: 133.2 MB / 0.5421 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.508e-06/2.052, allocations: 1.031 kB / 0.7515 GB, free: 133.2 MB / 0.5421 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002573/2.054, allocations: 0.9584 MB / 0.7524 GB, free: 132.9 MB / 0.5421 GB Notification: Performance of prepare postOptimizeDAE: time 4.445e-05/2.054, allocations: 6.031 kB / 0.7524 GB, free: 132.9 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.623e-05/2.054, allocations: 1.719 kB / 0.7524 GB, free: 132.9 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.06e-05/2.054, allocations: 6.047 kB / 0.7524 GB, free: 132.9 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001393/2.056, allocations: 224.8 kB / 0.7526 GB, free: 132.9 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.854e-05/2.056, allocations: 6.703 kB / 0.7527 GB, free: 132.9 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006454/2.056, allocations: 74.67 kB / 0.7527 GB, free: 132.9 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001034/2.057, allocations: 27.86 kB / 0.7528 GB, free: 132.9 MB / 0.5421 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 86 * 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.0002596/2.057, allocations: 119.3 kB / 0.7529 GB, free: 132.8 MB / 0.5421 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00202/2.059, allocations: 0.6603 MB / 0.7535 GB, free: 132.6 MB / 0.5421 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001576/2.059, allocations: 36.39 kB / 0.7535 GB, free: 132.5 MB / 0.5421 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00187/2.061, allocations: 0.7494 MB / 0.7543 GB, free: 132.3 MB / 0.5421 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.928e-05/2.061, allocations: 6.781 kB / 0.7543 GB, free: 132.3 MB / 0.5421 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.212e-05/2.061, allocations: 2 kB / 0.7543 GB, free: 132.3 MB / 0.5421 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.1e-05/2.061, allocations: 4.891 kB / 0.7543 GB, free: 132.3 MB / 0.5421 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001338/2.062, allocations: 0.5167 MB / 0.7548 GB, free: 132 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.609e-06/2.062, allocations: 0 / 0.7548 GB, free: 132 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001521/2.064, allocations: 216.3 kB / 0.755 GB, free: 132 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.86e-05/2.064, allocations: 2.031 kB / 0.755 GB, free: 132 MB / 0.5421 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001192/2.064, allocations: 19.08 kB / 0.755 GB, free: 132 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.018e-05/2.064, allocations: 4.516 kB / 0.755 GB, free: 132 MB / 0.5421 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.938e-06/2.064, allocations: 0.5 kB / 0.755 GB, free: 132 MB / 0.5421 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002632/2.067, allocations: 1.176 MB / 0.7562 GB, free: 131.6 MB / 0.5421 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004304/2.067, allocations: 184.9 kB / 0.7563 GB, free: 131.5 MB / 0.5421 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001713/2.067, allocations: 22.02 kB / 0.7564 GB, free: 131.5 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004743/2.068, allocations: 40.98 kB / 0.7564 GB, free: 131.5 MB / 0.5421 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001031/2.068, allocations: 31.48 kB / 0.7564 GB, free: 131.5 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.281e-05/2.068, allocations: 13.69 kB / 0.7565 GB, free: 131.5 MB / 0.5421 GB Notification: Performance of sorting global known variables: time 0.0002696/2.068, allocations: 199.6 kB / 0.7566 GB, free: 131.3 MB / 0.5421 GB Notification: Performance of sort global known variables: time 5.21e-07/2.068, allocations: 0 / 0.7566 GB, free: 131.3 MB / 0.5421 GB Notification: Performance of remove unused functions: time 0.0008121/2.069, allocations: 113.8 kB / 0.7568 GB, free: 131.3 MB / 0.5421 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 25 (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) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (54): * Single equations (assignments): 54 * 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.001884/2.071, allocations: 1.743 MB / 0.7585 GB, free: 130.4 MB / 0.5421 GB Notification: Performance of simCode: created initialization part: time 0.001464/2.073, allocations: 0.7845 MB / 0.7592 GB, free: 130.2 MB / 0.5421 GB Notification: Performance of simCode: created event and clocks part: time 5.43e-06/2.073, allocations: 2.312 kB / 0.7592 GB, free: 130.2 MB / 0.5421 GB Notification: Performance of simCode: created simulation system equations: time 0.0004849/2.073, allocations: 351.8 kB / 0.7596 GB, free: 130.1 MB / 0.5421 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003376/2.073, allocations: 7.203 kB / 0.7596 GB, free: 130.1 MB / 0.5421 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003774/2.077, allocations: 2.558 MB / 0.7621 GB, free: 128.6 MB / 0.5421 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005267/2.078, allocations: 0.9151 MB / 0.763 GB, free: 127.9 MB / 0.5421 GB Notification: Performance of simCode: alias equations: time 0.0006925/2.078, allocations: 256.9 kB / 0.7632 GB, free: 127.9 MB / 0.5421 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003069/2.079, allocations: 124.6 kB / 0.7633 GB, free: 127.8 MB / 0.5421 GB Notification: Performance of SimCode: time 2.335e-06/2.079, allocations: 0 / 0.7633 GB, free: 127.8 MB / 0.5421 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03708/2.116, allocations: 8.082 MB / 0.7712 GB, free: 120.2 MB / 0.5421 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003541/2.116, allocations: 195.4 kB / 0.7714 GB, free: 120 MB / 0.5421 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.618/4.735, allocations: 2.188 kB / 0.7714 GB, free: 120 MB / 0.5421 GB (rm -f ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_2_M_4.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_2_M_4.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_2_M_4.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_2_M_4.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_2_M_4_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Power_ConceptualPowerSystem_ScaledExperiments_PowerSystemStepLoad_N_2_M_4_fmu --startTime=0 --stopTime=200 --timeout=300 --tolerance=1e-07 ScalableTestSuite_ScalableTestSuite_Power_ConceptualPowerSystem_ScaledExperiments_PowerSystemStepLoad_N_2_M_4.fmu > ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_2_M_4.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_2_M_4_res.mat does not exist to compare? outputFormat=mat