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.008284/0.008284, allocations: 96.7 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.448/1.448, allocations: 222.9 MB / 239.4 MB, free: 4.555 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.001559/0.001559, allocations: 200.4 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.529/0.529, allocations: 91.9 MB / 431.8 MB, free: 9.172 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002292/0.002292, allocations: 88.36 kB / 0.5723 GB, free: 33.62 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1103/0.1126, allocations: 71.28 MB / 0.6419 GB, free: 4.094 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.SCRX): time 0.00988/0.1226, allocations: 8.274 MB / 0.65 GB, free: 11.77 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.005716/0.1283, allocations: 2.564 MB / 0.6525 GB, free: 9.203 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001079/0.1294, allocations: 16 kB / 0.6525 GB, free: 9.188 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009336/0.1304, allocations: 321.3 kB / 0.6528 GB, free: 8.871 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002966/0.1334, allocations: 1.118 MB / 0.6539 GB, free: 7.75 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001641/0.135, allocations: 0.674 MB / 0.6545 GB, free: 7.082 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002673/0.1377, allocations: 2.194 MB / 0.6567 GB, free: 4.883 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006676/0.1384, allocations: 420.4 kB / 0.6571 GB, free: 4.449 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001246/0.1397, allocations: 0.8832 MB / 0.6579 GB, free: 3.562 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001482/0.1412, allocations: 1.128 MB / 0.659 GB, free: 2.43 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003383/0.1415, allocations: 180 kB / 0.6592 GB, free: 2.254 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000819/0.1423, allocations: 411.8 kB / 0.6596 GB, free: 1.852 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000448/0.1428, allocations: 462.2 kB / 0.6601 GB, free: 1.398 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009891/0.1438, allocations: 0.9051 MB / 0.6609 GB, free: 500 kB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002962/0.1468, allocations: 2.299 MB / 0.6632 GB, free: 14.18 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.1468, allocations: 4 kB / 0.6632 GB, free: 14.18 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1468, allocations: 3.938 kB / 0.6632 GB, free: 14.17 MB / 478.1 MB Notification: Performance of Transformations before backend: time 4.344e-05/0.1468, allocations: 0 / 0.6632 GB, free: 14.17 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.01285/0.1597, allocations: 3.604 MB / 0.6667 GB, free: 10.5 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.51e-05/0.1598, allocations: 8.031 kB / 0.6667 GB, free: 10.5 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002346/0.16, allocations: 156.1 kB / 0.6669 GB, free: 10.34 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004767/0.1648, allocations: 0.7599 MB / 0.6676 GB, free: 9.574 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002195/0.167, allocations: 1.133 MB / 0.6687 GB, free: 8.391 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005504/0.1676, allocations: 428.7 kB / 0.6691 GB, free: 7.906 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002609/0.1678, allocations: 108 kB / 0.6692 GB, free: 7.801 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003078/0.1709, allocations: 1.435 MB / 0.6706 GB, free: 6.344 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.597e-05/0.171, allocations: 3.938 kB / 0.6706 GB, free: 6.34 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001364/0.1711, allocations: 40 kB / 0.6707 GB, free: 6.301 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.299e-05/0.1711, allocations: 27.98 kB / 0.6707 GB, free: 6.273 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003146/0.1743, allocations: 1.343 MB / 0.672 GB, free: 4.93 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.009623/0.1839, allocations: 4.92 MB / 0.6768 GB, free: 15.79 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008804/0.1928, allocations: 2.895 MB / 0.6796 GB, free: 12.75 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002279/0.1951, allocations: 0.9156 MB / 0.6805 GB, free: 11.83 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001534/0.1953, allocations: 28.89 kB / 0.6806 GB, free: 11.8 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002438/0.1977, allocations: 1.058 MB / 0.6816 GB, free: 10.73 MB / 494.1 MB Notification: Performance of pre-optimization done (n=126): time 3.216e-06/0.1977, allocations: 0 / 0.6816 GB, free: 10.73 MB / 494.1 MB Notification: Performance of matching and sorting (n=126): time 0.04167/0.2394, allocations: 9.798 MB / 0.6912 GB, free: 0.8867 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.597e-05/0.2395, allocations: 115.8 kB / 0.6913 GB, free: 0.75 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002448/0.242, allocations: 1.415 MB / 0.6927 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003263/0.2423, allocations: 53.7 kB / 0.6927 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005469/0.2429, allocations: 0.6127 MB / 0.6933 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005844/0.2435, allocations: 476 kB / 0.6938 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006681/0.2442, allocations: 339.4 kB / 0.6941 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001407/0.2443, allocations: 305.1 kB / 0.6944 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002235/0.2466, allocations: 0.9682 MB / 0.6953 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002441/0.249, allocations: 1.174 MB / 0.6965 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00475/0.2538, allocations: 2.085 MB / 0.6985 GB, free: 9.227 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.377e-05/0.2538, allocations: 4 kB / 0.6985 GB, free: 9.223 MB / 0.4981 GB Notification: Performance of matching and sorting (n=236) (initialization): time 0.01122/0.2651, allocations: 3.712 MB / 0.7021 GB, free: 5.5 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.469e-05/0.2651, allocations: 13.23 kB / 0.7021 GB, free: 5.488 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.741e-05/0.2651, allocations: 4 kB / 0.7021 GB, free: 5.484 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01081/0.276, allocations: 2.981 MB / 0.7051 GB, free: 2.496 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001441/0.2774, allocations: 267.6 kB / 0.7053 GB, free: 2.234 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007573/0.285, allocations: 2.993 MB / 0.7082 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002472/0.2875, allocations: 258.6 kB / 0.7085 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002005/0.2877, allocations: 75.91 kB / 0.7086 GB, free: 14.88 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.000695/0.2884, allocations: 290.7 kB / 0.7088 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003977/0.2889, allocations: 166.9 kB / 0.709 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01675/0.3056, allocations: 4.819 MB / 0.7137 GB, free: 9.582 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.287e-05/0.3057, allocations: 16 kB / 0.7137 GB, free: 9.566 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.486e-06/0.3057, allocations: 0 / 0.7137 GB, free: 9.566 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.898e-05/0.3057, allocations: 7.922 kB / 0.7137 GB, free: 9.559 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.0197/0.3254, allocations: 6.894 MB / 0.7205 GB, free: 2.527 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.44e-05/0.3255, allocations: 4 kB / 0.7205 GB, free: 2.523 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009468/0.3265, allocations: 143.8 kB / 0.7206 GB, free: 2.383 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007673/0.3341, allocations: 2.149 MB / 0.7227 GB, free: 236 kB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003006/0.3345, allocations: 27.98 kB / 0.7227 GB, free: 208 kB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02637/0.3609, allocations: 10.07 MB / 0.7326 GB, free: 5.984 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.3609, allocations: 0 / 0.7326 GB, free: 5.984 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01907/0.38, allocations: 5.956 MB / 0.7384 GB, free: 0 / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000617/0.3806, allocations: 279.6 kB / 0.7386 GB, free: 15.71 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002694/0.3809, allocations: 31.94 kB / 0.7387 GB, free: 15.68 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001611/0.3825, allocations: 139.8 kB / 0.7388 GB, free: 15.54 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008669/0.3834, allocations: 261.3 kB / 0.7391 GB, free: 15.29 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001085/0.3835, allocations: 35.98 kB / 0.7391 GB, free: 15.25 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001598/0.3851, allocations: 0.9503 MB / 0.74 GB, free: 14.3 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.2e-07/0.3851, allocations: 0 / 0.74 GB, free: 14.3 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001512/0.3867, allocations: 0.5269 MB / 0.7405 GB, free: 13.77 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.01964/0.4063, allocations: 6.57 MB / 0.7469 GB, free: 7.164 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.009202/0.4156, allocations: 2.895 MB / 0.7498 GB, free: 4.27 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.97e-06/0.4156, allocations: 0 / 0.7498 GB, free: 4.27 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0063/0.4219, allocations: 1.931 MB / 0.7517 GB, free: 2.32 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001244/0.4232, allocations: 137.3 kB / 0.7518 GB, free: 2.188 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2953/0.7185, allocations: 19.05 MB / 0.7704 GB, free: 117.1 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006875/0.7193, allocations: 1.227 MB / 0.7716 GB, free: 116.4 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0006608/0.7199, allocations: 141.5 kB / 0.7717 GB, free: 116.4 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000766/0.7207, allocations: 0.6095 MB / 0.7723 GB, free: 116.4 MB / 0.5606 GB Notification: Performance of SimCode: time 9.71e-07/0.7207, allocations: 0 / 0.7723 GB, free: 116.4 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1126/0.8333, allocations: 44.18 MB / 0.8155 GB, free: 87.02 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.86/16.7, allocations: 5.719 kB / 0.8155 GB, free: 87.01 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)