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.001808/0.001808, 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.407/1.407, allocations: 222.9 MB / 239.2 MB, free: 4.641 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.001429/0.001429, allocations: 184.5 kB / 289.6 MB, free: 2.359 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5212/0.5212, allocations: 91.91 MB / 431.6 MB, free: 9.273 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002031/0.002031, allocations: 75.88 kB / 0.502 GB, free: 7.641 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3727/0.3748, allocations: 71.27 MB / 0.5716 GB, free: 36.84 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.SCRX): time 0.006842/0.3816, allocations: 8.277 MB / 0.5797 GB, free: 31.79 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00471/0.3864, allocations: 2.559 MB / 0.5822 GB, free: 29.99 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001042/0.3875, allocations: 14.25 kB / 0.5822 GB, free: 29.99 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008396/0.3883, allocations: 319.7 kB / 0.5825 GB, free: 29.82 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002546/0.3909, allocations: 1.123 MB / 0.5836 GB, free: 29.09 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001382/0.3923, allocations: 0.6931 MB / 0.5843 GB, free: 28.75 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002125/0.3944, allocations: 2.182 MB / 0.5864 GB, free: 27.68 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005379/0.395, allocations: 413.9 kB / 0.5868 GB, free: 27.49 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001093/0.3961, allocations: 0.8823 MB / 0.5876 GB, free: 27.05 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001113/0.3972, allocations: 1.12 MB / 0.5887 GB, free: 26.52 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003062/0.3975, allocations: 182.2 kB / 0.5889 GB, free: 26.52 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008317/0.3984, allocations: 416.3 kB / 0.5893 GB, free: 26.45 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003253/0.3987, allocations: 463.8 kB / 0.5898 GB, free: 26.15 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007271/0.3994, allocations: 0.9061 MB / 0.5906 GB, free: 25.54 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002546/0.402, allocations: 2.255 MB / 0.5928 GB, free: 24.55 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/0.402, allocations: 5.312 kB / 0.5928 GB, free: 24.54 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.402, allocations: 0 / 0.5928 GB, free: 24.54 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.33e-05/0.4021, allocations: 4 kB / 0.5928 GB, free: 24.54 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: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.01316/0.4152, allocations: 3.547 MB / 0.5963 GB, free: 23.06 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.415e-05/0.4153, allocations: 13.44 kB / 0.5963 GB, free: 23.05 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002968/0.4156, allocations: 159.9 kB / 0.5965 GB, free: 22.95 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005147/0.4208, allocations: 0.7474 MB / 0.5972 GB, free: 22.78 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002632/0.4235, allocations: 1.108 MB / 0.5983 GB, free: 22.06 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004365/0.4239, allocations: 427.5 kB / 0.5987 GB, free: 21.68 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002526/0.4242, allocations: 112.2 kB / 0.5988 GB, free: 21.64 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003095/0.4273, allocations: 1.431 MB / 0.6002 GB, free: 21.09 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.493e-05/0.4273, allocations: 0 / 0.6002 GB, free: 21.09 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001244/0.4275, allocations: 40.16 kB / 0.6002 GB, free: 21.05 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.103e-05/0.4275, allocations: 24.44 kB / 0.6003 GB, free: 21.05 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003096/0.4306, allocations: 1.352 MB / 0.6016 GB, free: 20.6 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.01026/0.4409, allocations: 4.939 MB / 0.6064 GB, free: 17.74 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008563/0.4495, allocations: 2.896 MB / 0.6092 GB, free: 16.55 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00263/0.4521, allocations: 0.9166 MB / 0.6101 GB, free: 16.18 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001385/0.4523, allocations: 21.06 kB / 0.6101 GB, free: 16.18 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002651/0.455, allocations: 1.064 MB / 0.6112 GB, free: 15.77 MB / 430.1 MB Notification: Performance of pre-optimization done (n=126): time 3.807e-06/0.455, allocations: 1.188 kB / 0.6112 GB, free: 15.77 MB / 430.1 MB Notification: Performance of matching and sorting (n=126): time 0.04195/0.4969, allocations: 9.793 MB / 0.6208 GB, free: 11.75 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.011e-05/0.497, allocations: 119.8 kB / 0.6209 GB, free: 11.61 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002143/0.4992, allocations: 1.415 MB / 0.6222 GB, free: 10.18 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004281/0.4996, allocations: 53.7 kB / 0.6223 GB, free: 10.12 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003502/0.5, allocations: 0.5963 MB / 0.6229 GB, free: 9.523 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004464/0.5005, allocations: 465.4 kB / 0.6233 GB, free: 9.062 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000592/0.5011, allocations: 335.4 kB / 0.6236 GB, free: 8.73 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.284e-05/0.5011, allocations: 301.1 kB / 0.6239 GB, free: 8.434 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001885/0.503, allocations: 0.9722 MB / 0.6249 GB, free: 7.461 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001916/0.5049, allocations: 1.182 MB / 0.626 GB, free: 6.234 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003726/0.5087, allocations: 2.077 MB / 0.6281 GB, free: 4.113 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.025e-06/0.5087, allocations: 4 kB / 0.6281 GB, free: 4.109 MB / 430.1 MB Notification: Performance of matching and sorting (n=236) (initialization): time 0.00881/0.5175, allocations: 3.707 MB / 0.6317 GB, free: 396 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.864e-05/0.5176, allocations: 4 kB / 0.6317 GB, free: 392 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.43e-05/0.5176, allocations: 4 kB / 0.6317 GB, free: 388 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01007/0.5277, allocations: 2.985 MB / 0.6346 GB, free: 13.39 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001469/0.5292, allocations: 267.6 kB / 0.6349 GB, free: 13.12 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007608/0.5368, allocations: 2.992 MB / 0.6378 GB, free: 10.11 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002831/0.5397, allocations: 250.3 kB / 0.638 GB, free: 9.859 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000217/0.5399, allocations: 63.92 kB / 0.6381 GB, free: 9.797 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 (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.0006993/0.5406, allocations: 306.5 kB / 0.6384 GB, free: 9.488 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003962/0.541, allocations: 165.9 kB / 0.6385 GB, free: 9.324 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0164/0.5574, allocations: 4.819 MB / 0.6432 GB, free: 4.48 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.413e-05/0.5575, allocations: 12 kB / 0.6433 GB, free: 4.469 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.054e-05/0.5575, allocations: 0 / 0.6433 GB, free: 4.469 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.888e-05/0.5576, allocations: 11.91 kB / 0.6433 GB, free: 4.457 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.02144/0.579, allocations: 6.898 MB / 0.65 GB, free: 13.43 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.802e-05/0.5791, allocations: 0 / 0.65 GB, free: 13.43 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001042/0.5801, allocations: 143.8 kB / 0.6501 GB, free: 13.29 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007954/0.5881, allocations: 2.146 MB / 0.6522 GB, free: 11.13 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003593/0.5885, allocations: 28 kB / 0.6523 GB, free: 11.11 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02694/0.6155, allocations: 10.07 MB / 0.6621 GB, free: 0.8789 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.488e-06/0.6155, allocations: 0 / 0.6621 GB, free: 0.8789 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01972/0.6352, allocations: 5.954 MB / 0.6679 GB, free: 10.89 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008446/0.6361, allocations: 270.8 kB / 0.6682 GB, free: 10.61 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006893/0.6368, allocations: 27.94 kB / 0.6682 GB, free: 10.58 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002209/0.6391, allocations: 131.8 kB / 0.6683 GB, free: 10.45 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001007/0.6401, allocations: 265.4 kB / 0.6686 GB, free: 10.19 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002033/0.6403, allocations: 35.98 kB / 0.6686 GB, free: 10.15 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001803/0.6421, allocations: 0.9581 MB / 0.6695 GB, free: 9.195 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.6421, allocations: 0 / 0.6695 GB, free: 9.195 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002122/0.6443, allocations: 0.5307 MB / 0.6701 GB, free: 8.664 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,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.01966/0.6639, allocations: 6.551 MB / 0.6765 GB, free: 2.074 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01053/0.6745, allocations: 2.938 MB / 0.6793 GB, free: 15.14 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 7.224e-06/0.6746, allocations: 0.875 kB / 0.6793 GB, free: 15.14 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006795/0.6814, allocations: 1.926 MB / 0.6812 GB, free: 13.2 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002189/0.6836, allocations: 145.6 kB / 0.6814 GB, free: 13.05 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04945/0.7331, allocations: 20.25 MB / 0.7011 GB, free: 7.953 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009854/0.7341, allocations: 1.227 MB / 0.7023 GB, free: 6.695 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0007687/0.7349, allocations: 142 kB / 0.7025 GB, free: 6.555 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009583/0.7358, allocations: 0.6086 MB / 0.7031 GB, free: 5.945 MB / 0.4981 GB Notification: Performance of SimCode: time 1.012e-06/0.7359, allocations: 0 / 0.7031 GB, free: 5.945 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08743/0.8233, allocations: 43.63 MB / 0.7457 GB, free: 10.43 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.18/13, allocations: 8.656 kB / 0.7457 GB, free: 10.43 MB / 0.545 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)