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.001119/0.001119, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.478/1.478, allocations: 223.2 MB / 239 MB, free: 5.449 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.001085/0.001085, allocations: 172.5 kB / 290.3 MB, free: 2.141 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5162/0.5162, allocations: 79.47 MB / 420.8 MB, free: 3.945 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004157/0.0004161, allocations: 12 kB / 0.4892 GB, free: 5.465 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4499/0.4503, allocations: 69.5 MB / 0.5571 GB, free: 37.62 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.SEXS): time 0.006979/0.4573, allocations: 7.393 MB / 0.5643 GB, free: 36.91 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005446/0.4628, allocations: 2.428 MB / 0.5667 GB, free: 36.21 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001429/0.4643, allocations: 14.5 kB / 0.5667 GB, free: 36.21 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009066/0.4652, allocations: 217.8 kB / 0.5669 GB, free: 36.13 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002691/0.4679, allocations: 0.905 MB / 0.5678 GB, free: 35.77 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001536/0.4695, allocations: 0.5493 MB / 0.5683 GB, free: 35.71 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002336/0.4718, allocations: 1.902 MB / 0.5702 GB, free: 34.82 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005582/0.4724, allocations: 325.1 kB / 0.5705 GB, free: 34.69 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001034/0.4734, allocations: 0.7247 MB / 0.5712 GB, free: 34.39 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001016/0.4745, allocations: 0.9675 MB / 0.5722 GB, free: 33.98 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001804/0.4746, allocations: 87.81 kB / 0.5722 GB, free: 33.98 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006688/0.4753, allocations: 311.7 kB / 0.5725 GB, free: 33.91 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002882/0.4756, allocations: 343.5 kB / 0.5729 GB, free: 33.72 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002603/0.4759, allocations: 283.5 kB / 0.5731 GB, free: 33.54 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001336/0.4772, allocations: 1.632 MB / 0.5747 GB, free: 33.08 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.4772, allocations: 4.719 kB / 0.5747 GB, free: 33.08 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.4773, allocations: 0 / 0.5747 GB, free: 33.08 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.172e-05/0.4773, allocations: 0.5312 kB / 0.5747 GB, free: 33.08 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.01079/0.4881, allocations: 3.308 MB / 0.578 GB, free: 31.86 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.047e-05/0.4882, allocations: 11.03 kB / 0.578 GB, free: 31.86 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004907/0.4887, allocations: 155.2 kB / 0.5781 GB, free: 31.75 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004318/0.493, allocations: 0.753 MB / 0.5789 GB, free: 31.59 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002021/0.495, allocations: 1.043 MB / 0.5799 GB, free: 30.93 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004059/0.4954, allocations: 436.7 kB / 0.5803 GB, free: 30.54 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001877/0.4956, allocations: 108.6 kB / 0.5804 GB, free: 30.5 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002713/0.4984, allocations: 1.463 MB / 0.5818 GB, free: 29.96 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.137e-05/0.4984, allocations: 3.938 kB / 0.5818 GB, free: 29.96 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001099/0.4985, allocations: 37.75 kB / 0.5819 GB, free: 29.93 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.79e-05/0.4985, allocations: 20.59 kB / 0.5819 GB, free: 29.93 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00259/0.5011, allocations: 1.393 MB / 0.5832 GB, free: 29.48 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.008633/0.5098, allocations: 4.915 MB / 0.588 GB, free: 26.67 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008426/0.5182, allocations: 3.403 MB / 0.5914 GB, free: 25.45 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001944/0.5202, allocations: 0.9738 MB / 0.5923 GB, free: 25.08 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001455/0.5204, allocations: 23.42 kB / 0.5923 GB, free: 25.07 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002314/0.5227, allocations: 1.119 MB / 0.5934 GB, free: 24.67 MB / 430.1 MB Notification: Performance of pre-optimization done (n=122): time 6.372e-06/0.5227, allocations: 0 / 0.5934 GB, free: 24.67 MB / 430.1 MB Notification: Performance of matching and sorting (n=122): time 0.04229/0.565, allocations: 11.69 MB / 0.6048 GB, free: 22.81 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.44e-05/0.5652, allocations: 120.6 kB / 0.605 GB, free: 22.68 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003935/0.5691, allocations: 1.384 MB / 0.6063 GB, free: 22.12 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003339/0.5695, allocations: 55.39 kB / 0.6064 GB, free: 22.06 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007215/0.5702, allocations: 0.579 MB / 0.6069 GB, free: 21.61 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000775/0.571, allocations: 448.8 kB / 0.6074 GB, free: 21.25 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000285/0.5713, allocations: 34.47 kB / 0.6074 GB, free: 21.23 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001756/0.5715, allocations: 372.2 kB / 0.6077 GB, free: 20.89 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002658/0.5741, allocations: 1.034 MB / 0.6088 GB, free: 20.53 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00282/0.577, allocations: 1.228 MB / 0.61 GB, free: 20 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002774/0.5798, allocations: 1.119 MB / 0.611 GB, free: 19.53 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.434e-05/0.5798, allocations: 1.469 kB / 0.611 GB, free: 19.53 MB / 430.1 MB Notification: Performance of matching and sorting (n=231) (initialization): time 0.01667/0.5965, allocations: 6.421 MB / 0.6173 GB, free: 14.84 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.373e-05/0.5965, allocations: 12 kB / 0.6173 GB, free: 14.83 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.841e-05/0.5966, allocations: 4.75 kB / 0.6173 GB, free: 14.82 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008582/0.6051, allocations: 3.258 MB / 0.6205 GB, free: 11.56 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001342/0.6065, allocations: 271.6 kB / 0.6208 GB, free: 11.3 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006143/0.6127, allocations: 3.173 MB / 0.6239 GB, free: 8.098 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00256/0.6153, allocations: 294.3 kB / 0.6242 GB, free: 7.809 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000302/0.6156, allocations: 63.98 kB / 0.6242 GB, free: 7.746 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.0009089/0.6165, allocations: 294 kB / 0.6245 GB, free: 7.449 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005611/0.6171, allocations: 162 kB / 0.6246 GB, free: 7.289 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01463/0.6317, allocations: 5.765 MB / 0.6303 GB, free: 1.508 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.682e-05/0.6318, allocations: 15.98 kB / 0.6303 GB, free: 1.492 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.084e-05/0.6318, allocations: 4 kB / 0.6303 GB, free: 1.488 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.237e-05/0.6318, allocations: 4.688 kB / 0.6303 GB, free: 1.484 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.01945/0.6513, allocations: 7.835 MB / 0.638 GB, free: 9.508 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.646e-05/0.6513, allocations: 5.438 kB / 0.638 GB, free: 9.504 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008283/0.6522, allocations: 139.8 kB / 0.6381 GB, free: 9.367 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007359/0.6595, allocations: 2.506 MB / 0.6405 GB, free: 6.848 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001866/0.6598, allocations: 27.98 kB / 0.6406 GB, free: 6.82 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02507/0.6848, allocations: 10.32 MB / 0.6506 GB, free: 12.37 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.283e-06/0.6849, allocations: 4 kB / 0.6506 GB, free: 12.36 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01896/0.7039, allocations: 6.972 MB / 0.6575 GB, free: 5.355 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009184/0.7048, allocations: 278.7 kB / 0.6577 GB, free: 5.062 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006314/0.7055, allocations: 25.3 kB / 0.6577 GB, free: 5.039 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002028/0.7075, allocations: 183.8 kB / 0.6579 GB, free: 4.859 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009929/0.7085, allocations: 257.7 kB / 0.6582 GB, free: 4.609 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000191/0.7087, allocations: 32 kB / 0.6582 GB, free: 4.578 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002038/0.7108, allocations: 0.934 MB / 0.6591 GB, free: 3.645 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.7108, allocations: 0 / 0.6591 GB, free: 3.645 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002365/0.7132, allocations: 0.5229 MB / 0.6596 GB, free: 3.121 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.01886/0.7321, allocations: 7.578 MB / 0.667 GB, free: 11.5 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.009548/0.7417, allocations: 3.167 MB / 0.6701 GB, free: 8.344 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 7.433e-06/0.7417, allocations: 0 / 0.6701 GB, free: 8.344 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006445/0.7482, allocations: 2.148 MB / 0.6722 GB, free: 6.188 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002226/0.7504, allocations: 132.5 kB / 0.6723 GB, free: 6.059 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03067/0.7811, allocations: 13.7 MB / 0.6857 GB, free: 7.855 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001072/0.7823, allocations: 1.207 MB / 0.6869 GB, free: 6.617 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0008166/0.7831, allocations: 137.8 kB / 0.687 GB, free: 6.484 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001013/0.7841, allocations: 0.5852 MB / 0.6876 GB, free: 5.898 MB / 494.1 MB Notification: Performance of SimCode: time 1.012e-06/0.7842, allocations: 0 / 0.6876 GB, free: 5.898 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07069/0.8549, allocations: 38.94 MB / 0.7256 GB, free: 15.28 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001637/0.8551, allocations: 202 kB / 0.7258 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.07/3.925, allocations: 0 / 0.7258 GB, free: 15.04 MB / 0.5294 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: