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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001519/0.001519, allocations: 173.9 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.345/1.345, allocations: 221.5 MB / 229.6 MB, free: 7.562 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.0009599/0.0009602, allocations: 97.12 kB / 280.5 MB, free: 5.309 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4834/0.4834, allocations: 78.95 MB / 410.2 MB, free: 5.992 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.615e-05/1.613e-05, allocations: 0 / 486 MB, free: 11.43 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1638/0.1638, allocations: 69.52 MB / 0.5425 GB, free: 5.805 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4723/0.6362, allocations: 114 MB / 0.6539 GB, free: 15.9 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003357/0.6366, allocations: 94.12 kB / 0.654 GB, free: 15.81 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1247/0.7614, allocations: 45.06 MB / 0.698 GB, free: 2.762 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.793e-06/0.7614, allocations: 0 / 0.698 GB, free: 2.762 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.000117/0.7616, allocations: 39.88 kB / 0.698 GB, free: 2.723 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.006348/0.7679, allocations: 2.317 MB / 0.7003 GB, free: 356 kB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.046e-05/0.768, allocations: 8.031 kB / 0.7003 GB, free: 348 kB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00469/0.7727, allocations: 0.7936 MB / 0.7011 GB, free: 15.54 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002787/0.7755, allocations: 1.16 MB / 0.7022 GB, free: 14.34 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005524/0.7761, allocations: 464.5 kB / 0.7026 GB, free: 13.8 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003987/0.7765, allocations: 72 kB / 0.7027 GB, free: 13.73 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002848/0.7793, allocations: 1.197 MB / 0.7039 GB, free: 12.53 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002663/0.782, allocations: 1.282 MB / 0.7051 GB, free: 11.19 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.737e-05/0.7821, allocations: 0 / 0.7051 GB, free: 11.19 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001263/0.7822, allocations: 0 / 0.7051 GB, free: 11.19 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.734e-05/0.7822, allocations: 32 kB / 0.7052 GB, free: 11.16 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.0112/0.7934, allocations: 5.803 MB / 0.7108 GB, free: 5.125 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008001/0.8015, allocations: 3.215 MB / 0.714 GB, free: 1.762 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001701/0.8032, allocations: 0.7415 MB / 0.7147 GB, free: 1.012 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001569/0.8034, allocations: 21.3 kB / 0.7147 GB, free: 0.9883 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001497/0.8049, allocations: 0.9113 MB / 0.7156 GB, free: 52 kB / 0.5105 GB Notification: Performance of pre-optimization done (n=142): time 3.366e-06/0.8049, allocations: 0 / 0.7156 GB, free: 52 kB / 0.5105 GB Notification: Performance of matching and sorting (n=146): time 0.02085/0.8258, allocations: 7.736 MB / 0.7232 GB, free: 8.242 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000101/0.826, allocations: 193.2 kB / 0.7233 GB, free: 8.008 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002085/0.8281, allocations: 1.196 MB / 0.7245 GB, free: 6.809 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0004138/0.8285, allocations: 29.7 kB / 0.7245 GB, free: 6.773 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005487/0.829, allocations: 0.7384 MB / 0.7253 GB, free: 6.027 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005912/0.8296, allocations: 0.4927 MB / 0.7257 GB, free: 5.527 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001033/0.8297, allocations: 0 / 0.7257 GB, free: 5.527 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001629/0.8299, allocations: 374.3 kB / 0.7261 GB, free: 5.156 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001105/0.831, allocations: 0.6328 MB / 0.7267 GB, free: 4.523 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001227/0.8323, allocations: 0.8459 MB / 0.7275 GB, free: 3.613 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001326/0.8336, allocations: 0.7134 MB / 0.7282 GB, free: 2.906 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.12e-06/0.8336, allocations: 3.938 kB / 0.7282 GB, free: 2.902 MB / 0.5261 GB Notification: Performance of matching and sorting (n=200) (initialization): time 0.0083/0.8419, allocations: 3.31 MB / 0.7315 GB, free: 15.58 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007419/0.8427, allocations: 1.844 MB / 0.7333 GB, free: 13.57 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.566e-05/0.8427, allocations: 4 kB / 0.7333 GB, free: 13.57 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007906/0.8507, allocations: 2.383 MB / 0.7356 GB, free: 11.18 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001015/0.8517, allocations: 199.7 kB / 0.7358 GB, free: 10.98 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005668/0.8574, allocations: 3.272 MB / 0.739 GB, free: 7.656 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002431/0.8599, allocations: 188.5 kB / 0.7392 GB, free: 7.473 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001964/0.8601, allocations: 55.98 kB / 0.7392 GB, free: 7.418 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/0.8601, allocations: 4 kB / 0.7392 GB, free: 7.414 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007836/0.8679, allocations: 3.076 MB / 0.7422 GB, free: 4.332 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.301e-05/0.868, allocations: 4.547 kB / 0.7422 GB, free: 4.328 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007785/0.8758, allocations: 2.371 MB / 0.7445 GB, free: 1.949 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001015/0.8769, allocations: 199.7 kB / 0.7447 GB, free: 1.754 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006736/0.8836, allocations: 4.286 MB / 0.7489 GB, free: 13.33 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002468/0.8861, allocations: 179.9 kB / 0.7491 GB, free: 13.16 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002027/0.8863, allocations: 55.98 kB / 0.7491 GB, free: 13.1 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.0004569/0.8868, allocations: 138.4 kB / 0.7493 GB, free: 12.96 MB / 0.5573 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01555/0.9024, allocations: 5.107 MB / 0.7543 GB, free: 7.832 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000908/0.9033, allocations: 181.8 kB / 0.7544 GB, free: 7.652 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01578/0.9191, allocations: 5.233 MB / 0.7596 GB, free: 2.391 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.856e-05/0.9192, allocations: 20 kB / 0.7596 GB, free: 2.371 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.9192, allocations: 4 kB / 0.7596 GB, free: 2.367 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.734e-05/0.9193, allocations: 7.938 kB / 0.7596 GB, free: 2.359 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.3797/1.299, allocations: 7.493 MB / 0.7669 GB, free: 132.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.616e-05/1.299, allocations: 3.938 kB / 0.7669 GB, free: 132.4 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001049/1.3, allocations: 172.7 kB / 0.7671 GB, free: 132.4 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006133/1.306, allocations: 2.056 MB / 0.7691 GB, free: 132.4 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002959/1.307, allocations: 15.45 kB / 0.7691 GB, free: 132.4 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01702/1.324, allocations: 9.403 MB / 0.7783 GB, free: 129.9 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.3e-06/1.324, allocations: 1 kB / 0.7783 GB, free: 129.9 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01735/1.341, allocations: 6.376 MB / 0.7845 GB, free: 129.6 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007399/1.342, allocations: 276.6 kB / 0.7848 GB, free: 129.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003764/1.342, allocations: 18.45 kB / 0.7848 GB, free: 129.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001818/1.344, allocations: 178.1 kB / 0.785 GB, free: 129.4 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009547/1.345, allocations: 303.5 kB / 0.7852 GB, free: 129.4 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001222/1.345, allocations: 40.64 kB / 0.7853 GB, free: 129.4 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001473/1.347, allocations: 0.909 MB / 0.7862 GB, free: 129.3 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.5e-07/1.347, allocations: 0 / 0.7862 GB, free: 129.3 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.002548/1.349, allocations: 0.6884 MB / 0.7868 GB, free: 129.3 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.0174/1.367, allocations: 7.181 MB / 0.7939 GB, free: 128.1 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0124/1.379, allocations: 4.502 MB / 0.7982 GB, free: 127.7 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 7.625e-06/1.379, allocations: 1.094 kB / 0.7983 GB, free: 127.7 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.006245/1.385, allocations: 2.064 MB / 0.8003 GB, free: 127.4 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001427/1.387, allocations: 121.2 kB / 0.8004 GB, free: 127.4 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006499/1.393, allocations: 2.98 MB / 0.8033 GB, free: 126.3 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001035/1.394, allocations: 1.375 MB / 0.8046 GB, free: 125.6 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001245/1.396, allocations: 256 kB / 0.8049 GB, free: 125.5 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007321/1.396, allocations: 0.6865 MB / 0.8055 GB, free: 125.5 MB / 0.5573 GB Notification: Performance of SimCode: time 8.62e-07/1.396, allocations: 3.719 kB / 0.8056 GB, free: 125.5 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07832/1.475, allocations: 48.49 MB / 0.8529 GB, free: 115.5 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001404/1.475, allocations: 119.9 kB / 0.853 GB, free: 115.3 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.751/5.226, allocations: 7.375 kB / 0.853 GB, free: 115.3 MB / 0.5573 GB (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)