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.001291/0.001291, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.424/1.424, allocations: 230.6 MB / 253.5 MB, free: 14.27 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.001742/0.001742, allocations: 209.7 kB / 310 MB, free: 3.078 MB / 238.1 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.5758/0.5758, allocations: 101.3 MB / 467.7 MB, free: 32.07 MB / 350.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.1.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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.SCRX,fileNamePrefix="OpenIPSL_dev_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.002363/0.002363, allocations: 84.59 kB / 0.6251 GB, free: 33.06 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1342/0.1365, allocations: 78.61 MB / 0.7019 GB, free: 0.8047 MB / 478.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.SCRX): time 0.01015/0.1467, allocations: 7.312 MB / 0.709 GB, free: 9.457 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.006088/0.1528, allocations: 2.474 MB / 0.7114 GB, free: 6.98 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001524/0.1543, allocations: 12 kB / 0.7114 GB, free: 6.969 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001152/0.1555, allocations: 317.3 kB / 0.7117 GB, free: 6.656 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003679/0.1591, allocations: 1.156 MB / 0.7129 GB, free: 5.496 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001913/0.1611, allocations: 0.6988 MB / 0.7136 GB, free: 4.805 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.003545/0.1646, allocations: 2.233 MB / 0.7157 GB, free: 2.562 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006697/0.1653, allocations: 296.9 kB / 0.716 GB, free: 2.246 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001916/0.1672, allocations: 0.9145 MB / 0.7169 GB, free: 1.328 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001746/0.1689, allocations: 1.136 MB / 0.718 GB, free: 192 kB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000325/0.1693, allocations: 184 kB / 0.7182 GB, free: 8 kB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009059/0.1702, allocations: 379.8 kB / 0.7186 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004993/0.1707, allocations: 462.2 kB / 0.719 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0009141/0.1716, allocations: 0.7421 MB / 0.7197 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003464/0.175, allocations: 2.311 MB / 0.722 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.592e-06/0.175, allocations: 4 kB / 0.722 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.134e-06/0.175, allocations: 0 / 0.722 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.258e-05/0.1751, allocations: 4 kB / 0.722 GB, free: 12.11 MB / 0.4981 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.01383/0.1889, allocations: 3.706 MB / 0.7256 GB, free: 8.355 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.484e-05/0.189, allocations: 8.031 kB / 0.7256 GB, free: 8.348 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.117e-05/0.189, allocations: 29.94 kB / 0.7256 GB, free: 8.316 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002121/0.1892, allocations: 160.1 kB / 0.7258 GB, free: 8.152 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004828/0.1941, allocations: 0.7677 MB / 0.7265 GB, free: 7.383 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002501/0.1966, allocations: 1.057 MB / 0.7276 GB, free: 6.293 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006157/0.1972, allocations: 0.5731 MB / 0.7281 GB, free: 5.617 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002901/0.1975, allocations: 112 kB / 0.7282 GB, free: 5.508 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003223/0.2007, allocations: 1.443 MB / 0.7297 GB, free: 4.043 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.387e-05/0.2007, allocations: 0 / 0.7297 GB, free: 4.043 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000132/0.2008, allocations: 40 kB / 0.7297 GB, free: 4.004 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.323e-05/0.2009, allocations: 24 kB / 0.7297 GB, free: 3.98 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003188/0.2041, allocations: 1.37 MB / 0.7311 GB, free: 2.613 MB / 0.4981 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.009371/0.2134, allocations: 3.822 MB / 0.7348 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008422/0.2219, allocations: 2.349 MB / 0.7371 GB, free: 12.33 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002292/0.2242, allocations: 0.837 MB / 0.7379 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001521/0.2243, allocations: 28.92 kB / 0.7379 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002617/0.2269, allocations: 1.062 MB / 0.739 GB, free: 10.37 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=127): time 4.578e-06/0.2269, allocations: 0 / 0.739 GB, free: 10.37 MB / 0.5137 GB Notification: Performance of matching and sorting (n=127): time 0.0437/0.2706, allocations: 9.923 MB / 0.7486 GB, free: 436 kB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.437e-05/0.2707, allocations: 115.8 kB / 0.7488 GB, free: 296 kB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003102/0.2738, allocations: 1.415 MB / 0.7501 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.000427/0.2742, allocations: 49.7 kB / 0.7502 GB, free: 14.81 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.000699/0.2749, allocations: 0.6088 MB / 0.7508 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008986/0.2758, allocations: 487.9 kB / 0.7512 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001216/0.2771, allocations: 339.5 kB / 0.7516 GB, free: 13.38 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001481/0.2772, allocations: 309 kB / 0.7519 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002531/0.2797, allocations: 0.9761 MB / 0.7528 GB, free: 12.1 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002746/0.2825, allocations: 1.19 MB / 0.754 GB, free: 10.86 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005016/0.2875, allocations: 2.101 MB / 0.756 GB, free: 8.715 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.381e-05/0.2875, allocations: 4 kB / 0.756 GB, free: 8.711 MB / 0.5294 GB Notification: Performance of matching and sorting (n=237) (initialization): time 0.01145/0.299, allocations: 3.84 MB / 0.7598 GB, free: 4.859 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.393e-05/0.299, allocations: 11.94 kB / 0.7598 GB, free: 4.848 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.914e-05/0.299, allocations: 4 kB / 0.7598 GB, free: 4.844 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01091/0.3099, allocations: 3.032 MB / 0.7628 GB, free: 1.805 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001512/0.3114, allocations: 263.6 kB / 0.763 GB, free: 1.543 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008414/0.3198, allocations: 3.028 MB / 0.766 GB, free: 14.48 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00271/0.3226, allocations: 262.7 kB / 0.7662 GB, free: 14.22 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000402/0.323, allocations: 67.98 kB / 0.7663 GB, free: 14.16 MB / 0.545 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.001041/0.324, allocations: 302.2 kB / 0.7666 GB, free: 13.86 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006145/0.3246, allocations: 166.9 kB / 0.7667 GB, free: 13.69 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01691/0.3415, allocations: 4.858 MB / 0.7715 GB, free: 8.809 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.436e-05/0.3416, allocations: 12 kB / 0.7715 GB, free: 8.797 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.198e-05/0.3416, allocations: 7.938 kB / 0.7715 GB, free: 8.789 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-05/0.3416, allocations: 15.91 kB / 0.7715 GB, free: 8.773 MB / 0.545 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.02047/0.3621, allocations: 6.209 MB / 0.7776 GB, free: 2.5 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.55e-05/0.3621, allocations: 0 / 0.7776 GB, free: 2.5 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001006/0.3631, allocations: 151.7 kB / 0.7777 GB, free: 2.352 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007798/0.3709, allocations: 2.196 MB / 0.7799 GB, free: 156 kB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003285/0.3712, allocations: 28 kB / 0.7799 GB, free: 128 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02748/0.3987, allocations: 9.867 MB / 0.7895 GB, free: 6.133 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.337e-06/0.3987, allocations: 11.92 kB / 0.7895 GB, free: 6.121 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01953/0.4182, allocations: 5.956 MB / 0.7954 GB, free: 136 kB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006494/0.4189, allocations: 206.8 kB / 0.7956 GB, free: 15.93 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005751/0.4195, allocations: 31.94 kB / 0.7956 GB, free: 15.89 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001899/0.4214, allocations: 139.6 kB / 0.7957 GB, free: 15.76 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009896/0.4223, allocations: 273.2 kB / 0.796 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002137/0.4226, allocations: 39.98 kB / 0.796 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001872/0.4244, allocations: 0.9543 MB / 0.797 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4244, allocations: 0 / 0.797 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002027/0.4265, allocations: 0.5347 MB / 0.7975 GB, free: 13.97 MB / 0.5762 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.01952/0.446, allocations: 6.575 MB / 0.8039 GB, free: 7.352 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.009589/0.4556, allocations: 2.79 MB / 0.8066 GB, free: 4.555 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/0.4556, allocations: 0 / 0.8066 GB, free: 4.555 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.006485/0.4621, allocations: 1.88 MB / 0.8085 GB, free: 2.66 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001554/0.4636, allocations: 133.2 kB / 0.8086 GB, free: 2.527 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3386/0.8022, allocations: 19.05 MB / 0.8272 GB, free: 99.42 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006176/0.8028, allocations: 0.6434 MB / 0.8278 GB, free: 99.26 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0006079/0.8035, allocations: 140.8 kB / 0.8279 GB, free: 99.24 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007317/0.8042, allocations: 0.6082 MB / 0.8285 GB, free: 98.76 MB / 0.5762 GB Notification: Performance of SimCode: time 9.72e-07/0.8042, allocations: 0 / 0.8285 GB, free: 98.76 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06849/0.8727, allocations: 45.17 MB / 0.8726 GB, free: 58.89 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.02/16.9, allocations: 10.08 kB / 0.8727 GB, free: 58.88 MB / 0.5762 GB " [Timeout remaining time 643] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_SCRX_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 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: 20.806873867986724] Failed to read output from testmodel.py, exit status != 0: 17.089439579984173 17.109460705 16.930518022 Calling exit ...