Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.SEXS.conf.json 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/Modelica 4.0.0+maint.om/package.mo", uses=false) 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/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(OpenIPSL.Tests.Controls.PSSE.ES.SEXS,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.SEXS") translateModel(OpenIPSL.Tests.Controls.PSSE.ES.SEXS,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.SEXS") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001594/0.001594, allocations: 108.7 kB / 16.41 MB, free: 6.512 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.379/1.379, allocations: 222.9 MB / 240.1 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001541/0.001541, allocations: 176.5 kB / 290.4 MB, free: 2.262 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5403/0.5403, allocations: 91.9 MB / 432.4 MB, free: 9.16 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001479/0.001479, allocations: 78.97 kB / 0.5734 GB, free: 33.56 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1615/0.163, allocations: 71.28 MB / 0.643 GB, free: 3.566 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.SEXS): time 0.009238/0.1723, allocations: 8.059 MB / 0.6509 GB, free: 11.46 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.007166/0.1795, allocations: 2.505 MB / 0.6533 GB, free: 8.953 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001915/0.1815, allocations: 12 kB / 0.6534 GB, free: 8.941 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001283/0.1828, allocations: 317.4 kB / 0.6537 GB, free: 8.629 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003855/0.1867, allocations: 1.11 MB / 0.6547 GB, free: 7.516 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001851/0.1886, allocations: 0.6685 MB / 0.6554 GB, free: 6.852 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.003711/0.1923, allocations: 2.139 MB / 0.6575 GB, free: 4.707 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007719/0.1931, allocations: 390 kB / 0.6579 GB, free: 4.305 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001664/0.1948, allocations: 0.8599 MB / 0.6587 GB, free: 3.441 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00148/0.1963, allocations: 1.089 MB / 0.6598 GB, free: 2.348 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002909/0.1966, allocations: 176 kB / 0.6599 GB, free: 2.176 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009589/0.1975, allocations: 415.7 kB / 0.6603 GB, free: 1.77 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000457/0.198, allocations: 446.2 kB / 0.6608 GB, free: 1.332 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009053/0.1989, allocations: 0.8779 MB / 0.6616 GB, free: 460 kB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002965/0.2019, allocations: 2.227 MB / 0.6638 GB, free: 14.21 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/0.2019, allocations: 0 / 0.6638 GB, free: 14.21 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.2019, allocations: 0 / 0.6638 GB, free: 14.21 MB / 478.1 MB Notification: Performance of Transformations before backend: time 3.116e-05/0.202, allocations: 0 / 0.6638 GB, free: 14.21 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 234 * Number of variables: 234 Notification: Performance of Generate backend data structure: time 0.01271/0.2147, allocations: 3.512 MB / 0.6672 GB, free: 10.64 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.712e-05/0.2147, allocations: 8.031 kB / 0.6672 GB, free: 10.63 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004531/0.2193, allocations: 0.7394 MB / 0.6679 GB, free: 9.891 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002219/0.2215, allocations: 1.096 MB / 0.669 GB, free: 8.742 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004337/0.222, allocations: 424.6 kB / 0.6694 GB, free: 8.262 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002479/0.2222, allocations: 111.9 kB / 0.6695 GB, free: 8.152 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00275/0.225, allocations: 1.385 MB / 0.6709 GB, free: 6.746 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.268e-05/0.225, allocations: 3.938 kB / 0.6709 GB, free: 6.742 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001184/0.2252, allocations: 40 kB / 0.6709 GB, free: 6.703 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.019e-05/0.2252, allocations: 24 kB / 0.6709 GB, free: 6.68 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002742/0.2279, allocations: 1.316 MB / 0.6722 GB, free: 5.363 MB / 478.1 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.008972/0.2369, allocations: 4.798 MB / 0.6769 GB, free: 352 kB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008143/0.2451, allocations: 2.851 MB / 0.6797 GB, free: 13.35 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002078/0.2472, allocations: 0.9001 MB / 0.6806 GB, free: 12.45 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001347/0.2474, allocations: 24.97 kB / 0.6806 GB, free: 12.42 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002092/0.2495, allocations: 1.042 MB / 0.6816 GB, free: 11.36 MB / 494.1 MB Notification: Performance of pre-optimization done (n=122): time 2.905e-06/0.2495, allocations: 0 / 0.6816 GB, free: 11.36 MB / 494.1 MB Notification: Performance of matching and sorting (n=122): time 0.03946/0.2889, allocations: 9.668 MB / 0.6911 GB, free: 1.648 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.119e-05/0.2891, allocations: 115.8 kB / 0.6912 GB, free: 1.512 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002505/0.2916, allocations: 1.398 MB / 0.6925 GB, free: 104 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004503/0.2921, allocations: 57.77 kB / 0.6926 GB, free: 40 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005585/0.2926, allocations: 0.5805 MB / 0.6932 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006262/0.2933, allocations: 445.6 kB / 0.6936 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006448/0.2939, allocations: 331.4 kB / 0.6939 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001123/0.294, allocations: 301.1 kB / 0.6942 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002099/0.2961, allocations: 0.9565 MB / 0.6951 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002247/0.2984, allocations: 1.155 MB / 0.6962 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004205/0.3026, allocations: 2.058 MB / 0.6983 GB, free: 10.13 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.019e-05/0.3027, allocations: 4 kB / 0.6983 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of matching and sorting (n=231) (initialization): time 0.01758/0.3202, allocations: 5.391 MB / 0.7035 GB, free: 4.719 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.834e-05/0.3203, allocations: 11.98 kB / 0.7035 GB, free: 4.707 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.734e-05/0.3204, allocations: 4 kB / 0.7035 GB, free: 4.703 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009878/0.3302, allocations: 2.876 MB / 0.7063 GB, free: 1.82 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001559/0.3319, allocations: 287.6 kB / 0.7066 GB, free: 1.539 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006973/0.3389, allocations: 2.853 MB / 0.7094 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00265/0.3415, allocations: 246.3 kB / 0.7096 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000226/0.3418, allocations: 63.98 kB / 0.7097 GB, free: 14.35 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (167): * Single equations (assignments): 166 * 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 {(33,32)} Notification: Performance of prepare postOptimizeDAE: time 0.0007957/0.3426, allocations: 306.5 kB / 0.71 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004212/0.343, allocations: 154 kB / 0.7101 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01564/0.3587, allocations: 4.725 MB / 0.7148 GB, free: 9.141 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.809e-05/0.3588, allocations: 16 kB / 0.7148 GB, free: 9.125 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.019e-05/0.3588, allocations: 0 / 0.7148 GB, free: 9.125 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.93e-05/0.3588, allocations: 3.984 kB / 0.7148 GB, free: 9.121 MB / 0.5137 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.01872/0.3776, allocations: 6.803 MB / 0.7214 GB, free: 2.18 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.92e-05/0.3776, allocations: 0 / 0.7214 GB, free: 2.18 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009784/0.3786, allocations: 131.8 kB / 0.7215 GB, free: 2.051 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007423/0.386, allocations: 2.146 MB / 0.7236 GB, free: 15.9 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002782/0.3864, allocations: 27.94 kB / 0.7237 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02504/0.4114, allocations: 10.06 MB / 0.7335 GB, free: 5.664 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.102e-06/0.4115, allocations: 7.938 kB / 0.7335 GB, free: 5.656 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01823/0.4297, allocations: 5.872 MB / 0.7392 GB, free: 15.75 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007909/0.4305, allocations: 274.7 kB / 0.7395 GB, free: 15.46 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002584/0.4308, allocations: 20 kB / 0.7395 GB, free: 15.45 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001573/0.4324, allocations: 135.8 kB / 0.7396 GB, free: 15.31 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008631/0.4333, allocations: 261 kB / 0.7399 GB, free: 15.06 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001032/0.4334, allocations: 32 kB / 0.7399 GB, free: 15.03 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.00148/0.4349, allocations: 0.9418 MB / 0.7408 GB, free: 14.09 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.91e-07/0.4349, allocations: 0 / 0.7408 GB, free: 14.09 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001504/0.4364, allocations: 0.5151 MB / 0.7413 GB, free: 13.57 MB / 0.545 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,sEXS.simpleLagLim.state,sEXS.leadLag.TF.x_scaled[1]) * 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 (79): * Single equations (assignments): 78 * 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.0003828/0.4368, allocations: 156.8 kB / 0.7415 GB, free: 13.41 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.008589/0.4454, allocations: 2.834 MB / 0.7443 GB, free: 10.57 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 8.015e-06/0.4454, allocations: 4 kB / 0.7443 GB, free: 10.57 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.00604/0.4515, allocations: 1.902 MB / 0.7461 GB, free: 8.648 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001352/0.4528, allocations: 134.2 kB / 0.7462 GB, free: 8.52 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005716/0.4586, allocations: 2.988 MB / 0.7492 GB, free: 5.492 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007998/0.4594, allocations: 1.215 MB / 0.7504 GB, free: 4.242 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004658/0.4599, allocations: 99.41 kB / 0.7504 GB, free: 4.145 MB / 0.545 GB Notification: Performance of SimCode: time 1.493e-06/0.4599, allocations: 0 / 0.7504 GB, free: 4.145 MB / 0.545 GB Notification: Performance of Templates: time 0.3897/0.8496, allocations: 25.29 MB / 0.7751 GB, free: 116.6 MB / 0.5606 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.SEXS.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.SEXS.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.SEXS.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.SEXS.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.SEXS.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.SEXS -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.SEXS.pipe 2>&1)