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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00137/0.00137, allocations: 108 kB / 16.45 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.473/1.473, allocations: 225.6 MB / 244.8 MB, free: 14.14 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001475/0.001475, allocations: 187.3 kB / 299.8 MB, free: 9.805 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.4684/0.4684, allocations: 79.72 MB / 434.4 MB, free: 6.234 MB / 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.SCRX,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_SCRX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.SCRX,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_SCRX",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002302/0.002302, allocations: 87.86 kB / 0.5784 GB, free: 9.93 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1349/0.1372, allocations: 72.09 MB / 0.6488 GB, free: 1.746 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.SCRX): time 0.01017/0.1474, allocations: 8.297 MB / 0.6569 GB, free: 9.398 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.005863/0.1533, allocations: 2.576 MB / 0.6594 GB, free: 6.812 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001254/0.1545, allocations: 12 kB / 0.6594 GB, free: 6.801 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001008/0.1555, allocations: 321.3 kB / 0.6597 GB, free: 6.484 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003573/0.1591, allocations: 1.245 MB / 0.6609 GB, free: 5.238 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.001793/0.1609, allocations: 0.6917 MB / 0.6616 GB, free: 4.555 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0033/0.1642, allocations: 2.334 MB / 0.6639 GB, free: 2.211 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005513/0.1647, allocations: 308.4 kB / 0.6642 GB, free: 1.887 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00117/0.1659, allocations: 0.8872 MB / 0.6651 GB, free: 0.9961 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001383/0.1673, allocations: 1.151 MB / 0.6662 GB, free: 15.84 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002812/0.1676, allocations: 180 kB / 0.6664 GB, free: 15.66 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007528/0.1683, allocations: 415.7 kB / 0.6668 GB, free: 15.26 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004251/0.1688, allocations: 462.2 kB / 0.6672 GB, free: 14.8 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008771/0.1696, allocations: 0.9051 MB / 0.6681 GB, free: 13.89 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002907/0.1725, allocations: 2.311 MB / 0.6703 GB, free: 11.57 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.1725, allocations: 0 / 0.6703 GB, free: 11.57 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1725, allocations: 0 / 0.6703 GB, free: 11.57 MB / 478.1 MB Notification: Performance of Transformations before backend: time 4.173e-05/0.1726, allocations: 8 kB / 0.6703 GB, free: 11.57 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.01496/0.1875, allocations: 3.811 MB / 0.6741 GB, free: 7.695 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.38e-05/0.1876, allocations: 8.031 kB / 0.6741 GB, free: 7.688 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002644/0.1879, allocations: 160.1 kB / 0.6742 GB, free: 7.523 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004896/0.1928, allocations: 0.7521 MB / 0.675 GB, free: 6.77 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002506/0.1953, allocations: 1.133 MB / 0.6761 GB, free: 5.586 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004974/0.1958, allocations: 432.7 kB / 0.6765 GB, free: 5.094 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002464/0.196, allocations: 108 kB / 0.6766 GB, free: 4.988 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003/0.199, allocations: 1.432 MB / 0.678 GB, free: 3.539 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.411e-05/0.199, allocations: 3.938 kB / 0.678 GB, free: 3.535 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001244/0.1992, allocations: 36 kB / 0.678 GB, free: 3.5 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.313e-05/0.1992, allocations: 24 kB / 0.678 GB, free: 3.477 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003106/0.2023, allocations: 1.351 MB / 0.6794 GB, free: 2.125 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.009901/0.2122, allocations: 4.924 MB / 0.6842 GB, free: 12.99 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008641/0.2208, allocations: 2.782 MB / 0.6869 GB, free: 10.07 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002152/0.223, allocations: 0.8292 MB / 0.6877 GB, free: 9.227 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001279/0.2231, allocations: 16.98 kB / 0.6877 GB, free: 9.211 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002431/0.2255, allocations: 1.065 MB / 0.6888 GB, free: 8.121 MB / 494.1 MB Notification: Performance of pre-optimization done (n=126): time 3.316e-06/0.2255, allocations: 0 / 0.6888 GB, free: 8.121 MB / 494.1 MB Notification: Performance of matching and sorting (n=126): time 0.3159/0.5414, allocations: 9.747 MB / 0.6983 GB, free: 44.49 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.75e-05/0.5415, allocations: 121.1 kB / 0.6984 GB, free: 44.37 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002609/0.5441, allocations: 1.409 MB / 0.6998 GB, free: 44.21 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003859/0.5445, allocations: 51.89 kB / 0.6998 GB, free: 44.18 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004557/0.5449, allocations: 0.6043 MB / 0.7004 GB, free: 44.09 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005174/0.5454, allocations: 489.3 kB / 0.7009 GB, free: 43.92 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000663/0.5461, allocations: 336.3 kB / 0.7012 GB, free: 43.9 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 4.437e-05/0.5461, allocations: 309.3 kB / 0.7015 GB, free: 43.6 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002221/0.5484, allocations: 0.9707 MB / 0.7024 GB, free: 43.39 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002293/0.5506, allocations: 1.17 MB / 0.7036 GB, free: 42.87 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004203/0.5548, allocations: 2.082 MB / 0.7056 GB, free: 41.9 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.225e-06/0.5549, allocations: 0 / 0.7056 GB, free: 41.9 MB / 494.1 MB Notification: Performance of matching and sorting (n=236) (initialization): time 0.009919/0.5648, allocations: 3.662 MB / 0.7092 GB, free: 40.64 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.185e-05/0.5648, allocations: 10.3 kB / 0.7092 GB, free: 40.64 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.629e-05/0.5648, allocations: 2.531 kB / 0.7092 GB, free: 40.64 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01009/0.5749, allocations: 2.976 MB / 0.7121 GB, free: 40.17 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001521/0.5764, allocations: 269.7 kB / 0.7124 GB, free: 40.14 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007166/0.5836, allocations: 2.992 MB / 0.7153 GB, free: 38.75 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002467/0.5861, allocations: 255.1 kB / 0.7155 GB, free: 38.63 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002112/0.5863, allocations: 61.02 kB / 0.7156 GB, free: 38.62 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.0006161/0.5869, allocations: 310.8 kB / 0.7159 GB, free: 38.38 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000338/0.5872, allocations: 174.9 kB / 0.716 GB, free: 38.28 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01525/0.6025, allocations: 4.772 MB / 0.7207 GB, free: 37.17 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.758e-05/0.6025, allocations: 14.06 kB / 0.7207 GB, free: 37.17 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.023e-05/0.6025, allocations: 0 / 0.7207 GB, free: 37.17 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.41e-05/0.6026, allocations: 5.156 kB / 0.7207 GB, free: 37.17 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.01692/0.6195, allocations: 6.851 MB / 0.7274 GB, free: 33.14 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.531e-05/0.6195, allocations: 1.438 kB / 0.7274 GB, free: 33.14 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009195/0.6204, allocations: 148.7 kB / 0.7276 GB, free: 33.11 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006691/0.6271, allocations: 2.145 MB / 0.7297 GB, free: 31.98 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002944/0.6274, allocations: 28 kB / 0.7297 GB, free: 31.95 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02185/0.6492, allocations: 10.08 MB / 0.7395 GB, free: 21.73 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.017e-06/0.6493, allocations: 0 / 0.7395 GB, free: 21.73 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01649/0.6657, allocations: 5.917 MB / 0.7453 GB, free: 15.8 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005831/0.6663, allocations: 283.7 kB / 0.7456 GB, free: 15.5 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002478/0.6666, allocations: 20 kB / 0.7456 GB, free: 15.48 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001524/0.6681, allocations: 135.8 kB / 0.7457 GB, free: 15.35 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007599/0.6689, allocations: 265.3 kB / 0.746 GB, free: 15.09 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.175e-05/0.6689, allocations: 35.98 kB / 0.746 GB, free: 15.05 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0012/0.6701, allocations: 0.9503 MB / 0.7469 GB, free: 14.1 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6701, allocations: 0 / 0.7469 GB, free: 14.1 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001386/0.6715, allocations: 0.5408 MB / 0.7475 GB, free: 13.56 MB / 494.1 MB 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.01647/0.688, allocations: 6.504 MB / 0.7538 GB, free: 7.02 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.008377/0.6964, allocations: 2.735 MB / 0.7565 GB, free: 4.293 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.482e-06/0.6964, allocations: 0 / 0.7565 GB, free: 4.293 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005742/0.7021, allocations: 1.848 MB / 0.7583 GB, free: 2.426 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001395/0.7035, allocations: 141.7 kB / 0.7584 GB, free: 2.289 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04665/0.7502, allocations: 18.94 MB / 0.7769 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009493/0.7511, allocations: 1.227 MB / 0.7781 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0007756/0.7519, allocations: 142 kB / 0.7783 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008911/0.7528, allocations: 0.6047 MB / 0.7788 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of SimCode: time 1.263e-06/0.7528, allocations: 0 / 0.7788 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1013/0.8541, allocations: 44.56 MB / 0.8224 GB, free: 0.6133 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.96/15.82, allocations: 6.266 kB / 0.8224 GB, free: 0.6133 MB / 0.545 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: 19.533866954036057] Failed to read output from testmodel.py, exit status != 0: 15.937697120010853 15.964178469 15.786789188 Calling exit ...