Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.GGOV1DU.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(OpenIPSL.Tests.Controls.PSSE.TG.GGOV1DU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.GGOV1DU") translateModel(OpenIPSL.Tests.Controls.PSSE.TG.GGOV1DU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.GGOV1DU") [: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 3.2.3+maint.om/package.mo): time 0.004743/0.004743, allocations: 180.6 kB / 7.455 MB, free: 2.504 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.255/1.255, allocations: 205.2 MB / 213.1 MB, free: 13.86 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009518/0.000952, allocations: 80.86 kB / 261.1 MB, free: 13.62 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.06561/0.06561, allocations: 12.59 MB / 321.6 MB, free: 0.9648 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.277/0.277, allocations: 78.05 MB / 450.4 MB, free: 3.234 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 7.995e-06/8.035e-06, allocations: 0 / 0.5141 GB, free: 29.99 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1504/0.1505, allocations: 69.33 MB / 0.5818 GB, free: 8.75 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4401/0.5906, allocations: 124.7 MB / 0.7036 GB, free: 15.7 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000235/0.5909, allocations: 89.36 kB / 0.7037 GB, free: 15.65 MB / 458.7 MB Notification: Performance of FrontEnd: time 0.1612/0.7522, allocations: 59.26 MB / 0.7616 GB, free: 15.17 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001804/0.7524, allocations: 48 kB / 0.7616 GB, free: 15.12 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 383 * Number of variables: 383 Notification: Performance of Generate backend data structure: time 0.007901/0.7603, allocations: 2.854 MB / 0.7644 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.381e-05/0.7604, allocations: 15.97 kB / 0.7644 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004251/0.7646, allocations: 0.6873 MB / 0.7651 GB, free: 11.56 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003553/0.7682, allocations: 1.676 MB / 0.7667 GB, free: 9.816 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004969/0.7687, allocations: 477.1 kB / 0.7672 GB, free: 9.27 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002848/0.769, allocations: 100 kB / 0.7673 GB, free: 9.172 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003078/0.7721, allocations: 1.533 MB / 0.7688 GB, free: 7.637 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002868/0.775, allocations: 1.658 MB / 0.7704 GB, free: 5.895 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.85e-05/0.775, allocations: 7.938 kB / 0.7704 GB, free: 5.887 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001624/0.7752, allocations: 0 / 0.7704 GB, free: 5.887 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.578e-05/0.7752, allocations: 43.98 kB / 0.7704 GB, free: 5.844 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01421/0.7895, allocations: 7.762 MB / 0.778 GB, free: 13.84 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001954/0.7915, allocations: 1.114 MB / 0.7791 GB, free: 12.7 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001326/0.7928, allocations: 0.8774 MB / 0.78 GB, free: 11.82 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001695/0.793, allocations: 37.19 kB / 0.78 GB, free: 11.79 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.106e-05/0.793, allocations: 55.81 kB / 0.7801 GB, free: 11.72 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=165): time 4.098e-06/0.793, allocations: 0 / 0.7801 GB, free: 11.72 MB / 0.5105 GB Notification: Performance of matching and sorting (n=165): time 0.01772/0.8108, allocations: 5.675 MB / 0.7856 GB, free: 6.023 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001545/0.811, allocations: 304 kB / 0.7859 GB, free: 5.656 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003164/0.8141, allocations: 1.614 MB / 0.7875 GB, free: 4.02 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0005574/0.8147, allocations: 29.7 kB / 0.7875 GB, free: 3.984 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004183/0.8151, allocations: 0.584 MB / 0.7881 GB, free: 3.387 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009345/0.8161, allocations: 0.5697 MB / 0.7886 GB, free: 2.809 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001213/0.8162, allocations: 0 / 0.7886 GB, free: 2.809 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.000154/0.8164, allocations: 381.8 kB / 0.789 GB, free: 2.43 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001403/0.8178, allocations: 0.7929 MB / 0.7898 GB, free: 1.637 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001631/0.8194, allocations: 1.11 MB / 0.7908 GB, free: 424 kB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001704/0.8211, allocations: 0.8961 MB / 0.7917 GB, free: 15.52 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.372e-06/0.8211, allocations: 0 / 0.7917 GB, free: 15.52 MB / 0.5261 GB Notification: Performance of matching and sorting (n=251) (initialization): time 0.006052/0.8272, allocations: 2.775 MB / 0.7944 GB, free: 12.73 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.001166/0.8284, allocations: 2.7 MB / 0.7971 GB, free: 9.773 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.094e-05/0.8284, allocations: 4 kB / 0.7971 GB, free: 9.77 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008914/0.8374, allocations: 2.432 MB / 0.7994 GB, free: 7.332 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002156/0.8396, allocations: 403.4 kB / 0.7998 GB, free: 6.938 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005844/0.8454, allocations: 3.119 MB / 0.8029 GB, free: 3.758 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003372/0.8488, allocations: 342.3 kB / 0.8032 GB, free: 3.422 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004453/0.8493, allocations: 75.97 kB / 0.8033 GB, free: 3.348 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.155e-05/0.8493, allocations: 4 kB / 0.8033 GB, free: 3.344 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005748/0.8551, allocations: 2.413 MB / 0.8056 GB, free: 0.9258 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.993e-05/0.8551, allocations: 7.938 kB / 0.8056 GB, free: 0.918 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00896/0.8641, allocations: 2.436 MB / 0.808 GB, free: 14.48 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001822/0.8659, allocations: 347.5 kB / 0.8083 GB, free: 14.14 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006728/0.8727, allocations: 3.889 MB / 0.8121 GB, free: 10.11 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003258/0.876, allocations: 278.6 kB / 0.8124 GB, free: 9.832 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003634/0.8763, allocations: 71.98 kB / 0.8125 GB, free: 9.762 MB / 0.5417 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: gGOV1DU.min_select.u[3]:VARIABLE() type: Real [3] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 4 (gGOV1DU.gGOV1_Power.s7.local_reset,gGOV1DU.gGOV1_Power.s2.local_reset,gGOV1DU.gGOV1_Turb.s3.local_reset,gGOV1DU.gGOV1_Temp.s6.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (194): * Single equations (assignments): 192 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 2,30 26} Notification: Performance of prepare postOptimizeDAE: time 0.0007366/0.8771, allocations: 156.4 kB / 0.8126 GB, free: 9.602 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00092/0.878, allocations: 233.2 kB / 0.8129 GB, free: 9.371 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01817/0.8962, allocations: 5.846 MB / 0.8186 GB, free: 3.504 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.059e-05/0.8963, allocations: 16 kB / 0.8186 GB, free: 3.488 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/0.8963, allocations: 0 / 0.8186 GB, free: 3.488 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.212e-05/0.8964, allocations: 7.969 kB / 0.8186 GB, free: 3.48 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02511/0.9215, allocations: 8.211 MB / 0.8266 GB, free: 11.18 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.54e-05/0.9216, allocations: 0 / 0.8266 GB, free: 11.18 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001888/0.9235, allocations: 259.7 kB / 0.8269 GB, free: 10.93 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007604/0.9311, allocations: 2.139 MB / 0.8289 GB, free: 8.777 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000664/0.9318, allocations: 19.98 kB / 0.829 GB, free: 8.758 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02162/0.9535, allocations: 8.605 MB / 0.8374 GB, free: 15.91 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.017e-05/0.9535, allocations: 7.938 kB / 0.8374 GB, free: 15.9 MB / 0.573 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02191/0.9754, allocations: 7.177 MB / 0.8444 GB, free: 8.688 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001376/0.9769, allocations: 357.7 kB / 0.8447 GB, free: 8.316 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001157/0.978, allocations: 11.94 kB / 0.8447 GB, free: 8.305 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003179/0.9812, allocations: 243.8 kB / 0.845 GB, free: 8.066 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006462/0.9819, allocations: 177.7 kB / 0.8451 GB, free: 7.895 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002932/0.9822, allocations: 43.98 kB / 0.8452 GB, free: 7.852 MB / 0.573 GB Notification: Performance of sort global known variables: time 0.002792/0.985, allocations: 1.201 MB / 0.8463 GB, free: 6.637 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.004431/0.9895, allocations: 0.9507 MB / 0.8473 GB, free: 5.684 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 19 (gENCLS.delta,gENCLS.eq,gENROU.w,gENROU.delta,gENROU.Epd,gENROU.Epq,gENROU.PSIkd,gENROU.PSIkq,gGOV1DU.gGOV1_Temp.s6.y,gGOV1DU.gGOV1_Turb.s4.TF.x_scaled[1],gGOV1DU.gGOV1_Turb.s3.y,gGOV1DU.gGOV1_Turb.s5.state,gGOV1DU.gGOV1_Turb.s9.TF.x_scaled[1],gGOV1DU.gGOV1_Accel.s8.x,gGOV1DU.gGOV1_Power.s2.y,gGOV1DU.gGOV1_Power.s7.y,gGOV1DU.gGOV1_Power.s0.state,gGOV1DU.gGOV1_Power.s1.x,gENCLS.omega) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (120): * Single equations (assignments): 118 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {26 23,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005614/0.9901, allocations: 172.6 kB / 0.8474 GB, free: 5.504 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.01644/1.007, allocations: 5.142 MB / 0.8525 GB, free: 360 kB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 7.584e-06/1.007, allocations: 0 / 0.8525 GB, free: 360 kB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.1974/1.204, allocations: 2.123 MB / 0.8545 GB, free: 226.1 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001819/1.206, allocations: 214.3 kB / 0.8547 GB, free: 226.1 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007662/1.214, allocations: 3.627 MB / 0.8583 GB, free: 225.2 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00131/1.215, allocations: 1.712 MB / 0.86 GB, free: 224.5 MB / 0.573 GB Notification: Performance of SimCode: time 9.81e-07/1.215, allocations: 0 / 0.86 GB, free: 224.5 MB / 0.573 GB Notification: Performance of Templates: time 0.07361/1.288, allocations: 46.18 MB / 0.905 GB, free: 217.4 MB / 0.573 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.GGOV1DU.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.GGOV1DU.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.GGOV1DU.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.GGOV1DU.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.GGOV1DU.sim & ./OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.GGOV1DU -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.GGOV1DU.pipe 2>&1)