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.006824/0.006824, allocations: 94.8 kB / 15.73 MB, free: 6.047 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.327/1.327, allocations: 222.9 MB / 239.4 MB, free: 4.547 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.001235/0.001235, allocations: 184.5 kB / 289.7 MB, free: 2.266 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5173/0.5173, allocations: 91.89 MB / 431.8 MB, free: 9.168 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001471/0.001471, allocations: 78.23 kB / 0.5723 GB, free: 33.71 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1289/0.1304, allocations: 71.29 MB / 0.6419 GB, free: 4.086 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.SEXS): time 0.008084/0.1385, allocations: 8.058 MB / 0.6498 GB, free: 11.99 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004635/0.1432, allocations: 2.513 MB / 0.6522 GB, free: 9.469 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006146/0.1438, allocations: 12 kB / 0.6522 GB, free: 9.457 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007491/0.1446, allocations: 313.4 kB / 0.6525 GB, free: 9.148 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002378/0.147, allocations: 1.173 MB / 0.6537 GB, free: 7.969 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001382/0.1484, allocations: 0.657 MB / 0.6543 GB, free: 7.32 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002167/0.1506, allocations: 2.143 MB / 0.6564 GB, free: 5.172 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005684/0.1512, allocations: 394 kB / 0.6568 GB, free: 4.766 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001011/0.1522, allocations: 0.8677 MB / 0.6576 GB, free: 3.895 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001125/0.1533, allocations: 1.089 MB / 0.6587 GB, free: 2.801 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002298/0.1536, allocations: 176 kB / 0.6589 GB, free: 2.629 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006703/0.1542, allocations: 407.7 kB / 0.6592 GB, free: 2.23 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003754/0.1546, allocations: 454.2 kB / 0.6597 GB, free: 1.785 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007237/0.1554, allocations: 0.874 MB / 0.6605 GB, free: 0.9062 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00234/0.1577, allocations: 2.237 MB / 0.6627 GB, free: 14.66 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.85e-06/0.1577, allocations: 0 / 0.6627 GB, free: 14.66 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1577, allocations: 0 / 0.6627 GB, free: 14.66 MB / 478.1 MB Notification: Performance of Transformations before backend: time 2.85e-05/0.1578, allocations: 4 kB / 0.6627 GB, free: 14.66 MB / 478.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.01307/0.1708, allocations: 3.553 MB / 0.6662 GB, free: 11.04 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.35e-05/0.1709, allocations: 12.03 kB / 0.6662 GB, free: 11.03 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002029/0.1711, allocations: 155.8 kB / 0.6663 GB, free: 10.87 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004771/0.1759, allocations: 0.7482 MB / 0.6671 GB, free: 10.12 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002003/0.1779, allocations: 1.109 MB / 0.6682 GB, free: 8.957 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004278/0.1784, allocations: 424.6 kB / 0.6686 GB, free: 8.477 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002142/0.1786, allocations: 111.9 kB / 0.6687 GB, free: 8.367 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002912/0.1815, allocations: 1.381 MB / 0.67 GB, free: 6.965 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.255e-05/0.1815, allocations: 0 / 0.67 GB, free: 6.965 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001417/0.1817, allocations: 39.98 kB / 0.6701 GB, free: 6.926 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.103e-05/0.1817, allocations: 24 kB / 0.6701 GB, free: 6.902 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002938/0.1847, allocations: 1.312 MB / 0.6714 GB, free: 5.59 MB / 478.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.008616/0.1933, allocations: 4.814 MB / 0.6761 GB, free: 0.5547 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00858/0.2019, allocations: 2.859 MB / 0.6789 GB, free: 13.55 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002087/0.204, allocations: 0.8962 MB / 0.6797 GB, free: 12.65 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001619/0.2042, allocations: 20.98 kB / 0.6798 GB, free: 12.63 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002533/0.2067, allocations: 1.042 MB / 0.6808 GB, free: 11.57 MB / 494.1 MB Notification: Performance of pre-optimization done (n=122): time 5.851e-06/0.2068, allocations: 0 / 0.6808 GB, free: 11.57 MB / 494.1 MB Notification: Performance of matching and sorting (n=122): time 0.04267/0.2494, allocations: 9.68 MB / 0.6902 GB, free: 1.848 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.698e-05/0.2496, allocations: 123.8 kB / 0.6903 GB, free: 1.703 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002394/0.252, allocations: 1.398 MB / 0.6917 GB, free: 300 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003407/0.2523, allocations: 57.69 kB / 0.6918 GB, free: 236 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005104/0.2528, allocations: 0.5775 MB / 0.6923 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006492/0.2535, allocations: 468 kB / 0.6928 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009157/0.2544, allocations: 327.5 kB / 0.6931 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000114/0.2545, allocations: 309.1 kB / 0.6934 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002399/0.2569, allocations: 0.9526 MB / 0.6943 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002604/0.2596, allocations: 1.158 MB / 0.6954 GB, free: 12.4 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004699/0.2643, allocations: 2.05 MB / 0.6974 GB, free: 10.31 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.163e-05/0.2643, allocations: 0 / 0.6974 GB, free: 10.31 MB / 0.4981 GB Notification: Performance of matching and sorting (n=231) (initialization): time 0.01841/0.2827, allocations: 5.407 MB / 0.7027 GB, free: 4.887 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.981e-05/0.2828, allocations: 8 kB / 0.7027 GB, free: 4.879 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.48e-05/0.2828, allocations: 4 kB / 0.7027 GB, free: 4.875 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01041/0.2932, allocations: 2.876 MB / 0.7055 GB, free: 1.992 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001484/0.2947, allocations: 279.6 kB / 0.7058 GB, free: 1.719 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00734/0.3021, allocations: 2.858 MB / 0.7086 GB, free: 14.83 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002359/0.3045, allocations: 262.7 kB / 0.7089 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002385/0.3048, allocations: 63.92 kB / 0.7089 GB, free: 14.51 MB / 0.5137 GB 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.0006695/0.3054, allocations: 290.6 kB / 0.7092 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004094/0.3059, allocations: 174.9 kB / 0.7094 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01634/0.3222, allocations: 4.729 MB / 0.714 GB, free: 9.293 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.699e-05/0.3223, allocations: 12 kB / 0.714 GB, free: 9.281 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.535e-05/0.3223, allocations: 4 kB / 0.714 GB, free: 9.277 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.431e-05/0.3224, allocations: 3.984 kB / 0.714 GB, free: 9.273 MB / 0.5137 GB 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.02124/0.3436, allocations: 6.792 MB / 0.7206 GB, free: 2.344 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-05/0.3437, allocations: 0 / 0.7206 GB, free: 2.344 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009615/0.3446, allocations: 135.8 kB / 0.7208 GB, free: 2.211 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007917/0.3526, allocations: 2.142 MB / 0.7228 GB, free: 68 kB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000281/0.3529, allocations: 35.98 kB / 0.7229 GB, free: 32 kB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02771/0.3806, allocations: 10.08 MB / 0.7327 GB, free: 5.801 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/0.3806, allocations: 0 / 0.7327 GB, free: 5.801 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01982/0.4005, allocations: 5.881 MB / 0.7385 GB, free: 15.89 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007738/0.4013, allocations: 271.7 kB / 0.7387 GB, free: 15.6 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006686/0.402, allocations: 24 kB / 0.7388 GB, free: 15.58 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002221/0.4042, allocations: 139.8 kB / 0.7389 GB, free: 15.44 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001016/0.4053, allocations: 257 kB / 0.7391 GB, free: 15.19 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00021/0.4055, allocations: 31.98 kB / 0.7392 GB, free: 15.16 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001882/0.4074, allocations: 0.9496 MB / 0.7401 GB, free: 14.21 MB / 0.545 GB Notification: Performance of sort global known variables: time 3.81e-07/0.4074, allocations: 0 / 0.7401 GB, free: 14.21 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001956/0.4093, allocations: 0.5191 MB / 0.7406 GB, free: 13.69 MB / 0.545 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 () * 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.02044/0.4298, allocations: 6.468 MB / 0.7469 GB, free: 7.18 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01023/0.4401, allocations: 2.845 MB / 0.7497 GB, free: 4.332 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 7.423e-06/0.4401, allocations: 0.875 kB / 0.7497 GB, free: 4.332 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.006979/0.4471, allocations: 1.928 MB / 0.7516 GB, free: 2.391 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00168/0.4488, allocations: 130.5 kB / 0.7517 GB, free: 2.266 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3133/0.7621, allocations: 18.67 MB / 0.7699 GB, free: 118.3 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007531/0.7629, allocations: 1.212 MB / 0.7711 GB, free: 117.6 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0007001/0.7636, allocations: 136.7 kB / 0.7712 GB, free: 117.6 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000752/0.7644, allocations: 0.5896 MB / 0.7718 GB, free: 117.6 MB / 0.5606 GB Notification: Performance of SimCode: time 1.333e-06/0.7644, allocations: 4 kB / 0.7718 GB, free: 117.6 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1012/0.8656, allocations: 43.1 MB / 0.8139 GB, free: 88.54 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.89/14.75, allocations: 20.47 kB / 0.8139 GB, free: 88.52 MB / 0.5606 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 & python3 -m fmpy simulate --output-file OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.SEXS_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_SEXS.fmu > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.SEXS.pipe 2>&1)