Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.HYGOV.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.TG.HYGOV,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_TG_HYGOV",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.TG.HYGOV,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_TG_HYGOV",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001014/0.001014, allocations: 174.7 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.34/1.34, allocations: 205.2 MB / 218.5 MB, free: 9.215 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008223/0.0008223, allocations: 96.5 kB / 266.6 MB, free: 9.27 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.07014/0.07014, allocations: 12.2 MB / 326.9 MB, free: 12.88 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2779/0.2779, allocations: 78.03 MB / 455.7 MB, free: 15.35 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.45e-05/3.452e-05, allocations: 4 kB / 0.5213 GB, free: 24.11 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1264/0.1265, allocations: 69.24 MB / 0.5889 GB, free: 2.934 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4151/0.5416, allocations: 115.6 MB / 0.7018 GB, free: 0.8594 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002735/0.542, allocations: 92.5 kB / 0.7019 GB, free: 0.8086 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1248/0.6668, allocations: 46.92 MB / 0.7477 GB, free: 9.488 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.6668, allocations: 0 / 0.7477 GB, free: 9.488 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001016/0.667, allocations: 43.94 kB / 0.7478 GB, free: 9.445 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.005749/0.6727, allocations: 2.311 MB / 0.75 GB, free: 7.238 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.492e-05/0.6728, allocations: 15.98 kB / 0.75 GB, free: 7.223 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002403/0.673, allocations: 187.4 kB / 0.7502 GB, free: 7.109 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002915/0.6759, allocations: 0.5882 MB / 0.7508 GB, free: 6.559 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001897/0.6778, allocations: 1.088 MB / 0.7518 GB, free: 5.68 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004657/0.6783, allocations: 0.4966 MB / 0.7523 GB, free: 5.148 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002175/0.6786, allocations: 132.5 kB / 0.7525 GB, free: 5.062 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00237/0.6809, allocations: 1.462 MB / 0.7539 GB, free: 4.059 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.411e-05/0.681, allocations: 0 / 0.7539 GB, free: 4.059 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001415/0.6811, allocations: 49.75 kB / 0.7539 GB, free: 4.047 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.552e-05/0.6811, allocations: 31.95 kB / 0.754 GB, free: 4.016 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002104/0.6833, allocations: 1.27 MB / 0.7552 GB, free: 3.219 MB / 490.7 MB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009623/0.6929, allocations: 5.912 MB / 0.761 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007791/0.7007, allocations: 3.265 MB / 0.7642 GB, free: 10.96 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001598/0.7024, allocations: 0.7844 MB / 0.7649 GB, free: 10.17 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001505/0.7025, allocations: 33.23 kB / 0.765 GB, free: 10.14 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001492/0.704, allocations: 0.9445 MB / 0.7659 GB, free: 9.168 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=142): time 3.347e-06/0.704, allocations: 0 / 0.7659 GB, free: 9.168 MB / 0.4948 GB Notification: Performance of matching and sorting (n=146): time 0.02/0.724, allocations: 7.968 MB / 0.7737 GB, free: 1.113 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.613e-05/0.7242, allocations: 193.2 kB / 0.7738 GB, free: 0.8789 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002055/0.7262, allocations: 1.269 MB / 0.7751 GB, free: 15.61 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0003411/0.7266, allocations: 49.7 kB / 0.7751 GB, free: 15.55 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005105/0.7271, allocations: 0.7384 MB / 0.7759 GB, free: 14.81 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005179/0.7276, allocations: 0.52 MB / 0.7764 GB, free: 14.28 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001007/0.7277, allocations: 31.94 kB / 0.7764 GB, free: 14.25 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001303/0.7279, allocations: 369.9 kB / 0.7767 GB, free: 13.88 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001149/0.729, allocations: 0.664 MB / 0.7774 GB, free: 13.22 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001244/0.7303, allocations: 0.8928 MB / 0.7783 GB, free: 12.26 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001222/0.7315, allocations: 0.7729 MB / 0.779 GB, free: 11.48 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.29e-06/0.7315, allocations: 4 kB / 0.779 GB, free: 11.48 MB / 0.5105 GB Notification: Performance of matching and sorting (n=204) (initialization): time 0.004575/0.7361, allocations: 2.567 MB / 0.7815 GB, free: 8.891 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.00062/0.7368, allocations: 1.858 MB / 0.7833 GB, free: 6.875 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.192e-05/0.7368, allocations: 4 kB / 0.7833 GB, free: 6.871 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008013/0.7448, allocations: 2.508 MB / 0.7858 GB, free: 4.355 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001124/0.746, allocations: 211.7 kB / 0.786 GB, free: 4.148 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005262/0.7512, allocations: 3.078 MB / 0.789 GB, free: 1.016 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002319/0.7536, allocations: 215.9 kB / 0.7892 GB, free: 0.8047 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001596/0.7538, allocations: 60.05 kB / 0.7893 GB, free: 0.7461 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.7538, allocations: 7.438 kB / 0.7893 GB, free: 0.7422 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004137/0.7579, allocations: 2.357 MB / 0.7916 GB, free: 14.37 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.508e-06/0.7579, allocations: 4 kB / 0.7916 GB, free: 14.37 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007475/0.7654, allocations: 2.504 MB / 0.794 GB, free: 11.86 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008651/0.7663, allocations: 203.7 kB / 0.7942 GB, free: 11.66 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006562/0.7729, allocations: 4.369 MB / 0.7985 GB, free: 7.133 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002132/0.775, allocations: 211.9 kB / 0.7987 GB, free: 6.926 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001336/0.7752, allocations: 59.98 kB / 0.7987 GB, free: 6.867 MB / 0.5261 GB 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 (123): * Single equations (assignments): 120 * 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.0003628/0.7755, allocations: 182.1 kB / 0.7989 GB, free: 6.684 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002916/0.7758, allocations: 193.5 kB / 0.7991 GB, free: 6.492 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01498/0.7908, allocations: 5.367 MB / 0.8043 GB, free: 1.098 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-05/0.7909, allocations: 16 kB / 0.8044 GB, free: 1.082 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.239e-06/0.7909, allocations: 0 / 0.8044 GB, free: 1.082 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.44e-05/0.7909, allocations: 11.91 kB / 0.8044 GB, free: 1.07 MB / 0.5261 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01834/0.8093, allocations: 7.709 MB / 0.8119 GB, free: 9.219 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-05/0.8093, allocations: 0 / 0.8119 GB, free: 9.219 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00109/0.8104, allocations: 167.8 kB / 0.8121 GB, free: 9.055 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00655/0.817, allocations: 2.088 MB / 0.8141 GB, free: 6.961 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002986/0.8173, allocations: 35.98 kB / 0.8141 GB, free: 6.926 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01895/0.8363, allocations: 9.597 MB / 0.8235 GB, free: 13.06 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.17e-06/0.8363, allocations: 3.953 kB / 0.8235 GB, free: 13.05 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01731/0.8536, allocations: 6.507 MB / 0.8299 GB, free: 6.492 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007906/0.8544, allocations: 270.7 kB / 0.8301 GB, free: 6.207 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000253/0.8547, allocations: 28 kB / 0.8301 GB, free: 6.18 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001662/0.8564, allocations: 211.8 kB / 0.8303 GB, free: 5.973 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000912/0.8573, allocations: 301.2 kB / 0.8306 GB, free: 5.68 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001098/0.8574, allocations: 43.98 kB / 0.8307 GB, free: 5.637 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001295/0.8587, allocations: 0.9752 MB / 0.8316 GB, free: 4.668 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8587, allocations: 0 / 0.8316 GB, free: 4.668 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001866/0.8606, allocations: 0.7696 MB / 0.8324 GB, free: 3.898 MB / 0.5573 GB 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.01721/0.8778, allocations: 7.342 MB / 0.8396 GB, free: 12.5 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.01298/0.8908, allocations: 4.785 MB / 0.8442 GB, free: 7.672 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 6.021e-06/0.8909, allocations: 0 / 0.8442 GB, free: 7.672 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.005665/0.8965, allocations: 2.124 MB / 0.8463 GB, free: 5.527 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001254/0.8978, allocations: 150.1 kB / 0.8464 GB, free: 5.379 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005884/0.9037, allocations: 3.108 MB / 0.8495 GB, free: 2.211 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007827/0.9045, allocations: 1.378 MB / 0.8508 GB, free: 0.8008 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001111/0.9056, allocations: 271.3 kB / 0.8511 GB, free: 0.5312 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007859/0.9064, allocations: 0.6907 MB / 0.8518 GB, free: 15.84 MB / 0.5886 GB Notification: Performance of SimCode: time 9.92e-07/0.9064, allocations: 0 / 0.8518 GB, free: 15.84 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3843/1.291, allocations: 51.96 MB / 0.9025 GB, free: 174.2 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001453/1.291, allocations: 161.1 kB / 0.9027 GB, free: 174 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.704/4.994, allocations: 0 / 0.9027 GB, free: 174 MB / 0.5886 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.HYGOV.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.HYGOV.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.HYGOV.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.HYGOV.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_TG_HYGOV_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_TG_HYGOV.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.HYGOV.pipe 2>&1)