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"}) [:1:1-1:33:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009676/0.0009677, allocations: 181.5 kB / 8.134 MB, free: 2.219 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.06/1.06, allocations: 221.4 MB / 229.9 MB, free: 3.062 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.0009765/0.0009765, allocations: 100.8 kB / 280.8 MB, free: 1.238 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.5926/0.5926, allocations: 120.4 MB / 452 MB, free: 13 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 0.2979/0.8905, allocations: 88.96 MB / 0.5283 GB, free: 52.36 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1001/0.9906, allocations: 82.84 MB / 0.6092 GB, free: 3.484 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4201/1.411, allocations: 125.5 MB / 0.7318 GB, free: 4.527 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001069/1.411, allocations: 54.02 kB / 0.7318 GB, free: 4.508 MB / 0.4953 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.1009/1.512, allocations: 32.72 MB / 0.7638 GB, free: 7.961 MB / 0.5265 GB Notification: Performance of prepare preOptimizeDAE: time 3.146e-05/1.512, allocations: 8 kB / 0.7638 GB, free: 7.953 MB / 0.5265 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002473/1.512, allocations: 94.97 kB / 0.7639 GB, free: 7.859 MB / 0.5265 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00387/1.516, allocations: 1.307 MB / 0.7652 GB, free: 6.574 MB / 0.5265 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.233e-05/1.516, allocations: 28 kB / 0.7652 GB, free: 6.547 MB / 0.5265 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004419/1.517, allocations: 115 kB / 0.7653 GB, free: 6.441 MB / 0.5265 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001825/1.518, allocations: 1.469 MB / 0.7667 GB, free: 5.301 MB / 0.5265 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001792/1.52, allocations: 1.391 MB / 0.7681 GB, free: 4.18 MB / 0.5265 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.654e-05/1.52, allocations: 4 kB / 0.7681 GB, free: 4.176 MB / 0.5265 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.778e-05/1.52, allocations: 0 / 0.7681 GB, free: 4.176 MB / 0.5265 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.599e-05/1.52, allocations: 33.98 kB / 0.7681 GB, free: 4.141 MB / 0.5265 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006536/1.527, allocations: 3.722 MB / 0.7718 GB, free: 1.004 MB / 0.5265 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001444/1.528, allocations: 1.215 MB / 0.7729 GB, free: 84 kB / 0.5265 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001166/1.53, allocations: 1.071 MB / 0.774 GB, free: 15.29 MB / 0.5421 GB Notification: Performance of preOpt evalFunc (simulation): time 8.192e-05/1.53, allocations: 17.3 kB / 0.774 GB, free: 15.28 MB / 0.5421 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.008e-05/1.53, allocations: 46.31 kB / 0.7741 GB, free: 15.23 MB / 0.5421 GB Notification: Performance of pre-optimization done (n=134): time 2.344e-06/1.53, allocations: 0 / 0.7741 GB, free: 15.23 MB / 0.5421 GB Notification: Performance of matching and sorting (n=134): time 0.00247/1.532, allocations: 1.961 MB / 0.776 GB, free: 13.66 MB / 0.5421 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.66e-05/1.532, allocations: 72.94 kB / 0.776 GB, free: 13.58 MB / 0.5421 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00037/1.533, allocations: 429.9 kB / 0.7764 GB, free: 13.24 MB / 0.5421 GB Notification: Performance of collectPreVariables (initialization): time 0.000106/1.533, allocations: 29.64 kB / 0.7765 GB, free: 13.2 MB / 0.5421 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001334/1.533, allocations: 229 kB / 0.7767 GB, free: 13 MB / 0.5421 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003203/1.533, allocations: 0.5093 MB / 0.7772 GB, free: 12.55 MB / 0.5421 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001062/1.533, allocations: 3.938 kB / 0.7772 GB, free: 12.55 MB / 0.5421 GB Notification: Performance of setup shared object (initialization): time 0.0001473/1.533, allocations: 409 kB / 0.7776 GB, free: 12.18 MB / 0.5421 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001428/1.535, allocations: 1.225 MB / 0.7788 GB, free: 11.24 MB / 0.5421 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001526/1.536, allocations: 1.402 MB / 0.7802 GB, free: 10.12 MB / 0.5421 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00162/1.538, allocations: 1.41 MB / 0.7815 GB, free: 9.027 MB / 0.5421 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.192e-06/1.538, allocations: 0 / 0.7815 GB, free: 9.027 MB / 0.5421 GB Notification: Performance of matching and sorting (n=216) (initialization): time 0.003548/1.542, allocations: 2.895 MB / 0.7844 GB, free: 6.715 MB / 0.5421 GB Notification: Performance of prepare postOptimizeDAE: time 1.255e-05/1.542, allocations: 8 kB / 0.7844 GB, free: 6.707 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.917e-06/1.542, allocations: 0 / 0.7844 GB, free: 6.707 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.015e-05/1.542, allocations: 12 kB / 0.7844 GB, free: 6.695 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002694/1.544, allocations: 0.5541 MB / 0.7849 GB, free: 6.152 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.033e-05/1.544, allocations: 20 kB / 0.7849 GB, free: 6.133 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000948/1.545, allocations: 150.5 kB / 0.7851 GB, free: 5.984 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001448/1.545, allocations: 63.23 kB / 0.7851 GB, free: 5.938 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.0002309/1.546, allocations: 128.6 kB / 0.7853 GB, free: 5.805 MB / 0.5421 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001482/1.546, allocations: 71.06 kB / 0.7853 GB, free: 5.734 MB / 0.5421 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002823/1.549, allocations: 2.262 MB / 0.7875 GB, free: 4.016 MB / 0.5421 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.115e-05/1.549, allocations: 12 kB / 0.7875 GB, free: 4.004 MB / 0.5421 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/1.549, allocations: 0 / 0.7875 GB, free: 4.004 MB / 0.5421 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.2e-05/1.549, allocations: 7.922 kB / 0.7876 GB, free: 3.996 MB / 0.5421 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001382/1.55, allocations: 1.272 MB / 0.7888 GB, free: 2.926 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/1.55, allocations: 0 / 0.7888 GB, free: 2.926 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003057/1.553, allocations: 0.5219 MB / 0.7893 GB, free: 2.418 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.195e-05/1.553, allocations: 8 kB / 0.7893 GB, free: 2.41 MB / 0.5421 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001606/1.553, allocations: 71.67 kB / 0.7894 GB, free: 2.352 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.152e-06/1.553, allocations: 8 kB / 0.7894 GB, free: 2.344 MB / 0.5421 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/1.553, allocations: 0 / 0.7894 GB, free: 2.344 MB / 0.5421 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0036/1.557, allocations: 3.288 MB / 0.7926 GB, free: 15.75 MB / 0.5578 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.005042/1.562, allocations: 5.08 MB / 0.7976 GB, free: 11.75 MB / 0.5578 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005441/1.563, allocations: 370.4 kB / 0.7979 GB, free: 11.4 MB / 0.5578 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002308/1.563, allocations: 59.69 kB / 0.798 GB, free: 11.35 MB / 0.5578 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007493/1.564, allocations: 59.84 kB / 0.798 GB, free: 11.29 MB / 0.5578 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001655/1.564, allocations: 80.78 kB / 0.7981 GB, free: 11.22 MB / 0.5578 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.882e-05/1.564, allocations: 35.73 kB / 0.7981 GB, free: 11.2 MB / 0.5578 GB Notification: Performance of sort global known variables: time 0.0002551/1.564, allocations: 316.4 kB / 0.7984 GB, free: 10.95 MB / 0.5578 GB Notification: Performance of remove unused functions: time 0.001209/1.565, allocations: 295.7 kB / 0.7987 GB, free: 10.66 MB / 0.5578 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.0002208/1.566, allocations: 177 kB / 0.7989 GB, free: 10.48 MB / 0.5578 GB Notification: Performance of simCode: created initialization part: time 0.0027/1.568, allocations: 2.43 MB / 0.8013 GB, free: 8.598 MB / 0.5578 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/1.568, allocations: 4.188 kB / 0.8013 GB, free: 8.594 MB / 0.5578 GB Notification: Performance of simCode: created simulation system equations: time 0.001136/1.569, allocations: 1.079 MB / 0.8023 GB, free: 7.766 MB / 0.5578 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002692/1.57, allocations: 18.36 kB / 0.8023 GB, free: 7.758 MB / 0.5578 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007014/1.577, allocations: 6.259 MB / 0.8085 GB, free: 1.762 MB / 0.5578 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00148/1.578, allocations: 1.525 MB / 0.8099 GB, free: 272 kB / 0.5578 GB Notification: Performance of SimCode: time 3.21e-07/1.578, allocations: 0 / 0.8099 GB, free: 272 kB / 0.5578 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