Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.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(OpenIPSL.Tests.Controls.PSSE.TG.TGOV1,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_TG_TGOV1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.TG.TGOV1,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_TG_TGOV1",fmuType="me",version="2.0",platforms={"static"}) [: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.003519/0.003519, allocations: 185.3 kB / 7.459 MB, free: 2.516 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.262/1.262, allocations: 221.4 MB / 229.3 MB, free: 3.082 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.0008765/0.0008765, allocations: 101.6 kB / 280.1 MB, free: 1.277 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4313/0.4313, allocations: 78.91 MB / 409.8 MB, free: 14.97 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1435/0.5749, allocations: 75.66 MB / 485.5 MB, free: 3.559 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3667/0.9415, allocations: 69.51 MB / 0.542 GB, free: 20.82 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.137/1.079, allocations: 109.6 MB / 0.649 GB, free: 10.27 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002978/1.079, allocations: 87.94 kB / 0.649 GB, free: 10.18 MB / 474.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.4217/1.501, allocations: 40.12 MB / 0.6882 GB, free: 104.3 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.768e-05/1.501, allocations: 7.594 kB / 0.6882 GB, free: 104.3 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003348/1.504, allocations: 0.5728 MB / 0.6888 GB, free: 104.2 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001838/1.506, allocations: 0.9551 MB / 0.6897 GB, free: 103.9 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004368/1.506, allocations: 394.8 kB / 0.6901 GB, free: 103.5 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001878/1.507, allocations: 57.22 kB / 0.6901 GB, free: 103.5 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002078/1.509, allocations: 1.046 MB / 0.6912 GB, free: 103.5 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001811/1.511, allocations: 1.026 MB / 0.6922 GB, free: 103.4 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.311e-05/1.511, allocations: 0 / 0.6922 GB, free: 103.4 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001099/1.511, allocations: 3.047 kB / 0.6922 GB, free: 103.4 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.2e-05/1.511, allocations: 23.34 kB / 0.6922 GB, free: 103.4 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008323/1.519, allocations: 4.541 MB / 0.6966 GB, free: 101.3 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001613/1.521, allocations: 1.043 MB / 0.6976 GB, free: 100.8 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008964/1.522, allocations: 0.6806 MB / 0.6983 GB, free: 100.4 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001366/1.522, allocations: 25.95 kB / 0.6983 GB, free: 100.4 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001163/1.523, allocations: 0.8163 MB / 0.6991 GB, free: 100.1 MB / 490.7 MB Notification: Performance of pre-optimization done (n=124): time 4.098e-06/1.523, allocations: 0 / 0.6991 GB, free: 100.1 MB / 490.7 MB Notification: Performance of matching and sorting (n=124): time 0.0185/1.541, allocations: 5.178 MB / 0.7042 GB, free: 98.89 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.247e-05/1.541, allocations: 120.4 kB / 0.7043 GB, free: 98.77 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002215/1.544, allocations: 1.02 MB / 0.7053 GB, free: 98.32 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003705/1.544, allocations: 26.8 kB / 0.7053 GB, free: 98.29 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002434/1.544, allocations: 362.3 kB / 0.7057 GB, free: 98.04 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005687/1.545, allocations: 421.1 kB / 0.7061 GB, free: 97.71 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.788e-05/1.545, allocations: 0 / 0.7061 GB, free: 97.71 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.639e-05/1.545, allocations: 356 kB / 0.7064 GB, free: 97.38 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009598/1.546, allocations: 0.5485 MB / 0.7069 GB, free: 97.12 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009611/1.547, allocations: 0.6897 MB / 0.7076 GB, free: 96.71 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001115/1.548, allocations: 0.6134 MB / 0.7082 GB, free: 96.43 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.71e-06/1.548, allocations: 1.219 kB / 0.7082 GB, free: 96.43 MB / 490.7 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.00398/1.552, allocations: 1.954 MB / 0.7101 GB, free: 95.56 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/1.552, allocations: 5 kB / 0.7101 GB, free: 95.56 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.185e-05/1.552, allocations: 3.562 kB / 0.7101 GB, free: 95.56 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008324/1.561, allocations: 2.368 MB / 0.7125 GB, free: 94.96 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009197/1.562, allocations: 178.2 kB / 0.7126 GB, free: 94.81 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004743/1.566, allocations: 2.523 MB / 0.7151 GB, free: 92.44 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00223/1.569, allocations: 237.5 kB / 0.7153 GB, free: 92.24 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001589/1.569, allocations: 48.64 kB / 0.7154 GB, free: 92.2 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.0002704/1.569, allocations: 121.2 kB / 0.7155 GB, free: 92.07 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002842/1.569, allocations: 154.6 kB / 0.7156 GB, free: 91.92 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01529/1.585, allocations: 5.231 MB / 0.7207 GB, free: 87.3 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.517e-05/1.585, allocations: 19.98 kB / 0.7207 GB, free: 87.29 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.056e-05/1.585, allocations: 0 / 0.7207 GB, free: 87.29 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-05/1.585, allocations: 11.64 kB / 0.7208 GB, free: 87.28 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01713/1.602, allocations: 7.074 MB / 0.7277 GB, free: 80.15 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.28e-05/1.602, allocations: 0 / 0.7277 GB, free: 80.15 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001011/1.603, allocations: 143.8 kB / 0.7278 GB, free: 80.01 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006509/1.609, allocations: 2.06 MB / 0.7298 GB, free: 77.95 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002427/1.61, allocations: 15.89 kB / 0.7298 GB, free: 77.93 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01657/1.626, allocations: 7.156 MB / 0.7368 GB, free: 70.68 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.089e-06/1.626, allocations: 0.875 kB / 0.7368 GB, free: 70.68 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01668/1.643, allocations: 6.254 MB / 0.7429 GB, free: 64.39 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01745/1.661, allocations: 7.56 MB / 0.7503 GB, free: 56.8 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006978/1.661, allocations: 262.8 kB / 0.7506 GB, free: 56.53 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002732/1.662, allocations: 4 kB / 0.7506 GB, free: 56.52 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001685/1.663, allocations: 179.8 kB / 0.7507 GB, free: 56.35 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003791/1.664, allocations: 149 kB / 0.7509 GB, free: 56.2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001162/1.664, allocations: 38.73 kB / 0.7509 GB, free: 56.17 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0009837/1.665, allocations: 0.7762 MB / 0.7517 GB, free: 55.39 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001869/1.667, allocations: 447.3 kB / 0.7521 GB, free: 54.95 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.0003126/1.667, allocations: 162.2 kB / 0.7523 GB, free: 54.79 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006304/1.673, allocations: 2.322 MB / 0.7545 GB, free: 52.46 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.726e-06/1.673, allocations: 256 / 0.7545 GB, free: 52.46 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005173/1.678, allocations: 1.824 MB / 0.7563 GB, free: 50.63 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009955/1.679, allocations: 96.98 kB / 0.7564 GB, free: 50.54 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004866/1.684, allocations: 2.32 MB / 0.7587 GB, free: 48.21 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008731/1.685, allocations: 1.339 MB / 0.76 GB, free: 46.84 MB / 490.7 MB Notification: Performance of SimCode: time 5.31e-07/1.685, allocations: 0 / 0.76 GB, free: 46.84 MB / 490.7 MB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_TG_TGOV1_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_TG_TGOV1.fmu > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.pipe 2>&1)