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: "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.TG.HYGOV,fileNamePrefix="OpenIPSL_release_OpenIPSL_Tests_Controls_PSSE_TG_HYGOV",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.TG.HYGOV,fileNamePrefix="OpenIPSL_release_OpenIPSL_Tests_Controls_PSSE_TG_HYGOV",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.002203/0.002203, allocations: 186 kB / 7.458 MB, free: 2.512 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.096/1.096, allocations: 221.4 MB / 229.3 MB, free: 3.012 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.0008288/0.0008288, allocations: 97.7 kB / 280.1 MB, free: 1.266 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.3866/0.3866, allocations: 78.11 MB / 409 MB, free: 15.65 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1203/0.5069, allocations: 75.5 MB / 484.5 MB, free: 4.461 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2601/0.767, allocations: 69.34 MB / 0.5408 GB, free: 21.54 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1178/0.8848, allocations: 113.2 MB / 0.6514 GB, free: 7.637 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002051/0.885, allocations: 91.94 kB / 0.6515 GB, free: 7.547 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: 305 * Number of variables: 305 Notification: Performance of Generate backend data structure: time 0.3057/1.191, allocations: 49.54 MB / 0.6999 GB, free: 103.7 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.615e-05/1.191, allocations: 9.094 kB / 0.6999 GB, free: 103.7 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00352/1.194, allocations: 0.6075 MB / 0.7005 GB, free: 103.6 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002295/1.197, allocations: 1.102 MB / 0.7016 GB, free: 102.9 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004526/1.197, allocations: 464.7 kB / 0.702 GB, free: 102.5 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003353/1.197, allocations: 82.88 kB / 0.7021 GB, free: 102.5 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00257/1.2, allocations: 1.197 MB / 0.7033 GB, free: 102 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002614/1.203, allocations: 1.281 MB / 0.7045 GB, free: 101.3 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.739e-05/1.203, allocations: 4.859 kB / 0.7045 GB, free: 101.3 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001383/1.203, allocations: 0.8438 kB / 0.7045 GB, free: 101.3 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.179e-05/1.203, allocations: 29.16 kB / 0.7046 GB, free: 101.3 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00926/1.212, allocations: 5.748 MB / 0.7102 GB, free: 96.91 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001388/1.214, allocations: 0.9013 MB / 0.711 GB, free: 96.41 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001037/1.215, allocations: 0.7431 MB / 0.7118 GB, free: 96.02 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001402/1.215, allocations: 35.59 kB / 0.7118 GB, free: 96 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001296/1.216, allocations: 0.8853 MB / 0.7127 GB, free: 95.45 MB / 490.7 MB Notification: Performance of pre-optimization done (n=142): time 3.968e-06/1.216, allocations: 3.938 kB / 0.7127 GB, free: 95.45 MB / 490.7 MB Notification: Performance of matching and sorting (n=146): time 0.01953/1.236, allocations: 8.032 MB / 0.7205 GB, free: 88.83 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.871e-05/1.236, allocations: 201.2 kB / 0.7207 GB, free: 88.59 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001549/1.237, allocations: 1.125 MB / 0.7218 GB, free: 87.46 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000115/1.237, allocations: 25.7 kB / 0.7218 GB, free: 87.43 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001772/1.238, allocations: 463.5 kB / 0.7223 GB, free: 86.97 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004448/1.238, allocations: 0.4927 MB / 0.7228 GB, free: 86.47 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001003/1.238, allocations: 3.938 kB / 0.7228 GB, free: 86.46 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.015e-05/1.238, allocations: 370 kB / 0.7231 GB, free: 86.1 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009502/1.239, allocations: 0.6405 MB / 0.7237 GB, free: 85.46 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001034/1.24, allocations: 0.8512 MB / 0.7246 GB, free: 84.54 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001103/1.241, allocations: 0.7167 MB / 0.7253 GB, free: 83.83 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/1.241, allocations: 4 kB / 0.7253 GB, free: 83.82 MB / 490.7 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.007423/1.249, allocations: 3.438 MB / 0.7286 GB, free: 80.38 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002553/1.249, allocations: 1.801 MB / 0.7304 GB, free: 78.42 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.084e-05/1.249, allocations: 7.906 kB / 0.7304 GB, free: 78.41 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007276/1.256, allocations: 2.464 MB / 0.7328 GB, free: 75.95 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009276/1.257, allocations: 199.7 kB / 0.733 GB, free: 75.75 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005098/1.262, allocations: 3.375 MB / 0.7363 GB, free: 72.33 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002157/1.265, allocations: 203.9 kB / 0.7365 GB, free: 72.13 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002118/1.265, allocations: 55.97 kB / 0.7365 GB, free: 72.07 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.406e-06/1.265, allocations: 4 kB / 0.7365 GB, free: 72.07 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007298/1.272, allocations: 3.177 MB / 0.7396 GB, free: 68.9 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.387e-05/1.272, allocations: 4 kB / 0.7396 GB, free: 68.89 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007305/1.279, allocations: 2.456 MB / 0.742 GB, free: 66.43 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000821/1.28, allocations: 195.7 kB / 0.7422 GB, free: 66.24 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005799/1.286, allocations: 4.352 MB / 0.7465 GB, free: 61.75 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002106/1.288, allocations: 199.8 kB / 0.7467 GB, free: 61.56 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001653/1.288, allocations: 55.98 kB / 0.7467 GB, free: 61.5 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.0003361/1.289, allocations: 124.7 kB / 0.7468 GB, free: 61.38 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003717/1.289, allocations: 185.7 kB / 0.747 GB, free: 61.19 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01472/1.304, allocations: 5.562 MB / 0.7525 GB, free: 55.62 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.146e-05/1.304, allocations: 12 kB / 0.7525 GB, free: 55.61 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/1.304, allocations: 4 kB / 0.7525 GB, free: 55.61 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.549e-05/1.304, allocations: 7.969 kB / 0.7525 GB, free: 55.6 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01697/1.321, allocations: 7.588 MB / 0.7599 GB, free: 47.96 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-05/1.321, allocations: 0 / 0.7599 GB, free: 47.96 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00108/1.322, allocations: 171.8 kB / 0.7601 GB, free: 47.79 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006191/1.328, allocations: 2.151 MB / 0.7622 GB, free: 45.63 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000233/1.328, allocations: 15.98 kB / 0.7622 GB, free: 45.62 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01717/1.346, allocations: 8.863 MB / 0.7708 GB, free: 36.52 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/1.346, allocations: 0 / 0.7708 GB, free: 36.52 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01634/1.362, allocations: 6.652 MB / 0.7773 GB, free: 29.84 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01818/1.38, allocations: 8.053 MB / 0.7852 GB, free: 21.74 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005859/1.381, allocations: 274.8 kB / 0.7854 GB, free: 21.45 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000559/1.381, allocations: 4 kB / 0.7854 GB, free: 21.45 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002061/1.383, allocations: 195.8 kB / 0.7856 GB, free: 21.25 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004567/1.384, allocations: 173 kB / 0.7858 GB, free: 21.09 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001564/1.384, allocations: 43.98 kB / 0.7858 GB, free: 21.04 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.00116/1.385, allocations: 0.8449 MB / 0.7867 GB, free: 20.2 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.003501/1.389, allocations: 0.6835 MB / 0.7873 GB, free: 19.52 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.0003425/1.389, allocations: 166.7 kB / 0.7875 GB, free: 19.35 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01245/1.402, allocations: 4.628 MB / 0.792 GB, free: 14.71 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.653e-06/1.402, allocations: 0 / 0.792 GB, free: 14.71 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005838/1.407, allocations: 2.034 MB / 0.794 GB, free: 12.65 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001273/1.409, allocations: 125.6 kB / 0.7941 GB, free: 12.53 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006795/1.416, allocations: 2.794 MB / 0.7968 GB, free: 9.691 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00119/1.417, allocations: 1.478 MB / 0.7983 GB, free: 8.18 MB / 490.7 MB Notification: Performance of SimCode: time 5.41e-07/1.417, allocations: 7.938 kB / 0.7983 GB, free: 8.172 MB / 490.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Tests_Controls_PSSE_TG_HYGOV_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Tests_Controls_PSSE_TG_HYGOV.fmu > OpenIPSL_release_OpenIPSL.Tests.Controls.PSSE.TG.HYGOV.pipe 2>&1)