Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Tests.Controls.PSSE.TG.HYGOV.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: translateModel(OpenIPSL.Tests.Controls.PSSE.TG.HYGOV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Tests.Controls.PSSE.TG.HYGOV") translateModel(OpenIPSL.Tests.Controls.PSSE.TG.HYGOV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Tests.Controls.PSSE.TG.HYGOV") [: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.002076/0.002076, allocations: 180.2 kB / 7.458 MB, free: 2.496 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.044/1.044, allocations: 221.4 MB / 229.3 MB, free: 3.035 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.0009357/0.0009357, allocations: 107 kB / 280.1 MB, free: 1.219 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.3572/0.3572, allocations: 78.11 MB / 409 MB, free: 15.64 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.34e-06/5.44e-06, allocations: 0 / 484.4 MB, free: 4.531 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2274/0.2275, allocations: 69.34 MB / 0.5408 GB, free: 21.53 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1084/0.3359, allocations: 113.2 MB / 0.6513 GB, free: 7.641 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002103/0.3361, allocations: 87.94 kB / 0.6514 GB, free: 7.555 MB / 474.7 MB Notification: Performance of FrontEnd: time 0.2697/0.6059, allocations: 47.12 MB / 0.6974 GB, free: 104.9 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.431e-05/0.606, allocations: 31.31 kB / 0.6975 GB, free: 104.9 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: 305 * Number of variables: 305 Notification: Performance of Generate backend data structure: time 0.005642/0.6116, allocations: 2.39 MB / 0.6998 GB, free: 103.7 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/0.6117, allocations: 12.88 kB / 0.6998 GB, free: 103.7 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003184/0.6149, allocations: 0.6035 MB / 0.7004 GB, free: 103.6 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001915/0.6168, allocations: 1.1 MB / 0.7015 GB, free: 102.9 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004304/0.6172, allocations: 465 kB / 0.7019 GB, free: 102.5 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002542/0.6175, allocations: 82.23 kB / 0.702 GB, free: 102.5 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00236/0.6199, allocations: 1.198 MB / 0.7032 GB, free: 102 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00235/0.6222, allocations: 1.281 MB / 0.7044 GB, free: 101.4 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.875e-05/0.6223, allocations: 4.875 kB / 0.7044 GB, free: 101.4 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001258/0.6224, allocations: 1.406 kB / 0.7044 GB, free: 101.4 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.273e-05/0.6224, allocations: 29.47 kB / 0.7045 GB, free: 101.4 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008472/0.6309, allocations: 5.748 MB / 0.7101 GB, free: 96.93 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001315/0.6322, allocations: 0.9032 MB / 0.711 GB, free: 96.43 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000971/0.6332, allocations: 0.7336 MB / 0.7117 GB, free: 96.06 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001302/0.6334, allocations: 32.3 kB / 0.7117 GB, free: 96.04 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001205/0.6346, allocations: 0.8929 MB / 0.7126 GB, free: 95.48 MB / 490.7 MB Notification: Performance of pre-optimization done (n=142): time 2.896e-06/0.6346, allocations: 5.281 kB / 0.7126 GB, free: 95.48 MB / 490.7 MB Notification: Performance of matching and sorting (n=146): time 0.01838/0.653, allocations: 8.038 MB / 0.7204 GB, free: 88.84 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.811e-05/0.653, allocations: 205.2 kB / 0.7206 GB, free: 88.59 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001123/0.6541, allocations: 1.125 MB / 0.7217 GB, free: 87.46 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000102/0.6543, allocations: 25.7 kB / 0.7217 GB, free: 87.43 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001527/0.6544, allocations: 467.4 kB / 0.7222 GB, free: 86.97 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004036/0.6548, allocations: 0.4927 MB / 0.7227 GB, free: 86.47 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.887e-05/0.6549, allocations: 0 / 0.7227 GB, free: 86.47 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.68e-05/0.655, allocations: 361.9 kB / 0.723 GB, free: 86.11 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009097/0.6559, allocations: 0.6445 MB / 0.7236 GB, free: 85.46 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009864/0.6569, allocations: 0.8512 MB / 0.7245 GB, free: 84.55 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00109/0.658, allocations: 0.7205 MB / 0.7252 GB, free: 83.83 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.658, allocations: 0 / 0.7252 GB, free: 83.83 MB / 490.7 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.00728/0.6653, allocations: 3.43 MB / 0.7285 GB, free: 80.39 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002449/0.6656, allocations: 1.803 MB / 0.7303 GB, free: 78.43 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.729e-06/0.6656, allocations: 7.906 kB / 0.7303 GB, free: 78.42 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007033/0.6726, allocations: 2.468 MB / 0.7327 GB, free: 75.95 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007666/0.6734, allocations: 195.7 kB / 0.7329 GB, free: 75.76 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004737/0.6781, allocations: 3.382 MB / 0.7362 GB, free: 72.33 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001722/0.6799, allocations: 195.9 kB / 0.7364 GB, free: 72.14 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001386/0.68, allocations: 63.98 kB / 0.7364 GB, free: 72.08 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.909e-06/0.68, allocations: 4 kB / 0.7365 GB, free: 72.07 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006872/0.6869, allocations: 3.165 MB / 0.7395 GB, free: 68.91 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.6869, allocations: 11.97 kB / 0.7396 GB, free: 68.9 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006936/0.6939, allocations: 2.445 MB / 0.7419 GB, free: 66.45 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007659/0.6946, allocations: 203.7 kB / 0.7421 GB, free: 66.25 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005487/0.7001, allocations: 4.355 MB / 0.7464 GB, free: 61.76 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001682/0.7018, allocations: 195.8 kB / 0.7466 GB, free: 61.57 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001364/0.702, allocations: 55.98 kB / 0.7466 GB, free: 61.52 MB / 490.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: hYGOV.Velocity_Limiter.u:VARIABLE() "Connector of Real input signal" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 5 (sCRX.booleanConstant.y,$whenCondition1,$whenCondition2,hYGOV.Position_Limiter.local_reset,hYGOV.q.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (119): * Single equations (assignments): 116 * Array equations: 0 * Algorithm blocks: 1 * 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 6,29 43} Notification: Performance of prepare postOptimizeDAE: time 0.0002697/0.7023, allocations: 128.8 kB / 0.7468 GB, free: 61.38 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002305/0.7025, allocations: 181.8 kB / 0.7469 GB, free: 61.2 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01428/0.7168, allocations: 5.562 MB / 0.7524 GB, free: 55.63 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.053e-05/0.7168, allocations: 20 kB / 0.7524 GB, free: 55.61 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.7168, allocations: 0 / 0.7524 GB, free: 55.61 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.367e-05/0.7168, allocations: 15.91 kB / 0.7524 GB, free: 55.6 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01593/0.7328, allocations: 7.591 MB / 0.7598 GB, free: 47.96 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.7328, allocations: 0 / 0.7598 GB, free: 47.96 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008855/0.7337, allocations: 175.7 kB / 0.76 GB, free: 47.79 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005922/0.7396, allocations: 2.135 MB / 0.7621 GB, free: 45.64 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001324/0.7398, allocations: 19.98 kB / 0.7621 GB, free: 45.62 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01648/0.7562, allocations: 8.867 MB / 0.7707 GB, free: 36.52 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.7563, allocations: 0 / 0.7707 GB, free: 36.52 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01535/0.7716, allocations: 6.652 MB / 0.7772 GB, free: 29.84 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002484/0.7719, allocations: 262.8 kB / 0.7775 GB, free: 29.56 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002783/0.7722, allocations: 4 kB / 0.7775 GB, free: 29.55 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00163/0.7738, allocations: 195.8 kB / 0.7777 GB, free: 29.36 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003671/0.7742, allocations: 176.9 kB / 0.7778 GB, free: 29.19 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00012/0.7743, allocations: 43.98 kB / 0.7779 GB, free: 29.15 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.000811/0.7751, allocations: 0.8449 MB / 0.7787 GB, free: 28.31 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001441/0.7766, allocations: 0.6757 MB / 0.7794 GB, free: 27.63 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 14 (gENCLS.omega,gENCLS.delta,gENCLS.eq,gENSAL.w,gENSAL.delta,gENSAL.Epq,gENSAL.PSIkd,gENSAL.PSIppq,hYGOV.SimpleLag1.state,hYGOV.q.y,hYGOV.g.state,hYGOV.Position_Limiter.y,sCRX.imLeadLag.TF.x_scaled[1],sCRX.simpleLagLim.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (97): * Single equations (assignments): 95 * 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 6,26 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.000287/0.7768, allocations: 174.6 kB / 0.7795 GB, free: 27.45 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0116/0.7885, allocations: 4.617 MB / 0.784 GB, free: 22.82 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.7885, allocations: 320 / 0.784 GB, free: 22.82 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005113/0.7936, allocations: 2.033 MB / 0.786 GB, free: 20.77 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006727/0.7943, allocations: 121.5 kB / 0.7861 GB, free: 20.64 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0053/0.7996, allocations: 2.783 MB / 0.7889 GB, free: 17.81 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008842/0.8005, allocations: 1.446 MB / 0.7903 GB, free: 16.34 MB / 490.7 MB Notification: Performance of SimCode: time 2.81e-07/0.8005, allocations: 0 / 0.7903 GB, free: 16.34 MB / 490.7 MB Notification: Performance of Templates: time 0.04847/0.849, allocations: 39 MB / 0.8284 GB, free: 9.395 MB / 0.5105 GB make -j1 -f OpenIPSL_release_OpenIPSL.Tests.Controls.PSSE.TG.HYGOV.makefile (rm -f OpenIPSL_release_OpenIPSL.Tests.Controls.PSSE.TG.HYGOV.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Controls.PSSE.TG.HYGOV.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Controls.PSSE.TG.HYGOV.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Controls.PSSE.TG.HYGOV.sim & ./OpenIPSL_release_OpenIPSL.Tests.Controls.PSSE.TG.HYGOV -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Tests.Controls.PSSE.TG.HYGOV.pipe 2>&1)