Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A.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.0007159/0.0007159, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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 0.8688/0.8688, allocations: 177.2 MB / 199.4 MB, free: 5.941 MB / 186.7 MB " [Timeout remaining time 179] 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.001138/0.001138, allocations: 160.5 kB / 256 MB, free: 13.35 MB / 250.7 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.2553/0.2553, allocations: 80.36 MB / 392.7 MB, free: 2.371 MB / 314.7 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.2.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.ESDC1A,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_ESDC1A",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_ESDC1A",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 0.555 GB, free: 12.55 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.06e-05/2.207e-05, allocations: 2.281 kB / 0.555 GB, free: 12.55 MB / 490.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A): time 0.006642/0.006664, allocations: 7.703 MB / 0.5625 GB, free: 4.805 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.005363/0.01203, allocations: 2.758 MB / 0.5652 GB, free: 2.035 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001429/0.01346, allocations: 23.94 kB / 0.5652 GB, free: 2.012 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001066/0.01452, allocations: 337 kB / 0.5655 GB, free: 1.68 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002638/0.01716, allocations: 1.091 MB / 0.5666 GB, free: 0.582 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001743/0.0189, allocations: 0.967 MB / 0.5676 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.002645/0.02155, allocations: 2.426 MB / 0.5699 GB, free: 13.19 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005786/0.02213, allocations: 326.5 kB / 0.5702 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002436/0.02456, allocations: 1.34 MB / 0.5715 GB, free: 11.5 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001154/0.02572, allocations: 0.958 MB / 0.5725 GB, free: 10.54 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.0003018/0.02602, allocations: 204 kB / 0.5727 GB, free: 10.34 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000642/0.02666, allocations: 423.6 kB / 0.5731 GB, free: 9.922 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002768/0.02694, allocations: 0.4941 MB / 0.5736 GB, free: 9.426 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0005232/0.02746, allocations: 0.6697 MB / 0.5742 GB, free: 8.75 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.002196/0.02965, allocations: 2.64 MB / 0.5768 GB, free: 6.102 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.02966, allocations: 0 / 0.5768 GB, free: 6.102 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.533e-06/0.02966, allocations: 0 / 0.5768 GB, free: 6.102 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.559e-05/0.02971, allocations: 4 kB / 0.5768 GB, free: 6.098 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 264 * Number of variables: 264 Notification: Performance of Generate backend data structure: time 0.007024/0.03673, allocations: 3.924 MB / 0.5806 GB, free: 2.125 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.177e-05/0.03677, allocations: 12.03 kB / 0.5806 GB, free: 2.113 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001593/0.03693, allocations: 164.6 kB / 0.5808 GB, free: 1.941 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002352/0.03928, allocations: 0.7715 MB / 0.5816 GB, free: 1.168 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002116/0.0414, allocations: 1.172 MB / 0.5827 GB, free: 15.96 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003645/0.04176, allocations: 0.6351 MB / 0.5833 GB, free: 15.21 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002176/0.04198, allocations: 127.9 kB / 0.5834 GB, free: 15.08 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002057/0.04404, allocations: 1.527 MB / 0.5849 GB, free: 13.5 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.7e-05/0.04406, allocations: 0 / 0.5849 GB, free: 13.5 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.926e-05/0.04414, allocations: 44 kB / 0.585 GB, free: 13.46 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.412e-05/0.04416, allocations: 28 kB / 0.585 GB, free: 13.43 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00195/0.04611, allocations: 1.425 MB / 0.5864 GB, free: 12 MB / 0.5105 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.006201/0.05231, allocations: 4.208 MB / 0.5905 GB, free: 7.691 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004339/0.05665, allocations: 2.517 MB / 0.593 GB, free: 5.148 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001235/0.05788, allocations: 0.8892 MB / 0.5938 GB, free: 4.254 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002416/0.05813, allocations: 57.27 kB / 0.5939 GB, free: 4.195 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001424/0.05955, allocations: 1.126 MB / 0.595 GB, free: 3.047 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=133): time 4.037e-06/0.05955, allocations: 7.984 kB / 0.595 GB, free: 3.039 MB / 0.5105 GB Notification: Performance of matching and sorting (n=133): time 0.2158/0.2754, allocations: 10.54 MB / 0.6053 GB, free: 93.21 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.11e-05/0.2754, allocations: 115.5 kB / 0.6054 GB, free: 93.09 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001533/0.277, allocations: 1.546 MB / 0.6069 GB, free: 92.71 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001075/0.2771, allocations: 53.11 kB / 0.6069 GB, free: 92.66 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002821/0.2774, allocations: 0.6594 MB / 0.6076 GB, free: 92.25 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002654/0.2776, allocations: 0.4949 MB / 0.6081 GB, free: 91.91 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004064/0.278, allocations: 376.8 kB / 0.6084 GB, free: 91.73 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 3.039e-05/0.2781, allocations: 309.4 kB / 0.6087 GB, free: 91.43 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001494/0.2796, allocations: 1.045 MB / 0.6098 GB, free: 91.05 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001564/0.2811, allocations: 1.282 MB / 0.611 GB, free: 90.46 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002935/0.2841, allocations: 2.24 MB / 0.6132 GB, free: 89.4 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.905e-06/0.2841, allocations: 5.188 kB / 0.6132 GB, free: 89.39 MB / 0.5105 GB Notification: Performance of matching and sorting (n=261) (initialization): time 0.01014/0.2942, allocations: 5.602 MB / 0.6187 GB, free: 87.96 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.286e-05/0.2942, allocations: 7.734 kB / 0.6187 GB, free: 87.96 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.157e-05/0.2942, allocations: 5.562 kB / 0.6187 GB, free: 87.96 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005222/0.2995, allocations: 2.727 MB / 0.6213 GB, free: 87.54 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009151/0.3004, allocations: 354.2 kB / 0.6217 GB, free: 87.51 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003548/0.3039, allocations: 2.721 MB / 0.6243 GB, free: 86.23 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001157/0.3051, allocations: 277.5 kB / 0.6246 GB, free: 86.11 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001162/0.3052, allocations: 78.84 kB / 0.6247 GB, free: 86.1 MB / 0.5105 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,eSDC1A.rotatingExciterLimited.sISO.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (204): * Single equations (assignments): 202 * 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.000462/0.3057, allocations: 318.2 kB / 0.625 GB, free: 85.85 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002004/0.3059, allocations: 188.8 kB / 0.6252 GB, free: 85.74 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008651/0.3145, allocations: 4.959 MB / 0.63 GB, free: 83.65 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.177e-05/0.3145, allocations: 14.5 kB / 0.63 GB, free: 83.65 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.3145, allocations: 1 kB / 0.63 GB, free: 83.65 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.009e-05/0.3145, allocations: 9.156 kB / 0.63 GB, free: 83.64 MB / 0.5105 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.009543/0.3241, allocations: 6.395 MB / 0.6363 GB, free: 80.14 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.979e-06/0.3241, allocations: 3.469 kB / 0.6363 GB, free: 80.14 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004293/0.3245, allocations: 160.7 kB / 0.6364 GB, free: 80.11 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003597/0.3281, allocations: 2.2 MB / 0.6386 GB, free: 79.14 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.182e-05/0.3282, allocations: 31.33 kB / 0.6386 GB, free: 79.12 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01271/0.3409, allocations: 9.888 MB / 0.6483 GB, free: 69.32 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.3409, allocations: 0 / 0.6483 GB, free: 69.32 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008891/0.3498, allocations: 6.15 MB / 0.6543 GB, free: 63.14 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002694/0.3501, allocations: 218.4 kB / 0.6545 GB, free: 62.93 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001392/0.3502, allocations: 24 kB / 0.6545 GB, free: 62.91 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007319/0.3509, allocations: 147.8 kB / 0.6546 GB, free: 62.76 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004512/0.3514, allocations: 289.2 kB / 0.6549 GB, free: 62.48 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.974e-05/0.3515, allocations: 43.73 kB / 0.655 GB, free: 62.44 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.000847/0.3523, allocations: 1.024 MB / 0.656 GB, free: 61.42 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8e-08/0.3523, allocations: 0 / 0.656 GB, free: 61.42 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0009427/0.3532, allocations: 0.5698 MB / 0.6565 GB, free: 60.85 MB / 0.5105 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,eSDC1A.imDerivativeLag.x,eSDC1A.imLeadLag.TF.x_scaled[1],eSDC1A.simpleLagLim.state,eSDC1A.rotatingExciterLimited.sISO.y,eSDC1A.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 (90): * Single equations (assignments): 89 * 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.009261/0.3625, allocations: 6.776 MB / 0.6631 GB, free: 54.04 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.004529/0.367, allocations: 2.906 MB / 0.666 GB, free: 51.14 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.367, allocations: 0 / 0.666 GB, free: 51.14 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002958/0.37, allocations: 1.932 MB / 0.6679 GB, free: 49.19 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007414/0.3707, allocations: 160.6 kB / 0.668 GB, free: 49.04 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02345/0.3942, allocations: 19.97 MB / 0.6875 GB, free: 28.77 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003368/0.3945, allocations: 0.6925 MB / 0.6882 GB, free: 28.05 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0003459/0.3949, allocations: 164.9 kB / 0.6883 GB, free: 27.88 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004907/0.3954, allocations: 0.6682 MB / 0.689 GB, free: 27.21 MB / 0.5105 GB Notification: Performance of SimCode: time 1.082e-06/0.3954, allocations: 0 / 0.689 GB, free: 27.21 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04778/0.4431, allocations: 48.86 MB / 0.7367 GB, free: 10.58 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.362/8.805, allocations: 4 kB / 0.7367 GB, free: 10.58 MB / 0.5417 GB " [Timeout remaining time 651] (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A.sim & python3 -m fmpy simulate --output-file OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A_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_ESDC1A.fmu > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.15198943670839] Failed to read output from testmodel.py, exit status != 0: 8.913830548524857 8.921494568 8.8901225 Calling exit ...