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/ModelicaServices 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/Complex 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001203/0.001203, allocations: 100.6 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.347/1.347, allocations: 223.2 MB / 238.9 MB, free: 5.5 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001093/0.001093, allocations: 181 kB / 290.2 MB, free: 2.195 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4474/0.4474, allocations: 79.45 MB / 420.7 MB, free: 3.926 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004289/0.0004289, allocations: 8 kB / 0.4891 GB, free: 5.496 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4216/0.4221, allocations: 69.51 MB / 0.557 GB, free: 37.7 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.SEXS): time 0.006123/0.4282, allocations: 7.036 MB / 0.5638 GB, free: 37.18 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004627/0.4329, allocations: 2.485 MB / 0.5663 GB, free: 36.78 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000857/0.4338, allocations: 14.38 kB / 0.5663 GB, free: 36.78 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007146/0.4345, allocations: 217.6 kB / 0.5665 GB, free: 36.69 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002243/0.4367, allocations: 0.9756 MB / 0.5674 GB, free: 36.28 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001225/0.438, allocations: 0.5456 MB / 0.568 GB, free: 36.04 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001743/0.4397, allocations: 1.313 MB / 0.5692 GB, free: 35.33 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004384/0.4402, allocations: 322.1 kB / 0.5696 GB, free: 35.2 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007854/0.441, allocations: 0.7268 MB / 0.5703 GB, free: 34.89 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009572/0.4419, allocations: 0.9459 MB / 0.5712 GB, free: 34.49 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001833/0.4421, allocations: 94.98 kB / 0.5713 GB, free: 34.48 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005811/0.4427, allocations: 290 kB / 0.5716 GB, free: 34.42 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002578/0.443, allocations: 339.7 kB / 0.5719 GB, free: 34.24 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002374/0.4432, allocations: 284.7 kB / 0.5722 GB, free: 34.06 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001297/0.4445, allocations: 1.594 MB / 0.5737 GB, free: 33.62 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.4446, allocations: 0 / 0.5737 GB, free: 33.62 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.4446, allocations: 3.125 kB / 0.5737 GB, free: 33.62 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.287e-05/0.4446, allocations: 0 / 0.5737 GB, free: 33.62 MB / 430.1 MB 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.01099/0.4556, allocations: 3.311 MB / 0.5769 GB, free: 32.39 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.882e-05/0.4556, allocations: 10.5 kB / 0.577 GB, free: 32.39 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003069/0.456, allocations: 147.8 kB / 0.5771 GB, free: 32.29 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004353/0.4603, allocations: 0.7526 MB / 0.5778 GB, free: 32.13 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001832/0.4622, allocations: 1.05 MB / 0.5789 GB, free: 31.47 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000358/0.4625, allocations: 433.4 kB / 0.5793 GB, free: 31.08 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001862/0.4627, allocations: 113 kB / 0.5794 GB, free: 31.04 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002491/0.4652, allocations: 1.457 MB / 0.5808 GB, free: 30.5 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.905e-05/0.4653, allocations: 6.844 kB / 0.5808 GB, free: 30.49 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001119/0.4654, allocations: 34.34 kB / 0.5808 GB, free: 30.46 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.586e-05/0.4654, allocations: 22.78 kB / 0.5809 GB, free: 30.46 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002572/0.468, allocations: 1.394 MB / 0.5822 GB, free: 30.02 MB / 430.1 MB Warning: The model contains alias variables with redundant start and/or conflicting 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.007587/0.4756, allocations: 5.024 MB / 0.5871 GB, free: 27.09 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008615/0.4842, allocations: 3.416 MB / 0.5905 GB, free: 25.86 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002111/0.4845, allocations: 28.88 kB / 0.5905 GB, free: 25.85 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002307/0.4868, allocations: 1.106 MB / 0.5916 GB, free: 25.45 MB / 430.1 MB Notification: Performance of pre-optimization done (n=122): time 2.996e-06/0.4868, allocations: 5.469 kB / 0.5916 GB, free: 25.45 MB / 430.1 MB Notification: Performance of matching and sorting (n=122): time 0.04377/0.5306, allocations: 11.7 MB / 0.603 GB, free: 23.59 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.581e-05/0.5307, allocations: 116.6 kB / 0.6031 GB, free: 23.46 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002484/0.5332, allocations: 1.387 MB / 0.6045 GB, free: 22.9 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003432/0.5335, allocations: 57.2 kB / 0.6045 GB, free: 22.84 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000478/0.534, allocations: 0.5732 MB / 0.6051 GB, free: 22.39 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005552/0.5346, allocations: 444.6 kB / 0.6055 GB, free: 22.04 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001234/0.5347, allocations: 35.62 kB / 0.6055 GB, free: 22.02 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001299/0.5348, allocations: 375.5 kB / 0.6059 GB, free: 21.68 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002357/0.5372, allocations: 1.034 MB / 0.6069 GB, free: 21.32 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002435/0.5396, allocations: 1.226 MB / 0.6081 GB, free: 20.79 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002423/0.5421, allocations: 1.107 MB / 0.6092 GB, free: 20.32 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.287e-06/0.5421, allocations: 5.406 kB / 0.6092 GB, free: 20.32 MB / 430.1 MB Notification: Performance of matching and sorting (n=231) (initialization): time 0.01784/0.5599, allocations: 6.428 MB / 0.6155 GB, free: 16.63 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.671e-05/0.56, allocations: 4 kB / 0.6155 GB, free: 16.63 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.781e-05/0.56, allocations: 7.984 kB / 0.6155 GB, free: 16.62 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009277/0.5693, allocations: 3.25 MB / 0.6187 GB, free: 13.37 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001396/0.5707, allocations: 283.6 kB / 0.6189 GB, free: 13.09 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006324/0.5771, allocations: 3.166 MB / 0.622 GB, free: 9.898 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002471/0.5796, allocations: 302.8 kB / 0.6223 GB, free: 9.602 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001377/0.5797, allocations: 55.98 kB / 0.6224 GB, free: 9.547 MB / 430.1 MB 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (167): * Single equations (assignments): 166 * 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 {33 32} Notification: Performance of prepare postOptimizeDAE: time 0.0006452/0.5804, allocations: 301.5 kB / 0.6226 GB, free: 9.242 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002175/0.5806, allocations: 154 kB / 0.6228 GB, free: 9.09 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01539/0.596, allocations: 5.769 MB / 0.6284 GB, free: 3.305 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.371e-05/0.5961, allocations: 17.06 kB / 0.6284 GB, free: 3.289 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.698e-06/0.5961, allocations: 0 / 0.6284 GB, free: 3.289 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.419e-05/0.5961, allocations: 9.766 kB / 0.6285 GB, free: 3.281 MB / 430.1 MB Warning: The model contains alias variables with redundant start and/or conflicting 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.01929/0.6154, allocations: 7.89 MB / 0.6362 GB, free: 11.24 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.416e-05/0.6155, allocations: 0 / 0.6362 GB, free: 11.24 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008626/0.6163, allocations: 131.8 kB / 0.6363 GB, free: 11.11 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007814/0.6242, allocations: 2.519 MB / 0.6387 GB, free: 8.582 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002106/0.6244, allocations: 25.05 kB / 0.6388 GB, free: 8.559 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02589/0.6503, allocations: 10.9 MB / 0.6494 GB, free: 13.52 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/0.6503, allocations: 3.938 kB / 0.6494 GB, free: 13.52 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01966/0.67, allocations: 7.008 MB / 0.6563 GB, free: 6.465 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007484/0.6708, allocations: 270.8 kB / 0.6565 GB, free: 6.18 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000243/0.671, allocations: 28 kB / 0.6565 GB, free: 6.152 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001627/0.6727, allocations: 185 kB / 0.6567 GB, free: 5.973 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009003/0.6736, allocations: 252.9 kB / 0.657 GB, free: 5.727 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001084/0.6737, allocations: 35.98 kB / 0.657 GB, free: 5.691 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.00156/0.6753, allocations: 0.934 MB / 0.6579 GB, free: 4.758 MB / 462.1 MB Notification: Performance of sort global known variables: time 3.51e-07/0.6753, allocations: 0 / 0.6579 GB, free: 4.758 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001714/0.677, allocations: 0.519 MB / 0.6584 GB, free: 4.238 MB / 462.1 MB 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 () * Number of clocked 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.01966/0.6967, allocations: 7.743 MB / 0.666 GB, free: 12.44 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.009169/0.7059, allocations: 3.159 MB / 0.6691 GB, free: 9.289 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.054e-05/0.7059, allocations: 8.25 kB / 0.6691 GB, free: 9.281 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006402/0.7123, allocations: 2.147 MB / 0.6712 GB, free: 7.129 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001246/0.7136, allocations: 111 kB / 0.6713 GB, free: 7.02 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007354/0.721, allocations: 6.278 MB / 0.6774 GB, free: 0.6992 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000755/0.7218, allocations: 1.242 MB / 0.6786 GB, free: 15.43 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0005389/0.7223, allocations: 137 kB / 0.6787 GB, free: 15.29 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007459/0.7231, allocations: 0.5852 MB / 0.6793 GB, free: 14.71 MB / 494.1 MB Notification: Performance of SimCode: time 8.61e-07/0.7231, allocations: 0 / 0.6793 GB, free: 14.71 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0606/0.7837, allocations: 37.47 MB / 0.7159 GB, free: 9.566 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001943/0.7839, allocations: 193.3 kB / 0.7161 GB, free: 9.324 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.849/3.633, allocations: 0 / 0.7161 GB, free: 9.324 MB / 0.5137 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) Environment - environmentSimulation: