Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.Verification.TenGeneratorsStepLoad.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.Verification.TenGeneratorsStepLoad,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Power_ConceptualPowerSystem_Verification_TenGeneratorsStepLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Power.ConceptualPowerSystem.Verification.TenGeneratorsStepLoad,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Power_ConceptualPowerSystem_Verification_TenGeneratorsStepLoad",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.001106/0.001106, allocations: 181 kB / 8.132 MB, free: 2.133 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.1/1.1, allocations: 221.4 MB / 229.9 MB, free: 3.02 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.001008/0.001008, allocations: 92 kB / 280.8 MB, free: 1.25 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.6515/0.6515, allocations: 120.4 MB / 452 MB, free: 13.02 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 0.3468/0.9983, allocations: 88.96 MB / 0.5283 GB, free: 52.37 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1205/1.119, allocations: 82.85 MB / 0.6092 GB, free: 3.5 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.516/1.635, allocations: 125.5 MB / 0.7318 GB, free: 4.305 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001425/1.635, allocations: 49.53 kB / 0.7318 GB, free: 4.289 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: 543 * Number of variables: 543 Notification: Performance of Generate backend data structure: time 0.3193/1.954, allocations: 107.6 MB / 0.8369 GB, free: 8.363 MB / 0.589 GB Notification: Performance of prepare preOptimizeDAE: time 4.239e-05/1.954, allocations: 8 kB / 0.837 GB, free: 8.355 MB / 0.589 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001458/1.956, allocations: 245.2 kB / 0.8372 GB, free: 8.113 MB / 0.589 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007132/1.963, allocations: 2.161 MB / 0.8393 GB, free: 6.047 MB / 0.589 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001189/1.963, allocations: 68 kB / 0.8394 GB, free: 5.98 MB / 0.589 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001617/1.965, allocations: 274.9 kB / 0.8396 GB, free: 5.727 MB / 0.589 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008553/1.973, allocations: 5.465 MB / 0.845 GB, free: 1.367 MB / 0.589 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005275/1.979, allocations: 3.56 MB / 0.8484 GB, free: 14.54 MB / 0.6046 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.379e-05/1.979, allocations: 7.906 kB / 0.8484 GB, free: 14.53 MB / 0.6046 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002512/1.979, allocations: 0 / 0.8484 GB, free: 14.53 MB / 0.6046 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.389e-05/1.979, allocations: 84.25 kB / 0.8485 GB, free: 14.44 MB / 0.6046 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01785/1.997, allocations: 9.45 MB / 0.8578 GB, free: 6.598 MB / 0.6046 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004014/2.001, allocations: 3.277 MB / 0.861 GB, free: 4.223 MB / 0.6046 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003659/2.005, allocations: 3.369 MB / 0.8642 GB, free: 1.859 MB / 0.6046 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002069/2.005, allocations: 59.11 kB / 0.8643 GB, free: 1.805 MB / 0.6046 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.16e-05/2.005, allocations: 76.98 kB / 0.8644 GB, free: 1.746 MB / 0.6046 GB Notification: Performance of pre-optimization done (n=412): time 5.56e-06/2.005, allocations: 0 / 0.8644 GB, free: 1.746 MB / 0.6046 GB Notification: Performance of matching and sorting (n=412): time 0.007199/2.012, allocations: 5.509 MB / 0.8698 GB, free: 13.44 MB / 0.6203 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.761e-05/2.012, allocations: 90.64 kB / 0.8698 GB, free: 13.34 MB / 0.6203 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009277/2.013, allocations: 0.8641 MB / 0.8707 GB, free: 12.66 MB / 0.6203 GB Notification: Performance of collectPreVariables (initialization): time 0.000319/2.014, allocations: 33.64 kB / 0.8707 GB, free: 12.62 MB / 0.6203 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002457/2.014, allocations: 407.7 kB / 0.8711 GB, free: 12.26 MB / 0.6203 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009874/2.015, allocations: 1.463 MB / 0.8725 GB, free: 10.96 MB / 0.6203 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002572/2.015, allocations: 0 / 0.8725 GB, free: 10.96 MB / 0.6203 GB Notification: Performance of setup shared object (initialization): time 0.0002107/2.015, allocations: 0.4931 MB / 0.873 GB, free: 10.54 MB / 0.6203 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0036/2.019, allocations: 2.94 MB / 0.8759 GB, free: 8.344 MB / 0.6203 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003793/2.023, allocations: 3.383 MB / 0.8792 GB, free: 5.676 MB / 0.6203 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004096/2.027, allocations: 3.439 MB / 0.8825 GB, free: 3.004 MB / 0.6203 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.047e-06/2.027, allocations: 0 / 0.8825 GB, free: 3.004 MB / 0.6203 GB Notification: Performance of matching and sorting (n=574) (initialization): time 0.00897/2.036, allocations: 7.023 MB / 0.8894 GB, free: 13.43 MB / 0.6359 GB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/2.036, allocations: 8.031 kB / 0.8894 GB, free: 13.42 MB / 0.6359 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.957e-05/2.036, allocations: 8 kB / 0.8894 GB, free: 13.41 MB / 0.6359 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.371e-05/2.036, allocations: 28 kB / 0.8894 GB, free: 13.39 MB / 0.6359 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005941/2.042, allocations: 1.301 MB / 0.8907 GB, free: 12.12 MB / 0.6359 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.101e-05/2.042, allocations: 31.92 kB / 0.8908 GB, free: 12.09 MB / 0.6359 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002565/2.045, allocations: 388 kB / 0.8911 GB, free: 11.7 MB / 0.6359 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004711/2.045, allocations: 146.8 kB / 0.8913 GB, free: 11.59 MB / 0.6359 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (574): * Single equations (assignments): 574 * 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.0007485/2.046, allocations: 167.9 kB / 0.8914 GB, free: 11.43 MB / 0.6359 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005945/2.046, allocations: 205.4 kB / 0.8916 GB, free: 11.22 MB / 0.6359 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01021/2.057, allocations: 6.827 MB / 0.8983 GB, free: 6.078 MB / 0.6359 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.885e-05/2.057, allocations: 48 kB / 0.8983 GB, free: 6.031 MB / 0.6359 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.461e-05/2.057, allocations: 0 / 0.8983 GB, free: 6.031 MB / 0.6359 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.93e-05/2.057, allocations: 27.89 kB / 0.8984 GB, free: 6.004 MB / 0.6359 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004581/2.061, allocations: 3.354 MB / 0.9016 GB, free: 3.301 MB / 0.6359 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-05/2.061, allocations: 0 / 0.9016 GB, free: 3.301 MB / 0.6359 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007234/2.069, allocations: 1.306 MB / 0.9029 GB, free: 2.031 MB / 0.6359 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.774e-05/2.069, allocations: 16 kB / 0.9029 GB, free: 2.016 MB / 0.6359 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005844/2.069, allocations: 130.9 kB / 0.903 GB, free: 1.914 MB / 0.6359 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.231e-05/2.069, allocations: 20 kB / 0.9031 GB, free: 1.895 MB / 0.6359 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/2.069, allocations: 4 kB / 0.9031 GB, free: 1.891 MB / 0.6359 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01201/2.081, allocations: 9.355 MB / 0.9122 GB, free: 10.75 MB / 0.6515 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01642/2.098, allocations: 13.79 MB / 0.9257 GB, free: 308 kB / 0.6515 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001974/2.1, allocations: 0.8914 MB / 0.9265 GB, free: 15.47 MB / 0.6671 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007766/2.101, allocations: 107.3 kB / 0.9266 GB, free: 15.38 MB / 0.6671 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002232/2.103, allocations: 143.8 kB / 0.9268 GB, free: 15.24 MB / 0.6671 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005116/2.103, allocations: 238.2 kB / 0.927 GB, free: 15.04 MB / 0.6671 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003405/2.104, allocations: 126.9 kB / 0.9271 GB, free: 14.95 MB / 0.6671 GB Notification: Performance of sort global known variables: time 0.0008165/2.105, allocations: 0.637 MB / 0.9278 GB, free: 14.46 MB / 0.6671 GB Notification: Performance of remove unused functions: time 0.002846/2.107, allocations: 0.7846 MB / 0.9285 GB, free: 13.67 MB / 0.6671 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 121 (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) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (502): * Single equations (assignments): 502 * 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.0005335/2.108, allocations: 240.4 kB / 0.9288 GB, free: 13.43 MB / 0.6671 GB Notification: Performance of simCode: created initialization part: time 0.008686/2.117, allocations: 6.481 MB / 0.9351 GB, free: 8.535 MB / 0.6671 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/2.117, allocations: 0 / 0.9351 GB, free: 8.535 MB / 0.6671 GB Notification: Performance of simCode: created simulation system equations: time 0.004313/2.121, allocations: 3.27 MB / 0.9383 GB, free: 5.633 MB / 0.6671 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009229/2.122, allocations: 32.12 kB / 0.9383 GB, free: 5.602 MB / 0.6671 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1847/2.307, allocations: 14 MB / 0.952 GB, free: 305.3 MB / 0.6671 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003181/2.31, allocations: 2.815 MB / 0.9547 GB, free: 304.5 MB / 0.6671 GB Notification: Performance of SimCode: time 1.052e-06/2.31, allocations: 0 / 0.9547 GB, free: 304.5 MB / 0.6671 GB (rm -f ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.Verification.TenGeneratorsStepLoad.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.Verification.TenGeneratorsStepLoad.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.Verification.TenGeneratorsStepLoad.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.Verification.TenGeneratorsStepLoad.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.Verification.TenGeneratorsStepLoad_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Power_ConceptualPowerSystem_Verification_TenGeneratorsStepLoad_fmu --startTime=0 --stopTime=200 --timeout=300 --tolerance=1e-07 ScalableTestSuite_ScalableTestSuite_Power_ConceptualPowerSystem_Verification_TenGeneratorsStepLoad.fmu > ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.Verification.TenGeneratorsStepLoad.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.Verification.TenGeneratorsStepLoad_res.mat does not exist to compare? outputFormat=mat