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.001189/0.001189, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.369/1.369, allocations: 222.9 MB / 239.3 MB, free: 4.598 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.001428/0.001428, allocations: 192.4 kB / 289.6 MB, free: 2.324 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5553/0.5553, allocations: 91.9 MB / 431.6 MB, free: 9.273 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00169/0.00169, allocations: 79.88 kB / 0.502 GB, free: 7.637 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3775/0.3792, allocations: 71.26 MB / 0.5716 GB, free: 36.7 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.SEXS): time 0.007296/0.3865, allocations: 8.059 MB / 0.5794 GB, free: 31.86 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00529/0.3919, allocations: 2.525 MB / 0.5819 GB, free: 30.09 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001129/0.393, allocations: 14.72 kB / 0.5819 GB, free: 30.09 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008249/0.3939, allocations: 313.2 kB / 0.5822 GB, free: 29.92 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002353/0.3963, allocations: 1.096 MB / 0.5833 GB, free: 29.21 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001324/0.3976, allocations: 0.6692 MB / 0.584 GB, free: 28.89 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001874/0.3995, allocations: 2.139 MB / 0.586 GB, free: 27.84 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004713/0.4, allocations: 388.2 kB / 0.5864 GB, free: 27.66 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009331/0.4009, allocations: 0.8533 MB / 0.5872 GB, free: 27.24 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001051/0.402, allocations: 1.098 MB / 0.5883 GB, free: 26.71 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000308/0.4023, allocations: 176.4 kB / 0.5885 GB, free: 26.71 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008322/0.4031, allocations: 412.6 kB / 0.5889 GB, free: 26.64 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003324/0.4035, allocations: 444.1 kB / 0.5893 GB, free: 26.36 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006807/0.4042, allocations: 0.8725 MB / 0.5902 GB, free: 25.77 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002013/0.4062, allocations: 2.199 MB / 0.5923 GB, free: 24.8 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.4062, allocations: 3.938 kB / 0.5923 GB, free: 24.8 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.4062, allocations: 0 / 0.5923 GB, free: 24.8 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.702e-05/0.4062, allocations: 0 / 0.5923 GB, free: 24.8 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.01317/0.4194, allocations: 3.504 MB / 0.5957 GB, free: 23.34 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.256e-05/0.4195, allocations: 15.3 kB / 0.5957 GB, free: 23.34 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002283/0.4197, allocations: 149.2 kB / 0.5959 GB, free: 23.23 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004815/0.4246, allocations: 0.7449 MB / 0.5966 GB, free: 23.07 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001996/0.4266, allocations: 1.097 MB / 0.5977 GB, free: 22.36 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003809/0.427, allocations: 425.1 kB / 0.5981 GB, free: 21.97 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002031/0.4272, allocations: 110.2 kB / 0.5982 GB, free: 21.93 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002799/0.43, allocations: 1.384 MB / 0.5995 GB, free: 21.4 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.087e-05/0.43, allocations: 0.875 kB / 0.5995 GB, free: 21.4 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001172/0.4301, allocations: 42.33 kB / 0.5996 GB, free: 21.37 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.415e-05/0.4302, allocations: 23.03 kB / 0.5996 GB, free: 21.37 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00292/0.4331, allocations: 1.308 MB / 0.6009 GB, free: 20.93 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.008926/0.442, allocations: 4.827 MB / 0.6056 GB, free: 18.12 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008308/0.4504, allocations: 2.853 MB / 0.6084 GB, free: 16.95 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002109/0.4525, allocations: 0.8982 MB / 0.6093 GB, free: 16.59 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001322/0.4527, allocations: 33.06 kB / 0.6093 GB, free: 16.57 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002129/0.4548, allocations: 1.042 MB / 0.6103 GB, free: 16.18 MB / 430.1 MB Notification: Performance of pre-optimization done (n=122): time 4.088e-06/0.4548, allocations: 4 kB / 0.6103 GB, free: 16.17 MB / 430.1 MB Notification: Performance of matching and sorting (n=122): time 0.04093/0.4958, allocations: 9.662 MB / 0.6197 GB, free: 12.51 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.226e-05/0.4958, allocations: 124.4 kB / 0.6199 GB, free: 12.38 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002177/0.498, allocations: 1.4 MB / 0.6212 GB, free: 11.21 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003658/0.4984, allocations: 49.7 kB / 0.6213 GB, free: 11.16 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003205/0.4987, allocations: 0.5766 MB / 0.6218 GB, free: 10.58 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003794/0.4991, allocations: 437.7 kB / 0.6223 GB, free: 10.14 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005398/0.4997, allocations: 335.4 kB / 0.6226 GB, free: 9.812 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.709e-05/0.4997, allocations: 305.1 kB / 0.6229 GB, free: 9.512 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001862/0.5016, allocations: 0.9565 MB / 0.6238 GB, free: 8.555 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00196/0.5035, allocations: 1.158 MB / 0.6249 GB, free: 7.352 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003663/0.5072, allocations: 2.054 MB / 0.6269 GB, free: 5.254 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.783e-06/0.5072, allocations: 0 / 0.6269 GB, free: 5.254 MB / 430.1 MB Notification: Performance of matching and sorting (n=231) (initialization): time 0.01602/0.5233, allocations: 5.395 MB / 0.6322 GB, free: 15.84 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.437e-05/0.5234, allocations: 4 kB / 0.6322 GB, free: 15.84 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.887e-05/0.5234, allocations: 4 kB / 0.6322 GB, free: 15.83 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01016/0.5336, allocations: 2.891 MB / 0.635 GB, free: 12.94 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001521/0.5351, allocations: 279.6 kB / 0.6353 GB, free: 12.66 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007123/0.5423, allocations: 2.857 MB / 0.6381 GB, free: 9.781 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00273/0.545, allocations: 250.3 kB / 0.6383 GB, free: 9.535 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001733/0.5452, allocations: 59.98 kB / 0.6384 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.0006768/0.5459, allocations: 301.1 kB / 0.6387 GB, free: 9.176 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003585/0.5463, allocations: 154 kB / 0.6388 GB, free: 9.023 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01638/0.5627, allocations: 4.733 MB / 0.6435 GB, free: 4.258 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.894e-05/0.5627, allocations: 12 kB / 0.6435 GB, free: 4.246 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.149e-05/0.5628, allocations: 0 / 0.6435 GB, free: 4.246 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.57e-05/0.5628, allocations: 7.922 kB / 0.6435 GB, free: 4.238 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.02029/0.5831, allocations: 6.807 MB / 0.6501 GB, free: 13.29 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.909e-05/0.5832, allocations: 3.938 kB / 0.6501 GB, free: 13.29 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000947/0.5841, allocations: 131.8 kB / 0.6502 GB, free: 13.16 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008017/0.5922, allocations: 2.15 MB / 0.6523 GB, free: 11.01 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003496/0.5926, allocations: 31.92 kB / 0.6524 GB, free: 10.98 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02727/0.6198, allocations: 10.08 MB / 0.6622 GB, free: 0.7539 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.117e-06/0.6199, allocations: 0 / 0.6622 GB, free: 0.7539 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01998/0.6399, allocations: 5.87 MB / 0.668 GB, free: 10.85 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000773/0.6407, allocations: 266.9 kB / 0.6682 GB, free: 10.57 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007206/0.6414, allocations: 31.92 kB / 0.6682 GB, free: 10.54 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002089/0.6435, allocations: 131.8 kB / 0.6684 GB, free: 10.41 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009838/0.6446, allocations: 257 kB / 0.6686 GB, free: 10.16 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002185/0.6448, allocations: 35.98 kB / 0.6686 GB, free: 10.12 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.00183/0.6466, allocations: 0.9379 MB / 0.6696 GB, free: 9.184 MB / 478.1 MB Notification: Performance of sort global known variables: time 3.91e-07/0.6466, allocations: 4 kB / 0.6696 GB, free: 9.18 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002037/0.6487, allocations: 0.519 MB / 0.6701 GB, free: 8.66 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.01983/0.6685, allocations: 6.469 MB / 0.6764 GB, free: 2.148 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01043/0.679, allocations: 2.888 MB / 0.6792 GB, free: 15.26 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 9.097e-06/0.6791, allocations: 4 kB / 0.6792 GB, free: 15.26 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006891/0.686, allocations: 1.904 MB / 0.6811 GB, free: 13.34 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002015/0.688, allocations: 131.1 kB / 0.6812 GB, free: 13.21 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05005/0.7381, allocations: 19.81 MB / 0.7005 GB, free: 8.609 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001022/0.7391, allocations: 1.211 MB / 0.7017 GB, free: 7.367 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.000816/0.74, allocations: 141.7 kB / 0.7019 GB, free: 7.227 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001037/0.741, allocations: 0.5891 MB / 0.7024 GB, free: 6.637 MB / 0.4981 GB Notification: Performance of SimCode: time 1.102e-06/0.7411, allocations: 0 / 0.7024 GB, free: 6.637 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08466/0.8257, allocations: 42.61 MB / 0.744 GB, free: 12.15 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.15/12.98, allocations: 7.688 kB / 0.7441 GB, free: 12.14 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 & 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)