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: "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.TG.HYGOV,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_TG_HYGOV",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.TG.HYGOV,fileNamePrefix="OpenIPSL_dev_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.002966/0.002966, allocations: 180.9 kB / 7.459 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.394/1.394, allocations: 221.4 MB / 229.3 MB, free: 3.062 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.001185/0.001185, allocations: 102.7 kB / 280.1 MB, free: 1.23 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5047/0.5047, allocations: 78.92 MB / 409.8 MB, free: 14.96 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1618/0.6665, allocations: 75.66 MB / 485.5 MB, free: 3.547 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4222/1.089, allocations: 69.51 MB / 0.542 GB, free: 20.79 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1586/1.247, allocations: 113.9 MB / 0.6532 GB, free: 5.91 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002669/1.248, allocations: 87.94 kB / 0.6533 GB, free: 5.824 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.4178/1.665, allocations: 47.14 MB / 0.6994 GB, free: 104 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.598e-05/1.666, allocations: 8.75 kB / 0.6994 GB, free: 104 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004032/1.67, allocations: 0.6071 MB / 0.7 GB, free: 103.8 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003132/1.673, allocations: 1.093 MB / 0.701 GB, free: 103.1 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005618/1.673, allocations: 472.4 kB / 0.7015 GB, free: 102.7 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000285/1.674, allocations: 77.62 kB / 0.7016 GB, free: 102.7 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003016/1.677, allocations: 1.204 MB / 0.7027 GB, free: 102.2 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003005/1.68, allocations: 1.278 MB / 0.704 GB, free: 101.6 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.266e-05/1.68, allocations: 0.75 kB / 0.704 GB, free: 101.6 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001363/1.68, allocations: 2.188 kB / 0.704 GB, free: 101.6 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.659e-05/1.68, allocations: 29.5 kB / 0.704 GB, free: 101.6 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0122/1.692, allocations: 5.76 MB / 0.7096 GB, free: 97.43 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001681/1.694, allocations: 0.8943 MB / 0.7105 GB, free: 96.94 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001276/1.695, allocations: 0.7375 MB / 0.7112 GB, free: 96.56 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001667/1.695, allocations: 28.7 kB / 0.7113 GB, free: 96.55 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00155/1.697, allocations: 0.8998 MB / 0.7121 GB, free: 95.98 MB / 490.7 MB Notification: Performance of pre-optimization done (n=142): time 3.457e-06/1.697, allocations: 0 / 0.7121 GB, free: 95.98 MB / 490.7 MB Notification: Performance of matching and sorting (n=146): time 0.02057/1.717, allocations: 8.045 MB / 0.72 GB, free: 88.89 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.775e-05/1.718, allocations: 205.3 kB / 0.7202 GB, free: 88.64 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00182/1.719, allocations: 1.122 MB / 0.7213 GB, free: 87.52 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000398/1.72, allocations: 25.7 kB / 0.7213 GB, free: 87.49 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002037/1.72, allocations: 463.5 kB / 0.7217 GB, free: 87.03 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000563/1.721, allocations: 0.4927 MB / 0.7222 GB, free: 86.53 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001062/1.721, allocations: 0 / 0.7222 GB, free: 86.53 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001056/1.721, allocations: 365.9 kB / 0.7226 GB, free: 86.16 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001051/1.722, allocations: 0.6367 MB / 0.7232 GB, free: 85.53 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001123/1.723, allocations: 0.8589 MB / 0.724 GB, free: 84.61 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001252/1.724, allocations: 0.7206 MB / 0.7247 GB, free: 83.89 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.181e-06/1.724, allocations: 4 kB / 0.7247 GB, free: 83.89 MB / 490.7 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.008384/1.733, allocations: 3.43 MB / 0.7281 GB, free: 80.45 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005868/1.733, allocations: 1.803 MB / 0.7299 GB, free: 78.48 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.497e-05/1.733, allocations: 15.89 kB / 0.7299 GB, free: 78.47 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007973/1.741, allocations: 2.46 MB / 0.7323 GB, free: 76.01 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001356/1.743, allocations: 199.7 kB / 0.7325 GB, free: 75.82 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006999/1.75, allocations: 3.378 MB / 0.7358 GB, free: 72.38 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002926/1.753, allocations: 199.9 kB / 0.736 GB, free: 72.19 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001984/1.753, allocations: 59.98 kB / 0.736 GB, free: 72.13 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/1.753, allocations: 6.188 kB / 0.736 GB, free: 72.12 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00782/1.761, allocations: 3.173 MB / 0.7391 GB, free: 68.95 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.029e-05/1.761, allocations: 4 kB / 0.7391 GB, free: 68.95 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007907/1.769, allocations: 2.453 MB / 0.7415 GB, free: 66.49 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001097/1.77, allocations: 199.7 kB / 0.7417 GB, free: 66.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006653/1.777, allocations: 4.354 MB / 0.746 GB, free: 61.81 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002891/1.779, allocations: 203.9 kB / 0.7462 GB, free: 61.61 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002431/1.78, allocations: 51.98 kB / 0.7462 GB, free: 61.56 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.0004504/1.78, allocations: 140.2 kB / 0.7463 GB, free: 61.42 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003857/1.781, allocations: 181.8 kB / 0.7465 GB, free: 61.24 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01652/1.797, allocations: 5.562 MB / 0.7519 GB, free: 55.67 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-05/1.797, allocations: 12 kB / 0.752 GB, free: 55.66 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.083e-06/1.797, allocations: 4 kB / 0.752 GB, free: 55.65 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.162e-05/1.797, allocations: 11.97 kB / 0.752 GB, free: 55.64 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01945/1.817, allocations: 7.6 MB / 0.7594 GB, free: 47.99 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.892e-05/1.817, allocations: 0 / 0.7594 GB, free: 47.99 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001251/1.818, allocations: 163.8 kB / 0.7595 GB, free: 47.83 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006796/1.825, allocations: 2.147 MB / 0.7616 GB, free: 45.68 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003824/1.825, allocations: 15.98 kB / 0.7617 GB, free: 45.66 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0185/1.844, allocations: 8.861 MB / 0.7703 GB, free: 36.57 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.977e-06/1.844, allocations: 4 kB / 0.7703 GB, free: 36.57 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01806/1.862, allocations: 6.652 MB / 0.7768 GB, free: 29.88 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.02039/1.882, allocations: 8.048 MB / 0.7847 GB, free: 21.79 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000809/1.883, allocations: 258.8 kB / 0.7849 GB, free: 21.52 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000325/1.884, allocations: 11.94 kB / 0.7849 GB, free: 21.5 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001826/1.885, allocations: 199.8 kB / 0.7851 GB, free: 21.31 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004054/1.886, allocations: 173 kB / 0.7853 GB, free: 21.14 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001224/1.886, allocations: 47.98 kB / 0.7853 GB, free: 21.09 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.001147/1.887, allocations: 0.8488 MB / 0.7862 GB, free: 20.25 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.003201/1.89, allocations: 0.6913 MB / 0.7868 GB, free: 19.56 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.000395/1.891, allocations: 158.9 kB / 0.787 GB, free: 19.4 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01333/1.904, allocations: 4.628 MB / 0.7915 GB, free: 14.75 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 9.047e-06/1.904, allocations: 0 / 0.7915 GB, free: 14.75 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005858/1.91, allocations: 2.03 MB / 0.7935 GB, free: 12.7 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001416/1.911, allocations: 125.5 kB / 0.7936 GB, free: 12.57 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007256/1.919, allocations: 2.81 MB / 0.7963 GB, free: 9.711 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00103/1.92, allocations: 1.486 MB / 0.7978 GB, free: 8.199 MB / 490.7 MB Notification: Performance of SimCode: time 1.162e-06/1.92, allocations: 0 / 0.7978 GB, free: 8.199 MB / 490.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_TG_HYGOV_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_TG_HYGOV.fmu > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.HYGOV.pipe 2>&1)