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"}) [: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.0009956/0.0009956, allocations: 183 kB / 8.135 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.034/1.034, allocations: 221.4 MB / 229.9 MB, free: 2.988 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.0008702/0.0008702, allocations: 105.1 kB / 280.8 MB, free: 1.262 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.596/0.596, allocations: 120.4 MB / 452 MB, free: 13.02 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 0.2893/0.8853, allocations: 88.97 MB / 0.5283 GB, free: 51.23 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09848/0.9838, allocations: 82.85 MB / 0.6092 GB, free: 2.332 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4101/1.394, allocations: 125.5 MB / 0.7318 GB, free: 3.449 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000101/1.394, allocations: 47.86 kB / 0.7318 GB, free: 3.43 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: 267 * Number of variables: 267 Notification: Performance of Generate backend data structure: time 0.1438/1.538, allocations: 43.82 MB / 0.7746 GB, free: 12.33 MB / 0.5421 GB Notification: Performance of prepare preOptimizeDAE: time 3.3e-05/1.538, allocations: 12 kB / 0.7746 GB, free: 12.32 MB / 0.5421 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003743/1.538, allocations: 122.6 kB / 0.7748 GB, free: 12.2 MB / 0.5421 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007061/1.545, allocations: 2.159 MB / 0.7769 GB, free: 10.09 MB / 0.5421 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.028e-05/1.545, allocations: 36 kB / 0.7769 GB, free: 10.05 MB / 0.5421 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005927/1.546, allocations: 156.6 kB / 0.777 GB, free: 9.914 MB / 0.5421 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002466/1.549, allocations: 1.924 MB / 0.7789 GB, free: 8.41 MB / 0.5421 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002645/1.551, allocations: 1.997 MB / 0.7809 GB, free: 6.77 MB / 0.5421 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.13e-05/1.551, allocations: 3.906 kB / 0.7809 GB, free: 6.766 MB / 0.5421 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001321/1.551, allocations: 0 / 0.7809 GB, free: 6.766 MB / 0.5421 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.08e-05/1.551, allocations: 42.09 kB / 0.7809 GB, free: 6.723 MB / 0.5421 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01002/1.561, allocations: 5.408 MB / 0.7862 GB, free: 2.148 MB / 0.5421 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001858/1.563, allocations: 1.589 MB / 0.7878 GB, free: 0.9414 MB / 0.5421 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00153/1.565, allocations: 1.441 MB / 0.7892 GB, free: 15.87 MB / 0.5578 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001113/1.565, allocations: 21.19 kB / 0.7892 GB, free: 15.85 MB / 0.5578 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.464e-05/1.565, allocations: 55.12 kB / 0.7892 GB, free: 15.8 MB / 0.5578 GB Notification: Performance of pre-optimization done (n=166): time 2.425e-06/1.565, allocations: 0 / 0.7892 GB, free: 15.8 MB / 0.5578 GB Notification: Performance of matching and sorting (n=166): time 0.003451/1.568, allocations: 2.732 MB / 0.7919 GB, free: 13.61 MB / 0.5578 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.972e-05/1.569, allocations: 73.75 kB / 0.792 GB, free: 13.53 MB / 0.5578 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003872/1.569, allocations: 437.4 kB / 0.7924 GB, free: 13.18 MB / 0.5578 GB Notification: Performance of collectPreVariables (initialization): time 0.0001587/1.569, allocations: 25.7 kB / 0.7924 GB, free: 13.15 MB / 0.5578 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001735/1.569, allocations: 276.8 kB / 0.7927 GB, free: 12.9 MB / 0.5578 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004299/1.57, allocations: 0.6507 MB / 0.7933 GB, free: 12.33 MB / 0.5578 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001615/1.57, allocations: 0 / 0.7933 GB, free: 12.33 MB / 0.5578 GB Notification: Performance of setup shared object (initialization): time 0.0001814/1.57, allocations: 437.7 kB / 0.7937 GB, free: 11.94 MB / 0.5578 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002231/1.572, allocations: 1.87 MB / 0.7956 GB, free: 10.5 MB / 0.5578 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00235/1.575, allocations: 2.076 MB / 0.7976 GB, free: 8.844 MB / 0.5578 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002457/1.577, allocations: 2.11 MB / 0.7996 GB, free: 7.176 MB / 0.5578 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.16e-06/1.577, allocations: 7.938 kB / 0.7997 GB, free: 7.168 MB / 0.5578 GB Notification: Performance of matching and sorting (n=280) (initialization): time 0.005306/1.582, allocations: 4.283 MB / 0.8038 GB, free: 3.715 MB / 0.5578 GB Notification: Performance of prepare postOptimizeDAE: time 1.217e-05/1.582, allocations: 4 kB / 0.8038 GB, free: 3.711 MB / 0.5578 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.131e-05/1.582, allocations: 4 kB / 0.8038 GB, free: 3.707 MB / 0.5578 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.448e-05/1.583, allocations: 16.39 kB / 0.8039 GB, free: 3.691 MB / 0.5578 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004115/1.587, allocations: 0.8184 MB / 0.8047 GB, free: 2.887 MB / 0.5578 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.271e-05/1.587, allocations: 12 kB / 0.8047 GB, free: 2.875 MB / 0.5578 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001326/1.588, allocations: 214.1 kB / 0.8049 GB, free: 2.664 MB / 0.5578 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002115/1.588, allocations: 71.44 kB / 0.8049 GB, free: 2.613 MB / 0.5578 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.0003174/1.589, allocations: 132.5 kB / 0.8051 GB, free: 2.477 MB / 0.5578 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001955/1.589, allocations: 90.86 kB / 0.8052 GB, free: 2.387 MB / 0.5578 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003897/1.593, allocations: 3.138 MB / 0.8082 GB, free: 4 kB / 0.5578 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-05/1.593, allocations: 16.05 kB / 0.8082 GB, free: 15.98 MB / 0.5734 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/1.593, allocations: 0 / 0.8082 GB, free: 15.98 MB / 0.5734 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.319e-05/1.593, allocations: 7.922 kB / 0.8082 GB, free: 15.98 MB / 0.5734 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001874/1.595, allocations: 1.719 MB / 0.8099 GB, free: 14.55 MB / 0.5734 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/1.595, allocations: 0 / 0.8099 GB, free: 14.55 MB / 0.5734 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004642/1.599, allocations: 0.7759 MB / 0.8107 GB, free: 13.79 MB / 0.5734 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-05/1.599, allocations: 8 kB / 0.8107 GB, free: 13.78 MB / 0.5734 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002376/1.6, allocations: 111.2 kB / 0.8108 GB, free: 13.69 MB / 0.5734 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.842e-06/1.6, allocations: 8 kB / 0.8108 GB, free: 13.68 MB / 0.5734 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.113e-06/1.6, allocations: 7.938 kB / 0.8108 GB, free: 13.68 MB / 0.5734 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005/1.605, allocations: 4.492 MB / 0.8152 GB, free: 10.13 MB / 0.5734 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.007103/1.612, allocations: 6.873 MB / 0.8219 GB, free: 4.707 MB / 0.5734 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007753/1.612, allocations: 480.8 kB / 0.8224 GB, free: 4.27 MB / 0.5734 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003236/1.613, allocations: 91.66 kB / 0.8225 GB, free: 4.191 MB / 0.5734 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001049/1.614, allocations: 91.84 kB / 0.8225 GB, free: 4.102 MB / 0.5734 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002368/1.614, allocations: 92.73 kB / 0.8226 GB, free: 4.027 MB / 0.5734 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001547/1.614, allocations: 47.53 kB / 0.8227 GB, free: 3.988 MB / 0.5734 GB Notification: Performance of sort global known variables: time 0.0002598/1.615, allocations: 317.4 kB / 0.823 GB, free: 3.742 MB / 0.5734 GB Notification: Performance of remove unused functions: time 0.001406/1.616, allocations: 419.2 kB / 0.8234 GB, free: 3.336 MB / 0.5734 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.0002884/1.616, allocations: 203.8 kB / 0.8236 GB, free: 3.133 MB / 0.5734 GB Notification: Performance of simCode: created initialization part: time 0.003952/1.62, allocations: 3.548 MB / 0.827 GB, free: 384 kB / 0.5734 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/1.62, allocations: 4 kB / 0.827 GB, free: 380 kB / 0.5734 GB Notification: Performance of simCode: created simulation system equations: time 0.001599/1.622, allocations: 1.488 MB / 0.8285 GB, free: 15.23 MB / 0.589 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003034/1.622, allocations: 18.03 kB / 0.8285 GB, free: 15.22 MB / 0.589 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01004/1.632, allocations: 9.06 MB / 0.8374 GB, free: 6.523 MB / 0.589 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002097/1.634, allocations: 1.799 MB / 0.8391 GB, free: 4.77 MB / 0.589 GB Notification: Performance of SimCode: time 2.5e-07/1.634, allocations: 0 / 0.8391 GB, free: 4.77 MB / 0.589 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