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.001585/0.001585, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.395/1.395, allocations: 222.9 MB / 239 MB, free: 4.637 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.001733/0.001732, allocations: 200.4 kB / 289.3 MB, free: 2.379 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5193/0.5193, allocations: 91.89 MB / 431.3 MB, free: 9.414 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001457/0.001457, allocations: 75.88 kB / 0.5015 GB, free: 7.969 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3805/0.382, allocations: 71.26 MB / 0.5711 GB, free: 36.57 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.SEXS): time 0.007485/0.3895, allocations: 8.403 MB / 0.5793 GB, free: 31.59 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005344/0.3949, allocations: 2.555 MB / 0.5818 GB, free: 29.8 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001573/0.3965, allocations: 13.41 kB / 0.5818 GB, free: 29.8 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009976/0.3975, allocations: 248.1 kB / 0.582 GB, free: 29.69 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00265/0.4003, allocations: 0.976 MB / 0.583 GB, free: 29.07 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001326/0.4016, allocations: 0.6301 MB / 0.5836 GB, free: 28.74 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002161/0.4038, allocations: 2.119 MB / 0.5857 GB, free: 27.7 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005073/0.4043, allocations: 390.9 kB / 0.5861 GB, free: 27.52 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008835/0.4052, allocations: 0.8693 MB / 0.5869 GB, free: 27.08 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001081/0.4063, allocations: 1.09 MB / 0.588 GB, free: 26.57 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003148/0.4066, allocations: 175.2 kB / 0.5881 GB, free: 26.57 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008654/0.4075, allocations: 409.6 kB / 0.5885 GB, free: 26.49 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003738/0.4079, allocations: 453.2 kB / 0.589 GB, free: 26.2 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007566/0.4086, allocations: 0.8846 MB / 0.5898 GB, free: 25.61 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002177/0.4108, allocations: 2.189 MB / 0.592 GB, free: 24.65 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.4108, allocations: 0 / 0.592 GB, free: 24.65 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.4108, allocations: 1.25 kB / 0.592 GB, free: 24.65 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.895e-05/0.4109, allocations: 0 / 0.592 GB, free: 24.65 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.01242/0.4233, allocations: 3.509 MB / 0.5954 GB, free: 23.19 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.997e-05/0.4234, allocations: 9.062 kB / 0.5954 GB, free: 23.19 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002111/0.4236, allocations: 147.7 kB / 0.5955 GB, free: 23.09 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004663/0.4283, allocations: 0.7457 MB / 0.5963 GB, free: 22.92 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002022/0.4303, allocations: 1.101 MB / 0.5973 GB, free: 22.21 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003871/0.4307, allocations: 426.7 kB / 0.5977 GB, free: 21.82 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002113/0.4309, allocations: 108.5 kB / 0.5979 GB, free: 21.78 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002963/0.4339, allocations: 1.383 MB / 0.5992 GB, free: 21.25 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.49e-05/0.4339, allocations: 3.938 kB / 0.5992 GB, free: 21.25 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001184/0.4341, allocations: 41.92 kB / 0.5992 GB, free: 21.21 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.417e-05/0.4341, allocations: 21.91 kB / 0.5993 GB, free: 21.21 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002896/0.437, allocations: 1.309 MB / 0.6005 GB, free: 20.78 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.009231/0.4462, allocations: 4.826 MB / 0.6053 GB, free: 17.97 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008377/0.4546, allocations: 2.85 MB / 0.608 GB, free: 16.8 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0021/0.4568, allocations: 0.9023 MB / 0.6089 GB, free: 16.44 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001497/0.4569, allocations: 19.28 kB / 0.6089 GB, free: 16.43 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002203/0.4591, allocations: 1.049 MB / 0.61 GB, free: 16.03 MB / 430.1 MB Notification: Performance of pre-optimization done (n=122): time 3.437e-06/0.4592, allocations: 5.156 kB / 0.61 GB, free: 16.03 MB / 430.1 MB Notification: Performance of matching and sorting (n=122): time 0.03992/0.4991, allocations: 9.67 MB / 0.6194 GB, free: 12.6 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.998e-05/0.4992, allocations: 119.3 kB / 0.6195 GB, free: 12.47 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002055/0.5012, allocations: 1.395 MB / 0.6209 GB, free: 11.23 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003667/0.5016, allocations: 53.7 kB / 0.6209 GB, free: 11.17 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003101/0.5019, allocations: 0.5727 MB / 0.6215 GB, free: 10.59 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003974/0.5023, allocations: 453.7 kB / 0.6219 GB, free: 10.14 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005441/0.5029, allocations: 327.4 kB / 0.6222 GB, free: 9.82 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.101e-05/0.5029, allocations: 301.1 kB / 0.6225 GB, free: 9.523 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001864/0.5048, allocations: 0.9604 MB / 0.6235 GB, free: 8.562 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001958/0.5068, allocations: 1.155 MB / 0.6246 GB, free: 7.363 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003687/0.5105, allocations: 2.054 MB / 0.6266 GB, free: 5.266 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.787e-06/0.5105, allocations: 0 / 0.6266 GB, free: 5.266 MB / 430.1 MB Notification: Performance of matching and sorting (n=231) (initialization): time 0.01626/0.5268, allocations: 5.395 MB / 0.6319 GB, free: 15.85 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.384e-05/0.5268, allocations: 15.94 kB / 0.6319 GB, free: 15.84 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.903e-05/0.5269, allocations: 4 kB / 0.6319 GB, free: 15.83 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01007/0.5369, allocations: 2.88 MB / 0.6347 GB, free: 12.95 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001516/0.5385, allocations: 283.6 kB / 0.635 GB, free: 12.67 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007292/0.5458, allocations: 2.857 MB / 0.6378 GB, free: 9.785 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002876/0.5487, allocations: 246.3 kB / 0.638 GB, free: 9.543 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003324/0.5491, allocations: 67.97 kB / 0.6381 GB, free: 9.477 MB / 446.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 ($whenCondition2,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(33,32)} Notification: Performance of prepare postOptimizeDAE: time 0.0008688/0.55, allocations: 285.5 kB / 0.6383 GB, free: 9.188 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005754/0.5505, allocations: 158 kB / 0.6385 GB, free: 9.031 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01599/0.5665, allocations: 4.733 MB / 0.6431 GB, free: 4.27 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.218e-05/0.5666, allocations: 12 kB / 0.6431 GB, free: 4.258 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.321e-05/0.5666, allocations: 4 kB / 0.6431 GB, free: 4.254 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.546e-05/0.5667, allocations: 7.969 kB / 0.6431 GB, free: 4.246 MB / 446.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.02072/0.5874, allocations: 6.803 MB / 0.6498 GB, free: 13.31 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.273e-05/0.5875, allocations: 0 / 0.6498 GB, free: 13.31 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001117/0.5886, allocations: 135.8 kB / 0.6499 GB, free: 13.18 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007675/0.5963, allocations: 2.146 MB / 0.652 GB, free: 11.02 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003461/0.5967, allocations: 27.98 kB / 0.652 GB, free: 11 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0265/0.6232, allocations: 10.08 MB / 0.6619 GB, free: 0.7656 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/0.6233, allocations: 0 / 0.6619 GB, free: 0.7656 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01939/0.6427, allocations: 5.878 MB / 0.6676 GB, free: 10.85 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009029/0.6436, allocations: 266.8 kB / 0.6679 GB, free: 10.57 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007276/0.6444, allocations: 20 kB / 0.6679 GB, free: 10.55 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002237/0.6466, allocations: 135.8 kB / 0.668 GB, free: 10.41 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00106/0.6477, allocations: 257.1 kB / 0.6683 GB, free: 10.16 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002215/0.6479, allocations: 35.98 kB / 0.6683 GB, free: 10.13 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001984/0.6499, allocations: 0.9418 MB / 0.6692 GB, free: 9.188 MB / 478.1 MB Notification: Performance of sort global known variables: time 3.7e-07/0.6499, allocations: 0 / 0.6692 GB, free: 9.188 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.00237/0.6523, allocations: 0.519 MB / 0.6697 GB, free: 8.668 MB / 478.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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(26,23)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01944/0.6718, allocations: 6.465 MB / 0.676 GB, free: 2.164 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.009987/0.6818, allocations: 2.885 MB / 0.6789 GB, free: 15.28 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.443e-06/0.6819, allocations: 0 / 0.6789 GB, free: 15.28 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006494/0.6884, allocations: 1.909 MB / 0.6807 GB, free: 13.36 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001965/0.6904, allocations: 137.3 kB / 0.6809 GB, free: 13.22 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04996/0.7403, allocations: 20.27 MB / 0.7006 GB, free: 8.156 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001005/0.7414, allocations: 1.215 MB / 0.7018 GB, free: 6.91 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0008075/0.7422, allocations: 141.7 kB / 0.702 GB, free: 6.77 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009643/0.7432, allocations: 0.593 MB / 0.7025 GB, free: 6.176 MB / 0.4981 GB Notification: Performance of SimCode: time 8.11e-07/0.7432, allocations: 0 / 0.7025 GB, free: 6.176 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07363/0.8168, allocations: 41.23 MB / 0.7428 GB, free: 13.11 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000307/0.8172, allocations: 213.9 kB / 0.743 GB, free: 12.86 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.06/3.877, allocations: 0 / 0.743 GB, free: 12.86 MB / 0.545 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/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)