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.001287/0.001287, allocations: 114.8 kB / 17.16 MB, free: 5.895 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.433/1.433, allocations: 230.6 MB / 250.5 MB, free: 9.387 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.001741/0.001741, allocations: 212.3 kB / 306.7 MB, free: 4.355 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.4484/0.4484, allocations: 79.71 MB / 442.5 MB, free: 252 kB / 302.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.002701/0.002701, allocations: 79.89 kB / 0.5885 GB, free: 1.605 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1774/0.1801, allocations: 73.26 MB / 0.6601 GB, free: 8.25 MB / 462.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.SCRX): time 0.01445/0.1945, allocations: 8.312 MB / 0.6682 GB, free: 15.89 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.008162/0.2027, allocations: 2.595 MB / 0.6707 GB, free: 13.29 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001867/0.2045, allocations: 12 kB / 0.6707 GB, free: 13.28 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001518/0.2061, allocations: 321.3 kB / 0.671 GB, free: 12.96 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005297/0.2114, allocations: 1.274 MB / 0.6723 GB, free: 11.69 MB / 478.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.002491/0.2139, allocations: 0.6816 MB / 0.6729 GB, free: 11.02 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.004366/0.2182, allocations: 2.35 MB / 0.6752 GB, free: 8.656 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007634/0.219, allocations: 304.2 kB / 0.6755 GB, free: 8.332 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00186/0.2208, allocations: 0.9106 MB / 0.6764 GB, free: 7.418 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002402/0.2232, allocations: 1.148 MB / 0.6775 GB, free: 6.266 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005625/0.2238, allocations: 184 kB / 0.6777 GB, free: 6.086 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001269/0.2251, allocations: 419.7 kB / 0.6781 GB, free: 5.676 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006396/0.2257, allocations: 466.2 kB / 0.6786 GB, free: 5.219 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001512/0.2272, allocations: 0.909 MB / 0.6794 GB, free: 4.305 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004599/0.2318, allocations: 2.303 MB / 0.6817 GB, free: 1.992 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.874e-06/0.2318, allocations: 0 / 0.6817 GB, free: 1.992 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.2318, allocations: 0 / 0.6817 GB, free: 1.992 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.744e-05/0.2319, allocations: 0 / 0.6817 GB, free: 1.992 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.02252/0.2544, allocations: 3.826 MB / 0.6854 GB, free: 14.11 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.568e-05/0.2545, allocations: 11.97 kB / 0.6854 GB, free: 14.09 MB / 494.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.825e-05/0.2545, allocations: 26 kB / 0.6855 GB, free: 14.07 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00034/0.2549, allocations: 156.1 kB / 0.6856 GB, free: 13.91 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00863/0.2635, allocations: 0.7637 MB / 0.6864 GB, free: 13.14 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003689/0.2672, allocations: 1.121 MB / 0.6875 GB, free: 11.97 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007688/0.268, allocations: 424.7 kB / 0.6879 GB, free: 11.49 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004089/0.2684, allocations: 115.9 kB / 0.688 GB, free: 11.38 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005125/0.2735, allocations: 1.424 MB / 0.6894 GB, free: 9.93 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.27e-05/0.2735, allocations: 0 / 0.6894 GB, free: 9.93 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002179/0.2737, allocations: 40 kB / 0.6894 GB, free: 9.891 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.765e-05/0.2738, allocations: 24 kB / 0.6894 GB, free: 9.867 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005297/0.2791, allocations: 1.347 MB / 0.6907 GB, free: 8.52 MB / 494.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.01037/0.2894, allocations: 4.924 MB / 0.6955 GB, free: 3.383 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009069/0.2985, allocations: 2.793 MB / 0.6983 GB, free: 460 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.2904/0.5889, allocations: 0.8193 MB / 0.6991 GB, free: 36.11 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001717/0.5891, allocations: 26.48 kB / 0.6991 GB, free: 36.11 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00219/0.5913, allocations: 1.059 MB / 0.7001 GB, free: 36.02 MB / 494.1 MB Notification: Performance of pre-optimization done (n=126): time 3.737e-06/0.5913, allocations: 3.969 kB / 0.7001 GB, free: 36.02 MB / 494.1 MB Notification: Performance of matching and sorting (n=126): time 0.04375/0.6351, allocations: 9.749 MB / 0.7097 GB, free: 35.66 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.103e-05/0.6351, allocations: 117.7 kB / 0.7098 GB, free: 35.54 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002554/0.6377, allocations: 1.418 MB / 0.7112 GB, free: 35.37 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003371/0.638, allocations: 51.08 kB / 0.7112 GB, free: 35.32 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004118/0.6384, allocations: 0.6057 MB / 0.7118 GB, free: 34.93 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005559/0.639, allocations: 479.9 kB / 0.7123 GB, free: 34.61 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006816/0.6396, allocations: 346 kB / 0.7126 GB, free: 34.46 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 4.19e-05/0.6397, allocations: 306.5 kB / 0.7129 GB, free: 34.16 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002174/0.6419, allocations: 0.9716 MB / 0.7138 GB, free: 33.8 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002379/0.6442, allocations: 1.174 MB / 0.715 GB, free: 33.27 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004271/0.6485, allocations: 2.071 MB / 0.717 GB, free: 32.28 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.148e-06/0.6485, allocations: 2.281 kB / 0.717 GB, free: 32.28 MB / 494.1 MB Notification: Performance of matching and sorting (n=236) (initialization): time 0.009507/0.658, allocations: 3.667 MB / 0.7206 GB, free: 30.55 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.632e-05/0.6581, allocations: 7.375 kB / 0.7206 GB, free: 30.55 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.562e-05/0.6581, allocations: 3.219 kB / 0.7206 GB, free: 30.55 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01006/0.6681, allocations: 2.973 MB / 0.7235 GB, free: 29.41 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001391/0.6695, allocations: 270.8 kB / 0.7237 GB, free: 29.35 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006849/0.6764, allocations: 3 MB / 0.7267 GB, free: 27.57 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002551/0.6789, allocations: 257.2 kB / 0.7269 GB, free: 27.41 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001953/0.6791, allocations: 62.98 kB / 0.727 GB, free: 27.39 MB / 494.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.0006839/0.6798, allocations: 295.6 kB / 0.7273 GB, free: 27.16 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004197/0.6802, allocations: 171.8 kB / 0.7274 GB, free: 27.07 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01595/0.6962, allocations: 4.783 MB / 0.7321 GB, free: 24.63 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.761e-05/0.6962, allocations: 14.69 kB / 0.7321 GB, free: 24.63 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.177e-06/0.6962, allocations: 3.938 kB / 0.7321 GB, free: 24.62 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-05/0.6962, allocations: 11.59 kB / 0.7321 GB, free: 24.62 MB / 494.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.01798/0.7142, allocations: 6.848 MB / 0.7388 GB, free: 17.85 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.077e-05/0.7142, allocations: 0 / 0.7388 GB, free: 17.85 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008973/0.7151, allocations: 147.8 kB / 0.739 GB, free: 17.71 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007226/0.7223, allocations: 2.139 MB / 0.741 GB, free: 15.56 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002241/0.7226, allocations: 31.98 kB / 0.7411 GB, free: 15.53 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02391/0.7465, allocations: 10.07 MB / 0.7509 GB, free: 5.309 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.7465, allocations: 0 / 0.7509 GB, free: 5.309 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01818/0.7647, allocations: 5.919 MB / 0.7567 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007942/0.7654, allocations: 284.5 kB / 0.757 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000365/0.7658, allocations: 20.56 kB / 0.757 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001715/0.7675, allocations: 138.4 kB / 0.7571 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008857/0.7684, allocations: 261.3 kB / 0.7574 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001082/0.7685, allocations: 35.98 kB / 0.7574 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001619/0.7701, allocations: 0.9503 MB / 0.7583 GB, free: 13.67 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.8e-07/0.7701, allocations: 2.188 kB / 0.7583 GB, free: 13.67 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001604/0.7717, allocations: 0.5386 MB / 0.7589 GB, free: 13.13 MB / 0.4981 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.0205/0.7922, allocations: 6.524 MB / 0.7652 GB, free: 6.578 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.009567/0.8018, allocations: 2.73 MB / 0.7679 GB, free: 3.852 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/0.8018, allocations: 3.938 kB / 0.7679 GB, free: 3.848 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.006668/0.8085, allocations: 1.843 MB / 0.7697 GB, free: 1.992 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001287/0.8098, allocations: 133.2 kB / 0.7698 GB, free: 1.859 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0484/0.8582, allocations: 18.96 MB / 0.7883 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009156/0.8591, allocations: 1.223 MB / 0.7895 GB, free: 13.37 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0006231/0.8597, allocations: 146 kB / 0.7897 GB, free: 13.22 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009177/0.8606, allocations: 0.6086 MB / 0.7903 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of SimCode: time 1.363e-06/0.8606, allocations: 0 / 0.7903 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08841/0.949, allocations: 44.64 MB / 0.8339 GB, free: 100 kB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.2/16.15, allocations: 17.73 kB / 0.8339 GB, free: 88 kB / 0.5606 GB " [Timeout remaining time 644] (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.117303615028504] Failed to read output from testmodel.py, exit status != 0: 16.330936198006384 16.359224275 16.121960576 Calling exit ...