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.001305/0.001305, 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.409/1.409, allocations: 230.6 MB / 253.4 MB, free: 14.66 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.001505/0.001505, allocations: 212.6 kB / 310 MB, free: 3.09 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.56/0.56, allocations: 101.3 MB / 467.8 MB, free: 30.57 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.002302/0.002302, allocations: 85.53 kB / 0.6252 GB, free: 33.35 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1205/0.1228, allocations: 78.61 MB / 0.702 GB, free: 1.023 MB / 478.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.SCRX): time 0.009505/0.1323, allocations: 8.416 MB / 0.7102 GB, free: 8.566 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.005237/0.1376, allocations: 2.61 MB / 0.7127 GB, free: 5.953 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009352/0.1385, allocations: 15.94 kB / 0.7127 GB, free: 5.938 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008628/0.1394, allocations: 321.3 kB / 0.713 GB, free: 5.621 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002728/0.1421, allocations: 1.181 MB / 0.7142 GB, free: 4.434 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001617/0.1437, allocations: 0.7022 MB / 0.7149 GB, free: 3.738 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.003081/0.1468, allocations: 2.233 MB / 0.7171 GB, free: 1.496 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006097/0.1474, allocations: 300.9 kB / 0.7174 GB, free: 1.176 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001341/0.1487, allocations: 0.9106 MB / 0.7182 GB, free: 268 kB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001507/0.1503, allocations: 1.14 MB / 0.7194 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003941/0.1506, allocations: 184 kB / 0.7195 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008081/0.1515, allocations: 415.8 kB / 0.7199 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004169/0.1519, allocations: 462.2 kB / 0.7204 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0008686/0.1527, allocations: 0.9051 MB / 0.7213 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002686/0.1554, allocations: 2.295 MB / 0.7235 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.1554, allocations: 0 / 0.7235 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.282e-06/0.1554, allocations: 0 / 0.7235 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.647e-05/0.1555, allocations: 4 kB / 0.7235 GB, free: 10.86 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.01276/0.1682, allocations: 3.721 MB / 0.7271 GB, free: 7.09 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.337e-05/0.1683, allocations: 19.91 kB / 0.7272 GB, free: 7.07 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.22e-05/0.1683, allocations: 26 kB / 0.7272 GB, free: 7.043 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002109/0.1685, allocations: 156.1 kB / 0.7273 GB, free: 6.883 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004562/0.1731, allocations: 0.756 MB / 0.7281 GB, free: 6.125 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002137/0.1752, allocations: 1.057 MB / 0.7291 GB, free: 5.035 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005913/0.1758, allocations: 0.577 MB / 0.7297 GB, free: 4.355 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002404/0.1761, allocations: 116 kB / 0.7298 GB, free: 4.242 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003116/0.1792, allocations: 1.436 MB / 0.7312 GB, free: 2.785 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.03e-05/0.1792, allocations: 0 / 0.7312 GB, free: 2.785 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001261/0.1793, allocations: 40 kB / 0.7312 GB, free: 2.746 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.169e-05/0.1793, allocations: 31.94 kB / 0.7312 GB, free: 2.715 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003258/0.1826, allocations: 1.359 MB / 0.7326 GB, free: 1.359 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.00917/0.1918, allocations: 4.885 MB / 0.7373 GB, free: 12.26 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008305/0.2001, allocations: 2.358 MB / 0.7396 GB, free: 9.879 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002042/0.2021, allocations: 0.8331 MB / 0.7405 GB, free: 9.031 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001307/0.2022, allocations: 28.95 kB / 0.7405 GB, free: 9.004 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002351/0.2046, allocations: 1.073 MB / 0.7415 GB, free: 7.91 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=127): time 3.396e-06/0.2046, allocations: 0 / 0.7415 GB, free: 7.91 MB / 0.5137 GB Notification: Performance of matching and sorting (n=127): time 0.04401/0.2486, allocations: 9.907 MB / 0.7512 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.362e-05/0.2487, allocations: 123.8 kB / 0.7513 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002647/0.2514, allocations: 1.407 MB / 0.7527 GB, free: 12.42 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0003275/0.2517, allocations: 53.7 kB / 0.7527 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005938/0.2523, allocations: 0.6049 MB / 0.7533 GB, free: 11.75 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006878/0.253, allocations: 495.7 kB / 0.7538 GB, free: 11.26 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008578/0.2538, allocations: 335.5 kB / 0.7541 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001236/0.2539, allocations: 309.1 kB / 0.7544 GB, free: 10.62 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002444/0.2564, allocations: 0.9839 MB / 0.7554 GB, free: 9.641 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002728/0.2591, allocations: 1.182 MB / 0.7565 GB, free: 8.414 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004974/0.2641, allocations: 2.101 MB / 0.7586 GB, free: 6.266 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.879e-06/0.2641, allocations: 4 kB / 0.7586 GB, free: 6.262 MB / 0.5294 GB Notification: Performance of matching and sorting (n=237) (initialization): time 0.01121/0.2753, allocations: 3.844 MB / 0.7623 GB, free: 2.406 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.327e-05/0.2753, allocations: 14.12 kB / 0.7624 GB, free: 2.395 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.543e-05/0.2754, allocations: 4 kB / 0.7624 GB, free: 2.391 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01083/0.2862, allocations: 3.036 MB / 0.7653 GB, free: 15.34 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001381/0.2876, allocations: 271.6 kB / 0.7656 GB, free: 15.08 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007946/0.2955, allocations: 3.024 MB / 0.7685 GB, free: 12.02 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002469/0.298, allocations: 266.7 kB / 0.7688 GB, free: 11.76 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000274/0.2983, allocations: 59.98 kB / 0.7689 GB, free: 11.7 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.0007845/0.299, allocations: 306.4 kB / 0.7691 GB, free: 11.39 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004479/0.2995, allocations: 170.9 kB / 0.7693 GB, free: 11.23 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01737/0.3169, allocations: 4.858 MB / 0.7741 GB, free: 6.344 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-05/0.3169, allocations: 12 kB / 0.7741 GB, free: 6.332 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.258e-06/0.3169, allocations: 3.938 kB / 0.7741 GB, free: 6.328 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.139e-05/0.3169, allocations: 7.984 kB / 0.7741 GB, free: 6.32 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.02112/0.338, allocations: 6.862 MB / 0.7808 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.6e-05/0.3381, allocations: 3.938 kB / 0.7808 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009571/0.339, allocations: 147.8 kB / 0.7809 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008183/0.3472, allocations: 2.192 MB / 0.7831 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000247/0.3474, allocations: 31.98 kB / 0.7831 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02848/0.3759, allocations: 10.12 MB / 0.793 GB, free: 2.715 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.3759, allocations: 0 / 0.793 GB, free: 2.715 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02023/0.3962, allocations: 5.976 MB / 0.7988 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006197/0.3968, allocations: 202.6 kB / 0.799 GB, free: 12.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004742/0.3973, allocations: 20 kB / 0.799 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001831/0.3991, allocations: 143.8 kB / 0.7992 GB, free: 12.34 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009028/0.4, allocations: 273.2 kB / 0.7994 GB, free: 12.08 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001628/0.4001, allocations: 39.98 kB / 0.7995 GB, free: 12.04 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001713/0.4019, allocations: 0.9503 MB / 0.8004 GB, free: 11.09 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.41e-07/0.4019, allocations: 112 / 0.8004 GB, free: 11.09 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001697/0.4036, allocations: 0.5385 MB / 0.8009 GB, free: 10.55 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.02051/0.4241, allocations: 6.575 MB / 0.8073 GB, free: 3.934 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.009985/0.4341, allocations: 2.782 MB / 0.8101 GB, free: 1.145 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.2e-06/0.4341, allocations: 0 / 0.8101 GB, free: 1.145 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.2596/0.6937, allocations: 1.883 MB / 0.8119 GB, free: 103.4 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001212/0.6949, allocations: 138.4 kB / 0.812 GB, free: 103.4 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0445/0.7394, allocations: 19.06 MB / 0.8306 GB, free: 97.2 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005422/0.7399, allocations: 1.228 MB / 0.8318 GB, free: 96.46 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0005433/0.7405, allocations: 142.5 kB / 0.832 GB, free: 96.44 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006656/0.7412, allocations: 0.6104 MB / 0.8326 GB, free: 95.96 MB / 0.5762 GB Notification: Performance of SimCode: time 1.092e-06/0.7412, allocations: 4 kB / 0.8326 GB, free: 95.95 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06836/0.8095, allocations: 46.03 MB / 0.8775 GB, free: 54.59 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.01/16.82, allocations: 6.172 kB / 0.8775 GB, free: 54.59 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.559107862995006] Failed to read output from testmodel.py, exit status != 0: 17.005560415098444 17.019078927 16.861199717 Calling exit ...