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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.000763/0.000763, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8344/0.8344, allocations: 177.2 MB / 199.4 MB, free: 5.938 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009761/0.0009761, allocations: 156.4 kB / 256 MB, free: 13.35 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo): time 0.2501/0.2501, allocations: 80.36 MB / 392.7 MB, free: 2.383 MB / 314.7 MB " [Timeout remaining time 180] Using package OpenIPSL with version 3.2.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.124e-06/2.124e-06, allocations: 0 / 0.555 GB, free: 12.58 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.271e-05/2.484e-05, allocations: 2.281 kB / 0.555 GB, free: 12.57 MB / 490.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.SCRX): time 0.005738/0.005763, allocations: 7.317 MB / 0.5621 GB, free: 5.223 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.003428/0.009191, allocations: 2.478 MB / 0.5646 GB, free: 2.734 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005247/0.009715, allocations: 12 kB / 0.5646 GB, free: 2.723 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000609/0.01032, allocations: 321.2 kB / 0.5649 GB, free: 2.406 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001795/0.01212, allocations: 1.168 MB / 0.566 GB, free: 1.234 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008859/0.013, allocations: 0.7146 MB / 0.5667 GB, free: 0.5273 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.001332/0.01434, allocations: 2.201 MB / 0.5689 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000314/0.01465, allocations: 280.8 kB / 0.5691 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008186/0.01547, allocations: 1.231 MB / 0.5703 GB, free: 12.78 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006603/0.01613, allocations: 0.9152 MB / 0.5712 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001593/0.01629, allocations: 180 kB / 0.5714 GB, free: 11.69 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003841/0.01667, allocations: 367.7 kB / 0.5717 GB, free: 11.33 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002503/0.01692, allocations: 470.1 kB / 0.5722 GB, free: 10.87 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0005913/0.01751, allocations: 0.623 MB / 0.5728 GB, free: 10.24 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.00147/0.01898, allocations: 2.356 MB / 0.5751 GB, free: 7.875 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.01899, allocations: 4 kB / 0.5751 GB, free: 7.871 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.202e-06/0.01899, allocations: 0 / 0.5751 GB, free: 7.871 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.449e-05/0.019, allocations: 0 / 0.5751 GB, free: 7.871 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 247 * Number of variables: 247 Notification: Performance of Generate backend data structure: time 0.005961/0.02496, allocations: 3.698 MB / 0.5787 GB, free: 4.125 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.327e-05/0.025, allocations: 8.031 kB / 0.5787 GB, free: 4.117 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001431/0.02514, allocations: 156.1 kB / 0.5789 GB, free: 3.957 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002331/0.02747, allocations: 0.7638 MB / 0.5796 GB, free: 3.191 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001151/0.02862, allocations: 1.068 MB / 0.5807 GB, free: 2.09 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002827/0.02891, allocations: 0.5731 MB / 0.5812 GB, free: 1.41 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001421/0.02905, allocations: 115.9 kB / 0.5813 GB, free: 1.297 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001678/0.03073, allocations: 1.435 MB / 0.5827 GB, free: 15.84 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.648e-05/0.03074, allocations: 4 kB / 0.5827 GB, free: 15.84 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.231e-05/0.03082, allocations: 44 kB / 0.5828 GB, free: 15.8 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.245e-05/0.03084, allocations: 24 kB / 0.5828 GB, free: 15.77 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00222/0.03306, allocations: 1.359 MB / 0.5841 GB, free: 14.41 MB / 0.5105 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 preOpt removeSimpleEquations (simulation): time 0.005372/0.03843, allocations: 3.818 MB / 0.5879 GB, free: 10.51 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004187/0.04262, allocations: 2.357 MB / 0.5902 GB, free: 8.125 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001109/0.04372, allocations: 0.8369 MB / 0.591 GB, free: 7.277 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 8.949e-05/0.04381, allocations: 17 kB / 0.591 GB, free: 7.262 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001315/0.04513, allocations: 1.073 MB / 0.592 GB, free: 6.172 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=127): time 3.106e-06/0.04513, allocations: 0 / 0.592 GB, free: 6.172 MB / 0.5105 GB Notification: Performance of matching and sorting (n=127): time 0.1966/0.2417, allocations: 9.91 MB / 0.6017 GB, free: 93.89 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.389e-05/0.2417, allocations: 122.3 kB / 0.6018 GB, free: 93.77 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001377/0.2431, allocations: 1.413 MB / 0.6032 GB, free: 93.44 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001939/0.2433, allocations: 59.27 kB / 0.6033 GB, free: 93.39 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002467/0.2436, allocations: 0.6042 MB / 0.6039 GB, free: 93.02 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002799/0.2438, allocations: 480.4 kB / 0.6043 GB, free: 92.76 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003471/0.2442, allocations: 339.8 kB / 0.6046 GB, free: 92.6 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 2.496e-05/0.2442, allocations: 301.1 kB / 0.6049 GB, free: 92.3 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00122/0.2454, allocations: 0.9805 MB / 0.6059 GB, free: 91.95 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001271/0.2467, allocations: 1.185 MB / 0.6071 GB, free: 91.43 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002402/0.2491, allocations: 2.105 MB / 0.6091 GB, free: 90.46 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.063e-06/0.2491, allocations: 1 kB / 0.6091 GB, free: 90.46 MB / 0.5105 GB Notification: Performance of matching and sorting (n=237) (initialization): time 0.005983/0.2551, allocations: 3.845 MB / 0.6129 GB, free: 89.15 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.27e-05/0.2551, allocations: 7.812 kB / 0.6129 GB, free: 89.15 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.215e-05/0.2551, allocations: 2.656 kB / 0.6129 GB, free: 89.15 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005617/0.2607, allocations: 3.033 MB / 0.6158 GB, free: 88.68 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007775/0.2615, allocations: 273.9 kB / 0.6161 GB, free: 88.65 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004215/0.2657, allocations: 3.029 MB / 0.6191 GB, free: 87.25 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001255/0.267, allocations: 257 kB / 0.6193 GB, free: 87.17 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.988e-05/0.2671, allocations: 64.7 kB / 0.6194 GB, free: 87.16 MB / 0.5105 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 (162): * Single equations (assignments): 161 * 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.0004411/0.2675, allocations: 300.7 kB / 0.6196 GB, free: 86.92 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001723/0.2677, allocations: 174.7 kB / 0.6198 GB, free: 86.83 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008924/0.2766, allocations: 4.858 MB / 0.6246 GB, free: 85.7 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.301e-05/0.2766, allocations: 16.16 kB / 0.6246 GB, free: 85.7 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.2766, allocations: 1.188 kB / 0.6246 GB, free: 85.7 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.767e-05/0.2767, allocations: 8.109 kB / 0.6246 GB, free: 85.7 MB / 0.5105 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.009996/0.2867, allocations: 6.208 MB / 0.6306 GB, free: 83.67 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.903e-06/0.2867, allocations: 1.125 kB / 0.6306 GB, free: 83.67 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004391/0.2871, allocations: 146.4 kB / 0.6308 GB, free: 83.63 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0039/0.291, allocations: 2.196 MB / 0.6329 GB, free: 82.67 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.095e-05/0.2911, allocations: 26.88 kB / 0.633 GB, free: 82.65 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01292/0.304, allocations: 9.882 MB / 0.6426 GB, free: 75.19 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.304, allocations: 7.672 kB / 0.6426 GB, free: 75.19 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008942/0.313, allocations: 5.971 MB / 0.6484 GB, free: 69.2 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003903/0.3134, allocations: 205 kB / 0.6486 GB, free: 69.01 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001387/0.3135, allocations: 28 kB / 0.6487 GB, free: 68.98 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007446/0.3142, allocations: 139.8 kB / 0.6488 GB, free: 68.85 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005169/0.3148, allocations: 269.2 kB / 0.6491 GB, free: 68.59 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.592e-05/0.3148, allocations: 35.98 kB / 0.6491 GB, free: 68.55 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0008122/0.3156, allocations: 0.9581 MB / 0.65 GB, free: 67.59 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7.1e-08/0.3156, allocations: 0 / 0.65 GB, free: 67.59 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0009295/0.3166, allocations: 0.5395 MB / 0.6506 GB, free: 67.07 MB / 0.5105 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 (84): * Single equations (assignments): 83 * 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.009155/0.3257, allocations: 6.576 MB / 0.657 GB, free: 60.46 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.004651/0.3304, allocations: 2.78 MB / 0.6597 GB, free: 57.69 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.177e-06/0.3304, allocations: 0 / 0.6597 GB, free: 57.69 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.003305/0.3337, allocations: 1.884 MB / 0.6615 GB, free: 55.79 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009742/0.3346, allocations: 137.1 kB / 0.6617 GB, free: 55.65 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02671/0.3614, allocations: 20.55 MB / 0.6817 GB, free: 34.84 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003116/0.3617, allocations: 0.6439 MB / 0.6824 GB, free: 34.16 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0003957/0.3621, allocations: 138.6 kB / 0.6825 GB, free: 34.03 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004709/0.3625, allocations: 0.6097 MB / 0.6831 GB, free: 33.42 MB / 0.5105 GB Notification: Performance of SimCode: time 1.913e-06/0.3625, allocations: 0.875 kB / 0.6831 GB, free: 33.42 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05028/0.4128, allocations: 46.13 MB / 0.7281 GB, free: 3.535 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.259/8.672, allocations: 3.859 kB / 0.7281 GB, free: 3.531 MB / 0.5261 GB " [Timeout remaining time 651] (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) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.91065722424537] Failed to read output from testmodel.py, exit status != 0: 8.777208526618779 8.784995754 8.764255122 Calling exit ...