Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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_dev_OpenIPSL.Tests.Controls.PSSE.TG.HYGOV") translateModel(OpenIPSL.Tests.Controls.PSSE.TG.HYGOV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_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.003602/0.003602, allocations: 174.1 kB / 7.458 MB, free: 2.488 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.249/1.249, allocations: 221.4 MB / 229.3 MB, free: 3.027 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.0009924/0.0009924, allocations: 101.9 kB / 280.1 MB, free: 1.262 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4317/0.4317, allocations: 78.91 MB / 409.8 MB, free: 14.99 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 8.736e-06/8.876e-06, allocations: 3.938 kB / 485.4 MB, free: 3.672 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2951/0.2951, allocations: 69.51 MB / 0.5419 GB, free: 20.88 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1321/0.4273, allocations: 113.9 MB / 0.6532 GB, free: 5.953 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002441/0.4275, allocations: 87.94 kB / 0.6532 GB, free: 5.867 MB / 474.7 MB Notification: Performance of FrontEnd: time 0.3719/0.7995, allocations: 44.7 MB / 0.6969 GB, free: 105.3 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001829/0.7997, allocations: 39.16 kB / 0.6969 GB, free: 105.3 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.008293/0.808, allocations: 2.392 MB / 0.6993 GB, free: 104.1 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.499e-05/0.8081, allocations: 9.297 kB / 0.6993 GB, free: 104.1 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004365/0.8124, allocations: 0.6076 MB / 0.6999 GB, free: 103.9 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003742/0.8162, allocations: 1.099 MB / 0.7009 GB, free: 103.2 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006508/0.8169, allocations: 468.8 kB / 0.7014 GB, free: 102.8 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006241/0.8175, allocations: 81.89 kB / 0.7015 GB, free: 102.8 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0039/0.8214, allocations: 1.199 MB / 0.7026 GB, free: 102.3 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0039/0.8254, allocations: 1.279 MB / 0.7039 GB, free: 101.7 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.164e-05/0.8254, allocations: 5.359 kB / 0.7039 GB, free: 101.7 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002176/0.8256, allocations: 1.312 kB / 0.7039 GB, free: 101.7 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.653e-05/0.8257, allocations: 29.12 kB / 0.7039 GB, free: 101.7 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01365/0.8394, allocations: 5.754 MB / 0.7095 GB, free: 97.58 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001794/0.8412, allocations: 0.8977 MB / 0.7104 GB, free: 97.08 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001391/0.8426, allocations: 0.7341 MB / 0.7111 GB, free: 96.71 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001832/0.8428, allocations: 32.75 kB / 0.7112 GB, free: 96.7 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001695/0.8445, allocations: 0.8948 MB / 0.712 GB, free: 96.13 MB / 490.7 MB Notification: Performance of pre-optimization done (n=142): time 8.205e-06/0.8446, allocations: 0 / 0.712 GB, free: 96.13 MB / 490.7 MB Notification: Performance of matching and sorting (n=146): time 0.02241/0.867, allocations: 8.038 MB / 0.7199 GB, free: 88.92 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.301e-05/0.8671, allocations: 205.3 kB / 0.7201 GB, free: 88.68 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00178/0.8688, allocations: 1.129 MB / 0.7212 GB, free: 87.54 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002702/0.8691, allocations: 25.7 kB / 0.7212 GB, free: 87.51 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002019/0.8693, allocations: 463.5 kB / 0.7217 GB, free: 87.05 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006077/0.87, allocations: 0.4888 MB / 0.7221 GB, free: 86.55 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001342/0.8701, allocations: 0 / 0.7221 GB, free: 86.55 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.094e-05/0.8702, allocations: 365.9 kB / 0.7225 GB, free: 86.19 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001048/0.8712, allocations: 0.6406 MB / 0.7231 GB, free: 85.55 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001204/0.8725, allocations: 0.8512 MB / 0.7239 GB, free: 84.64 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001411/0.8739, allocations: 0.7244 MB / 0.7246 GB, free: 83.92 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.522e-06/0.8739, allocations: 4 kB / 0.7246 GB, free: 83.91 MB / 490.7 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.008391/0.8823, allocations: 3.434 MB / 0.728 GB, free: 80.48 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003719/0.8827, allocations: 1.803 MB / 0.7298 GB, free: 78.52 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.319e-05/0.8827, allocations: 7.906 kB / 0.7298 GB, free: 78.51 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008117/0.8909, allocations: 2.468 MB / 0.7322 GB, free: 76.04 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00108/0.892, allocations: 191.7 kB / 0.7324 GB, free: 75.85 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005879/0.8979, allocations: 3.386 MB / 0.7357 GB, free: 72.41 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002493/0.9004, allocations: 199.9 kB / 0.7359 GB, free: 72.21 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002799/0.9007, allocations: 59.97 kB / 0.7359 GB, free: 72.16 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.074e-05/0.9007, allocations: 6.188 kB / 0.7359 GB, free: 72.15 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007849/0.9086, allocations: 3.177 MB / 0.739 GB, free: 68.98 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.389e-05/0.9086, allocations: 4 kB / 0.739 GB, free: 68.97 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007756/0.9164, allocations: 2.456 MB / 0.7414 GB, free: 66.51 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001047/0.9175, allocations: 195.7 kB / 0.7416 GB, free: 66.32 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006627/0.9241, allocations: 4.351 MB / 0.7459 GB, free: 61.84 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002444/0.9266, allocations: 195.9 kB / 0.746 GB, free: 61.64 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000275/0.9269, allocations: 59.97 kB / 0.7461 GB, free: 61.59 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.0004723/0.9274, allocations: 136.3 kB / 0.7462 GB, free: 61.45 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000497/0.9279, allocations: 181.8 kB / 0.7464 GB, free: 61.27 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01562/0.9435, allocations: 5.566 MB / 0.7518 GB, free: 55.69 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.783e-05/0.9436, allocations: 16 kB / 0.7519 GB, free: 55.68 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/0.9436, allocations: 3.938 kB / 0.7519 GB, free: 55.67 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.466e-05/0.9437, allocations: 11.97 kB / 0.7519 GB, free: 55.66 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01978/0.9635, allocations: 7.583 MB / 0.7593 GB, free: 48.02 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.257e-05/0.9635, allocations: 4 kB / 0.7593 GB, free: 48.02 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001184/0.9647, allocations: 175.7 kB / 0.7595 GB, free: 47.85 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006733/0.9715, allocations: 2.143 MB / 0.7615 GB, free: 45.7 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003213/0.9718, allocations: 11.98 kB / 0.7616 GB, free: 45.69 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01822/0.99, allocations: 8.865 MB / 0.7702 GB, free: 36.6 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.409e-06/0.9901, allocations: 0 / 0.7702 GB, free: 36.6 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01737/1.007, allocations: 6.652 MB / 0.7767 GB, free: 29.91 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000603/1.008, allocations: 262.8 kB / 0.777 GB, free: 29.63 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003501/1.008, allocations: 8 kB / 0.777 GB, free: 29.62 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001918/1.01, allocations: 195.8 kB / 0.7772 GB, free: 29.43 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004101/1.011, allocations: 176.9 kB / 0.7773 GB, free: 29.26 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001265/1.011, allocations: 39.98 kB / 0.7774 GB, free: 29.22 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.001066/1.012, allocations: 0.8527 MB / 0.7782 GB, free: 28.38 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001829/1.014, allocations: 0.6718 MB / 0.7788 GB, free: 27.7 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.0003206/1.014, allocations: 158.9 kB / 0.779 GB, free: 27.54 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01274/1.027, allocations: 4.621 MB / 0.7835 GB, free: 22.89 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/1.027, allocations: 4.875 kB / 0.7835 GB, free: 22.89 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005818/1.033, allocations: 2.041 MB / 0.7855 GB, free: 20.83 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001139/1.034, allocations: 122 kB / 0.7856 GB, free: 20.71 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006475/1.04, allocations: 2.791 MB / 0.7884 GB, free: 17.87 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001012/1.041, allocations: 1.454 MB / 0.7898 GB, free: 16.39 MB / 490.7 MB Notification: Performance of SimCode: time 2.354e-06/1.041, allocations: 0 / 0.7898 GB, free: 16.39 MB / 490.7 MB Notification: Performance of Templates: time 0.06535/1.107, allocations: 39.09 MB / 0.8279 GB, free: 9.348 MB / 0.5105 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.HYGOV.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.HYGOV.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.HYGOV.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.HYGOV.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.HYGOV.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.HYGOV -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.HYGOV.pipe 2>&1)