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.001289/0.001289, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.462/1.462, allocations: 230.6 MB / 253.4 MB, free: 14.65 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.001601/0.001601, allocations: 214.3 kB / 310 MB, free: 3.09 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.4756/0.4756, allocations: 79.74 MB / 446.2 MB, free: 38.75 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.002446/0.002446, allocations: 88.22 kB / 0.5937 GB, free: 38.73 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1017/0.1042, allocations: 73.3 MB / 0.6653 GB, free: 0.6406 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.SCRX): time 0.00933/0.1135, allocations: 8.342 MB / 0.6734 GB, free: 9.746 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.005396/0.1189, allocations: 2.611 MB / 0.676 GB, free: 7.129 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009328/0.1198, allocations: 12 kB / 0.676 GB, free: 7.117 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008536/0.1207, allocations: 317.3 kB / 0.6763 GB, free: 6.805 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003194/0.1239, allocations: 1.271 MB / 0.6775 GB, free: 5.531 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.001616/0.1255, allocations: 0.7032 MB / 0.6782 GB, free: 4.836 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.00316/0.1286, allocations: 2.373 MB / 0.6806 GB, free: 2.453 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005607/0.1292, allocations: 296.7 kB / 0.6808 GB, free: 2.137 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001321/0.1305, allocations: 0.9145 MB / 0.6817 GB, free: 1.219 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001588/0.1321, allocations: 1.151 MB / 0.6829 GB, free: 64 kB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003955/0.1325, allocations: 184 kB / 0.683 GB, free: 15.88 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000828/0.1333, allocations: 419.7 kB / 0.6834 GB, free: 15.47 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004448/0.1338, allocations: 462.2 kB / 0.6839 GB, free: 15.02 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009762/0.1348, allocations: 0.909 MB / 0.6848 GB, free: 14.11 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002826/0.1376, allocations: 2.311 MB / 0.687 GB, free: 11.79 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.1376, allocations: 0 / 0.687 GB, free: 11.79 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1376, allocations: 0 / 0.687 GB, free: 11.79 MB / 478.1 MB Notification: Performance of Transformations before backend: time 3.565e-05/0.1376, allocations: 0 / 0.687 GB, free: 11.79 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.01488/0.1525, allocations: 3.922 MB / 0.6908 GB, free: 7.816 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.239e-05/0.1526, allocations: 12.03 kB / 0.6909 GB, free: 7.805 MB / 478.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.931e-05/0.1526, allocations: 22 kB / 0.6909 GB, free: 7.781 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002198/0.1528, allocations: 160.1 kB / 0.691 GB, free: 7.617 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004985/0.1578, allocations: 0.7599 MB / 0.6918 GB, free: 6.855 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002358/0.1602, allocations: 1.057 MB / 0.6928 GB, free: 5.762 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006038/0.1608, allocations: 0.5731 MB / 0.6934 GB, free: 5.086 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002972/0.1611, allocations: 115.9 kB / 0.6935 GB, free: 4.973 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003297/0.1644, allocations: 1.432 MB / 0.6949 GB, free: 3.52 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.218e-05/0.1644, allocations: 3.938 kB / 0.6949 GB, free: 3.516 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001322/0.1645, allocations: 40 kB / 0.6949 GB, free: 3.477 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.337e-05/0.1645, allocations: 24 kB / 0.6949 GB, free: 3.453 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003287/0.1678, allocations: 1.339 MB / 0.6962 GB, free: 2.113 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.009721/0.1775, allocations: 4.866 MB / 0.701 GB, free: 13.04 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008907/0.1864, allocations: 2.348 MB / 0.7033 GB, free: 10.66 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002189/0.1886, allocations: 0.8253 MB / 0.7041 GB, free: 9.824 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001483/0.1888, allocations: 20.97 kB / 0.7041 GB, free: 9.805 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00258/0.1914, allocations: 1.06 MB / 0.7051 GB, free: 8.727 MB / 494.1 MB Notification: Performance of pre-optimization done (n=126): time 2.976e-06/0.1914, allocations: 0 / 0.7051 GB, free: 8.727 MB / 494.1 MB Notification: Performance of matching and sorting (n=126): time 0.04445/0.2358, allocations: 9.67 MB / 0.7146 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.55e-05/0.2359, allocations: 119.8 kB / 0.7147 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002555/0.2385, allocations: 1.415 MB / 0.7161 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003103/0.2388, allocations: 49.7 kB / 0.7161 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005895/0.2394, allocations: 0.6088 MB / 0.7167 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006886/0.2401, allocations: 484 kB / 0.7172 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000887/0.2409, allocations: 335.5 kB / 0.7175 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001257/0.2411, allocations: 305.1 kB / 0.7178 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002534/0.2436, allocations: 0.9682 MB / 0.7187 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002703/0.2463, allocations: 1.182 MB / 0.7199 GB, free: 9.488 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005047/0.2514, allocations: 2.077 MB / 0.7219 GB, free: 7.367 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.775e-06/0.2514, allocations: 0 / 0.7219 GB, free: 7.367 MB / 0.4981 GB Notification: Performance of matching and sorting (n=236) (initialization): time 0.0109/0.2623, allocations: 3.669 MB / 0.7255 GB, free: 3.684 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.002e-05/0.2623, allocations: 13.55 kB / 0.7255 GB, free: 3.672 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.486e-05/0.2623, allocations: 4 kB / 0.7255 GB, free: 3.668 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0109/0.2732, allocations: 2.97 MB / 0.7284 GB, free: 0.6914 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001422/0.2746, allocations: 263.6 kB / 0.7287 GB, free: 444 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008293/0.2829, allocations: 2.993 MB / 0.7316 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002597/0.2855, allocations: 270.6 kB / 0.7319 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003373/0.2859, allocations: 63.98 kB / 0.7319 GB, free: 13.08 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.0008737/0.2867, allocations: 295.6 kB / 0.7322 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005299/0.2873, allocations: 170.9 kB / 0.7324 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01825/0.3055, allocations: 4.768 MB / 0.737 GB, free: 7.828 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.36e-05/0.3055, allocations: 19.98 kB / 0.737 GB, free: 7.809 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.758e-06/0.3055, allocations: 7.766 kB / 0.7371 GB, free: 7.805 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.857e-05/0.3056, allocations: 7.984 kB / 0.7371 GB, free: 7.797 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.02171/0.3273, allocations: 6.83 MB / 0.7437 GB, free: 0.8438 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.117e-05/0.3273, allocations: 0 / 0.7437 GB, free: 0.8438 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009336/0.3282, allocations: 143.8 kB / 0.7439 GB, free: 0.7031 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008309/0.3365, allocations: 2.138 MB / 0.746 GB, free: 14.56 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002624/0.3368, allocations: 31.98 kB / 0.746 GB, free: 14.53 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02938/0.3662, allocations: 9.961 MB / 0.7557 GB, free: 4.445 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.3662, allocations: 7.938 kB / 0.7557 GB, free: 4.438 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02095/0.3871, allocations: 5.913 MB / 0.7615 GB, free: 14.49 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005842/0.3877, allocations: 202.5 kB / 0.7617 GB, free: 14.29 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004754/0.3882, allocations: 27.94 kB / 0.7617 GB, free: 14.26 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001852/0.39, allocations: 131.8 kB / 0.7618 GB, free: 14.13 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009048/0.391, allocations: 277.2 kB / 0.7621 GB, free: 13.86 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001623/0.3911, allocations: 39.98 kB / 0.7621 GB, free: 13.82 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001824/0.3929, allocations: 0.9503 MB / 0.7631 GB, free: 12.88 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3929, allocations: 0 / 0.7631 GB, free: 12.88 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001763/0.3947, allocations: 0.5308 MB / 0.7636 GB, free: 12.34 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.02133/0.416, allocations: 6.528 MB / 0.77 GB, free: 5.773 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01007/0.4261, allocations: 2.724 MB / 0.7726 GB, free: 3.047 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 8.867e-06/0.4261, allocations: 0 / 0.7726 GB, free: 3.047 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.00725/0.4334, allocations: 1.837 MB / 0.7744 GB, free: 1.195 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001567/0.4349, allocations: 133.2 kB / 0.7745 GB, free: 1.066 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05094/0.4859, allocations: 18.96 MB / 0.7931 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001085/0.487, allocations: 1.227 MB / 0.7943 GB, free: 12.5 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0007319/0.4877, allocations: 146 kB / 0.7944 GB, free: 12.36 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001056/0.4887, allocations: 0.6086 MB / 0.795 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of SimCode: time 9.42e-07/0.4887, allocations: 0 / 0.795 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3204/0.8091, allocations: 45.92 MB / 0.8398 GB, free: 112.9 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.28/17.09, allocations: 12.7 kB / 0.8398 GB, free: 112.9 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.94638218206819] Failed to read output from testmodel.py, exit status != 0: 17.290323521010578 17.307840045 17.166864349 Calling exit ...