Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_4_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_4_M_4,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Power_ConceptualPowerSystem_ScaledExperiments_PowerSystemStepLoad_N_4_M_4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_4_M_4,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Power_ConceptualPowerSystem_ScaledExperiments_PowerSystemStepLoad_N_4_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.002445/0.002445, allocations: 176.4 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.671/1.671, 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.001144/0.001144, allocations: 93.89 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.336/1.336, allocations: 120.5 MB / 452.4 MB, free: 10.49 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 3.246e-05/3.25e-05, allocations: 4 kB / 0.5289 GB, free: 1.211 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9878/0.9879, allocations: 82.84 MB / 0.6098 GB, free: 12.93 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1948/1.183, allocations: 125.6 MB / 0.7324 GB, free: 15.2 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001999/1.183, allocations: 51.92 kB / 0.7325 GB, free: 15.15 MB / 0.5419 GB Notification: Performance of FrontEnd - DAE generated: time 0.9265/2.11, allocations: 26.47 MB / 0.7583 GB, free: 132.2 MB / 0.5421 GB Notification: Performance of FrontEnd: time 1.653e-06/2.11, allocations: 0 / 0.7583 GB, free: 132.2 MB / 0.5421 GB Notification: Performance of Transformations before backend: time 3.305e-05/2.11, allocations: 15.59 kB / 0.7583 GB, free: 132.2 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: 171 * Number of variables: 171 Notification: Performance of Generate backend data structure: time 0.003112/2.113, allocations: 1.462 MB / 0.7598 GB, free: 131.3 MB / 0.5421 GB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/2.113, allocations: 11.44 kB / 0.7598 GB, free: 131.3 MB / 0.5421 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001852/2.113, allocations: 89.61 kB / 0.7599 GB, free: 131.3 MB / 0.5421 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002226/2.115, allocations: 0.947 MB / 0.7608 GB, free: 130.7 MB / 0.5421 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.123e-05/2.115, allocations: 22.41 kB / 0.7608 GB, free: 130.7 MB / 0.5421 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003927/2.116, allocations: 114.7 kB / 0.7609 GB, free: 130.7 MB / 0.5421 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001649/2.117, allocations: 1.18 MB / 0.7621 GB, free: 130.2 MB / 0.5421 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001396/2.119, allocations: 1.049 MB / 0.7631 GB, free: 129.6 MB / 0.5421 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.624e-05/2.119, allocations: 0 / 0.7631 GB, free: 129.6 MB / 0.5421 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.027e-05/2.119, allocations: 4 kB / 0.7631 GB, free: 129.6 MB / 0.5421 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.805e-05/2.119, allocations: 26 kB / 0.7631 GB, free: 129.6 MB / 0.5421 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006118/2.125, allocations: 3.109 MB / 0.7662 GB, free: 126.5 MB / 0.5421 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002282/2.127, allocations: 1.764 MB / 0.7679 GB, free: 124.7 MB / 0.5421 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009164/2.128, allocations: 0.8356 MB / 0.7687 GB, free: 123.9 MB / 0.5421 GB Notification: Performance of preOpt evalFunc (simulation): time 7.356e-05/2.128, allocations: 16.91 kB / 0.7687 GB, free: 123.9 MB / 0.5421 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.464e-05/2.128, allocations: 44.97 kB / 0.7688 GB, free: 123.8 MB / 0.5421 GB Notification: Performance of pre-optimization done (n=118): time 3.587e-06/2.128, allocations: 0 / 0.7688 GB, free: 123.8 MB / 0.5421 GB Notification: Performance of matching and sorting (n=118): time 0.001981/2.13, allocations: 1.519 MB / 0.7702 GB, free: 122.3 MB / 0.5421 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.772e-05/2.13, allocations: 64.72 kB / 0.7703 GB, free: 122.2 MB / 0.5421 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003877/2.131, allocations: 413.1 kB / 0.7707 GB, free: 121.8 MB / 0.5421 GB Notification: Performance of collectPreVariables (initialization): time 9.741e-05/2.131, allocations: 25.7 kB / 0.7707 GB, free: 121.8 MB / 0.5421 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001614/2.131, allocations: 261.3 kB / 0.771 GB, free: 121.5 MB / 0.5421 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002555/2.131, allocations: 441.5 kB / 0.7714 GB, free: 121.1 MB / 0.5421 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.608e-05/2.131, allocations: 0 / 0.7714 GB, free: 121.1 MB / 0.5421 GB Notification: Performance of setup shared object (initialization): time 0.0001168/2.132, allocations: 402.7 kB / 0.7718 GB, free: 120.7 MB / 0.5421 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001009/2.133, allocations: 0.8586 MB / 0.7726 GB, free: 119.8 MB / 0.5421 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001068/2.134, allocations: 1.009 MB / 0.7736 GB, free: 118.7 MB / 0.5421 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001163/2.135, allocations: 1.005 MB / 0.7746 GB, free: 117.7 MB / 0.5421 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.631e-06/2.135, allocations: 0 / 0.7746 GB, free: 117.7 MB / 0.5421 GB Notification: Performance of matching and sorting (n=184) (initialization): time 0.002553/2.137, allocations: 2.077 MB / 0.7766 GB, free: 115.7 MB / 0.5421 GB Notification: Performance of prepare postOptimizeDAE: time 2.152e-05/2.137, allocations: 8 kB / 0.7766 GB, free: 115.6 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.063e-05/2.138, allocations: 4 kB / 0.7766 GB, free: 115.6 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.159e-05/2.138, allocations: 8 kB / 0.7766 GB, free: 115.6 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002002/2.14, allocations: 487.7 kB / 0.7771 GB, free: 115.2 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.564e-05/2.14, allocations: 19.92 kB / 0.7771 GB, free: 115.1 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008528/2.14, allocations: 158.6 kB / 0.7773 GB, free: 115 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.586e-05/2.141, allocations: 51.94 kB / 0.7773 GB, free: 114.9 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 (184): * Single equations (assignments): 184 * 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.0002368/2.141, allocations: 124.7 kB / 0.7774 GB, free: 114.8 MB / 0.5421 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00188/2.143, allocations: 1.519 MB / 0.7789 GB, free: 113.3 MB / 0.5421 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000121/2.143, allocations: 67.16 kB / 0.779 GB, free: 113.2 MB / 0.5421 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002328/2.145, allocations: 1.754 MB / 0.7807 GB, free: 111.5 MB / 0.5421 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.076e-05/2.145, allocations: 12 kB / 0.7807 GB, free: 111.4 MB / 0.5421 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/2.145, allocations: 7.953 kB / 0.7807 GB, free: 111.4 MB / 0.5421 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.236e-05/2.145, allocations: 7.969 kB / 0.7807 GB, free: 111.4 MB / 0.5421 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001277/2.146, allocations: 1.019 MB / 0.7817 GB, free: 110.4 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/2.147, allocations: 2.438 kB / 0.7817 GB, free: 110.4 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00213/2.149, allocations: 451.5 kB / 0.7822 GB, free: 110 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.671e-05/2.149, allocations: 8 kB / 0.7822 GB, free: 110 MB / 0.5421 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001222/2.149, allocations: 43.95 kB / 0.7822 GB, free: 109.9 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.254e-06/2.149, allocations: 4 kB / 0.7822 GB, free: 109.9 MB / 0.5421 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.302e-06/2.149, allocations: 7.922 kB / 0.7822 GB, free: 109.9 MB / 0.5421 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002787/2.152, allocations: 2.575 MB / 0.7847 GB, free: 107.3 MB / 0.5421 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005153/2.152, allocations: 327.7 kB / 0.785 GB, free: 107 MB / 0.5421 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001687/2.152, allocations: 39.95 kB / 0.7851 GB, free: 106.9 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006408/2.153, allocations: 71.86 kB / 0.7852 GB, free: 106.8 MB / 0.5421 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001179/2.153, allocations: 77.2 kB / 0.7852 GB, free: 106.8 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.818e-05/2.153, allocations: 35.98 kB / 0.7853 GB, free: 106.7 MB / 0.5421 GB Notification: Performance of sorting global known variables: time 0.0002883/2.153, allocations: 310.9 kB / 0.7856 GB, free: 106.4 MB / 0.5421 GB Notification: Performance of sort global known variables: time 1.4e-07/2.153, allocations: 0 / 0.7856 GB, free: 106.4 MB / 0.5421 GB Notification: Performance of remove unused functions: time 0.0007847/2.154, allocations: 235.8 kB / 0.7858 GB, free: 106.2 MB / 0.5421 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 49 (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,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].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].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 (130): * Single equations (assignments): 130 * 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.003013/2.157, allocations: 3.184 MB / 0.7889 GB, free: 103 MB / 0.5421 GB Notification: Performance of simCode: created initialization part: time 0.002276/2.16, allocations: 1.789 MB / 0.7906 GB, free: 101.2 MB / 0.5421 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/2.16, allocations: 0.8125 kB / 0.7906 GB, free: 101.2 MB / 0.5421 GB Notification: Performance of simCode: created simulation system equations: time 0.0008615/2.16, allocations: 0.8207 MB / 0.7914 GB, free: 100.4 MB / 0.5421 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003861/2.161, allocations: 24.52 kB / 0.7915 GB, free: 100.4 MB / 0.5421 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005995/2.167, allocations: 5.235 MB / 0.7966 GB, free: 95.07 MB / 0.5421 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005158/2.167, allocations: 1.153 MB / 0.7977 GB, free: 93.9 MB / 0.5421 GB Notification: Performance of simCode: alias equations: time 0.001233/2.169, allocations: 0.5523 MB / 0.7982 GB, free: 93.34 MB / 0.5421 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00054/2.169, allocations: 291.3 kB / 0.7985 GB, free: 93.06 MB / 0.5421 GB Notification: Performance of SimCode: time 1.142e-06/2.169, allocations: 0 / 0.7985 GB, free: 93.06 MB / 0.5421 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04369/2.213, allocations: 17.15 MB / 0.8153 GB, free: 75.97 MB / 0.5421 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001844/2.213, allocations: 193.2 kB / 0.8154 GB, free: 75.78 MB / 0.5421 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.974/5.187, allocations: 4 kB / 0.8155 GB, free: 75.78 MB / 0.5421 GB (rm -f ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_4_M_4.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_4_M_4.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_4_M_4.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_4_M_4.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_4_M_4_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Power_ConceptualPowerSystem_ScaledExperiments_PowerSystemStepLoad_N_4_M_4_fmu --startTime=0 --stopTime=200 --timeout=300 --tolerance=1e-07 ScalableTestSuite_ScalableTestSuite_Power_ConceptualPowerSystem_ScaledExperiments_PowerSystemStepLoad_N_4_M_4.fmu > ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_4_M_4.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_4_M_4_res.mat does not exist to compare? outputFormat=mat