Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_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.001017/0.001017, 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.8439/0.8439, allocations: 177.2 MB / 199.4 MB, free: 5.934 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.0009747/0.0009747, allocations: 160.6 kB / 256 MB, free: 13.34 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo): time 0.2648/0.2648, allocations: 80.26 MB / 392.6 MB, free: 2.438 MB / 314.7 MB " [Timeout remaining time 180] Using package OpenIPSL with version 3.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/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_OpenIPSL_Tests_Controls_PSSE_ES_ESDC1A",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_ESDC1A",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.312e-06/1.312e-06, allocations: 0 / 0.5548 GB, free: 12.29 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.107e-06/1.042e-05, allocations: 2.281 kB / 0.5548 GB, free: 12.29 MB / 442.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A): time 0.005548/0.005559, allocations: 7.697 MB / 0.5623 GB, free: 4.555 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.003692/0.009251, allocations: 2.769 MB / 0.565 GB, free: 1.777 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005637/0.009815, allocations: 23.88 kB / 0.5651 GB, free: 1.754 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006172/0.01043, allocations: 329.1 kB / 0.5654 GB, free: 1.43 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001456/0.01189, allocations: 1.099 MB / 0.5664 GB, free: 332 kB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.1618/0.1737, allocations: 0.9601 MB / 0.5674 GB, free: 15.32 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.001901/0.1756, allocations: 2.42 MB / 0.5697 GB, free: 14.96 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003547/0.176, allocations: 327.6 kB / 0.5701 GB, free: 14.86 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000987/0.1769, allocations: 1.342 MB / 0.5714 GB, free: 14.73 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008404/0.1778, allocations: 0.9485 MB / 0.5723 GB, free: 14.63 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00022/0.178, allocations: 206.7 kB / 0.5725 GB, free: 14.63 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005117/0.1785, allocations: 426 kB / 0.5729 GB, free: 14.62 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002619/0.1788, allocations: 0.4985 MB / 0.5734 GB, free: 14.44 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004326/0.1792, allocations: 0.6685 MB / 0.574 GB, free: 14.12 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001759/0.181, allocations: 2.643 MB / 0.5766 GB, free: 13.21 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.181, allocations: 1.031 kB / 0.5766 GB, free: 13.21 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.181, allocations: 0.6094 kB / 0.5766 GB, free: 13.21 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.195e-05/0.181, allocations: 0 / 0.5766 GB, free: 13.21 MB / 442.7 MB 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.006636/0.1876, allocations: 3.925 MB / 0.5805 GB, free: 11.62 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.764e-05/0.1877, allocations: 12.94 kB / 0.5805 GB, free: 11.62 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001721/0.1878, allocations: 166.2 kB / 0.5806 GB, free: 11.5 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002314/0.1902, allocations: 0.7733 MB / 0.5814 GB, free: 11.33 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001268/0.1914, allocations: 1.168 MB / 0.5825 GB, free: 10.66 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002334/0.1917, allocations: 0.6319 MB / 0.5831 GB, free: 10.02 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001618/0.1918, allocations: 126.2 kB / 0.5833 GB, free: 9.977 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001855/0.1937, allocations: 1.531 MB / 0.5848 GB, free: 9.367 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.746e-05/0.1937, allocations: 0 / 0.5848 GB, free: 9.367 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.903e-05/0.1938, allocations: 41.69 kB / 0.5848 GB, free: 9.336 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.467e-05/0.1938, allocations: 25.67 kB / 0.5848 GB, free: 9.336 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001894/0.1957, allocations: 1.431 MB / 0.5862 GB, free: 8.852 MB / 442.7 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.004693/0.2004, allocations: 4.214 MB / 0.5903 GB, free: 6.609 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004299/0.2047, allocations: 2.52 MB / 0.5928 GB, free: 5.461 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00112/0.2058, allocations: 0.8892 MB / 0.5937 GB, free: 5 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002025/0.206, allocations: 47.75 kB / 0.5937 GB, free: 4.988 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001292/0.2073, allocations: 1.128 MB / 0.5948 GB, free: 4.316 MB / 442.7 MB Notification: Performance of pre-optimization done (n=133): time 2.575e-06/0.2073, allocations: 0 / 0.5948 GB, free: 4.316 MB / 442.7 MB Notification: Performance of matching and sorting (n=133): time 0.02171/0.229, allocations: 10.54 MB / 0.6051 GB, free: 14.37 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.746e-05/0.229, allocations: 120.1 kB / 0.6052 GB, free: 14.22 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001609/0.2307, allocations: 1.54 MB / 0.6067 GB, free: 12.68 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 9.578e-05/0.2308, allocations: 57.7 kB / 0.6068 GB, free: 12.61 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003368/0.2311, allocations: 0.6588 MB / 0.6074 GB, free: 11.96 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003123/0.2314, allocations: 0.496 MB / 0.6079 GB, free: 11.47 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000464/0.2319, allocations: 371.5 kB / 0.6083 GB, free: 11.1 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 6.129e-05/0.2319, allocations: 309.1 kB / 0.6086 GB, free: 10.79 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001455/0.2334, allocations: 1.05 MB / 0.6096 GB, free: 9.738 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001558/0.2349, allocations: 1.278 MB / 0.6108 GB, free: 8.398 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002846/0.2378, allocations: 2.25 MB / 0.613 GB, free: 6.109 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.212e-06/0.2378, allocations: 4 kB / 0.613 GB, free: 6.105 MB / 458.7 MB Notification: Performance of matching and sorting (n=261) (initialization): time 0.009653/0.2474, allocations: 5.596 MB / 0.6185 GB, free: 0.5508 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.2475, allocations: 8 kB / 0.6185 GB, free: 0.543 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.524e-05/0.2475, allocations: 12 kB / 0.6185 GB, free: 0.5312 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005273/0.2527, allocations: 2.718 MB / 0.6212 GB, free: 13.81 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000795/0.2535, allocations: 360.3 kB / 0.6215 GB, free: 13.48 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003669/0.2572, allocations: 2.716 MB / 0.6242 GB, free: 10.75 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001043/0.2583, allocations: 286.5 kB / 0.6244 GB, free: 10.46 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001088/0.2584, allocations: 67.98 kB / 0.6245 GB, free: 10.4 MB / 474.7 MB 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.0004148/0.2588, allocations: 325.4 kB / 0.6248 GB, free: 10.09 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001957/0.259, allocations: 184.3 kB / 0.625 GB, free: 9.91 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008924/0.2679, allocations: 4.959 MB / 0.6298 GB, free: 4.977 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.855e-06/0.2679, allocations: 16 kB / 0.6298 GB, free: 4.961 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.2679, allocations: 0 / 0.6298 GB, free: 4.961 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.077e-06/0.2679, allocations: 3.984 kB / 0.6298 GB, free: 4.957 MB / 474.7 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.0104/0.2783, allocations: 6.396 MB / 0.6361 GB, free: 14.56 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/0.2783, allocations: 7.219 kB / 0.6361 GB, free: 14.56 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004699/0.2788, allocations: 166.5 kB / 0.6363 GB, free: 14.4 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00398/0.2828, allocations: 2.196 MB / 0.6384 GB, free: 12.2 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.204e-05/0.2829, allocations: 31.98 kB / 0.6384 GB, free: 12.17 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01472/0.2976, allocations: 9.888 MB / 0.6481 GB, free: 2.184 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.2976, allocations: 0 / 0.6481 GB, free: 2.184 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01043/0.308, allocations: 6.153 MB / 0.6541 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003089/0.3083, allocations: 214.4 kB / 0.6543 GB, free: 11.82 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001575/0.3085, allocations: 28 kB / 0.6543 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000799/0.3093, allocations: 143.8 kB / 0.6545 GB, free: 11.66 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004931/0.3098, allocations: 289.2 kB / 0.6547 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.886e-05/0.3098, allocations: 35.98 kB / 0.6548 GB, free: 11.34 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.001165/0.311, allocations: 1.028 MB / 0.6558 GB, free: 10.32 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8.1e-08/0.311, allocations: 0 / 0.6558 GB, free: 10.32 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.000967/0.312, allocations: 0.5698 MB / 0.6563 GB, free: 9.742 MB / 0.4948 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.01053/0.3225, allocations: 6.784 MB / 0.663 GB, free: 2.965 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.004928/0.3274, allocations: 2.897 MB / 0.6658 GB, free: 96 kB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.3274, allocations: 0 / 0.6658 GB, free: 96 kB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.003291/0.3307, allocations: 1.945 MB / 0.6677 GB, free: 14.16 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007155/0.3314, allocations: 162 kB / 0.6678 GB, free: 14.01 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02651/0.3579, allocations: 19.97 MB / 0.6874 GB, free: 9.789 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004284/0.3584, allocations: 0.6964 MB / 0.688 GB, free: 9.051 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0003479/0.3587, allocations: 158.9 kB / 0.6882 GB, free: 8.891 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000596/0.3593, allocations: 0.6643 MB / 0.6888 GB, free: 8.227 MB / 0.5261 GB Notification: Performance of SimCode: time 6.91e-07/0.3593, allocations: 0 / 0.6888 GB, free: 8.227 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04638/0.4057, allocations: 48.85 MB / 0.7365 GB, free: 7.641 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.372/8.778, allocations: 7.938 kB / 0.7365 GB, free: 7.633 MB / 0.573 GB " [Timeout remaining time 651] (rm -f OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A.sim & python3 -m fmpy simulate --output-file OpenIPSL_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_OpenIPSL_Tests_Controls_PSSE_ES_ESDC1A.fmu > OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.968947630375624] Failed to read output from testmodel.py, exit status != 0: 8.888970862142742 8.89704299 8.714004042 Calling exit ...