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.00476/0.004761, allocations: 105.4 kB / 15.74 MB, free: 6.012 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.343/1.343, allocations: 222.9 MB / 239.4 MB, free: 4.512 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.001387/0.001388, allocations: 184.5 kB / 289.7 MB, free: 2.234 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5169/0.5169, allocations: 91.89 MB / 431.7 MB, free: 9.16 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001415/0.001415, allocations: 77.88 kB / 0.5727 GB, free: 33.56 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1264/0.1278, allocations: 71.29 MB / 0.6424 GB, free: 3.57 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.SEXS): time 0.00885/0.1367, allocations: 8.061 MB / 0.6502 GB, free: 11.47 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.005635/0.1424, allocations: 2.501 MB / 0.6527 GB, free: 8.961 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00111/0.1435, allocations: 12 kB / 0.6527 GB, free: 8.949 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001126/0.1447, allocations: 317.4 kB / 0.653 GB, free: 8.637 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003142/0.1479, allocations: 1.172 MB / 0.6541 GB, free: 7.461 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001603/0.1495, allocations: 0.6737 MB / 0.6548 GB, free: 6.793 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002799/0.1523, allocations: 2.135 MB / 0.6569 GB, free: 4.652 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006531/0.153, allocations: 394 kB / 0.6572 GB, free: 4.246 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00126/0.1542, allocations: 0.8599 MB / 0.6581 GB, free: 3.383 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001254/0.1555, allocations: 1.093 MB / 0.6592 GB, free: 2.285 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002791/0.1558, allocations: 176 kB / 0.6593 GB, free: 2.113 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007461/0.1566, allocations: 411.7 kB / 0.6597 GB, free: 1.711 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003802/0.1569, allocations: 450.2 kB / 0.6601 GB, free: 1.27 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008172/0.1578, allocations: 0.874 MB / 0.661 GB, free: 400 kB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002465/0.1602, allocations: 2.219 MB / 0.6632 GB, free: 14.16 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.693e-06/0.1603, allocations: 7.984 kB / 0.6632 GB, free: 14.16 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1603, allocations: 0 / 0.6632 GB, free: 14.16 MB / 478.1 MB Notification: Performance of Transformations before backend: time 3.581e-05/0.1603, allocations: 0 / 0.6632 GB, free: 14.16 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.01266/0.173, allocations: 3.5 MB / 0.6666 GB, free: 10.59 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.467e-05/0.1731, allocations: 12.03 kB / 0.6666 GB, free: 10.58 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004782/0.1778, allocations: 0.7472 MB / 0.6673 GB, free: 9.832 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002032/0.1799, allocations: 1.096 MB / 0.6684 GB, free: 8.684 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004634/0.1804, allocations: 420.7 kB / 0.6688 GB, free: 8.207 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002376/0.1806, allocations: 111.9 kB / 0.6689 GB, free: 8.098 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002993/0.1836, allocations: 1.393 MB / 0.6703 GB, free: 6.684 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.124e-05/0.1837, allocations: 0 / 0.6703 GB, free: 6.684 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001275/0.1838, allocations: 36 kB / 0.6703 GB, free: 6.648 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.31e-05/0.1838, allocations: 20 kB / 0.6703 GB, free: 6.629 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003056/0.1869, allocations: 1.316 MB / 0.6716 GB, free: 5.312 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.009008/0.1959, allocations: 4.802 MB / 0.6763 GB, free: 296 kB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008625/0.2046, allocations: 2.855 MB / 0.6791 GB, free: 13.29 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002134/0.2067, allocations: 0.8962 MB / 0.68 GB, free: 12.39 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001427/0.2069, allocations: 24.92 kB / 0.68 GB, free: 12.37 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002255/0.2092, allocations: 1.042 MB / 0.681 GB, free: 11.3 MB / 494.1 MB Notification: Performance of pre-optimization done (n=122): time 2.875e-06/0.2092, allocations: 0 / 0.681 GB, free: 11.3 MB / 494.1 MB Notification: Performance of matching and sorting (n=122): time 0.04447/0.2537, allocations: 9.672 MB / 0.6904 GB, free: 1.59 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.401e-05/0.2538, allocations: 115.8 kB / 0.6906 GB, free: 1.453 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002238/0.256, allocations: 1.394 MB / 0.6919 GB, free: 48 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003447/0.2564, allocations: 53.69 kB / 0.692 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004469/0.2568, allocations: 0.5844 MB / 0.6925 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004909/0.2573, allocations: 445.7 kB / 0.693 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006098/0.2579, allocations: 331.4 kB / 0.6933 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.189e-05/0.258, allocations: 305.1 kB / 0.6936 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002267/0.2603, allocations: 0.9604 MB / 0.6945 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002486/0.2628, allocations: 1.158 MB / 0.6956 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004744/0.2676, allocations: 2.054 MB / 0.6976 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.016e-05/0.2676, allocations: 0 / 0.6976 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of matching and sorting (n=231) (initialization): time 0.01887/0.2865, allocations: 5.399 MB / 0.7029 GB, free: 4.652 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.485e-05/0.2865, allocations: 4 kB / 0.7029 GB, free: 4.648 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.464e-05/0.2866, allocations: 7.938 kB / 0.7029 GB, free: 4.641 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01055/0.2971, allocations: 2.88 MB / 0.7057 GB, free: 1.754 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001447/0.2986, allocations: 279.6 kB / 0.706 GB, free: 1.48 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007457/0.3061, allocations: 2.853 MB / 0.7088 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002409/0.3085, allocations: 250.3 kB / 0.709 GB, free: 14.35 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001843/0.3087, allocations: 59.98 kB / 0.7091 GB, free: 14.29 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.0006412/0.3094, allocations: 286.7 kB / 0.7094 GB, free: 14 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003585/0.3097, allocations: 162 kB / 0.7095 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01722/0.327, allocations: 4.737 MB / 0.7141 GB, free: 9.078 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-05/0.327, allocations: 12 kB / 0.7142 GB, free: 9.066 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.298e-06/0.327, allocations: 3.984 kB / 0.7142 GB, free: 9.062 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.671e-05/0.3271, allocations: 7.984 kB / 0.7142 GB, free: 9.055 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.02031/0.3474, allocations: 6.796 MB / 0.7208 GB, free: 2.121 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.044e-05/0.3474, allocations: 0 / 0.7208 GB, free: 2.121 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008932/0.3483, allocations: 135.8 kB / 0.7209 GB, free: 1.988 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007983/0.3563, allocations: 2.138 MB / 0.723 GB, free: 15.84 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001966/0.3565, allocations: 31.92 kB / 0.7231 GB, free: 15.82 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02787/0.3844, allocations: 10.07 MB / 0.7329 GB, free: 5.598 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.3845, allocations: 0 / 0.7329 GB, free: 5.598 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01918/0.4037, allocations: 5.872 MB / 0.7386 GB, free: 15.69 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005333/0.4042, allocations: 270.8 kB / 0.7389 GB, free: 15.41 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002741/0.4045, allocations: 24 kB / 0.7389 GB, free: 15.38 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001623/0.4061, allocations: 131.8 kB / 0.739 GB, free: 15.25 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007724/0.4069, allocations: 257.1 kB / 0.7393 GB, free: 15 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.675e-05/0.407, allocations: 35.98 kB / 0.7393 GB, free: 14.97 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001441/0.4085, allocations: 0.9457 MB / 0.7402 GB, free: 14.02 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.5e-07/0.4085, allocations: 0 / 0.7402 GB, free: 14.02 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001388/0.4099, allocations: 0.5112 MB / 0.7407 GB, free: 13.51 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.0003925/0.4103, allocations: 151 kB / 0.7409 GB, free: 13.36 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.009163/0.4195, allocations: 2.849 MB / 0.7437 GB, free: 10.5 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.4195, allocations: 0 / 0.7437 GB, free: 10.5 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.006474/0.426, allocations: 1.909 MB / 0.7455 GB, free: 8.578 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001201/0.4272, allocations: 136 kB / 0.7456 GB, free: 8.449 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005119/0.4323, allocations: 2.951 MB / 0.7485 GB, free: 5.465 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006928/0.433, allocations: 1.207 MB / 0.7497 GB, free: 4.223 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0005146/0.4336, allocations: 145.7 kB / 0.7498 GB, free: 4.078 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003324/0.4339, allocations: 91.42 kB / 0.7499 GB, free: 3.988 MB / 0.545 GB Notification: Performance of SimCode: time 7.61e-07/0.4339, allocations: 0 / 0.7499 GB, free: 3.988 MB / 0.545 GB Notification: Performance of Templates: time 0.315/0.7489, allocations: 29.95 MB / 0.7792 GB, free: 116.1 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)