Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_8_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_8_M_4,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Power_ConceptualPowerSystem_ScaledExperiments_PowerSystemStepLoad_N_8_M_4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_8_M_4,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Power_ConceptualPowerSystem_ScaledExperiments_PowerSystemStepLoad_N_8_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.001104/0.001104, allocations: 179.9 kB / 8.131 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.131/1.131, allocations: 221.4 MB / 229.9 MB, free: 3.105 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.000941/0.000941, allocations: 100.3 kB / 280.8 MB, free: 1.305 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.6946/0.6946, allocations: 120.4 MB / 452 MB, free: 12.97 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 0.375/1.07, allocations: 88.95 MB / 0.5283 GB, free: 52.36 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1248/1.195, allocations: 82.85 MB / 0.6092 GB, free: 3.457 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5392/1.734, allocations: 125.5 MB / 0.7318 GB, free: 4.43 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001358/1.734, allocations: 47.38 kB / 0.7318 GB, free: 4.414 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: 403 * Number of variables: 403 Notification: Performance of Generate backend data structure: time 0.2251/1.959, allocations: 75.02 MB / 0.8051 GB, free: 4.258 MB / 0.5578 GB Notification: Performance of prepare preOptimizeDAE: time 3.382e-05/1.959, allocations: 12 kB / 0.8051 GB, free: 4.246 MB / 0.5578 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003875/1.96, allocations: 185.8 kB / 0.8053 GB, free: 4.062 MB / 0.5578 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004713/1.964, allocations: 1.707 MB / 0.807 GB, free: 2.418 MB / 0.5578 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.695e-05/1.964, allocations: 52 kB / 0.807 GB, free: 2.367 MB / 0.5578 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007512/1.965, allocations: 215 kB / 0.8072 GB, free: 2.172 MB / 0.5578 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004643/1.97, allocations: 3.615 MB / 0.8107 GB, free: 15.33 MB / 0.5734 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003577/1.973, allocations: 2.609 MB / 0.8133 GB, free: 13.26 MB / 0.5734 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.357e-05/1.973, allocations: 11.89 kB / 0.8133 GB, free: 13.25 MB / 0.5734 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001853/1.974, allocations: 0 / 0.8133 GB, free: 13.25 MB / 0.5734 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.59e-05/1.974, allocations: 59.17 kB / 0.8134 GB, free: 13.19 MB / 0.5734 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01275/1.986, allocations: 6.852 MB / 0.8201 GB, free: 7.512 MB / 0.5734 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002934/1.989, allocations: 2.403 MB / 0.8224 GB, free: 5.746 MB / 0.5734 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002583/1.992, allocations: 2.383 MB / 0.8247 GB, free: 4.051 MB / 0.5734 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001543/1.992, allocations: 46.19 kB / 0.8248 GB, free: 4.008 MB / 0.5734 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.216e-05/1.992, allocations: 67.62 kB / 0.8248 GB, free: 3.949 MB / 0.5734 GB Notification: Performance of pre-optimization done (n=298): time 4.939e-06/1.992, allocations: 0 / 0.8248 GB, free: 3.949 MB / 0.5734 GB Notification: Performance of matching and sorting (n=298): time 0.005265/1.997, allocations: 3.98 MB / 0.8287 GB, free: 0.793 MB / 0.5734 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.905e-05/1.998, allocations: 81.75 kB / 0.8288 GB, free: 0.6992 MB / 0.5734 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000763/1.998, allocations: 0.7132 MB / 0.8295 GB, free: 136 kB / 0.5734 GB Notification: Performance of collectPreVariables (initialization): time 0.0002227/1.999, allocations: 33.64 kB / 0.8295 GB, free: 96 kB / 0.5734 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002099/1.999, allocations: 345.8 kB / 0.8299 GB, free: 15.79 MB / 0.589 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007058/1.999, allocations: 1.065 MB / 0.8309 GB, free: 14.85 MB / 0.589 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001965/2, allocations: 0 / 0.8309 GB, free: 14.85 MB / 0.589 GB Notification: Performance of setup shared object (initialization): time 0.0002246/2, allocations: 0.4954 MB / 0.8314 GB, free: 14.42 MB / 0.589 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002727/2.003, allocations: 2.165 MB / 0.8335 GB, free: 12.8 MB / 0.589 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002923/2.006, allocations: 2.51 MB / 0.8359 GB, free: 10.82 MB / 0.589 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003132/2.009, allocations: 2.534 MB / 0.8384 GB, free: 8.867 MB / 0.589 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.031e-05/2.009, allocations: 4 kB / 0.8384 GB, free: 8.863 MB / 0.589 GB Notification: Performance of matching and sorting (n=428) (initialization): time 0.007231/2.016, allocations: 5.188 MB / 0.8435 GB, free: 4.766 MB / 0.589 GB Notification: Performance of prepare postOptimizeDAE: time 2.087e-05/2.016, allocations: 12.09 kB / 0.8435 GB, free: 4.754 MB / 0.589 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.029e-05/2.016, allocations: 8 kB / 0.8435 GB, free: 4.746 MB / 0.589 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.061e-05/2.016, allocations: 20 kB / 0.8435 GB, free: 4.727 MB / 0.589 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004712/2.021, allocations: 0.9703 MB / 0.8445 GB, free: 3.781 MB / 0.589 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.989e-05/2.021, allocations: 23.98 kB / 0.8445 GB, free: 3.758 MB / 0.589 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002052/2.023, allocations: 281 kB / 0.8448 GB, free: 3.48 MB / 0.589 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003667/2.023, allocations: 107.5 kB / 0.8449 GB, free: 3.398 MB / 0.589 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (428): * Single equations (assignments): 428 * 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.0005519/2.024, allocations: 160.1 kB / 0.845 GB, free: 3.238 MB / 0.589 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004288/2.024, allocations: 150.1 kB / 0.8452 GB, free: 3.09 MB / 0.589 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007122/2.031, allocations: 4.814 MB / 0.8499 GB, free: 15.44 MB / 0.6046 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.291e-05/2.031, allocations: 35.91 kB / 0.8499 GB, free: 15.41 MB / 0.6046 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.244e-05/2.031, allocations: 0 / 0.8499 GB, free: 15.41 MB / 0.6046 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.168e-05/2.032, allocations: 15.94 kB / 0.8499 GB, free: 15.39 MB / 0.6046 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003286/2.035, allocations: 2.447 MB / 0.8523 GB, free: 13.4 MB / 0.6046 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.844e-06/2.035, allocations: 0 / 0.8523 GB, free: 13.4 MB / 0.6046 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005319/2.04, allocations: 0.9551 MB / 0.8532 GB, free: 12.47 MB / 0.6046 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.492e-05/2.04, allocations: 12 kB / 0.8532 GB, free: 12.46 MB / 0.6046 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000374/2.041, allocations: 107.3 kB / 0.8534 GB, free: 12.38 MB / 0.6046 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.19e-05/2.041, allocations: 15.98 kB / 0.8534 GB, free: 12.36 MB / 0.6046 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.826e-06/2.041, allocations: 0 / 0.8534 GB, free: 12.36 MB / 0.6046 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.008451/2.049, allocations: 6.745 MB / 0.86 GB, free: 7.152 MB / 0.6046 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01199/2.061, allocations: 10.03 MB / 0.8697 GB, free: 15.45 MB / 0.6203 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001367/2.063, allocations: 0.6717 MB / 0.8704 GB, free: 14.82 MB / 0.6203 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000567/2.063, allocations: 83.16 kB / 0.8705 GB, free: 14.75 MB / 0.6203 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001687/2.065, allocations: 99.83 kB / 0.8706 GB, free: 14.65 MB / 0.6203 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003919/2.065, allocations: 165.9 kB / 0.8707 GB, free: 14.51 MB / 0.6203 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002532/2.065, allocations: 94.81 kB / 0.8708 GB, free: 14.44 MB / 0.6203 GB Notification: Performance of sort global known variables: time 0.0006578/2.066, allocations: 0.5298 MB / 0.8713 GB, free: 14.03 MB / 0.6203 GB Notification: Performance of remove unused functions: time 0.002317/2.068, allocations: 0.5892 MB / 0.8719 GB, free: 13.44 MB / 0.6203 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].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) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (354): * Single equations (assignments): 354 * 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.000413/2.069, allocations: 203.4 kB / 0.8721 GB, free: 13.24 MB / 0.6203 GB Notification: Performance of simCode: created initialization part: time 0.006162/2.075, allocations: 4.704 MB / 0.8767 GB, free: 9.656 MB / 0.6203 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/2.075, allocations: 0 / 0.8767 GB, free: 9.656 MB / 0.6203 GB Notification: Performance of simCode: created simulation system equations: time 0.002685/2.078, allocations: 2.317 MB / 0.879 GB, free: 7.926 MB / 0.6203 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006027/2.078, allocations: 24.94 kB / 0.879 GB, free: 7.922 MB / 0.6203 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01413/2.093, allocations: 10.69 MB / 0.8894 GB, free: 13.82 MB / 0.6359 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003253/2.096, allocations: 2.275 MB / 0.8917 GB, free: 11.6 MB / 0.6359 GB Notification: Performance of SimCode: time 7.12e-07/2.096, allocations: 0 / 0.8917 GB, free: 11.6 MB / 0.6359 GB (rm -f ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_8_M_4.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_8_M_4.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_8_M_4.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_8_M_4.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_8_M_4_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Power_ConceptualPowerSystem_ScaledExperiments_PowerSystemStepLoad_N_8_M_4_fmu --startTime=0 --stopTime=200 --timeout=300 --tolerance=1e-07 ScalableTestSuite_ScalableTestSuite_Power_ConceptualPowerSystem_ScaledExperiments_PowerSystemStepLoad_N_8_M_4.fmu > ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_8_M_4.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_8_M_4_res.mat does not exist to compare? outputFormat=mat