Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ST5B.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(OpenIPSL.Tests.Controls.PSSE.ES.ST5B,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ST5B") translateModel(OpenIPSL.Tests.Controls.PSSE.ES.ST5B,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ST5B") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001053/0.001053, allocations: 180.9 kB / 7.651 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.323/1.323, allocations: 221.5 MB / 229.6 MB, free: 7.559 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009696/0.0009691, allocations: 104.2 kB / 280.5 MB, free: 5.305 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4981/0.4981, allocations: 78.94 MB / 410.2 MB, free: 5.961 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.736e-05/1.739e-05, allocations: 4 kB / 485.9 MB, free: 11.53 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1387/0.1388, allocations: 69.52 MB / 0.5424 GB, free: 5.902 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3743/0.5131, allocations: 111.7 MB / 0.6515 GB, free: 2.398 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002834/0.5134, allocations: 88.48 kB / 0.6516 GB, free: 2.312 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1317/0.6451, allocations: 50.19 MB / 0.7006 GB, free: 188 kB / 0.4948 GB Notification: Performance of FrontEnd: time 1.402e-06/0.6452, allocations: 0 / 0.7006 GB, free: 188 kB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001418/0.6453, allocations: 51.98 kB / 0.7006 GB, free: 136 kB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 363 * Number of variables: 363 Notification: Performance of Generate backend data structure: time 0.00698/0.6523, allocations: 2.543 MB / 0.7031 GB, free: 13.54 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/0.6524, allocations: 8.031 kB / 0.7031 GB, free: 13.53 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004639/0.657, allocations: 0.7932 MB / 0.7039 GB, free: 12.73 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002829/0.6598, allocations: 1.422 MB / 0.7053 GB, free: 11.27 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004732/0.6603, allocations: 413.5 kB / 0.7057 GB, free: 10.79 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002914/0.6606, allocations: 91.98 kB / 0.7058 GB, free: 10.7 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002522/0.6632, allocations: 1.384 MB / 0.7071 GB, free: 9.316 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002663/0.6658, allocations: 1.562 MB / 0.7087 GB, free: 7.668 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.796e-05/0.6659, allocations: 4 kB / 0.7087 GB, free: 7.664 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001397/0.666, allocations: 0 / 0.7087 GB, free: 7.664 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.932e-05/0.6661, allocations: 36 kB / 0.7087 GB, free: 7.629 MB / 0.5105 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.01226/0.6783, allocations: 7.285 MB / 0.7158 GB, free: 96 kB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00813/0.6865, allocations: 3.465 MB / 0.7192 GB, free: 12.49 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001182/0.6877, allocations: 0.8383 MB / 0.72 GB, free: 11.64 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001676/0.6879, allocations: 29.2 kB / 0.72 GB, free: 11.62 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00154/0.6894, allocations: 1.002 MB / 0.721 GB, free: 10.59 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=163): time 3.356e-06/0.6894, allocations: 0 / 0.721 GB, free: 10.59 MB / 0.5261 GB Notification: Performance of matching and sorting (n=163): time 0.01583/0.7053, allocations: 5.215 MB / 0.7261 GB, free: 5.359 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001816/0.7055, allocations: 308 kB / 0.7264 GB, free: 4.992 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002693/0.7082, allocations: 1.427 MB / 0.7278 GB, free: 3.527 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0004305/0.7086, allocations: 29.7 kB / 0.7278 GB, free: 3.492 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006904/0.7093, allocations: 0.8678 MB / 0.7287 GB, free: 2.613 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006324/0.71, allocations: 0.5542 MB / 0.7292 GB, free: 2.051 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000105/0.7101, allocations: 0 / 0.7292 GB, free: 2.051 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001669/0.7103, allocations: 373.9 kB / 0.7296 GB, free: 1.68 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001208/0.7115, allocations: 0.6992 MB / 0.7303 GB, free: 0.9805 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00146/0.7129, allocations: 1.012 MB / 0.7312 GB, free: 15.86 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001437/0.7144, allocations: 0.7907 MB / 0.732 GB, free: 15.07 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.608e-06/0.7144, allocations: 4 kB / 0.732 GB, free: 15.07 MB / 0.5417 GB Notification: Performance of matching and sorting (n=229) (initialization): time 0.007111/0.7215, allocations: 3.218 MB / 0.7352 GB, free: 11.82 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.00103/0.7226, allocations: 2.48 MB / 0.7376 GB, free: 9.168 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.012e-05/0.7226, allocations: 11.19 kB / 0.7376 GB, free: 9.16 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01063/0.7333, allocations: 3.098 MB / 0.7406 GB, free: 6.051 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009356/0.7343, allocations: 203.7 kB / 0.7408 GB, free: 5.852 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007965/0.7422, allocations: 5.545 MB / 0.7462 GB, free: 184 kB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00258/0.7449, allocations: 286.7 kB / 0.7465 GB, free: 15.9 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001765/0.745, allocations: 71.97 kB / 0.7466 GB, free: 15.83 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.201e-05/0.7451, allocations: 4 kB / 0.7466 GB, free: 15.82 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005312/0.7504, allocations: 2.63 MB / 0.7491 GB, free: 13.18 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.352e-05/0.7504, allocations: 8 kB / 0.7492 GB, free: 13.17 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009879/0.7603, allocations: 2.987 MB / 0.7521 GB, free: 10.17 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009291/0.7613, allocations: 207.7 kB / 0.7523 GB, free: 9.965 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01026/0.7715, allocations: 8.786 MB / 0.7608 GB, free: 0.7031 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00254/0.7741, allocations: 246.6 kB / 0.7611 GB, free: 472 kB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001691/0.7743, allocations: 71.97 kB / 0.7612 GB, free: 400 kB / 0.5573 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: sT5B.K_r.y:VARIABLE() "Output signal connector" type: Real sT5B.imLimitedLeadLag.gain.y:VARIABLE() "Output signal connector" type: Real sT5B.VR0:VARIABLE(unit = "1" fixed = false protected = true ) type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: sT5B.imLimitedLeadLag4.gain.y:VARIABLE() "Output signal connector" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: sT5B.imLimitedLeadLag5.gain.y:VARIABLE() "Output signal connector" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: sT5B.imLimitedLeadLag1.gain.y:VARIABLE() "Output signal connector" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: sT5B.imLimitedLeadLag3.gain.y:VARIABLE() "Output signal connector" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,sT5B.imLimitedLeadLag5.integrator.local_reset,sT5B.imLimitedLeadLag4.integrator.local_reset,sT5B.imLimitedLeadLag3.integrator.local_reset,sT5B.imLimitedLeadLag1.integrator.local_reset,sT5B.imLimitedLeadLag2.integrator.local_reset,sT5B.imLimitedLeadLag.integrator.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (120): * Single equations (assignments): 115 * 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: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 5 {1 4,1 4,1 4,1 4,36 58} Notification: Performance of prepare postOptimizeDAE: time 0.0004937/0.7748, allocations: 140.2 kB / 0.7613 GB, free: 256 kB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004078/0.7752, allocations: 209.5 kB / 0.7615 GB, free: 44 kB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3221/1.097, allocations: 5.279 MB / 0.7666 GB, free: 129.3 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.65e-05/1.097, allocations: 18 kB / 0.7667 GB, free: 129.3 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/1.097, allocations: 1.375 kB / 0.7667 GB, free: 129.3 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.891e-05/1.097, allocations: 14.48 kB / 0.7667 GB, free: 129.3 MB / 0.5573 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.01822/1.116, allocations: 7.763 MB / 0.7743 GB, free: 128.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.18e-05/1.116, allocations: 0 / 0.7743 GB, free: 128.5 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001521/1.117, allocations: 254.6 kB / 0.7745 GB, free: 128.5 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0059/1.123, allocations: 1.989 MB / 0.7764 GB, free: 128.5 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002802/1.123, allocations: 17.81 kB / 0.7765 GB, free: 128.5 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01698/1.14, allocations: 7.703 MB / 0.784 GB, free: 127.2 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.805e-06/1.14, allocations: 7.078 kB / 0.784 GB, free: 127.2 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01787/1.158, allocations: 6.457 MB / 0.7903 GB, free: 126.7 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008988/1.159, allocations: 338.7 kB / 0.7906 GB, free: 126.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004065/1.16, allocations: 5.938 kB / 0.7906 GB, free: 126.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001961/1.162, allocations: 200.1 kB / 0.7908 GB, free: 126.4 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007807/1.162, allocations: 277.9 kB / 0.7911 GB, free: 126.4 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001271/1.163, allocations: 49.16 kB / 0.7911 GB, free: 126.4 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001611/1.164, allocations: 1.069 MB / 0.7922 GB, free: 126.3 MB / 0.5573 GB Notification: Performance of sort global known variables: time 4.21e-07/1.164, allocations: 3.75 kB / 0.7922 GB, free: 126.3 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.002565/1.167, allocations: 0.8896 MB / 0.793 GB, free: 126.2 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 17 (gENCLS.omega,gENCLS.delta,gENCLS.eq,sT5B.imLimitedLeadLag.integrator.y,sT5B.imLimitedLeadLag2.integrator.y,sT5B.imLimitedLeadLag1.integrator.y,sT5B.imLimitedLeadLag3.integrator.y,sT5B.imLimitedLeadLag4.integrator.y,sT5B.imLimitedLeadLag5.integrator.y,sT5B.simpleLagLimVar.state,sT5B.TransducerDelay.state,gENROE.w,gENROE.delta,gENROE.Epd,gENROE.Epq,gENROE.PSIkd,gENROE.PSIkq) * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (120): * Single equations (assignments): 119 * 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.0003772/1.167, allocations: 172.7 kB / 0.7932 GB, free: 126.1 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01429/1.181, allocations: 5.212 MB / 0.7983 GB, free: 125.5 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 6.402e-06/1.182, allocations: 1.156 kB / 0.7983 GB, free: 125.5 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.005776/1.187, allocations: 1.983 MB / 0.8002 GB, free: 125.3 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00145/1.189, allocations: 185.3 kB / 0.8004 GB, free: 125.2 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005466/1.194, allocations: 3.109 MB / 0.8034 GB, free: 124.1 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001264/1.196, allocations: 1.475 MB / 0.8049 GB, free: 123.3 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001503/1.197, allocations: 291.7 kB / 0.8052 GB, free: 123.3 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003133/1.197, allocations: 85.81 kB / 0.8052 GB, free: 123.3 MB / 0.5573 GB Notification: Performance of SimCode: time 9.82e-07/1.197, allocations: 0 / 0.8052 GB, free: 123.3 MB / 0.5573 GB Notification: Performance of Templates: time 0.05635/1.254, allocations: 40.11 MB / 0.8444 GB, free: 121.4 MB / 0.5573 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ST5B.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ST5B.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ST5B.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ST5B.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ST5B.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ST5B -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ST5B.pipe 2>&1)