Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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.SCRX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.SCRX") translateModel(OpenIPSL.Tests.Controls.PSSE.ES.SCRX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.SCRX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001765/0.001765, allocations: 169.3 kB / 7.64 MB, free: 1.414 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.395/1.395, allocations: 221.5 MB / 229.6 MB, free: 7.566 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.0008772/0.0008772, allocations: 85.84 kB / 280.5 MB, free: 5.324 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4371/0.4371, allocations: 78.06 MB / 409.3 MB, free: 6.324 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.248e-05/1.25e-05, allocations: 4 kB / 484.9 MB, free: 12.24 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1179/0.1179, allocations: 69.36 MB / 0.5413 GB, free: 6.82 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3642/0.4822, allocations: 110.1 MB / 0.6488 GB, free: 5.469 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002814/0.4825, allocations: 85.48 kB / 0.6488 GB, free: 5.387 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1159/0.5984, allocations: 41.52 MB / 0.6894 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.492e-06/0.5985, allocations: 0 / 0.6894 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001465/0.5986, allocations: 32 kB / 0.6894 GB, free: 11.83 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: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.006092/0.6047, allocations: 2.044 MB / 0.6914 GB, free: 9.734 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.323e-05/0.6048, allocations: 12.03 kB / 0.6914 GB, free: 9.723 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003378/0.6082, allocations: 0.5481 MB / 0.692 GB, free: 9.172 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002374/0.6106, allocations: 0.979 MB / 0.6929 GB, free: 8.141 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004752/0.6111, allocations: 396.6 kB / 0.6933 GB, free: 7.688 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003665/0.6114, allocations: 71.86 kB / 0.6934 GB, free: 7.617 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00223/0.6137, allocations: 1.074 MB / 0.6944 GB, free: 6.543 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002158/0.6158, allocations: 1.077 MB / 0.6955 GB, free: 5.449 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.136e-05/0.6159, allocations: 0 / 0.6955 GB, free: 5.449 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000121/0.616, allocations: 0.8438 kB / 0.6955 GB, free: 5.449 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.9e-05/0.616, allocations: 24 kB / 0.6955 GB, free: 5.426 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.009314/0.6254, allocations: 4.759 MB / 0.7001 GB, free: 476 kB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007664/0.633, allocations: 3.076 MB / 0.7031 GB, free: 13.24 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001178/0.6342, allocations: 0.6904 MB / 0.7038 GB, free: 12.55 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001938/0.6345, allocations: 21.28 kB / 0.7038 GB, free: 12.53 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001462/0.6359, allocations: 0.8422 MB / 0.7047 GB, free: 11.66 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=125): time 3.336e-06/0.6359, allocations: 0 / 0.7047 GB, free: 11.66 MB / 0.5105 GB Notification: Performance of matching and sorting (n=125): time 0.01519/0.6511, allocations: 4.824 MB / 0.7094 GB, free: 6.82 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.012e-05/0.6513, allocations: 120.8 kB / 0.7095 GB, free: 6.68 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001774/0.653, allocations: 1.039 MB / 0.7105 GB, free: 5.633 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0003406/0.6534, allocations: 25.7 kB / 0.7105 GB, free: 5.602 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004786/0.6539, allocations: 0.6354 MB / 0.7111 GB, free: 4.957 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005546/0.6544, allocations: 429.5 kB / 0.7115 GB, free: 4.531 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.098e-05/0.6545, allocations: 0 / 0.7115 GB, free: 4.531 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001588/0.6547, allocations: 360.1 kB / 0.7119 GB, free: 4.176 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009405/0.6556, allocations: 0.5494 MB / 0.7124 GB, free: 3.625 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001028/0.6567, allocations: 0.7201 MB / 0.7131 GB, free: 2.859 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00118/0.6579, allocations: 0.6154 MB / 0.7137 GB, free: 2.242 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.783e-06/0.6579, allocations: 8 kB / 0.7137 GB, free: 2.234 MB / 0.5105 GB Notification: Performance of matching and sorting (n=160) (initialization): time 0.003932/0.6618, allocations: 2.022 MB / 0.7157 GB, free: 204 kB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/0.6619, allocations: 4 kB / 0.7157 GB, free: 200 kB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.097e-05/0.6619, allocations: 4 kB / 0.7157 GB, free: 196 kB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008345/0.6702, allocations: 2.487 MB / 0.7182 GB, free: 13.7 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008152/0.6711, allocations: 159.8 kB / 0.7183 GB, free: 13.55 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005454/0.6766, allocations: 2.735 MB / 0.721 GB, free: 10.78 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002067/0.6787, allocations: 222.8 kB / 0.7212 GB, free: 10.56 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001511/0.6788, allocations: 47.98 kB / 0.7212 GB, free: 10.52 MB / 0.5261 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: sCRX.ECOMP0:VARIABLE(fixed = false protected = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 3 (sCRX.booleanConstant.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 85 * 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 {34 41} Notification: Performance of prepare postOptimizeDAE: time 0.0003325/0.6792, allocations: 126.9 kB / 0.7214 GB, free: 10.39 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003251/0.6795, allocations: 154.1 kB / 0.7215 GB, free: 10.23 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01505/0.6946, allocations: 4.951 MB / 0.7263 GB, free: 5.27 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.931e-05/0.6946, allocations: 12 kB / 0.7263 GB, free: 5.258 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.238e-06/0.6946, allocations: 3.953 kB / 0.7264 GB, free: 5.254 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.322e-05/0.6947, allocations: 7.984 kB / 0.7264 GB, free: 5.246 MB / 0.5261 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.01798/0.7126, allocations: 6.877 MB / 0.7331 GB, free: 14.24 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.29e-05/0.7127, allocations: 0 / 0.7331 GB, free: 14.24 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009781/0.7137, allocations: 144.5 kB / 0.7332 GB, free: 14.1 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006539/0.7203, allocations: 1.99 MB / 0.7352 GB, free: 12.11 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003048/0.7206, allocations: 11.98 kB / 0.7352 GB, free: 12.1 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01805/0.7386, allocations: 7.693 MB / 0.7427 GB, free: 4.281 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.014e-06/0.7387, allocations: 4 kB / 0.7427 GB, free: 4.277 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01692/0.7556, allocations: 5.975 MB / 0.7485 GB, free: 14.26 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000641/0.7563, allocations: 278.7 kB / 0.7488 GB, free: 13.96 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002645/0.7566, allocations: 6.094 kB / 0.7488 GB, free: 13.96 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0016/0.7582, allocations: 159.8 kB / 0.7489 GB, free: 13.8 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007758/0.759, allocations: 261.3 kB / 0.7492 GB, free: 13.55 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.922e-05/0.7591, allocations: 35.98 kB / 0.7492 GB, free: 13.51 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.00119/0.7603, allocations: 0.793 MB / 0.75 GB, free: 12.72 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7603, allocations: 0 / 0.75 GB, free: 12.72 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001455/0.7618, allocations: 451.3 kB / 0.7504 GB, free: 12.28 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 11 (gENCLS.omega,gENCLS.delta,gENCLS.eq,gENROU.w,gENROU.delta,gENROU.Epd,gENROU.Epq,gENROU.PSIkd,gENROU.PSIkq,sCRX.imLeadLag.TF.x_scaled[1],sCRX.simpleLagLim.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (82): * Single equations (assignments): 81 * 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.0003976/0.7622, allocations: 164 kB / 0.7506 GB, free: 12.11 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.006714/0.7689, allocations: 2.272 MB / 0.7528 GB, free: 9.84 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.7689, allocations: 4.125 kB / 0.7528 GB, free: 9.836 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.005453/0.7744, allocations: 1.827 MB / 0.7546 GB, free: 7.996 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009493/0.7754, allocations: 99.59 kB / 0.7547 GB, free: 7.898 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004026/0.7794, allocations: 2.301 MB / 0.7569 GB, free: 5.578 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007407/0.7802, allocations: 1.266 MB / 0.7582 GB, free: 4.285 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0005246/0.7807, allocations: 109.4 kB / 0.7583 GB, free: 4.176 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000286/0.781, allocations: 83.41 kB / 0.7584 GB, free: 4.094 MB / 0.5573 GB Notification: Performance of SimCode: time 5.91e-07/0.781, allocations: 0 / 0.7584 GB, free: 4.094 MB / 0.5573 GB Notification: Performance of Templates: time 0.2965/1.077, allocations: 22.74 MB / 0.7806 GB, free: 140.1 MB / 0.5573 GB make -j1 -f OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.makefile (rm -f OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.sim & ./OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.SCRX -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.pipe 2>&1)