Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_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.001763/0.001763, allocations: 100.3 kB / 19.73 MB, free: 2.133 MB / 14.72 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 1.464/1.464, allocations: 230.6 MB / 253.5 MB, free: 14.28 MB / 206.1 MB " [Timeout remaining time 178] 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.00158/0.00158, allocations: 214.3 kB / 310 MB, free: 3.066 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4895/0.4895, allocations: 79.74 MB / 446.2 MB, free: 40.27 MB / 350.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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_OpenIPSL_Tests_Controls_PSSE_ES_SCRX",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.SCRX,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_SCRX",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: OpenIPSL requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002535/0.002535, allocations: 86.83 kB / 0.5936 GB, free: 38.66 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1158/0.1184, allocations: 73.29 MB / 0.6652 GB, free: 316 kB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.SCRX): time 0.008818/0.1272, allocations: 7.265 MB / 0.6723 GB, free: 10.45 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.005294/0.1325, allocations: 2.471 MB / 0.6747 GB, free: 7.965 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000775/0.1333, allocations: 12 kB / 0.6747 GB, free: 7.953 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000852/0.1341, allocations: 317.3 kB / 0.675 GB, free: 7.641 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003056/0.1372, allocations: 1.241 MB / 0.6762 GB, free: 6.398 MB / 462.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/NonElectrical/Logical/NegCurLogic.mo:14:3-14:60:writable] Warning: In relation sCRX.negCurLogic.RC_rfd == 0.0, == on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeClassSections: time 0.00154/0.1387, allocations: 0.6819 MB / 0.6769 GB, free: 5.723 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.00293/0.1416, allocations: 2.377 MB / 0.6792 GB, free: 3.34 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005408/0.1422, allocations: 296.7 kB / 0.6795 GB, free: 3.023 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001215/0.1434, allocations: 0.9184 MB / 0.6804 GB, free: 2.102 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001456/0.1448, allocations: 1.151 MB / 0.6815 GB, free: 0.9453 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003192/0.1452, allocations: 180 kB / 0.6817 GB, free: 0.7695 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007188/0.1459, allocations: 375.8 kB / 0.6821 GB, free: 412 kB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004506/0.1463, allocations: 470.2 kB / 0.6825 GB, free: 15.94 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007716/0.1471, allocations: 0.7499 MB / 0.6832 GB, free: 15.19 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002583/0.1497, allocations: 2.315 MB / 0.6855 GB, free: 12.86 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.1497, allocations: 7.938 kB / 0.6855 GB, free: 12.86 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.1497, allocations: 0 / 0.6855 GB, free: 12.86 MB / 478.1 MB Notification: Performance of Transformations before backend: time 3.125e-05/0.1497, allocations: 3.938 kB / 0.6855 GB, free: 12.85 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.01402/0.1637, allocations: 3.913 MB / 0.6893 GB, free: 8.891 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.306e-05/0.1638, allocations: 12.03 kB / 0.6893 GB, free: 8.879 MB / 478.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.256e-05/0.1638, allocations: 26 kB / 0.6894 GB, free: 8.852 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002202/0.164, allocations: 156.1 kB / 0.6895 GB, free: 8.691 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004759/0.1688, allocations: 0.7637 MB / 0.6903 GB, free: 7.926 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002104/0.1709, allocations: 1.053 MB / 0.6913 GB, free: 6.836 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005831/0.1715, allocations: 0.5692 MB / 0.6918 GB, free: 6.164 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002394/0.1717, allocations: 119.9 kB / 0.692 GB, free: 6.047 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003081/0.1748, allocations: 1.428 MB / 0.6934 GB, free: 4.598 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.19e-05/0.1748, allocations: 3.938 kB / 0.6934 GB, free: 4.594 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001384/0.175, allocations: 40 kB / 0.6934 GB, free: 4.555 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.144e-05/0.175, allocations: 24 kB / 0.6934 GB, free: 4.531 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003137/0.1781, allocations: 1.351 MB / 0.6947 GB, free: 3.18 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.008519/0.1867, allocations: 3.807 MB / 0.6985 GB, free: 15.29 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00836/0.195, allocations: 2.338 MB / 0.7007 GB, free: 12.92 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0019/0.1969, allocations: 0.8214 MB / 0.7015 GB, free: 12.09 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00012/0.197, allocations: 20.98 kB / 0.7016 GB, free: 12.07 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002303/0.1993, allocations: 1.062 MB / 0.7026 GB, free: 10.99 MB / 494.1 MB Notification: Performance of pre-optimization done (n=126): time 3.586e-06/0.1993, allocations: 0 / 0.7026 GB, free: 10.99 MB / 494.1 MB Notification: Performance of matching and sorting (n=126): time 0.04199/0.2413, allocations: 9.673 MB / 0.712 GB, free: 1.289 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.444e-05/0.2414, allocations: 115.8 kB / 0.7122 GB, free: 1.152 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002408/0.2438, allocations: 1.415 MB / 0.7135 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002593/0.2441, allocations: 57.64 kB / 0.7136 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005354/0.2446, allocations: 0.5971 MB / 0.7142 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000566/0.2452, allocations: 488 kB / 0.7146 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007167/0.2459, allocations: 339.5 kB / 0.715 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001205/0.246, allocations: 305.1 kB / 0.7153 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002265/0.2483, allocations: 0.9722 MB / 0.7162 GB, free: 12.97 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002482/0.2508, allocations: 1.176 MB / 0.7174 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004559/0.2553, allocations: 2.077 MB / 0.7194 GB, free: 9.633 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.564e-06/0.2553, allocations: 0 / 0.7194 GB, free: 9.633 MB / 0.4981 GB Notification: Performance of matching and sorting (n=236) (initialization): time 0.009838/0.2652, allocations: 3.669 MB / 0.723 GB, free: 5.949 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.824e-05/0.2652, allocations: 8 kB / 0.723 GB, free: 5.941 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.522e-05/0.2652, allocations: 4 kB / 0.723 GB, free: 5.938 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01042/0.2756, allocations: 2.974 MB / 0.7259 GB, free: 2.957 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001443/0.2771, allocations: 263.6 kB / 0.7261 GB, free: 2.699 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007524/0.2846, allocations: 2.997 MB / 0.7291 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002367/0.287, allocations: 254.7 kB / 0.7293 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001956/0.2872, allocations: 67.98 kB / 0.7294 GB, free: 15.36 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.0006646/0.2878, allocations: 299.5 kB / 0.7297 GB, free: 15.06 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003431/0.2882, allocations: 166.9 kB / 0.7298 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01671/0.3049, allocations: 4.776 MB / 0.7345 GB, free: 10.1 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.845e-05/0.3049, allocations: 12 kB / 0.7345 GB, free: 10.09 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.488e-06/0.3049, allocations: 3.938 kB / 0.7345 GB, free: 10.08 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.735e-05/0.3049, allocations: 11.97 kB / 0.7345 GB, free: 10.07 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.01914/0.3241, allocations: 6.17 MB / 0.7405 GB, free: 3.836 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.146e-05/0.3241, allocations: 4 kB / 0.7405 GB, free: 3.832 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009736/0.3251, allocations: 139.8 kB / 0.7407 GB, free: 3.695 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007798/0.3329, allocations: 2.146 MB / 0.7428 GB, free: 1.543 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002276/0.3331, allocations: 28 kB / 0.7428 GB, free: 1.516 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02678/0.3599, allocations: 9.723 MB / 0.7523 GB, free: 7.672 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.998e-06/0.3599, allocations: 4 kB / 0.7523 GB, free: 7.668 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01941/0.3793, allocations: 5.91 MB / 0.7581 GB, free: 1.727 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006614/0.38, allocations: 206.5 kB / 0.7583 GB, free: 1.52 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004742/0.3804, allocations: 31.94 kB / 0.7583 GB, free: 1.488 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001807/0.3822, allocations: 131.8 kB / 0.7584 GB, free: 1.359 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008992/0.3831, allocations: 277.2 kB / 0.7587 GB, free: 1.09 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001181/0.3833, allocations: 32 kB / 0.7587 GB, free: 1.059 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001624/0.3849, allocations: 0.9503 MB / 0.7596 GB, free: 112 kB / 0.5294 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3849, allocations: 4 kB / 0.7596 GB, free: 108 kB / 0.5294 GB Notification: Performance of remove unused functions: time 0.00164/0.3865, allocations: 0.5309 MB / 0.7602 GB, free: 15.57 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.01947/0.406, allocations: 6.521 MB / 0.7665 GB, free: 9.008 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.00903/0.415, allocations: 2.732 MB / 0.7692 GB, free: 6.273 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/0.415, allocations: 4.125 kB / 0.7692 GB, free: 6.27 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.006269/0.4213, allocations: 1.848 MB / 0.771 GB, free: 4.41 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001382/0.4227, allocations: 130.7 kB / 0.7711 GB, free: 4.285 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04814/0.4708, allocations: 18.94 MB / 0.7896 GB, free: 1.016 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008258/0.4716, allocations: 0.6499 MB / 0.7903 GB, free: 332 kB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0006518/0.4723, allocations: 138 kB / 0.7904 GB, free: 192 kB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00105/0.4733, allocations: 0.6009 MB / 0.791 GB, free: 15.58 MB / 0.5762 GB Notification: Performance of SimCode: time 8.31e-07/0.4733, allocations: 0 / 0.791 GB, free: 15.58 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3266/0.8, allocations: 45.09 MB / 0.835 GB, free: 120.1 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.38/17.18, allocations: 0 / 0.835 GB, free: 120.1 MB / 0.5762 GB " [Timeout remaining time 643] (rm -f OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_SCRX_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_SCRX.fmu > OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 20.93580313399434] Failed to read output from testmodel.py, exit status != 0: 17.37444781907834 17.391605647 17.238481264 Calling exit ...