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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001368/0.001369, allocations: 174.3 kB / 7.648 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.42/1.42, allocations: 221.5 MB / 229.6 MB, free: 7.582 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.001006/0.001006, allocations: 99.88 kB / 280.5 MB, free: 5.332 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4716/0.4716, allocations: 78.12 MB / 409.4 MB, free: 6.48 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.952e-05/2.945e-05, allocations: 4 kB / 485.1 MB, free: 12.32 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1713/0.1714, allocations: 69.37 MB / 0.5414 GB, free: 6.844 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4218/0.5932, allocations: 113.3 MB / 0.6521 GB, free: 2.227 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003023/0.5936, allocations: 86.3 kB / 0.6522 GB, free: 2.145 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1325/0.7261, allocations: 47.44 MB / 0.6985 GB, free: 2.711 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.623e-06/0.7262, allocations: 0 / 0.6985 GB, free: 2.711 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001169/0.7263, allocations: 43.92 kB / 0.6985 GB, free: 2.668 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.006462/0.7328, allocations: 2.321 MB / 0.7008 GB, free: 296 kB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.833e-05/0.7328, allocations: 12.03 kB / 0.7008 GB, free: 284 kB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003236/0.7361, allocations: 0.5814 MB / 0.7014 GB, free: 15.69 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002062/0.7381, allocations: 1.095 MB / 0.7025 GB, free: 14.55 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005079/0.7387, allocations: 460.5 kB / 0.7029 GB, free: 14.02 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000207/0.7389, allocations: 76 kB / 0.703 GB, free: 13.95 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002301/0.7412, allocations: 1.2 MB / 0.7041 GB, free: 12.74 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002336/0.7435, allocations: 1.275 MB / 0.7054 GB, free: 11.41 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.741e-05/0.7436, allocations: 7.938 kB / 0.7054 GB, free: 11.4 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001236/0.7437, allocations: 0 / 0.7054 GB, free: 11.4 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.429e-05/0.7437, allocations: 28 kB / 0.7054 GB, free: 11.38 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.01036/0.7541, allocations: 5.689 MB / 0.711 GB, free: 5.453 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008135/0.7623, allocations: 3.228 MB / 0.7141 GB, free: 2.082 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001294/0.7636, allocations: 0.7376 MB / 0.7149 GB, free: 1.336 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001487/0.7637, allocations: 29.28 kB / 0.7149 GB, free: 1.305 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001442/0.7652, allocations: 0.899 MB / 0.7158 GB, free: 388 kB / 0.5105 GB Notification: Performance of pre-optimization done (n=142): time 2.826e-06/0.7652, allocations: 0 / 0.7158 GB, free: 388 kB / 0.5105 GB Notification: Performance of matching and sorting (n=146): time 0.01995/0.7852, allocations: 7.728 MB / 0.7233 GB, free: 8.574 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.659e-05/0.7853, allocations: 197.2 kB / 0.7235 GB, free: 8.336 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001823/0.7871, allocations: 1.123 MB / 0.7246 GB, free: 7.211 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0003006/0.7874, allocations: 25.7 kB / 0.7246 GB, free: 7.18 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005907/0.788, allocations: 0.7378 MB / 0.7253 GB, free: 6.434 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.000562/0.7886, allocations: 0.4892 MB / 0.7258 GB, free: 5.938 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.813e-05/0.7887, allocations: 0 / 0.7258 GB, free: 5.938 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001613/0.7889, allocations: 370 kB / 0.7262 GB, free: 5.57 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001088/0.79, allocations: 0.6367 MB / 0.7268 GB, free: 4.934 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001218/0.7912, allocations: 0.8459 MB / 0.7276 GB, free: 4.023 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001315/0.7925, allocations: 0.7086 MB / 0.7283 GB, free: 3.32 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.039e-06/0.7925, allocations: 0 / 0.7283 GB, free: 3.32 MB / 0.5261 GB Notification: Performance of matching and sorting (n=200) (initialization): time 0.008028/0.8006, allocations: 3.318 MB / 0.7315 GB, free: 15.98 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006904/0.8013, allocations: 1.834 MB / 0.7333 GB, free: 13.98 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.317e-05/0.8013, allocations: 7.984 kB / 0.7333 GB, free: 13.98 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007653/0.809, allocations: 2.383 MB / 0.7357 GB, free: 11.59 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009031/0.8099, allocations: 203.7 kB / 0.7359 GB, free: 11.39 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005511/0.8154, allocations: 3.272 MB / 0.7391 GB, free: 8.07 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002145/0.8176, allocations: 183.9 kB / 0.7392 GB, free: 7.891 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001436/0.8177, allocations: 55.98 kB / 0.7393 GB, free: 7.836 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.186e-05/0.8177, allocations: 12.64 kB / 0.7393 GB, free: 7.824 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007466/0.8252, allocations: 3.057 MB / 0.7423 GB, free: 4.758 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.783e-05/0.8252, allocations: 10.62 kB / 0.7423 GB, free: 4.75 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007652/0.8329, allocations: 2.375 MB / 0.7446 GB, free: 2.367 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009451/0.8339, allocations: 195.7 kB / 0.7448 GB, free: 2.176 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007146/0.841, allocations: 4.285 MB / 0.749 GB, free: 13.75 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002326/0.8434, allocations: 179.8 kB / 0.7492 GB, free: 13.57 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001536/0.8436, allocations: 61.58 kB / 0.7492 GB, free: 13.52 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.0004617/0.844, allocations: 131.4 kB / 0.7493 GB, free: 13.38 MB / 0.5573 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01524/0.8593, allocations: 5.111 MB / 0.7543 GB, free: 8.25 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006689/0.86, allocations: 177.8 kB / 0.7545 GB, free: 8.074 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01533/0.8753, allocations: 5.229 MB / 0.7596 GB, free: 2.82 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.929e-05/0.8754, allocations: 16 kB / 0.7596 GB, free: 2.805 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.8754, allocations: 4 kB / 0.7596 GB, free: 2.801 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.614e-05/0.8754, allocations: 11.92 kB / 0.7596 GB, free: 2.789 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.3045/1.18, allocations: 7.44 MB / 0.7669 GB, free: 133.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.276e-05/1.18, allocations: 2.812 kB / 0.7669 GB, free: 133.6 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001024/1.181, allocations: 169.8 kB / 0.7671 GB, free: 133.6 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006108/1.187, allocations: 2.06 MB / 0.7691 GB, free: 133.6 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002497/1.187, allocations: 12.62 kB / 0.7691 GB, free: 133.6 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01664/1.204, allocations: 9.41 MB / 0.7783 GB, free: 131.2 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.229e-06/1.204, allocations: 3.25 kB / 0.7783 GB, free: 131.2 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01749/1.222, allocations: 6.372 MB / 0.7845 GB, free: 130.8 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006924/1.222, allocations: 265.1 kB / 0.7848 GB, free: 130.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003464/1.223, allocations: 3.25 kB / 0.7848 GB, free: 130.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001817/1.225, allocations: 183.8 kB / 0.7849 GB, free: 130.7 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000892/1.225, allocations: 307.3 kB / 0.7852 GB, free: 130.7 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001183/1.226, allocations: 43.69 kB / 0.7853 GB, free: 130.7 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001334/1.227, allocations: 0.8456 MB / 0.7861 GB, free: 130.5 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.91e-07/1.227, allocations: 4.75 kB / 0.7861 GB, free: 130.5 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.002285/1.229, allocations: 0.6829 MB / 0.7868 GB, free: 130.5 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.01802/1.247, allocations: 7.187 MB / 0.7938 GB, free: 129.3 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01315/1.26, allocations: 4.496 MB / 0.7982 GB, free: 128.9 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 7.044e-06/1.26, allocations: 0 / 0.7982 GB, free: 128.9 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.006568/1.267, allocations: 2.06 MB / 0.8002 GB, free: 128.6 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001603/1.269, allocations: 126 kB / 0.8003 GB, free: 128.6 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008052/1.277, allocations: 2.958 MB / 0.8032 GB, free: 127.5 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001645/1.279, allocations: 1.378 MB / 0.8046 GB, free: 126.8 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.002285/1.281, allocations: 261.7 kB / 0.8048 GB, free: 126.7 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00123/1.282, allocations: 0.6924 MB / 0.8055 GB, free: 126.7 MB / 0.5573 GB Notification: Performance of SimCode: time 9.12e-07/1.282, allocations: 0 / 0.8055 GB, free: 126.7 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1195/1.402, allocations: 48 MB / 0.8524 GB, free: 117 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001961/1.402, allocations: 126.5 kB / 0.8525 GB, free: 116.8 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.035/5.437, allocations: 0 / 0.8525 GB, free: 116.8 MB / 0.5573 GB (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)