Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.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/OpenIPSL 3.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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: translateModel(OpenIPSL.Tests.Controls.PSSE.TG.TGOV1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1") translateModel(OpenIPSL.Tests.Controls.PSSE.TG.TGOV1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1") [:1:1-1:32: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.002399/0.002399, allocations: 181.4 kB / 7.454 MB, free: 2.18 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.204/1.204, allocations: 221.4 MB / 229.3 MB, free: 3.059 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.000992/0.000992, allocations: 103.8 kB / 280.1 MB, free: 1.246 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4239/0.4239, allocations: 78.05 MB / 408.9 MB, free: 15.51 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.055e-05/1.057e-05, allocations: 4 kB / 484.3 MB, free: 4.43 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2812/0.2812, allocations: 69.34 MB / 0.5407 GB, free: 21.6 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1741/0.4554, allocations: 108.9 MB / 0.6471 GB, free: 11.89 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003728/0.4558, allocations: 87.94 kB / 0.6472 GB, free: 11.81 MB / 474.7 MB Notification: Performance of FrontEnd: time 0.3879/0.8437, allocations: 40.16 MB / 0.6864 GB, free: 105.5 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001314/0.8439, allocations: 24.59 kB / 0.6864 GB, free: 105.5 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 228 * Number of variables: 228 Notification: Performance of Generate backend data structure: time 0.006138/0.85, allocations: 2.071 MB / 0.6884 GB, free: 104.7 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.237e-05/0.8501, allocations: 7.125 kB / 0.6884 GB, free: 104.7 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003649/0.8537, allocations: 0.5754 MB / 0.689 GB, free: 104.6 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002002/0.8558, allocations: 0.9565 MB / 0.6899 GB, free: 104.2 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004273/0.8562, allocations: 394.6 kB / 0.6903 GB, free: 103.9 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002885/0.8565, allocations: 61.56 kB / 0.6904 GB, free: 103.9 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002152/0.8587, allocations: 1.039 MB / 0.6914 GB, free: 103.9 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002017/0.8607, allocations: 1.027 MB / 0.6924 GB, free: 103.8 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.383e-05/0.8607, allocations: 0 / 0.6924 GB, free: 103.8 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001294/0.8609, allocations: 7.594 kB / 0.6924 GB, free: 103.8 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.703e-05/0.8609, allocations: 24.06 kB / 0.6924 GB, free: 103.8 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008836/0.8697, allocations: 4.54 MB / 0.6968 GB, free: 101.5 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001854/0.8716, allocations: 1.049 MB / 0.6979 GB, free: 101.1 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001029/0.8727, allocations: 0.6746 MB / 0.6985 GB, free: 100.7 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000147/0.8729, allocations: 31.09 kB / 0.6986 GB, free: 100.7 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001294/0.8742, allocations: 0.8151 MB / 0.6994 GB, free: 100.3 MB / 490.7 MB Notification: Performance of pre-optimization done (n=124): time 4.479e-06/0.8742, allocations: 0 / 0.6994 GB, free: 100.3 MB / 490.7 MB Notification: Performance of matching and sorting (n=124): time 0.01834/0.8925, allocations: 5.176 MB / 0.7044 GB, free: 99.16 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.139e-05/0.8926, allocations: 115.4 kB / 0.7045 GB, free: 99.04 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00266/0.8953, allocations: 1.023 MB / 0.7055 GB, free: 98.58 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003243/0.8956, allocations: 25.7 kB / 0.7055 GB, free: 98.55 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002321/0.8959, allocations: 357 kB / 0.7059 GB, free: 98.31 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007359/0.8966, allocations: 422.8 kB / 0.7063 GB, free: 97.98 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001795/0.8968, allocations: 0 / 0.7063 GB, free: 97.98 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001071/0.8969, allocations: 352.5 kB / 0.7066 GB, free: 97.65 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001073/0.898, allocations: 0.548 MB / 0.7072 GB, free: 97.39 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001156/0.8992, allocations: 0.6983 MB / 0.7078 GB, free: 96.98 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00142/0.9006, allocations: 0.6058 MB / 0.7084 GB, free: 96.7 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.044e-05/0.9006, allocations: 1.094 kB / 0.7084 GB, free: 96.7 MB / 490.7 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.00472/0.9054, allocations: 1.958 MB / 0.7103 GB, free: 95.83 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.931e-05/0.9054, allocations: 8.375 kB / 0.7104 GB, free: 95.83 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.353e-05/0.9054, allocations: 3.281 kB / 0.7104 GB, free: 95.83 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009112/0.9145, allocations: 2.363 MB / 0.7127 GB, free: 95.27 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001052/0.9156, allocations: 173.7 kB / 0.7128 GB, free: 95.12 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005911/0.9216, allocations: 2.533 MB / 0.7153 GB, free: 92.73 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002679/0.9243, allocations: 237.5 kB / 0.7155 GB, free: 92.54 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003029/0.9246, allocations: 48.59 kB / 0.7156 GB, free: 92.5 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (97): * Single equations (assignments): 96 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {30 26} Notification: Performance of prepare postOptimizeDAE: time 0.0004508/0.9251, allocations: 117.4 kB / 0.7157 GB, free: 92.38 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006376/0.9257, allocations: 154.5 kB / 0.7158 GB, free: 92.22 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01658/0.9423, allocations: 5.236 MB / 0.7209 GB, free: 87.55 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-05/0.9424, allocations: 12 kB / 0.721 GB, free: 87.54 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.538e-06/0.9424, allocations: 0 / 0.721 GB, free: 87.54 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.016e-05/0.9424, allocations: 11.97 kB / 0.721 GB, free: 87.53 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01905/0.9615, allocations: 7.078 MB / 0.7279 GB, free: 80.39 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.556e-05/0.9616, allocations: 0 / 0.7279 GB, free: 80.39 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001087/0.9627, allocations: 135.8 kB / 0.728 GB, free: 80.26 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00678/0.9695, allocations: 2.067 MB / 0.73 GB, free: 78.2 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003564/0.9699, allocations: 15.89 kB / 0.73 GB, free: 78.18 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01882/0.9887, allocations: 7.151 MB / 0.737 GB, free: 70.93 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.458e-06/0.9888, allocations: 0 / 0.737 GB, free: 70.93 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01953/1.008, allocations: 6.25 MB / 0.7431 GB, free: 64.65 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007332/1.009, allocations: 270.6 kB / 0.7434 GB, free: 64.37 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007296/1.01, allocations: 2.625 kB / 0.7434 GB, free: 64.37 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002287/1.012, allocations: 179.8 kB / 0.7436 GB, free: 64.19 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005388/1.013, allocations: 153 kB / 0.7437 GB, free: 64.04 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002061/1.013, allocations: 32 kB / 0.7437 GB, free: 64.01 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.001259/1.014, allocations: 0.784 MB / 0.7445 GB, free: 63.23 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00174/1.016, allocations: 439.4 kB / 0.7449 GB, free: 62.8 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 11 (gENCLS.omega,gENCLS.delta,gENCLS.eq,gENROE.w,gENROE.delta,gENROE.Epd,gENROE.Epq,gENROE.PSIkd,gENROE.PSIkq,tGOV1.imLeadLag.TF.x_scaled[1],tGOV1.simpleLagLim.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (81): * Single equations (assignments): 80 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {26 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003944/1.016, allocations: 151.8 kB / 0.7451 GB, free: 62.64 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.007143/1.023, allocations: 2.328 MB / 0.7473 GB, free: 60.3 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.562e-06/1.024, allocations: 4 kB / 0.7473 GB, free: 60.3 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005999/1.03, allocations: 1.813 MB / 0.7491 GB, free: 58.48 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001271/1.031, allocations: 97 kB / 0.7492 GB, free: 58.39 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006333/1.037, allocations: 2.302 MB / 0.7515 GB, free: 56.09 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001323/1.039, allocations: 1.32 MB / 0.7527 GB, free: 54.73 MB / 490.7 MB Notification: Performance of SimCode: time 1.673e-06/1.039, allocations: 0 / 0.7527 GB, free: 54.73 MB / 490.7 MB Notification: Performance of Templates: time 0.03441/1.073, allocations: 22.91 MB / 0.7751 GB, free: 31.98 MB / 490.7 MB make -j1 -f OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.makefile (rm -f OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.sim & ./OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.pipe 2>&1)