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.00144/0.00144, allocations: 108.7 kB / 16.41 MB, free: 6.477 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.406/1.406, allocations: 222.9 MB / 240.1 MB, free: 4.562 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.001498/0.001498, allocations: 200.4 kB / 290.4 MB, free: 2.281 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5534/0.5534, allocations: 91.9 MB / 432.4 MB, free: 9.207 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001493/0.001493, allocations: 82.09 kB / 0.5734 GB, free: 33.68 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1525/0.154, allocations: 71.29 MB / 0.643 GB, free: 3.621 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.SEXS): time 0.008998/0.1631, allocations: 8.063 MB / 0.6509 GB, free: 11.52 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.006241/0.1694, allocations: 2.505 MB / 0.6533 GB, free: 9.004 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001668/0.1711, allocations: 12 kB / 0.6534 GB, free: 8.992 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00114/0.1723, allocations: 309.4 kB / 0.6537 GB, free: 8.688 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003512/0.1758, allocations: 1.115 MB / 0.6547 GB, free: 7.566 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001741/0.1776, allocations: 0.6749 MB / 0.6554 GB, free: 6.898 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.003295/0.1809, allocations: 2.127 MB / 0.6575 GB, free: 4.766 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008052/0.1817, allocations: 398 kB / 0.6579 GB, free: 4.355 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001709/0.1834, allocations: 0.856 MB / 0.6587 GB, free: 3.496 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001894/0.1854, allocations: 1.093 MB / 0.6598 GB, free: 2.398 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006761/0.186, allocations: 176 kB / 0.6599 GB, free: 2.227 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001403/0.1875, allocations: 419.7 kB / 0.6603 GB, free: 1.816 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000807/0.1883, allocations: 454.2 kB / 0.6608 GB, free: 1.371 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001655/0.1899, allocations: 0.8702 MB / 0.6616 GB, free: 0.4961 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003335/0.1933, allocations: 2.223 MB / 0.6638 GB, free: 14.27 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.1933, allocations: 0 / 0.6638 GB, free: 14.27 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.1933, allocations: 0 / 0.6638 GB, free: 14.27 MB / 478.1 MB Notification: Performance of Transformations before backend: time 2.233e-05/0.1933, allocations: 0 / 0.6638 GB, free: 14.27 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.013/0.2064, allocations: 3.508 MB / 0.6672 GB, free: 10.7 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.628e-05/0.2064, allocations: 8.031 kB / 0.6672 GB, free: 10.69 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004753/0.2112, allocations: 0.7394 MB / 0.6679 GB, free: 9.945 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002416/0.2136, allocations: 1.104 MB / 0.669 GB, free: 8.789 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004701/0.2141, allocations: 428.7 kB / 0.6694 GB, free: 8.305 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002505/0.2144, allocations: 103.9 kB / 0.6695 GB, free: 8.203 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003098/0.2175, allocations: 1.381 MB / 0.6709 GB, free: 6.801 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.379e-05/0.2175, allocations: 7.875 kB / 0.6709 GB, free: 6.793 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001283/0.2177, allocations: 44 kB / 0.6709 GB, free: 6.75 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.222e-05/0.2177, allocations: 24 kB / 0.6709 GB, free: 6.727 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00301/0.2207, allocations: 1.308 MB / 0.6722 GB, free: 5.418 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.01018/0.2309, allocations: 4.798 MB / 0.6769 GB, free: 408 kB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00845/0.2394, allocations: 2.855 MB / 0.6797 GB, free: 13.4 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002177/0.2416, allocations: 0.8923 MB / 0.6806 GB, free: 12.5 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001974/0.2418, allocations: 24.97 kB / 0.6806 GB, free: 12.48 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002592/0.2444, allocations: 1.044 MB / 0.6816 GB, free: 11.42 MB / 494.1 MB Notification: Performance of pre-optimization done (n=122): time 4.668e-06/0.2445, allocations: 0 / 0.6816 GB, free: 11.42 MB / 494.1 MB Notification: Performance of matching and sorting (n=122): time 0.04163/0.2861, allocations: 9.672 MB / 0.6911 GB, free: 1.703 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001016/0.2863, allocations: 119.8 kB / 0.6912 GB, free: 1.562 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003356/0.2896, allocations: 1.398 MB / 0.6925 GB, free: 156 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004209/0.2901, allocations: 53.7 kB / 0.6926 GB, free: 96 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006746/0.2908, allocations: 0.5766 MB / 0.6931 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007869/0.2916, allocations: 449.6 kB / 0.6936 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00115/0.2927, allocations: 327.4 kB / 0.6939 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001194/0.2929, allocations: 305.1 kB / 0.6942 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002467/0.2953, allocations: 0.9604 MB / 0.6951 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002565/0.2979, allocations: 1.158 MB / 0.6962 GB, free: 12.28 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00506/0.303, allocations: 2.05 MB / 0.6983 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-05/0.303, allocations: 4 kB / 0.6983 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of matching and sorting (n=231) (initialization): time 0.01877/0.3218, allocations: 5.395 MB / 0.7035 GB, free: 4.77 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.913e-05/0.3219, allocations: 9.094 kB / 0.7035 GB, free: 4.762 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.757e-05/0.3219, allocations: 4 kB / 0.7035 GB, free: 4.758 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01072/0.3326, allocations: 2.88 MB / 0.7063 GB, free: 1.871 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001583/0.3343, allocations: 279.6 kB / 0.7066 GB, free: 1.598 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007929/0.3422, allocations: 2.861 MB / 0.7094 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002868/0.3451, allocations: 242.3 kB / 0.7096 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003648/0.3455, allocations: 71.92 kB / 0.7097 GB, free: 14.39 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.0009804/0.3465, allocations: 294.6 kB / 0.71 GB, free: 14.1 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005655/0.3471, allocations: 154 kB / 0.7101 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01671/0.3638, allocations: 4.729 MB / 0.7148 GB, free: 9.191 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-05/0.3639, allocations: 20 kB / 0.7148 GB, free: 9.172 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.282e-05/0.364, allocations: 0 / 0.7148 GB, free: 9.172 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.605e-05/0.364, allocations: 7.969 kB / 0.7148 GB, free: 9.164 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.02108/0.3851, allocations: 6.799 MB / 0.7214 GB, free: 2.23 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.119e-05/0.3851, allocations: 0 / 0.7214 GB, free: 2.23 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009738/0.3861, allocations: 135.8 kB / 0.7216 GB, free: 2.098 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007736/0.3939, allocations: 2.146 MB / 0.7236 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003143/0.3942, allocations: 20 kB / 0.7237 GB, free: 15.93 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02744/0.4217, allocations: 10.07 MB / 0.7335 GB, free: 5.707 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.4217, allocations: 0 / 0.7335 GB, free: 5.707 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01882/0.4405, allocations: 5.868 MB / 0.7392 GB, free: 15.81 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007209/0.4413, allocations: 270.8 kB / 0.7395 GB, free: 15.52 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005371/0.4419, allocations: 24 kB / 0.7395 GB, free: 15.5 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001906/0.4438, allocations: 131.8 kB / 0.7396 GB, free: 15.37 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009241/0.4447, allocations: 261.1 kB / 0.7399 GB, free: 15.12 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001844/0.4449, allocations: 32 kB / 0.7399 GB, free: 15.09 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.00175/0.4467, allocations: 0.9379 MB / 0.7408 GB, free: 14.15 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.61e-07/0.4467, allocations: 0 / 0.7408 GB, free: 14.15 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.00202/0.4487, allocations: 0.5229 MB / 0.7413 GB, free: 13.62 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.0004774/0.4492, allocations: 151.1 kB / 0.7415 GB, free: 13.46 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.009225/0.4585, allocations: 2.841 MB / 0.7443 GB, free: 10.62 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.4585, allocations: 0 / 0.7443 GB, free: 10.62 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.006537/0.465, allocations: 1.91 MB / 0.7461 GB, free: 8.695 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001883/0.467, allocations: 133.1 kB / 0.7463 GB, free: 8.566 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006577/0.4736, allocations: 2.988 MB / 0.7492 GB, free: 5.539 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009735/0.4746, allocations: 1.219 MB / 0.7504 GB, free: 4.285 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000671/0.4753, allocations: 95.42 kB / 0.7505 GB, free: 4.191 MB / 0.545 GB Notification: Performance of SimCode: time 1.162e-06/0.4753, allocations: 0 / 0.7505 GB, free: 4.191 MB / 0.545 GB Notification: Performance of Templates: time 0.4052/0.8805, allocations: 25.28 MB / 0.7751 GB, free: 116.7 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)