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: translateModel(OpenIPSL.Tests.Controls.PSSE.TG.HYGOV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.HYGOV") translateModel(OpenIPSL.Tests.Controls.PSSE.TG.HYGOV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.HYGOV") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009948/0.0009948, allocations: 169.9 kB / 7.64 MB, free: 1.414 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.268/1.268, allocations: 221.5 MB / 229.6 MB, free: 7.559 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.0009425/0.0009425, allocations: 93.8 kB / 280.5 MB, free: 5.301 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4921/0.4921, allocations: 78.06 MB / 409.3 MB, free: 6.312 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.397e-05/1.4e-05, allocations: 0 / 484.9 MB, free: 12.24 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1569/0.1569, allocations: 69.36 MB / 0.5413 GB, free: 6.809 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4453/0.6023, allocations: 113.3 MB / 0.652 GB, free: 2.176 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000318/0.6027, allocations: 84.66 kB / 0.652 GB, free: 2.094 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1325/0.7352, allocations: 47.45 MB / 0.6984 GB, free: 2.641 MB / 0.4948 GB Notification: Performance of FrontEnd: time 9.41e-07/0.7353, allocations: 0 / 0.6984 GB, free: 2.641 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001863/0.7355, allocations: 36.84 kB / 0.6984 GB, free: 2.605 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.007424/0.7429, allocations: 2.314 MB / 0.7007 GB, free: 240 kB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.581e-05/0.743, allocations: 8.031 kB / 0.7007 GB, free: 232 kB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003862/0.7468, allocations: 0.5867 MB / 0.7013 GB, free: 15.64 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003389/0.7502, allocations: 1.087 MB / 0.7023 GB, free: 14.5 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000672/0.751, allocations: 464.5 kB / 0.7028 GB, free: 13.96 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005909/0.7516, allocations: 79.94 kB / 0.7028 GB, free: 13.89 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003075/0.7547, allocations: 1.196 MB / 0.704 GB, free: 12.69 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003149/0.7578, allocations: 1.279 MB / 0.7053 GB, free: 11.35 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.659e-05/0.7579, allocations: 0 / 0.7053 GB, free: 11.35 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001756/0.7581, allocations: 7.984 kB / 0.7053 GB, free: 11.34 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.033e-05/0.7581, allocations: 28 kB / 0.7053 GB, free: 11.32 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.01257/0.7707, allocations: 5.689 MB / 0.7108 GB, free: 5.395 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008234/0.779, allocations: 3.215 MB / 0.714 GB, free: 2.035 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001685/0.7807, allocations: 0.7458 MB / 0.7147 GB, free: 1.281 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002628/0.781, allocations: 25.3 kB / 0.7147 GB, free: 1.254 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002084/0.7831, allocations: 0.9112 MB / 0.7156 GB, free: 324 kB / 0.5105 GB Notification: Performance of pre-optimization done (n=142): time 5.951e-06/0.7831, allocations: 0 / 0.7156 GB, free: 324 kB / 0.5105 GB Notification: Performance of matching and sorting (n=146): time 0.023/0.8061, allocations: 7.717 MB / 0.7232 GB, free: 8.523 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000112/0.8063, allocations: 197.2 kB / 0.7234 GB, free: 8.285 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002517/0.8088, allocations: 1.133 MB / 0.7245 GB, free: 7.148 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.000408/0.8092, allocations: 25.7 kB / 0.7245 GB, free: 7.117 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006718/0.8099, allocations: 0.7339 MB / 0.7252 GB, free: 6.375 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008425/0.8108, allocations: 0.4986 MB / 0.7257 GB, free: 5.871 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002004/0.811, allocations: 4 kB / 0.7257 GB, free: 5.867 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001965/0.8112, allocations: 365.9 kB / 0.726 GB, free: 5.504 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001233/0.8124, allocations: 0.6289 MB / 0.7267 GB, free: 4.875 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001482/0.8139, allocations: 0.846 MB / 0.7275 GB, free: 3.965 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001732/0.8157, allocations: 0.7087 MB / 0.7282 GB, free: 3.262 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.576e-06/0.8157, allocations: 0 / 0.7282 GB, free: 3.262 MB / 0.5261 GB Notification: Performance of matching and sorting (n=200) (initialization): time 0.00912/0.8248, allocations: 3.313 MB / 0.7314 GB, free: 15.93 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008555/0.8257, allocations: 1.844 MB / 0.7332 GB, free: 13.93 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.867e-05/0.8257, allocations: 4 kB / 0.7332 GB, free: 13.92 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007735/0.8335, allocations: 2.38 MB / 0.7355 GB, free: 11.54 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001033/0.8346, allocations: 199.7 kB / 0.7357 GB, free: 11.34 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005728/0.8403, allocations: 3.272 MB / 0.7389 GB, free: 8.02 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002336/0.8427, allocations: 187.9 kB / 0.7391 GB, free: 7.836 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002622/0.8429, allocations: 55.98 kB / 0.7392 GB, free: 7.781 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/0.843, allocations: 5.562 kB / 0.7392 GB, free: 7.777 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007764/0.8507, allocations: 3.08 MB / 0.7422 GB, free: 4.688 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.793e-05/0.8508, allocations: 4 kB / 0.7422 GB, free: 4.684 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007495/0.8583, allocations: 2.372 MB / 0.7445 GB, free: 2.305 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009358/0.8592, allocations: 199.7 kB / 0.7447 GB, free: 2.109 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006667/0.8659, allocations: 4.273 MB / 0.7488 GB, free: 13.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002332/0.8683, allocations: 184.5 kB / 0.749 GB, free: 13.52 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002346/0.8685, allocations: 55.98 kB / 0.7491 GB, free: 13.46 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.0005028/0.869, allocations: 133.1 kB / 0.7492 GB, free: 13.33 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005243/0.8696, allocations: 185.7 kB / 0.7494 GB, free: 13.14 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01527/0.8849, allocations: 5.221 MB / 0.7545 GB, free: 7.895 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.576e-05/0.8849, allocations: 16.75 kB / 0.7545 GB, free: 7.879 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.191e-06/0.8849, allocations: 8 kB / 0.7545 GB, free: 7.871 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.713e-05/0.885, allocations: 7.969 kB / 0.7545 GB, free: 7.863 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.02047/0.9055, allocations: 7.44 MB / 0.7618 GB, free: 300 kB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.344e-05/0.9055, allocations: 4 kB / 0.7618 GB, free: 296 kB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001297/0.9069, allocations: 167.9 kB / 0.7619 GB, free: 128 kB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3335/1.24, allocations: 2.058 MB / 0.764 GB, free: 133.5 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003424/1.241, allocations: 13.88 kB / 0.764 GB, free: 133.5 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01677/1.258, allocations: 9.419 MB / 0.7732 GB, free: 131.1 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.42e-06/1.258, allocations: 0 / 0.7732 GB, free: 131.1 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01643/1.274, allocations: 6.366 MB / 0.7794 GB, free: 130.8 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007866/1.275, allocations: 264.9 kB / 0.7796 GB, free: 130.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003323/1.275, allocations: 11.2 kB / 0.7796 GB, free: 130.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001674/1.277, allocations: 180.6 kB / 0.7798 GB, free: 130.6 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000913/1.278, allocations: 310.6 kB / 0.7801 GB, free: 130.6 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001059/1.278, allocations: 43.06 kB / 0.7802 GB, free: 130.6 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001118/1.279, allocations: 0.8458 MB / 0.781 GB, free: 130.5 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.6e-07/1.279, allocations: 0 / 0.781 GB, free: 130.5 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.002367/1.281, allocations: 0.6796 MB / 0.7816 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.0004617/1.282, allocations: 169.5 kB / 0.7818 GB, free: 130.4 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01298/1.295, allocations: 4.495 MB / 0.7862 GB, free: 130.1 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.019e-05/1.295, allocations: 0 / 0.7862 GB, free: 130.1 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.00586/1.301, allocations: 2.061 MB / 0.7882 GB, free: 129.7 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001365/1.302, allocations: 118.7 kB / 0.7883 GB, free: 129.7 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00552/1.308, allocations: 2.712 MB / 0.791 GB, free: 128.9 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008639/1.309, allocations: 1.376 MB / 0.7923 GB, free: 128.1 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001272/1.31, allocations: 259.2 kB / 0.7926 GB, free: 128.1 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002518/1.31, allocations: 73.47 kB / 0.7926 GB, free: 128.1 MB / 0.5573 GB Notification: Performance of SimCode: time 1.212e-06/1.31, allocations: 0 / 0.7926 GB, free: 128.1 MB / 0.5573 GB Notification: Performance of Templates: time 0.05668/1.367, allocations: 33.75 MB / 0.8256 GB, free: 126.6 MB / 0.5573 GB make -j1 -f OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.HYGOV.makefile (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 & ./OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.HYGOV -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.HYGOV.pipe 2>&1)