Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.SEXS.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.ES.SEXS,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_SEXS",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.SEXS,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_SEXS",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.001017/0.001017, allocations: 180.9 kB / 7.651 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.289/1.289, allocations: 221.5 MB / 229.6 MB, free: 7.586 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.0009964/0.0009964, allocations: 98.81 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.4573/0.4573, allocations: 78.94 MB / 410.2 MB, free: 5.996 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.911e-05/1.921e-05, allocations: 0 / 486 MB, free: 11.42 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1335/0.1335, allocations: 69.52 MB / 0.5425 GB, free: 5.797 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.389/0.5225, allocations: 109.8 MB / 0.6497 GB, free: 4.254 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002529/0.5228, allocations: 84.8 kB / 0.6498 GB, free: 4.172 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.111/0.6339, allocations: 39.34 MB / 0.6882 GB, free: 12.85 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.392e-06/0.6339, allocations: 7.938 kB / 0.6882 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001335/0.6341, allocations: 28 kB / 0.6883 GB, free: 12.81 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: 234 * Number of variables: 234 Notification: Performance of Generate backend data structure: time 0.006273/0.6404, allocations: 2.013 MB / 0.6902 GB, free: 10.75 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.742e-05/0.6404, allocations: 8.031 kB / 0.6902 GB, free: 10.74 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004093/0.6445, allocations: 0.6691 MB / 0.6909 GB, free: 10.07 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002518/0.6471, allocations: 0.9922 MB / 0.6919 GB, free: 9.027 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005037/0.6476, allocations: 396.7 kB / 0.6922 GB, free: 8.57 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003512/0.6479, allocations: 56 kB / 0.6923 GB, free: 8.516 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002407/0.6504, allocations: 1.051 MB / 0.6933 GB, free: 7.465 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002417/0.6528, allocations: 1.049 MB / 0.6943 GB, free: 6.398 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.388e-05/0.6528, allocations: 0 / 0.6943 GB, free: 6.398 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001293/0.653, allocations: 0 / 0.6943 GB, free: 6.398 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.404e-05/0.653, allocations: 24 kB / 0.6944 GB, free: 6.375 MB / 0.4948 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.0104/0.6634, allocations: 4.677 MB / 0.6989 GB, free: 1.5 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007966/0.6714, allocations: 3.055 MB / 0.7019 GB, free: 14.3 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001246/0.6727, allocations: 0.6782 MB / 0.7026 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001763/0.6729, allocations: 25.28 kB / 0.7026 GB, free: 13.59 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001539/0.6744, allocations: 0.8227 MB / 0.7034 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=122): time 3.356e-06/0.6744, allocations: 0 / 0.7034 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of matching and sorting (n=122): time 0.01552/0.69, allocations: 4.879 MB / 0.7082 GB, free: 7.852 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.2e-05/0.6901, allocations: 116.1 kB / 0.7083 GB, free: 7.715 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002183/0.6923, allocations: 1.076 MB / 0.7093 GB, free: 6.629 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0003/0.6926, allocations: 25.7 kB / 0.7094 GB, free: 6.598 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005582/0.6932, allocations: 0.6159 MB / 0.71 GB, free: 5.977 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006911/0.6939, allocations: 418.3 kB / 0.7104 GB, free: 5.562 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001842/0.6941, allocations: 4.062 kB / 0.7104 GB, free: 5.559 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001938/0.6943, allocations: 357.9 kB / 0.7107 GB, free: 5.203 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001145/0.6954, allocations: 0.5416 MB / 0.7112 GB, free: 4.66 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001192/0.6966, allocations: 0.7075 MB / 0.7119 GB, free: 3.91 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001333/0.698, allocations: 0.6076 MB / 0.7125 GB, free: 3.301 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.247e-06/0.698, allocations: 4.844 kB / 0.7125 GB, free: 3.297 MB / 0.5105 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.004241/0.7022, allocations: 1.966 MB / 0.7144 GB, free: 1.32 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.391e-05/0.7023, allocations: 8 kB / 0.7144 GB, free: 1.312 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.29e-05/0.7023, allocations: 4 kB / 0.7145 GB, free: 1.309 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008069/0.7104, allocations: 2.416 MB / 0.7168 GB, free: 14.89 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007876/0.7112, allocations: 166.8 kB / 0.717 GB, free: 14.73 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005312/0.7165, allocations: 2.625 MB / 0.7195 GB, free: 12.08 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002113/0.7187, allocations: 215 kB / 0.7197 GB, free: 11.87 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002057/0.7189, allocations: 47.98 kB / 0.7198 GB, free: 11.82 MB / 0.5261 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: sEXS.V_erro.y:VARIABLE() "Connector of Real output signal" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 90 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {34 31} Notification: Performance of prepare postOptimizeDAE: time 0.0004195/0.7193, allocations: 129.3 kB / 0.7199 GB, free: 11.69 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01519/0.7345, allocations: 4.871 MB / 0.7247 GB, free: 6.797 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008364/0.7354, allocations: 154.1 kB / 0.7248 GB, free: 6.645 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01577/0.7512, allocations: 5.01 MB / 0.7297 GB, free: 1.613 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.022e-05/0.7513, allocations: 19.95 kB / 0.7297 GB, free: 1.594 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.273e-05/0.7513, allocations: 0 / 0.7297 GB, free: 1.594 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.568e-05/0.7514, allocations: 8.719 kB / 0.7297 GB, free: 1.586 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.01939/0.7708, allocations: 6.873 MB / 0.7364 GB, free: 10.59 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.077e-05/0.7708, allocations: 4 kB / 0.7364 GB, free: 10.59 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009838/0.7718, allocations: 139.8 kB / 0.7366 GB, free: 10.45 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006364/0.7782, allocations: 1.982 MB / 0.7385 GB, free: 8.465 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003113/0.7786, allocations: 4 kB / 0.7385 GB, free: 8.461 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01816/0.7967, allocations: 7.719 MB / 0.7461 GB, free: 0.6211 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-06/0.7968, allocations: 0 / 0.7461 GB, free: 0.6211 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01722/0.814, allocations: 5.898 MB / 0.7518 GB, free: 10.67 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009396/0.815, allocations: 278.8 kB / 0.7521 GB, free: 10.38 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006794/0.8157, allocations: 0 / 0.7521 GB, free: 10.38 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002127/0.8179, allocations: 167.8 kB / 0.7522 GB, free: 10.21 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008959/0.8188, allocations: 249.3 kB / 0.7525 GB, free: 9.969 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001947/0.819, allocations: 35.98 kB / 0.7525 GB, free: 9.934 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001689/0.8207, allocations: 0.8235 MB / 0.7533 GB, free: 9.109 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.71e-07/0.8207, allocations: 0 / 0.7533 GB, free: 9.109 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.002213/0.823, allocations: 452.8 kB / 0.7538 GB, free: 8.668 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 11 (gENCLS.omega,gENCLS.delta,gENCLS.eq,gENROU.w,gENROU.delta,gENROU.Epd,gENROU.Epq,gENROU.PSIkd,gENROU.PSIkq,sEXS.simpleLagLim.state,sEXS.leadLag.TF.x_scaled[1]) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (79): * Single equations (assignments): 78 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {26 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.0176/0.8406, allocations: 6.647 MB / 0.7602 GB, free: 1.977 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.291/1.132, allocations: 2.245 MB / 0.7624 GB, free: 141.8 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 8.987e-06/1.132, allocations: 0 / 0.7624 GB, free: 141.8 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.00545/1.137, allocations: 1.803 MB / 0.7642 GB, free: 141.6 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001079/1.138, allocations: 99.77 kB / 0.7643 GB, free: 141.6 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004502/1.143, allocations: 2.49 MB / 0.7667 GB, free: 141 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005361/1.143, allocations: 1.241 MB / 0.7679 GB, free: 140.2 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0004705/1.144, allocations: 117.2 kB / 0.768 GB, free: 140.2 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006189/1.144, allocations: 0.5696 MB / 0.7686 GB, free: 140.2 MB / 0.5573 GB Notification: Performance of SimCode: time 6.61e-07/1.144, allocations: 0 / 0.7686 GB, free: 140.2 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07476/1.219, allocations: 34.76 MB / 0.8026 GB, free: 138.8 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001437/1.219, allocations: 119.4 kB / 0.8027 GB, free: 138.7 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.957/4.176, allocations: 4.469 kB / 0.8027 GB, free: 138.7 MB / 0.5573 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.SEXS.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.SEXS.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.SEXS.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.SEXS.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_SEXS_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_SEXS.fmu > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.SEXS.pipe 2>&1)