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: "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.TG.HYGOV,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSSE_TG_HYGOV",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.TG.HYGOV,fileNamePrefix="OpenIPSL_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 4.0.0+maint.om/package.mo): time 0.001212/0.001212, allocations: 172.5 kB / 7.647 MB, free: 1.422 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.63/1.63, allocations: 221.5 MB / 229.6 MB, free: 7.594 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.001135/0.001135, allocations: 89.59 kB / 280.5 MB, free: 5.34 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4899/0.4899, allocations: 78.07 MB / 409.3 MB, free: 6.328 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.405e-05/2.393e-05, allocations: 7.938 kB / 485 MB, free: 12.2 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1414/0.1414, allocations: 69.35 MB / 0.5414 GB, free: 6.773 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4982/0.6396, allocations: 113.3 MB / 0.6521 GB, free: 2.094 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002502/0.6399, allocations: 92.78 kB / 0.6521 GB, free: 2.004 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1299/0.7698, allocations: 47.44 MB / 0.6985 GB, free: 2.555 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.863e-06/0.7699, allocations: 0 / 0.6985 GB, free: 2.555 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0002672/0.7702, allocations: 39.94 kB / 0.6985 GB, free: 2.516 MB / 0.4948 GB 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.008133/0.7783, allocations: 2.317 MB / 0.7008 GB, free: 144 kB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.648e-05/0.7784, allocations: 8.031 kB / 0.7008 GB, free: 136 kB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003842/0.7823, allocations: 0.5868 MB / 0.7014 GB, free: 15.54 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003101/0.7854, allocations: 1.087 MB / 0.7024 GB, free: 14.41 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006656/0.7861, allocations: 464.5 kB / 0.7029 GB, free: 13.87 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006127/0.7868, allocations: 75.94 kB / 0.7029 GB, free: 13.8 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002922/0.7897, allocations: 1.199 MB / 0.7041 GB, free: 12.6 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003025/0.7927, allocations: 1.279 MB / 0.7054 GB, free: 11.26 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.76e-05/0.7928, allocations: 0 / 0.7054 GB, free: 11.26 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001684/0.793, allocations: 0 / 0.7054 GB, free: 11.26 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.685e-05/0.793, allocations: 32 kB / 0.7054 GB, free: 11.23 MB / 0.5105 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 preOpt removeSimpleEquations (simulation): time 0.01242/0.8054, allocations: 5.701 MB / 0.711 GB, free: 5.297 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008061/0.8135, allocations: 3.219 MB / 0.7141 GB, free: 1.934 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001615/0.8152, allocations: 0.7388 MB / 0.7148 GB, free: 1.188 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000261/0.8155, allocations: 21.3 kB / 0.7148 GB, free: 1.164 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001955/0.8174, allocations: 0.9028 MB / 0.7157 GB, free: 240 kB / 0.5105 GB Notification: Performance of pre-optimization done (n=142): time 4.859e-06/0.8175, allocations: 8 kB / 0.7157 GB, free: 232 kB / 0.5105 GB Notification: Performance of matching and sorting (n=146): time 0.02288/0.8404, allocations: 7.722 MB / 0.7233 GB, free: 8.43 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.346e-05/0.8405, allocations: 201.2 kB / 0.7235 GB, free: 8.188 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001915/0.8424, allocations: 1.118 MB / 0.7246 GB, free: 7.066 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0004574/0.8429, allocations: 29.7 kB / 0.7246 GB, free: 7.031 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005454/0.8434, allocations: 0.7377 MB / 0.7253 GB, free: 6.285 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006408/0.8441, allocations: 0.4888 MB / 0.7258 GB, free: 5.789 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001007/0.8442, allocations: 4.438 kB / 0.7258 GB, free: 5.785 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001321/0.8443, allocations: 365.9 kB / 0.7261 GB, free: 5.422 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001072/0.8454, allocations: 0.6289 MB / 0.7267 GB, free: 4.793 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001203/0.8466, allocations: 0.8523 MB / 0.7276 GB, free: 3.879 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00125/0.8479, allocations: 0.7126 MB / 0.7283 GB, free: 3.172 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.991e-06/0.8479, allocations: 0 / 0.7283 GB, free: 3.172 MB / 0.5261 GB Notification: Performance of matching and sorting (n=200) (initialization): time 0.008195/0.8561, allocations: 3.31 MB / 0.7315 GB, free: 15.84 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006654/0.8568, allocations: 1.84 MB / 0.7333 GB, free: 13.84 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.787e-05/0.8569, allocations: 4 kB / 0.7333 GB, free: 13.84 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007885/0.8648, allocations: 2.39 MB / 0.7356 GB, free: 11.44 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001003/0.8658, allocations: 191.7 kB / 0.7358 GB, free: 11.25 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006003/0.8718, allocations: 3.278 MB / 0.739 GB, free: 7.926 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002652/0.8745, allocations: 185.9 kB / 0.7392 GB, free: 7.746 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002504/0.8748, allocations: 59.98 kB / 0.7393 GB, free: 7.688 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/0.8748, allocations: 4 kB / 0.7393 GB, free: 7.684 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007742/0.8826, allocations: 3.068 MB / 0.7423 GB, free: 4.605 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.678e-05/0.8826, allocations: 4 kB / 0.7423 GB, free: 4.602 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007648/0.8903, allocations: 2.371 MB / 0.7446 GB, free: 2.223 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001016/0.8914, allocations: 199.7 kB / 0.7448 GB, free: 2.027 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00708/0.8985, allocations: 4.28 MB / 0.7489 GB, free: 13.61 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002505/0.901, allocations: 183.8 kB / 0.7491 GB, free: 13.43 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002469/0.9013, allocations: 55.98 kB / 0.7492 GB, free: 13.38 MB / 0.5573 GB 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.0004441/0.9017, allocations: 135.9 kB / 0.7493 GB, free: 13.24 MB / 0.5573 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01552/0.9173, allocations: 5.11 MB / 0.7543 GB, free: 8.105 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009121/0.9182, allocations: 181.8 kB / 0.7545 GB, free: 7.926 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01549/0.9338, allocations: 5.233 MB / 0.7596 GB, free: 2.664 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.357e-05/0.9338, allocations: 16 kB / 0.7596 GB, free: 2.648 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.9338, allocations: 2.625 kB / 0.7596 GB, free: 2.648 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.105e-05/0.9339, allocations: 11.92 kB / 0.7596 GB, free: 2.637 MB / 0.5573 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.353/1.287, allocations: 7.437 MB / 0.7669 GB, free: 133.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.769e-05/1.287, allocations: 0 / 0.7669 GB, free: 133.2 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001104/1.288, allocations: 166.3 kB / 0.767 GB, free: 133.2 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006217/1.294, allocations: 2.066 MB / 0.769 GB, free: 133.1 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002889/1.295, allocations: 12.73 kB / 0.7691 GB, free: 133.1 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01727/1.312, allocations: 9.407 MB / 0.7782 GB, free: 130.7 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/1.312, allocations: 2.812 kB / 0.7783 GB, free: 130.7 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01706/1.329, allocations: 6.376 MB / 0.7845 GB, free: 130.4 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006977/1.33, allocations: 263.8 kB / 0.7847 GB, free: 130.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003112/1.33, allocations: 6.062 kB / 0.7847 GB, free: 130.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001696/1.332, allocations: 182.4 kB / 0.7849 GB, free: 130.2 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009065/1.333, allocations: 309.5 kB / 0.7852 GB, free: 130.2 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001152/1.333, allocations: 43.22 kB / 0.7852 GB, free: 130.2 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001257/1.334, allocations: 0.8435 MB / 0.7861 GB, free: 130.1 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.173e-06/1.334, allocations: 0 / 0.7861 GB, free: 130.1 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.002383/1.336, allocations: 0.6806 MB / 0.7867 GB, free: 130.1 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.01932/1.356, allocations: 7.187 MB / 0.7938 GB, free: 128.9 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01441/1.37, allocations: 4.499 MB / 0.7981 GB, free: 128.5 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 8.316e-06/1.37, allocations: 0 / 0.7981 GB, free: 128.5 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.006186/1.377, allocations: 2.06 MB / 0.8002 GB, free: 128.1 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001417/1.378, allocations: 129.3 kB / 0.8003 GB, free: 128.1 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006857/1.385, allocations: 2.954 MB / 0.8032 GB, free: 127.1 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001028/1.386, allocations: 1.377 MB / 0.8045 GB, free: 126.3 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001339/1.387, allocations: 261.3 kB / 0.8048 GB, free: 126.3 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000751/1.388, allocations: 0.6903 MB / 0.8054 GB, free: 126.3 MB / 0.5573 GB Notification: Performance of SimCode: time 7.61e-07/1.388, allocations: 3.719 kB / 0.8054 GB, free: 126.3 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07946/1.468, allocations: 47.99 MB / 0.8523 GB, free: 116.5 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002363/1.468, allocations: 114.8 kB / 0.8524 GB, free: 116.3 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.958/5.426, allocations: 7.562 kB / 0.8524 GB, free: 116.3 MB / 0.5573 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Controls_PSSE_TG_HYGOV_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Controls_PSSE_TG_HYGOV.fmu > OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.HYGOV.pipe 2>&1)