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.0007897/0.0007897, 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.8804/0.8804, allocations: 177.1 MB / 199.4 MB, free: 5.926 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.001229/0.001229, allocations: 156.5 kB / 256 MB, free: 13.34 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.2637/0.2637, allocations: 80.37 MB / 392.7 MB, free: 2.355 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.523e-06/1.523e-06, allocations: 0 / 0.555 GB, free: 12.56 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.534e-05/1.686e-05, allocations: 6.219 kB / 0.555 GB, free: 12.55 MB / 490.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A): time 0.005863/0.00588, allocations: 7.711 MB / 0.5625 GB, free: 4.801 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.00381/0.009689, allocations: 2.75 MB / 0.5652 GB, free: 2.039 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005157/0.01021, allocations: 15.94 kB / 0.5652 GB, free: 2.023 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006564/0.01086, allocations: 340.9 kB / 0.5655 GB, free: 1.688 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001519/0.01238, allocations: 1.103 MB / 0.5666 GB, free: 0.5781 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0012/0.01358, allocations: 0.96 MB / 0.5676 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.001731/0.01531, allocations: 2.426 MB / 0.5699 GB, free: 13.19 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003657/0.01568, allocations: 318.6 kB / 0.5702 GB, free: 12.85 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009832/0.01666, allocations: 1.344 MB / 0.5715 GB, free: 11.5 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007416/0.0174, allocations: 0.9579 MB / 0.5725 GB, free: 10.54 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001971/0.0176, allocations: 204 kB / 0.5727 GB, free: 10.34 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005038/0.0181, allocations: 415.7 kB / 0.5731 GB, free: 9.934 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0003377/0.01844, allocations: 0.5097 MB / 0.5736 GB, free: 9.422 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0005064/0.01895, allocations: 0.6581 MB / 0.5742 GB, free: 8.758 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.001757/0.0207, allocations: 2.648 MB / 0.5768 GB, free: 6.102 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.02071, allocations: 0 / 0.5768 GB, free: 6.102 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.473e-06/0.02071, allocations: 0 / 0.5768 GB, free: 6.102 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.974e-05/0.02073, allocations: 0 / 0.5768 GB, free: 6.102 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.006643/0.02737, allocations: 3.92 MB / 0.5806 GB, free: 2.133 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.484e-05/0.02742, allocations: 8.031 kB / 0.5806 GB, free: 2.125 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001673/0.02758, allocations: 168.6 kB / 0.5808 GB, free: 1.949 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002267/0.02985, allocations: 0.7715 MB / 0.5815 GB, free: 1.176 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0014/0.03125, allocations: 1.168 MB / 0.5827 GB, free: 15.97 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003409/0.03159, allocations: 0.6312 MB / 0.5833 GB, free: 15.22 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001615/0.03175, allocations: 127.9 kB / 0.5834 GB, free: 15.09 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001991/0.03374, allocations: 1.531 MB / 0.5849 GB, free: 13.51 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.761e-05/0.03376, allocations: 0 / 0.5849 GB, free: 13.51 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.126e-05/0.03385, allocations: 44 kB / 0.585 GB, free: 13.47 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.671e-05/0.03387, allocations: 28 kB / 0.585 GB, free: 13.44 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001983/0.03585, allocations: 1.425 MB / 0.5864 GB, free: 12.01 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.005246/0.0411, allocations: 4.208 MB / 0.5905 GB, free: 7.703 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004579/0.04568, allocations: 2.525 MB / 0.593 GB, free: 5.152 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001188/0.04686, allocations: 0.8889 MB / 0.5938 GB, free: 4.262 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002125/0.04708, allocations: 57.27 kB / 0.5939 GB, free: 4.203 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001417/0.04849, allocations: 1.122 MB / 0.595 GB, free: 3.059 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=133): time 3.396e-06/0.0485, allocations: 3.984 kB / 0.595 GB, free: 3.055 MB / 0.5105 GB Notification: Performance of matching and sorting (n=133): time 0.2046/0.2531, allocations: 10.54 MB / 0.6053 GB, free: 92.73 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.609e-05/0.2532, allocations: 119.5 kB / 0.6054 GB, free: 92.61 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001678/0.2548, allocations: 1.541 MB / 0.6069 GB, free: 92.24 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001448/0.255, allocations: 64.95 kB / 0.607 GB, free: 92.18 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002996/0.2553, allocations: 0.6583 MB / 0.6076 GB, free: 91.77 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003108/0.2556, allocations: 0.4917 MB / 0.6081 GB, free: 91.45 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004227/0.256, allocations: 375.5 kB / 0.6084 GB, free: 91.27 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 2.637e-05/0.256, allocations: 301.1 kB / 0.6087 GB, free: 90.97 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001561/0.2576, allocations: 1.049 MB / 0.6097 GB, free: 90.59 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001615/0.2592, allocations: 1.28 MB / 0.611 GB, free: 90 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002947/0.2622, allocations: 2.245 MB / 0.6132 GB, free: 88.93 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.364e-06/0.2622, allocations: 6.156 kB / 0.6132 GB, free: 88.93 MB / 0.5105 GB Notification: Performance of matching and sorting (n=261) (initialization): time 0.0106/0.2728, allocations: 5.597 MB / 0.6187 GB, free: 87.5 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.498e-05/0.2728, allocations: 7.844 kB / 0.6187 GB, free: 87.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.411e-05/0.2728, allocations: 5.391 kB / 0.6187 GB, free: 87.5 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005428/0.2783, allocations: 2.729 MB / 0.6213 GB, free: 87.08 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001057/0.2793, allocations: 353.4 kB / 0.6217 GB, free: 87.05 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003632/0.2829, allocations: 2.72 MB / 0.6243 GB, free: 85.77 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001202/0.2841, allocations: 284.2 kB / 0.6246 GB, free: 85.68 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000106/0.2842, allocations: 74.27 kB / 0.6247 GB, free: 85.67 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.000465/0.2847, allocations: 320.8 kB / 0.625 GB, free: 85.42 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000178/0.2849, allocations: 184.5 kB / 0.6252 GB, free: 85.32 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008537/0.2934, allocations: 4.96 MB / 0.63 GB, free: 83.23 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.155e-05/0.2934, allocations: 13.41 kB / 0.63 GB, free: 83.23 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.2934, allocations: 1 kB / 0.63 GB, free: 83.23 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.977e-06/0.2935, allocations: 13.75 kB / 0.63 GB, free: 83.21 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.009742/0.3032, allocations: 6.399 MB / 0.6363 GB, free: 79.73 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.539e-06/0.3032, allocations: 0 / 0.6363 GB, free: 79.73 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004967/0.3037, allocations: 159.3 kB / 0.6364 GB, free: 79.7 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003756/0.3075, allocations: 2.198 MB / 0.6386 GB, free: 78.74 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.841e-05/0.3075, allocations: 34.73 kB / 0.6386 GB, free: 78.71 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01303/0.3206, allocations: 9.88 MB / 0.6483 GB, free: 68.93 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.3206, allocations: 2.844 kB / 0.6483 GB, free: 68.93 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00965/0.3302, allocations: 6.147 MB / 0.6543 GB, free: 62.75 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004492/0.3307, allocations: 217.9 kB / 0.6545 GB, free: 62.56 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001592/0.3308, allocations: 32 kB / 0.6545 GB, free: 62.53 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008118/0.3316, allocations: 143.8 kB / 0.6546 GB, free: 62.39 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004938/0.3321, allocations: 289.2 kB / 0.6549 GB, free: 62.1 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.823e-05/0.3322, allocations: 39.73 kB / 0.655 GB, free: 62.07 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0008933/0.3331, allocations: 1.024 MB / 0.656 GB, free: 61.05 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8e-08/0.3331, allocations: 0 / 0.656 GB, free: 61.05 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0009878/0.3341, allocations: 0.5728 MB / 0.6565 GB, free: 60.5 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.009386/0.3435, allocations: 6.773 MB / 0.6631 GB, free: 53.7 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.004912/0.3484, allocations: 2.904 MB / 0.666 GB, free: 50.8 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.3484, allocations: 0 / 0.666 GB, free: 50.8 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002972/0.3513, allocations: 1.94 MB / 0.6679 GB, free: 48.84 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007619/0.3521, allocations: 156.9 kB / 0.668 GB, free: 48.69 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02388/0.376, allocations: 19.97 MB / 0.6875 GB, free: 28.46 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003543/0.3763, allocations: 0.6925 MB / 0.6882 GB, free: 27.73 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0003633/0.3767, allocations: 164.9 kB / 0.6883 GB, free: 27.57 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000513/0.3772, allocations: 0.6682 MB / 0.689 GB, free: 26.9 MB / 0.5105 GB Notification: Performance of SimCode: time 1.343e-06/0.3772, allocations: 0 / 0.689 GB, free: 26.9 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04811/0.4253, allocations: 48.86 MB / 0.7367 GB, free: 10.27 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.904/9.33, allocations: 18.52 kB / 0.7367 GB, free: 10.25 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_ESDC1A_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 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.79741333052516] Failed to read output from testmodel.py, exit status != 0: 9.44302504695952 9.450969025000001 9.428639126 Calling exit ...