Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.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.HYGOV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.HYGOV") translateModel(OpenIPSL.Tests.Controls.PSSE.TG.HYGOV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_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.003283/0.003283, allocations: 178.2 kB / 7.453 MB, free: 2.5 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.872/1.872, allocations: 221.4 MB / 229.3 MB, free: 3.004 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.001013/0.001013, allocations: 100.7 kB / 280.1 MB, free: 1.238 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4301/0.4301, allocations: 78.05 MB / 408.9 MB, free: 15.53 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.491e-06/5.501e-06, allocations: 0 / 484.3 MB, free: 4.422 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2736/0.2736, allocations: 69.35 MB / 0.5407 GB, free: 21.24 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1286/0.4023, allocations: 113.2 MB / 0.6513 GB, free: 7.402 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002348/0.4026, allocations: 91.88 kB / 0.6514 GB, free: 7.312 MB / 474.7 MB Notification: Performance of FrontEnd: time 0.3385/0.7411, allocations: 47.13 MB / 0.6974 GB, free: 104.7 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001143/0.7412, allocations: 31.12 kB / 0.6975 GB, free: 104.7 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.007382/0.7486, allocations: 2.387 MB / 0.6998 GB, free: 103.6 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.543e-05/0.7487, allocations: 13.72 kB / 0.6998 GB, free: 103.6 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003958/0.7526, allocations: 0.6073 MB / 0.7004 GB, free: 103.4 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002516/0.7552, allocations: 1.095 MB / 0.7015 GB, free: 102.7 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005351/0.7557, allocations: 468.8 kB / 0.7019 GB, free: 102.3 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003337/0.7561, allocations: 82.28 kB / 0.702 GB, free: 102.3 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002891/0.759, allocations: 1.198 MB / 0.7032 GB, free: 101.8 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002813/0.7618, allocations: 1.286 MB / 0.7044 GB, free: 101.2 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.262e-05/0.7618, allocations: 0.7188 kB / 0.7044 GB, free: 101.2 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001489/0.762, allocations: 0.6875 kB / 0.7044 GB, free: 101.2 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.519e-05/0.762, allocations: 29.47 kB / 0.7044 GB, free: 101.2 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009994/0.772, allocations: 5.743 MB / 0.71 GB, free: 96.74 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001533/0.7736, allocations: 0.8983 MB / 0.7109 GB, free: 96.24 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001134/0.7747, allocations: 0.7327 MB / 0.7116 GB, free: 95.87 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001542/0.7749, allocations: 32.05 kB / 0.7117 GB, free: 95.86 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001484/0.7764, allocations: 0.8985 MB / 0.7126 GB, free: 95.29 MB / 490.7 MB Notification: Performance of pre-optimization done (n=142): time 4.849e-06/0.7764, allocations: 5 kB / 0.7126 GB, free: 95.29 MB / 490.7 MB Notification: Performance of matching and sorting (n=146): time 0.0216/0.798, allocations: 8.032 MB / 0.7204 GB, free: 88.39 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.23e-05/0.7981, allocations: 201.3 kB / 0.7206 GB, free: 88.15 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001868/0.8, allocations: 1.125 MB / 0.7217 GB, free: 87.02 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002976/0.8003, allocations: 25.7 kB / 0.7217 GB, free: 86.99 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002169/0.8005, allocations: 467.4 kB / 0.7222 GB, free: 86.53 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006629/0.8012, allocations: 0.4888 MB / 0.7226 GB, free: 86.03 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001409/0.8013, allocations: 0 / 0.7226 GB, free: 86.03 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.63e-05/0.8014, allocations: 361.9 kB / 0.723 GB, free: 85.67 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001145/0.8026, allocations: 0.6445 MB / 0.7236 GB, free: 85.03 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001193/0.8038, allocations: 0.855 MB / 0.7244 GB, free: 84.11 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001289/0.8051, allocations: 0.7206 MB / 0.7252 GB, free: 83.39 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/0.8051, allocations: 0 / 0.7252 GB, free: 83.39 MB / 490.7 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.008566/0.8137, allocations: 3.431 MB / 0.7285 GB, free: 79.95 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002502/0.8139, allocations: 1.807 MB / 0.7303 GB, free: 77.98 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.249e-05/0.814, allocations: 11.84 kB / 0.7303 GB, free: 77.97 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008328/0.8223, allocations: 2.46 MB / 0.7327 GB, free: 75.51 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009482/0.8233, allocations: 199.7 kB / 0.7329 GB, free: 75.31 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005584/0.8289, allocations: 3.374 MB / 0.7362 GB, free: 71.89 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002231/0.8311, allocations: 203.9 kB / 0.7364 GB, free: 71.69 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001847/0.8313, allocations: 55.98 kB / 0.7364 GB, free: 71.64 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.044e-06/0.8313, allocations: 4 kB / 0.7364 GB, free: 71.63 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008026/0.8393, allocations: 3.169 MB / 0.7395 GB, free: 68.46 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.204e-05/0.8394, allocations: 7.938 kB / 0.7395 GB, free: 68.46 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008005/0.8474, allocations: 2.449 MB / 0.7419 GB, free: 66 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009546/0.8484, allocations: 195.7 kB / 0.7421 GB, free: 65.81 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006607/0.855, allocations: 4.363 MB / 0.7464 GB, free: 61.32 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00239/0.8574, allocations: 199.8 kB / 0.7465 GB, free: 61.12 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002102/0.8576, allocations: 55.98 kB / 0.7466 GB, free: 61.07 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.0004494/0.8581, allocations: 128.8 kB / 0.7467 GB, free: 60.93 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005288/0.8586, allocations: 181.8 kB / 0.7469 GB, free: 60.75 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01655/0.8752, allocations: 5.559 MB / 0.7523 GB, free: 55.18 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.135e-05/0.8752, allocations: 16 kB / 0.7523 GB, free: 55.17 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.8752, allocations: 4 kB / 0.7523 GB, free: 55.16 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.419e-05/0.8753, allocations: 11.97 kB / 0.7524 GB, free: 55.15 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01947/0.8948, allocations: 7.587 MB / 0.7598 GB, free: 47.51 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.552e-06/0.8948, allocations: 0 / 0.7598 GB, free: 47.51 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001089/0.8959, allocations: 171.7 kB / 0.7599 GB, free: 47.34 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006841/0.9028, allocations: 2.147 MB / 0.762 GB, free: 45.2 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002007/0.903, allocations: 19.98 kB / 0.762 GB, free: 45.18 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01922/0.9222, allocations: 8.859 MB / 0.7707 GB, free: 36.09 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.868e-06/0.9222, allocations: 0 / 0.7707 GB, free: 36.09 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01838/0.9406, allocations: 6.656 MB / 0.7772 GB, free: 29.4 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006059/0.9413, allocations: 262.8 kB / 0.7774 GB, free: 29.12 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005072/0.9418, allocations: 4 kB / 0.7775 GB, free: 29.12 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002149/0.9439, allocations: 195.8 kB / 0.7776 GB, free: 28.93 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000463/0.9444, allocations: 180.9 kB / 0.7778 GB, free: 28.75 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001512/0.9446, allocations: 36 kB / 0.7778 GB, free: 28.71 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.001154/0.9457, allocations: 0.8488 MB / 0.7787 GB, free: 27.87 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002075/0.9478, allocations: 0.6757 MB / 0.7793 GB, free: 27.2 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.0003515/0.9482, allocations: 167.6 kB / 0.7795 GB, free: 27.02 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01353/0.9617, allocations: 4.617 MB / 0.784 GB, free: 22.38 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/0.9618, allocations: 4.938 kB / 0.784 GB, free: 22.38 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00597/0.9677, allocations: 2.033 MB / 0.786 GB, free: 20.33 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001032/0.9688, allocations: 122.1 kB / 0.7861 GB, free: 20.21 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006527/0.9753, allocations: 2.775 MB / 0.7888 GB, free: 17.38 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001013/0.9764, allocations: 1.454 MB / 0.7902 GB, free: 15.9 MB / 490.7 MB Notification: Performance of SimCode: time 4.31e-07/0.9764, allocations: 0 / 0.7902 GB, free: 15.9 MB / 490.7 MB Notification: Performance of Templates: time 0.07974/1.056, allocations: 39 MB / 0.8283 GB, free: 8.988 MB / 0.5105 GB make -j1 -f OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.HYGOV.makefile (rm -f OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.HYGOV.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.HYGOV.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.HYGOV.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.HYGOV.sim & ./OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.HYGOV -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.HYGOV.pipe 2>&1)