Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.EXAC2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(OpenIPSL.Tests.Controls.PSSE.ES.EXAC2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.EXAC2") translateModel(OpenIPSL.Tests.Controls.PSSE.ES.EXAC2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.EXAC2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001543/0.001543, allocations: 174.7 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.292/1.292, allocations: 205.2 MB / 218.5 MB, free: 9.219 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008725/0.0008726, allocations: 82.25 kB / 266.6 MB, free: 9.289 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.06725/0.06725, allocations: 12.59 MB / 327.2 MB, free: 12.5 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2875/0.2875, allocations: 78.03 MB / 456.1 MB, free: 14.91 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.995e-05/3.006e-05, allocations: 4 kB / 0.5218 GB, free: 23.78 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09968/0.09972, allocations: 69.33 MB / 0.5895 GB, free: 2.492 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.372/0.4718, allocations: 118 MB / 0.7047 GB, free: 13.64 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002264/0.472, allocations: 97.61 kB / 0.7048 GB, free: 13.58 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1339/0.606, allocations: 49.01 MB / 0.7527 GB, free: 4.32 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.606, allocations: 0 / 0.7527 GB, free: 4.32 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001036/0.6061, allocations: 36 kB / 0.7527 GB, free: 4.285 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 295 * Number of variables: 295 Notification: Performance of Generate backend data structure: time 0.006188/0.6123, allocations: 2.33 MB / 0.755 GB, free: 2.062 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.118e-05/0.6124, allocations: 11.98 kB / 0.755 GB, free: 2.051 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003675/0.616, allocations: 0.5995 MB / 0.7556 GB, free: 1.488 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0024/0.6184, allocations: 1.166 MB / 0.7568 GB, free: 0.5703 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006009/0.6191, allocations: 0.4953 MB / 0.7572 GB, free: 40 kB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002876/0.6194, allocations: 125.2 kB / 0.7574 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002852/0.6222, allocations: 1.436 MB / 0.7588 GB, free: 14.99 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.622e-05/0.6223, allocations: 4 kB / 0.7588 GB, free: 14.99 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001482/0.6224, allocations: 45.69 kB / 0.7588 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.618e-05/0.6225, allocations: 28 kB / 0.7588 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002196/0.6247, allocations: 1.293 MB / 0.7601 GB, free: 14.15 MB / 0.4948 GB Warning: The model contains alias variables with conflicting start and/or 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.009435/0.6341, allocations: 5.714 MB / 0.7657 GB, free: 9.328 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008535/0.6427, allocations: 3.376 MB / 0.769 GB, free: 5.809 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001387/0.6441, allocations: 0.8032 MB / 0.7698 GB, free: 5 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005778/0.6447, allocations: 0.7414 MB / 0.7705 GB, free: 4.094 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001635/0.6463, allocations: 0.9659 MB / 0.7714 GB, free: 3.105 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=143): time 3.276e-06/0.6463, allocations: 0 / 0.7714 GB, free: 3.105 MB / 0.4948 GB Notification: Performance of matching and sorting (n=143): time 0.01621/0.6625, allocations: 5.149 MB / 0.7765 GB, free: 13.94 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.149e-05/0.6626, allocations: 157.8 kB / 0.7766 GB, free: 13.75 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002016/0.6647, allocations: 1.321 MB / 0.7779 GB, free: 12.43 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0003102/0.665, allocations: 57.7 kB / 0.7779 GB, free: 12.37 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005666/0.6656, allocations: 0.7425 MB / 0.7787 GB, free: 11.62 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005285/0.6661, allocations: 0.4966 MB / 0.7792 GB, free: 11.12 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001186/0.6662, allocations: 32 kB / 0.7792 GB, free: 11.09 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001324/0.6664, allocations: 365.9 kB / 0.7795 GB, free: 10.72 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001245/0.6676, allocations: 0.6758 MB / 0.7802 GB, free: 10.05 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001369/0.669, allocations: 0.8685 MB / 0.781 GB, free: 9.125 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001316/0.6703, allocations: 0.7478 MB / 0.7818 GB, free: 8.379 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.18e-06/0.6704, allocations: 0 / 0.7818 GB, free: 8.379 MB / 0.5105 GB Notification: Performance of matching and sorting (n=196) (initialization): time 0.004737/0.6751, allocations: 2.432 MB / 0.7841 GB, free: 5.934 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004863/0.6756, allocations: 1.543 MB / 0.7857 GB, free: 4.266 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.241e-05/0.6756, allocations: 7.984 kB / 0.7857 GB, free: 4.258 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00977/0.6854, allocations: 2.645 MB / 0.7882 GB, free: 1.602 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001205/0.6866, allocations: 243.7 kB / 0.7885 GB, free: 1.363 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005031/0.6917, allocations: 2.899 MB / 0.7913 GB, free: 14.41 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002362/0.6941, allocations: 306.4 kB / 0.7916 GB, free: 14.11 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000214/0.6943, allocations: 55.97 kB / 0.7917 GB, free: 14.06 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.101e-05/0.6943, allocations: 4 kB / 0.7917 GB, free: 14.05 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004522/0.6989, allocations: 2.237 MB / 0.7938 GB, free: 11.81 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.19e-05/0.6989, allocations: 4 kB / 0.7938 GB, free: 11.81 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008917/0.7078, allocations: 2.649 MB / 0.7964 GB, free: 9.148 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001178/0.709, allocations: 231.7 kB / 0.7967 GB, free: 8.922 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005035/0.7141, allocations: 2.915 MB / 0.7995 GB, free: 5.953 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002299/0.7164, allocations: 282.6 kB / 0.7998 GB, free: 5.676 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002009/0.7166, allocations: 55.98 kB / 0.7998 GB, free: 5.621 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,eXAC2.rotatingExciterWithDemagnetizationLimited.sISO.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (131): * Single equations (assignments): 129 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {30 26,1 10} Notification: Performance of prepare postOptimizeDAE: time 0.0003753/0.717, allocations: 172.7 kB / 0.8 GB, free: 5.445 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003905/0.7174, allocations: 185.8 kB / 0.8002 GB, free: 5.262 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01634/0.7338, allocations: 5.249 MB / 0.8053 GB, free: 15.99 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-05/0.7338, allocations: 19.94 kB / 0.8053 GB, free: 15.97 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.646e-06/0.7338, allocations: 4 kB / 0.8053 GB, free: 15.97 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.133e-05/0.7339, allocations: 7.969 kB / 0.8053 GB, free: 15.96 MB / 0.5417 GB Warning: The model contains alias variables with conflicting start and/or 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.01996/0.7538, allocations: 7.591 MB / 0.8127 GB, free: 8.238 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.26e-05/0.7539, allocations: 3.938 kB / 0.8127 GB, free: 8.234 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00123/0.7551, allocations: 195.7 kB / 0.8129 GB, free: 8.043 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006716/0.7619, allocations: 2.013 MB / 0.8149 GB, free: 6.027 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002739/0.7622, allocations: 35.98 kB / 0.8149 GB, free: 5.992 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01782/0.78, allocations: 7.845 MB / 0.8226 GB, free: 14 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.78, allocations: 7.938 kB / 0.8226 GB, free: 14 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01762/0.7976, allocations: 6.354 MB / 0.8288 GB, free: 7.598 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007101/0.7984, allocations: 302.4 kB / 0.8291 GB, free: 7.281 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003746/0.7988, allocations: 28 kB / 0.8291 GB, free: 7.254 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001973/0.8008, allocations: 211.8 kB / 0.8293 GB, free: 7.047 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009021/0.8017, allocations: 285.2 kB / 0.8296 GB, free: 6.77 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001594/0.8019, allocations: 35.98 kB / 0.8296 GB, free: 6.734 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001588/0.8035, allocations: 1.027 MB / 0.8306 GB, free: 5.715 MB / 0.5573 GB Notification: Performance of sort global known variables: time 4e-07/0.8035, allocations: 0 / 0.8306 GB, free: 5.715 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.002601/0.8061, allocations: 0.8813 MB / 0.8315 GB, free: 4.832 MB / 0.5573 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,eXAC2.imLimitedSimpleLag.state,eXAC2.imDerivativeLag.x,eXAC2.leadLag.TF.x_scaled[1],eXAC2.rotatingExciterWithDemagnetizationLimited.sISO.y,eXAC2.TransducerDelay.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (100): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {26 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.00048/0.8066, allocations: 202.9 kB / 0.8317 GB, free: 4.625 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01341/0.82, allocations: 4.445 MB / 0.836 GB, free: 184 kB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/0.82, allocations: 0 / 0.836 GB, free: 184 kB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.005922/0.826, allocations: 1.983 MB / 0.838 GB, free: 14.18 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001244/0.8272, allocations: 154 kB / 0.8381 GB, free: 14.04 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005771/0.833, allocations: 2.838 MB / 0.8409 GB, free: 11.16 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000895/0.8339, allocations: 1.361 MB / 0.8422 GB, free: 9.773 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0015/0.8355, allocations: 287.3 kB / 0.8425 GB, free: 9.488 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003225/0.8358, allocations: 79.42 kB / 0.8426 GB, free: 9.41 MB / 0.573 GB Notification: Performance of SimCode: time 4.11e-07/0.8358, allocations: 3.938 kB / 0.8426 GB, free: 9.406 MB / 0.573 GB Notification: Performance of Templates: time 0.2885/1.124, allocations: 36.36 MB / 0.8781 GB, free: 180.6 MB / 0.5886 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.EXAC2.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.EXAC2.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.EXAC2.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.EXAC2.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.EXAC2.sim & ./OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.EXAC2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.EXAC2.pipe 2>&1)