Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.IEEEX1.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.001362/0.001362, allocations: 107 kB / 16.45 MB, free: 6.02 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.514/1.514, allocations: 230.6 MB / 249.8 MB, free: 9.207 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.001744/0.001744, allocations: 217.9 kB / 306 MB, free: 4.281 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.5717/0.5717, allocations: 101.3 MB / 463.4 MB, free: 11.9 MB / 334.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.IEEEX1,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_IEEEX1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.IEEEX1,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_IEEEX1",fmuType="me",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.002729/0.002729, allocations: 90.22 kB / 0.6193 GB, free: 15.47 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1509/0.1536, allocations: 78.57 MB / 0.6961 GB, free: 0.75 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.IEEEX1): time 0.3181/0.4717, allocations: 8.819 MB / 0.7047 GB, free: 3.398 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.005536/0.4773, allocations: 2.82 MB / 0.7074 GB, free: 1.398 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001901/0.4792, allocations: 18.91 kB / 0.7075 GB, free: 1.395 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001194/0.4804, allocations: 339.3 kB / 0.7078 GB, free: 1.207 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003306/0.4837, allocations: 1.103 MB / 0.7089 GB, free: 496 kB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002003/0.4857, allocations: 0.8907 MB / 0.7097 GB, free: 32 kB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.003604/0.4893, allocations: 2.379 MB / 0.7121 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006339/0.4899, allocations: 333.3 kB / 0.7124 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001688/0.4916, allocations: 0.9647 MB / 0.7133 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001731/0.4933, allocations: 1.2 MB / 0.7145 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.000325/0.4936, allocations: 201.6 kB / 0.7147 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000994/0.4946, allocations: 475.7 kB / 0.7151 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005207/0.4952, allocations: 498.1 kB / 0.7156 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001065/0.4962, allocations: 0.9756 MB / 0.7166 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003455/0.4997, allocations: 2.549 MB / 0.719 GB, free: 11.42 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.672e-06/0.4997, allocations: 4 kB / 0.7191 GB, free: 11.42 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.894e-06/0.4997, allocations: 0 / 0.7191 GB, free: 11.42 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.804e-05/0.4997, allocations: 0 / 0.7191 GB, free: 11.42 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: 261 * Number of variables: 261 Notification: Performance of Generate backend data structure: time 0.01553/0.5153, allocations: 3.793 MB / 0.7228 GB, free: 9.785 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.911e-05/0.5153, allocations: 9.812 kB / 0.7228 GB, free: 9.785 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002936/0.5156, allocations: 164.2 kB / 0.7229 GB, free: 9.676 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005331/0.5209, allocations: 0.7752 MB / 0.7237 GB, free: 9.488 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002926/0.5239, allocations: 1.221 MB / 0.7249 GB, free: 8.707 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006083/0.5245, allocations: 470.5 kB / 0.7253 GB, free: 8.273 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003532/0.5248, allocations: 117.7 kB / 0.7254 GB, free: 8.234 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003979/0.5288, allocations: 1.499 MB / 0.7269 GB, free: 7.629 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.399e-05/0.5288, allocations: 4.969 kB / 0.7269 GB, free: 7.625 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001681/0.529, allocations: 45.92 kB / 0.7269 GB, free: 7.59 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.819e-05/0.529, allocations: 24.31 kB / 0.727 GB, free: 7.59 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003534/0.5326, allocations: 1.416 MB / 0.7283 GB, free: 7.105 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.01088/0.5434, allocations: 5.358 MB / 0.7336 GB, free: 2.848 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009137/0.5526, allocations: 2.899 MB / 0.7364 GB, free: 1.152 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002286/0.5549, allocations: 0.8631 MB / 0.7373 GB, free: 0.707 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007937/0.5557, allocations: 0.7299 MB / 0.738 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00292/0.5586, allocations: 1.105 MB / 0.739 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=132): time 7.744e-06/0.5586, allocations: 0 / 0.739 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of matching and sorting (n=132): time 0.04451/0.6031, allocations: 9.736 MB / 0.7486 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.785e-05/0.6032, allocations: 121.2 kB / 0.7487 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004121/0.6073, allocations: 1.529 MB / 0.7502 GB, free: 9.305 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0005506/0.6079, allocations: 51.2 kB / 0.7502 GB, free: 9.254 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008463/0.6087, allocations: 0.6612 MB / 0.7509 GB, free: 8.668 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009889/0.6097, allocations: 0.5014 MB / 0.7513 GB, free: 8.223 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001489/0.6112, allocations: 375.8 kB / 0.7517 GB, free: 8.004 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001402/0.6113, allocations: 301.1 kB / 0.752 GB, free: 7.707 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002956/0.6143, allocations: 1.038 MB / 0.753 GB, free: 7.023 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003035/0.6173, allocations: 1.271 MB / 0.7542 GB, free: 5.684 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005392/0.6227, allocations: 2.217 MB / 0.7564 GB, free: 3.406 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.155e-05/0.6227, allocations: 4 kB / 0.7564 GB, free: 3.402 MB / 0.5137 GB Notification: Performance of matching and sorting (n=263) (initialization): time 0.02009/0.6428, allocations: 5.556 MB / 0.7618 GB, free: 13.83 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.691e-05/0.6428, allocations: 14.8 kB / 0.7619 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.175e-05/0.6429, allocations: 4 kB / 0.7619 GB, free: 13.81 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01118/0.6541, allocations: 2.73 MB / 0.7645 GB, free: 11.08 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001966/0.656, allocations: 351.5 kB / 0.7649 GB, free: 10.74 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007617/0.6636, allocations: 2.717 MB / 0.7675 GB, free: 7.996 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003016/0.6667, allocations: 278.6 kB / 0.7678 GB, free: 7.723 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004014/0.6671, allocations: 71.97 kB / 0.7679 GB, free: 7.652 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition2,$whenCondition1,iEEEX1.rotatingExciter.sISO.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (206): * Single equations (assignments): 204 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 {(30,26)} Notification: Performance of prepare postOptimizeDAE: time 0.001062/0.6681, allocations: 324.3 kB / 0.7682 GB, free: 7.328 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007129/0.6688, allocations: 182.8 kB / 0.7683 GB, free: 7.148 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01831/0.6871, allocations: 4.852 MB / 0.7731 GB, free: 2.277 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.413e-05/0.6872, allocations: 16 kB / 0.7731 GB, free: 2.262 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.271e-05/0.6872, allocations: 0 / 0.7731 GB, free: 2.262 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.039e-05/0.6872, allocations: 7.969 kB / 0.7731 GB, free: 2.254 MB / 0.5294 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.02285/0.7101, allocations: 7.049 MB / 0.78 GB, free: 11.07 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.94e-05/0.7101, allocations: 4 kB / 0.78 GB, free: 11.07 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001079/0.7112, allocations: 159.7 kB / 0.7801 GB, free: 10.91 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008743/0.7199, allocations: 2.196 MB / 0.7823 GB, free: 8.707 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002944/0.7202, allocations: 28 kB / 0.7823 GB, free: 8.68 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03054/0.7507, allocations: 10.23 MB / 0.7923 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.7507, allocations: 0 / 0.7923 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02193/0.7727, allocations: 6.046 MB / 0.7982 GB, free: 8.223 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009011/0.7736, allocations: 295.5 kB / 0.7985 GB, free: 7.914 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007597/0.7743, allocations: 27.98 kB / 0.7985 GB, free: 7.887 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00222/0.7765, allocations: 139.8 kB / 0.7986 GB, free: 7.75 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001058/0.7776, allocations: 261.4 kB / 0.7989 GB, free: 7.496 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002248/0.7778, allocations: 39.98 kB / 0.7989 GB, free: 7.457 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002125/0.7799, allocations: 1.024 MB / 0.7999 GB, free: 6.438 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7799, allocations: 0 / 0.7999 GB, free: 6.438 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002268/0.7822, allocations: 0.5659 MB / 0.8005 GB, free: 5.871 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 14 (gENCLS.omega,gENCLS.delta,gENCLS.eq,gENROE.w,gENROE.delta,gENROE.Epd,gENROE.Epq,gENROE.PSIkd,gENROE.PSIkq,iEEEX1.LL.TF.x_scaled[1],iEEEX1.imDerivativeLag.x,iEEEX1.SL.state,iEEEX1.rotatingExciter.sISO.y,iEEEX1.TransducerDelay.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 (89): * Single equations (assignments): 88 * 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.0222/0.8044, allocations: 6.663 MB / 0.807 GB, free: 15.17 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01116/0.8156, allocations: 2.858 MB / 0.8098 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.953e-06/0.8156, allocations: 0 / 0.8098 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.007518/0.8231, allocations: 1.915 MB / 0.8116 GB, free: 10.37 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002224/0.8253, allocations: 157.1 kB / 0.8118 GB, free: 10.22 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05597/0.8813, allocations: 20.08 MB / 0.8314 GB, free: 5.777 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001213/0.8825, allocations: 1.274 MB / 0.8327 GB, free: 4.477 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0008368/0.8833, allocations: 158.8 kB / 0.8328 GB, free: 4.316 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001241/0.8846, allocations: 0.6555 MB / 0.8334 GB, free: 3.66 MB / 0.5919 GB Notification: Performance of SimCode: time 9.61e-07/0.8846, allocations: 0 / 0.8334 GB, free: 3.66 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1034/0.988, allocations: 46.64 MB / 0.879 GB, free: 5.125 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.24/16.23, allocations: 10.7 kB / 0.879 GB, free: 5.117 MB / 0.6387 GB " [Timeout remaining time 644] (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.IEEEX1.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.IEEEX1.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.IEEEX1.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.IEEEX1.sim & python3 -m fmpy simulate --output-file OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.IEEEX1_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_IEEEX1.fmu > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.IEEEX1.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 19.960373128997162] Failed to read output from testmodel.py, exit status != 0: 16.353410948067904 16.374719044 15.870913588 Calling exit ...