Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_16_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_16_M_4,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Power_ConceptualPowerSystem_ScaledExperiments_PowerSystemStepLoad_N_16_M_4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_16_M_4,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Power_ConceptualPowerSystem_ScaledExperiments_PowerSystemStepLoad_N_16_M_4",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.001182/0.001182, allocations: 183.5 kB / 8.138 MB, free: 2.223 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.121/1.121, allocations: 221.4 MB / 230 MB, free: 3.246 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.0009948/0.0009949, allocations: 99.7 kB / 280.8 MB, free: 1.266 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.7219/0.7219, allocations: 120.4 MB / 452 MB, free: 12.97 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 0.3667/1.089, allocations: 88.96 MB / 0.5283 GB, free: 52.36 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1323/1.221, allocations: 82.85 MB / 0.6092 GB, free: 3.449 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5324/1.753, allocations: 125.5 MB / 0.7318 GB, free: 4.629 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001355/1.754, allocations: 50.56 kB / 0.7318 GB, free: 4.609 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: 1059 * Number of variables: 1059 Notification: Performance of Generate backend data structure: time 0.9181/2.672, allocations: 242.7 MB / 0.9689 GB, free: 211.7 MB / 0.6671 GB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/2.672, allocations: 7.062 kB / 0.9689 GB, free: 211.7 MB / 0.6671 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002743/2.674, allocations: 450 kB / 0.9693 GB, free: 211.5 MB / 0.6671 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01187/2.686, allocations: 3.717 MB / 0.973 GB, free: 210.7 MB / 0.6671 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002689/2.687, allocations: 129.6 kB / 0.9731 GB, free: 210.7 MB / 0.6671 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003249/2.69, allocations: 490.5 kB / 0.9735 GB, free: 210.7 MB / 0.6671 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02552/2.715, allocations: 15.22 MB / 0.9884 GB, free: 209.1 MB / 0.6671 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01586/2.731, allocations: 7.145 MB / 0.9954 GB, free: 206.1 MB / 0.6671 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002434/2.732, allocations: 15.75 kB / 0.9954 GB, free: 206.1 MB / 0.6671 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001454/2.733, allocations: 0 / 0.9954 GB, free: 206.1 MB / 0.6671 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001153/2.733, allocations: 160.1 kB / 0.9956 GB, free: 206 MB / 0.6671 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04436/2.778, allocations: 20.32 MB / 1.015 GB, free: 190.3 MB / 0.6671 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009694/2.787, allocations: 6.562 MB / 1.022 GB, free: 184.6 MB / 0.6671 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01015/2.798, allocations: 7.363 MB / 1.029 GB, free: 178.1 MB / 0.6671 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008732/2.798, allocations: 140.3 kB / 1.029 GB, free: 178 MB / 0.6671 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.54e-05/2.799, allocations: 121.2 kB / 1.029 GB, free: 177.9 MB / 0.6671 GB Notification: Performance of pre-optimization done (n=850): time 1.789e-05/2.799, allocations: 0 / 1.029 GB, free: 177.9 MB / 0.6671 GB Notification: Performance of matching and sorting (n=850): time 0.02029/2.819, allocations: 11.45 MB / 1.04 GB, free: 167.5 MB / 0.6671 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.995e-05/2.819, allocations: 138.1 kB / 1.041 GB, free: 167.4 MB / 0.6671 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00188/2.821, allocations: 1.335 MB / 1.042 GB, free: 166 MB / 0.6671 GB Notification: Performance of collectPreVariables (initialization): time 0.001602/2.823, allocations: 25.7 kB / 1.042 GB, free: 166 MB / 0.6671 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005038/2.823, allocations: 0.5898 MB / 1.042 GB, free: 165.4 MB / 0.6671 GB Notification: Performance of collectInitialBindings (initialization): time 0.002582/2.826, allocations: 2.948 MB / 1.045 GB, free: 162.4 MB / 0.6671 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001306/2.827, allocations: 0 / 1.045 GB, free: 162.4 MB / 0.6671 GB Notification: Performance of setup shared object (initialization): time 0.0004906/2.827, allocations: 0.6734 MB / 1.046 GB, free: 161.7 MB / 0.6671 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008067/2.836, allocations: 5.834 MB / 1.052 GB, free: 155.9 MB / 0.6671 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008456/2.844, allocations: 6.642 MB / 1.058 GB, free: 149.1 MB / 0.6671 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009566/2.854, allocations: 6.795 MB / 1.065 GB, free: 142.2 MB / 0.6671 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.729e-05/2.854, allocations: 4 kB / 1.065 GB, free: 142.2 MB / 0.6671 GB Notification: Performance of matching and sorting (n=1108) (initialization): time 0.02281/2.876, allocations: 13.87 MB / 1.078 GB, free: 128.3 MB / 0.6671 GB Notification: Performance of prepare postOptimizeDAE: time 2.038e-05/2.877, allocations: 4 kB / 1.078 GB, free: 128.3 MB / 0.6671 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.052e-05/2.877, allocations: 12 kB / 1.078 GB, free: 128.2 MB / 0.6671 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.116e-05/2.877, allocations: 48.72 kB / 1.078 GB, free: 128.2 MB / 0.6671 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01241/2.889, allocations: 2.493 MB / 1.081 GB, free: 125.7 MB / 0.6671 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001338/2.889, allocations: 55.92 kB / 1.081 GB, free: 125.6 MB / 0.6671 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00639/2.896, allocations: 0.7583 MB / 1.082 GB, free: 124.9 MB / 0.6671 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001941/2.898, allocations: 295.9 kB / 1.082 GB, free: 124.6 MB / 0.6671 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1108): * Single equations (assignments): 1108 * 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.003/2.901, allocations: 227.1 kB / 1.082 GB, free: 124.4 MB / 0.6671 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00182/2.902, allocations: 387.3 kB / 1.083 GB, free: 124 MB / 0.6671 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02683/2.929, allocations: 15.22 MB / 1.097 GB, free: 108.7 MB / 0.6671 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.215e-05/2.929, allocations: 104 kB / 1.097 GB, free: 108.6 MB / 0.6671 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.429e-05/2.929, allocations: 9.344 kB / 1.097 GB, free: 108.5 MB / 0.6671 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001636/2.93, allocations: 51.8 kB / 1.098 GB, free: 108.5 MB / 0.6671 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01075/2.94, allocations: 6.835 MB / 1.104 GB, free: 101.9 MB / 0.6671 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.382e-05/2.94, allocations: 3.984 kB / 1.104 GB, free: 101.9 MB / 0.6671 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0147/2.955, allocations: 2.626 MB / 1.107 GB, free: 99.23 MB / 0.6671 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001422/2.955, allocations: 36 kB / 1.107 GB, free: 99.2 MB / 0.6671 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002066/2.957, allocations: 235.7 kB / 1.107 GB, free: 98.96 MB / 0.6671 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.914e-05/2.958, allocations: 40 kB / 1.107 GB, free: 98.93 MB / 0.6671 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/2.958, allocations: 0 / 1.107 GB, free: 98.93 MB / 0.6671 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02939/2.987, allocations: 19.51 MB / 1.126 GB, free: 79.29 MB / 0.6671 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.03754/3.025, allocations: 28.45 MB / 1.154 GB, free: 50.69 MB / 0.6671 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004319/3.029, allocations: 1.731 MB / 1.156 GB, free: 48.93 MB / 0.6671 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002098/3.031, allocations: 167.7 kB / 1.156 GB, free: 48.77 MB / 0.6671 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005229/3.036, allocations: 323.6 kB / 1.156 GB, free: 48.45 MB / 0.6671 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001787/3.038, allocations: 0.5075 MB / 1.157 GB, free: 47.94 MB / 0.6671 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001394/3.04, allocations: 275.9 kB / 1.157 GB, free: 47.67 MB / 0.6671 GB Notification: Performance of sort global known variables: time 0.001274/3.041, allocations: 0.9608 MB / 1.158 GB, free: 46.71 MB / 0.6671 GB Notification: Performance of remove unused functions: time 0.006312/3.047, allocations: 1.585 MB / 1.159 GB, free: 45.12 MB / 0.6671 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 193 (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,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].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].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].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].err_p_t_int,generator[8].err_p_int,generator[9].theta,generator[9].omega,generator[9].p,generator[9].q_ev,generator[9].y_t,generator[9].p_t_lp,generator[9].T_s[1],generator[9].T_s[2],generator[9].T_s[3],generator[9].T_s[4],generator[9].err_p_t_int,generator[9].err_p_int,generator[10].theta,generator[10].omega,generator[10].p,generator[10].q_ev,generator[10].y_t,generator[10].p_t_lp,generator[10].T_s[1],generator[10].T_s[2],generator[10].T_s[3],generator[10].T_s[4],generator[10].err_p_t_int,generator[10].err_p_int,generator[11].theta,generator[11].omega,generator[11].p,generator[11].q_ev,generator[11].y_t,generator[11].p_t_lp,generator[11].T_s[1],generator[11].T_s[2],generator[11].T_s[3],generator[11].T_s[4],generator[11].err_p_t_int,generator[11].err_p_int,generator[12].theta,generator[12].omega,generator[12].p,generator[12].q_ev,generator[12].y_t,generator[12].p_t_lp,generator[12].T_s[1],generator[12].T_s[2],generator[12].T_s[3],generator[12].T_s[4],generator[12].err_p_t_int,generator[12].err_p_int,generator[13].theta,generator[13].omega,generator[13].p,generator[13].q_ev,generator[13].y_t,generator[13].p_t_lp,generator[13].T_s[1],generator[13].T_s[2],generator[13].T_s[3],generator[13].T_s[4],generator[13].err_p_t_int,generator[13].err_p_int,generator[14].theta,generator[14].omega,generator[14].p,generator[14].q_ev,generator[14].y_t,generator[14].p_t_lp,generator[14].T_s[1],generator[14].T_s[2],generator[14].T_s[3],generator[14].T_s[4],generator[14].err_p_t_int,generator[14].err_p_int,generator[15].theta,generator[15].omega,generator[15].p,generator[15].q_ev,generator[15].y_t,generator[15].p_t_lp,generator[15].T_s[1],generator[15].T_s[2],generator[15].T_s[3],generator[15].T_s[4],generator[15].err_p_t_int,generator[15].err_p_int,generator[16].theta,generator[16].omega,generator[16].p,generator[16].q_ev,generator[16].y_t,generator[16].p_t_lp,generator[16].T_s[1],generator[16].T_s[2],generator[16].T_s[3],generator[16].T_s[4],generator[16].err_p_t_int,generator[16].err_p_int) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1090): * Single equations (assignments): 1090 * 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.001372/3.049, allocations: 357.6 kB / 1.16 GB, free: 44.76 MB / 0.6671 GB Notification: Performance of simCode: created initialization part: time 0.01799/3.067, allocations: 13.27 MB / 1.173 GB, free: 31.45 MB / 0.6671 GB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/3.067, allocations: 0 / 1.173 GB, free: 31.45 MB / 0.6671 GB Notification: Performance of simCode: created simulation system equations: time 0.009741/3.076, allocations: 7.02 MB / 1.179 GB, free: 24.44 MB / 0.6671 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002386/3.079, allocations: 53.12 kB / 1.18 GB, free: 24.39 MB / 0.6671 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2255/3.304, allocations: 25.42 MB / 1.204 GB, free: 279.8 MB / 0.6671 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007901/3.312, allocations: 4.698 MB / 1.209 GB, free: 278.9 MB / 0.6671 GB Notification: Performance of SimCode: time 1.392e-06/3.312, allocations: 3.906 kB / 1.209 GB, free: 278.9 MB / 0.6671 GB (rm -f ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_16_M_4.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_16_M_4.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_16_M_4.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_16_M_4.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_16_M_4_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Power_ConceptualPowerSystem_ScaledExperiments_PowerSystemStepLoad_N_16_M_4_fmu --startTime=0 --stopTime=200 --timeout=300 --tolerance=1e-07 ScalableTestSuite_ScalableTestSuite_Power_ConceptualPowerSystem_ScaledExperiments_PowerSystemStepLoad_N_16_M_4.fmu > ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_16_M_4.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_16_M_4_res.mat does not exist to compare? outputFormat=mat