Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.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.SCRX,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_SCRX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.SCRX,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_SCRX",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.005439/0.005439, allocations: 98.27 kB / 15.73 MB, free: 5.98 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.343/1.343, allocations: 222.9 MB / 239.4 MB, free: 4.512 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.001459/0.001459, allocations: 188.5 kB / 289.7 MB, free: 2.238 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5431/0.5431, allocations: 91.9 MB / 431.8 MB, free: 9.164 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001405/0.001405, allocations: 80.72 kB / 0.5723 GB, free: 33.61 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1153/0.1168, allocations: 71.28 MB / 0.6419 GB, free: 4.07 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.SCRX): time 0.008782/0.1256, allocations: 8.274 MB / 0.65 GB, free: 11.75 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.005207/0.1308, allocations: 2.572 MB / 0.6525 GB, free: 9.172 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001176/0.132, allocations: 12 kB / 0.6525 GB, free: 9.16 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001115/0.1332, allocations: 321.3 kB / 0.6528 GB, free: 8.844 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003153/0.1364, allocations: 1.168 MB / 0.6539 GB, free: 7.672 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001647/0.138, allocations: 0.6799 MB / 0.6546 GB, free: 6.996 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002968/0.141, allocations: 2.202 MB / 0.6568 GB, free: 4.789 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007543/0.1418, allocations: 416.4 kB / 0.6571 GB, free: 4.359 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001352/0.1431, allocations: 0.8949 MB / 0.658 GB, free: 3.461 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001615/0.1448, allocations: 1.113 MB / 0.6591 GB, free: 2.344 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005145/0.1453, allocations: 184 kB / 0.6593 GB, free: 2.164 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001196/0.1465, allocations: 415.7 kB / 0.6597 GB, free: 1.758 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007855/0.1473, allocations: 458.2 kB / 0.6601 GB, free: 1.309 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001332/0.1486, allocations: 0.9012 MB / 0.661 GB, free: 412 kB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002881/0.1515, allocations: 2.303 MB / 0.6632 GB, free: 14.09 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.1515, allocations: 0 / 0.6632 GB, free: 14.09 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.1515, allocations: 0 / 0.6632 GB, free: 14.09 MB / 478.1 MB Notification: Performance of Transformations before backend: time 7.511e-05/0.1516, allocations: 4 kB / 0.6632 GB, free: 14.09 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: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.01308/0.1647, allocations: 3.6 MB / 0.6668 GB, free: 10.42 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.247e-05/0.1648, allocations: 8.031 kB / 0.6668 GB, free: 10.41 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003511/0.1651, allocations: 164.1 kB / 0.6669 GB, free: 10.25 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004723/0.1699, allocations: 0.7521 MB / 0.6677 GB, free: 9.492 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002248/0.1721, allocations: 1.137 MB / 0.6688 GB, free: 8.305 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004696/0.1726, allocations: 424.7 kB / 0.6692 GB, free: 7.824 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002918/0.1729, allocations: 108 kB / 0.6693 GB, free: 7.719 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003148/0.1761, allocations: 1.439 MB / 0.6707 GB, free: 6.258 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.376e-05/0.1761, allocations: 0 / 0.6707 GB, free: 6.258 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001299/0.1762, allocations: 43.98 kB / 0.6707 GB, free: 6.215 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.726e-05/0.1763, allocations: 24 kB / 0.6708 GB, free: 6.191 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003179/0.1795, allocations: 1.351 MB / 0.6721 GB, free: 4.84 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.009475/0.189, allocations: 4.916 MB / 0.6769 GB, free: 15.7 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008304/0.1973, allocations: 2.895 MB / 0.6797 GB, free: 12.67 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00205/0.1994, allocations: 0.9195 MB / 0.6806 GB, free: 11.74 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001732/0.1996, allocations: 24.97 kB / 0.6806 GB, free: 11.72 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00224/0.2018, allocations: 1.058 MB / 0.6817 GB, free: 10.64 MB / 494.1 MB Notification: Performance of pre-optimization done (n=126): time 3.226e-06/0.2018, allocations: 0 / 0.6817 GB, free: 10.64 MB / 494.1 MB Notification: Performance of matching and sorting (n=126): time 0.05667/0.2585, allocations: 9.801 MB / 0.6912 GB, free: 0.7969 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001198/0.2587, allocations: 115.8 kB / 0.6913 GB, free: 0.6602 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003684/0.2624, allocations: 1.415 MB / 0.6927 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003874/0.2628, allocations: 53.7 kB / 0.6928 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008173/0.2636, allocations: 0.6087 MB / 0.6934 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009106/0.2646, allocations: 472 kB / 0.6938 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001327/0.2659, allocations: 343.4 kB / 0.6941 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001371/0.2661, allocations: 301.1 kB / 0.6944 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003982/0.2701, allocations: 0.9761 MB / 0.6954 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004221/0.2743, allocations: 1.178 MB / 0.6965 GB, free: 11.26 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008034/0.2824, allocations: 2.081 MB / 0.6986 GB, free: 9.137 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-05/0.2824, allocations: 0 / 0.6986 GB, free: 9.137 MB / 0.4981 GB Notification: Performance of matching and sorting (n=236) (initialization): time 0.01722/0.2997, allocations: 3.72 MB / 0.7022 GB, free: 5.406 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.805e-05/0.2997, allocations: 4 kB / 0.7022 GB, free: 5.402 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.784e-05/0.2997, allocations: 4 kB / 0.7022 GB, free: 5.398 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01033/0.3101, allocations: 2.981 MB / 0.7051 GB, free: 2.41 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001388/0.3115, allocations: 267.6 kB / 0.7054 GB, free: 2.148 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007392/0.3189, allocations: 2.997 MB / 0.7083 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002334/0.3213, allocations: 254.8 kB / 0.7085 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002535/0.3215, allocations: 71.91 kB / 0.7086 GB, free: 14.8 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 (161): * Single equations (assignments): 160 * 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 {(34,42)} Notification: Performance of prepare postOptimizeDAE: time 0.0007318/0.3223, allocations: 290.7 kB / 0.7089 GB, free: 14.51 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00044/0.3227, allocations: 166.9 kB / 0.709 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01662/0.3394, allocations: 4.83 MB / 0.7138 GB, free: 9.488 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.929e-05/0.3394, allocations: 12 kB / 0.7138 GB, free: 9.477 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.075e-06/0.3394, allocations: 0 / 0.7138 GB, free: 9.477 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.687e-05/0.3395, allocations: 11.92 kB / 0.7138 GB, free: 9.465 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.01955/0.359, allocations: 6.89 MB / 0.7205 GB, free: 2.438 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.66e-05/0.3591, allocations: 0 / 0.7205 GB, free: 2.438 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000972/0.3601, allocations: 147.8 kB / 0.7207 GB, free: 2.293 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00771/0.3678, allocations: 2.142 MB / 0.7227 GB, free: 152 kB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002283/0.368, allocations: 24 kB / 0.7228 GB, free: 128 kB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02677/0.3948, allocations: 10.08 MB / 0.7326 GB, free: 5.898 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.426e-05/0.3949, allocations: 4 kB / 0.7326 GB, free: 5.895 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.019/0.4139, allocations: 5.952 MB / 0.7384 GB, free: 15.91 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006606/0.4146, allocations: 279.6 kB / 0.7387 GB, free: 15.62 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004887/0.4151, allocations: 31.94 kB / 0.7387 GB, free: 15.59 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001854/0.417, allocations: 139.8 kB / 0.7389 GB, free: 15.45 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009724/0.4179, allocations: 253.4 kB / 0.7391 GB, free: 15.21 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001881/0.4182, allocations: 39.98 kB / 0.7391 GB, free: 15.17 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001801/0.42, allocations: 0.9542 MB / 0.7401 GB, free: 14.21 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.7e-07/0.42, allocations: 0 / 0.7401 GB, free: 14.21 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001941/0.4219, allocations: 0.5308 MB / 0.7406 GB, free: 13.68 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,sCRX.imLeadLag.TF.x_scaled[1],sCRX.simpleLagLim.state) * 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 (83): * Single equations (assignments): 82 * 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.01941/0.4414, allocations: 6.567 MB / 0.747 GB, free: 7.074 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.009366/0.4508, allocations: 2.891 MB / 0.7498 GB, free: 4.184 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.96e-06/0.4508, allocations: 0 / 0.7498 GB, free: 4.184 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.006438/0.4572, allocations: 1.939 MB / 0.7517 GB, free: 2.227 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00163/0.4589, allocations: 132 kB / 0.7518 GB, free: 2.102 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3217/0.7806, allocations: 19.05 MB / 0.7705 GB, free: 117.7 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007413/0.7814, allocations: 1.228 MB / 0.7717 GB, free: 117 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0006922/0.7821, allocations: 140.1 kB / 0.7718 GB, free: 117 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000736/0.7829, allocations: 0.6065 MB / 0.7724 GB, free: 117 MB / 0.5606 GB Notification: Performance of SimCode: time 7.92e-07/0.7829, allocations: 1.75 kB / 0.7724 GB, free: 117 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07084/0.8537, allocations: 44.16 MB / 0.8155 GB, free: 86.98 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.77/14.63, allocations: 13.48 kB / 0.8155 GB, free: 86.98 MB / 0.5606 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.sim & python3 -m fmpy simulate --output-file OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.SCRX_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_SCRX.fmu > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.pipe 2>&1)