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.001758/0.001758, allocations: 102.8 kB / 16.4 MB, free: 6.504 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.502/1.502, allocations: 222.9 MB / 240.1 MB, free: 4.559 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.001589/0.00159, allocations: 192.5 kB / 290.4 MB, free: 2.27 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5633/0.5633, allocations: 91.9 MB / 432.4 MB, free: 9.195 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002286/0.002286, allocations: 75.97 kB / 0.5734 GB, free: 33.73 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1232/0.1254, allocations: 71.29 MB / 0.643 GB, free: 3.57 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.SEXS): time 0.009305/0.1348, allocations: 8.054 MB / 0.6509 GB, free: 11.48 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.005482/0.1403, allocations: 2.52 MB / 0.6534 GB, free: 8.949 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008312/0.1412, allocations: 12 kB / 0.6534 GB, free: 8.938 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008596/0.142, allocations: 313.4 kB / 0.6537 GB, free: 8.629 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002713/0.1448, allocations: 1.169 MB / 0.6548 GB, free: 7.457 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001584/0.1464, allocations: 0.6708 MB / 0.6555 GB, free: 6.793 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002718/0.1491, allocations: 2.135 MB / 0.6576 GB, free: 4.652 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006426/0.1498, allocations: 390 kB / 0.6579 GB, free: 4.25 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001244/0.1511, allocations: 0.8599 MB / 0.6588 GB, free: 3.387 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001425/0.1525, allocations: 1.097 MB / 0.6598 GB, free: 2.285 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002969/0.1528, allocations: 176 kB / 0.66 GB, free: 2.113 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007857/0.1536, allocations: 411.7 kB / 0.6604 GB, free: 1.711 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004211/0.154, allocations: 446.2 kB / 0.6608 GB, free: 1.273 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009/0.1549, allocations: 0.8741 MB / 0.6617 GB, free: 404 kB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002626/0.1576, allocations: 2.241 MB / 0.6639 GB, free: 14.14 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.062e-06/0.1576, allocations: 3.984 kB / 0.6639 GB, free: 14.14 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1576, allocations: 0 / 0.6639 GB, free: 14.14 MB / 478.1 MB Notification: Performance of Transformations before backend: time 2.202e-05/0.1576, allocations: 0 / 0.6639 GB, free: 14.14 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.01309/0.1707, allocations: 3.557 MB / 0.6674 GB, free: 10.52 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.81e-05/0.1708, allocations: 12.03 kB / 0.6674 GB, free: 10.51 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004774/0.1756, allocations: 0.7521 MB / 0.6681 GB, free: 9.754 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00223/0.1778, allocations: 1.105 MB / 0.6692 GB, free: 8.598 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005229/0.1784, allocations: 420.7 kB / 0.6696 GB, free: 8.121 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002325/0.1786, allocations: 107.9 kB / 0.6697 GB, free: 8.016 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003019/0.1816, allocations: 1.385 MB / 0.671 GB, free: 6.609 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.477e-05/0.1817, allocations: 7.922 kB / 0.671 GB, free: 6.602 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001505/0.1818, allocations: 39.94 kB / 0.6711 GB, free: 6.562 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.087e-05/0.1819, allocations: 24 kB / 0.6711 GB, free: 6.539 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003062/0.1849, allocations: 1.308 MB / 0.6724 GB, free: 5.23 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.009287/0.1942, allocations: 4.826 MB / 0.6771 GB, free: 188 kB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008541/0.2028, allocations: 2.851 MB / 0.6799 GB, free: 13.19 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002109/0.2049, allocations: 0.8962 MB / 0.6808 GB, free: 12.29 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001453/0.2051, allocations: 20.91 kB / 0.6808 GB, free: 12.27 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002303/0.2074, allocations: 1.046 MB / 0.6818 GB, free: 11.2 MB / 494.1 MB Notification: Performance of pre-optimization done (n=122): time 2.946e-06/0.2074, allocations: 0 / 0.6818 GB, free: 11.2 MB / 494.1 MB Notification: Performance of matching and sorting (n=122): time 0.04028/0.2477, allocations: 9.676 MB / 0.6912 GB, free: 1.484 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.535e-05/0.2478, allocations: 123.8 kB / 0.6914 GB, free: 1.34 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002393/0.2502, allocations: 1.394 MB / 0.6927 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002728/0.2505, allocations: 57.77 kB / 0.6928 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005065/0.251, allocations: 0.5734 MB / 0.6933 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005569/0.2516, allocations: 475.9 kB / 0.6938 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006557/0.2523, allocations: 327.5 kB / 0.6941 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001257/0.2524, allocations: 301.1 kB / 0.6944 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002209/0.2546, allocations: 0.9604 MB / 0.6953 GB, free: 13.24 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002381/0.257, allocations: 1.158 MB / 0.6965 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004558/0.2616, allocations: 2.054 MB / 0.6985 GB, free: 9.941 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.657e-06/0.2616, allocations: 0 / 0.6985 GB, free: 9.941 MB / 0.4981 GB Notification: Performance of matching and sorting (n=231) (initialization): time 0.01789/0.2795, allocations: 5.403 MB / 0.7037 GB, free: 4.523 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.046e-05/0.2796, allocations: 8 kB / 0.7038 GB, free: 4.516 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.637e-05/0.2796, allocations: 4 kB / 0.7038 GB, free: 4.512 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0101/0.2897, allocations: 2.88 MB / 0.7066 GB, free: 1.625 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001519/0.2913, allocations: 283.6 kB / 0.7068 GB, free: 1.348 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00731/0.2986, allocations: 2.857 MB / 0.7096 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002422/0.3011, allocations: 254.8 kB / 0.7099 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002287/0.3013, allocations: 63.97 kB / 0.7099 GB, free: 14.15 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.00067/0.302, allocations: 298.6 kB / 0.7102 GB, free: 13.85 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003565/0.3024, allocations: 162.9 kB / 0.7104 GB, free: 13.69 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01596/0.3183, allocations: 4.725 MB / 0.715 GB, free: 8.938 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.388e-05/0.3184, allocations: 12 kB / 0.715 GB, free: 8.926 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.215e-05/0.3184, allocations: 4 kB / 0.715 GB, free: 8.922 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.5e-05/0.3185, allocations: 7.969 kB / 0.715 GB, free: 8.914 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.01975/0.3382, allocations: 6.8 MB / 0.7217 GB, free: 1.977 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.928e-05/0.3383, allocations: 4 kB / 0.7217 GB, free: 1.973 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009324/0.3392, allocations: 135.8 kB / 0.7218 GB, free: 1.84 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007832/0.3471, allocations: 2.138 MB / 0.7239 GB, free: 15.7 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002935/0.3474, allocations: 31.98 kB / 0.7239 GB, free: 15.67 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0271/0.3745, allocations: 10.08 MB / 0.7337 GB, free: 5.438 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.526e-06/0.3746, allocations: 0 / 0.7337 GB, free: 5.438 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01884/0.3934, allocations: 5.885 MB / 0.7395 GB, free: 15.52 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006037/0.3941, allocations: 275.6 kB / 0.7398 GB, free: 15.23 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002548/0.3943, allocations: 24 kB / 0.7398 GB, free: 15.21 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001549/0.3959, allocations: 139.8 kB / 0.7399 GB, free: 15.07 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000847/0.3967, allocations: 253.1 kB / 0.7402 GB, free: 14.83 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001138/0.3969, allocations: 31.98 kB / 0.7402 GB, free: 14.8 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001591/0.3985, allocations: 0.9457 MB / 0.7411 GB, free: 13.85 MB / 0.545 GB Notification: Performance of sort global known variables: time 3.1e-07/0.3985, allocations: 4 kB / 0.7411 GB, free: 13.85 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001506/0.4, allocations: 0.5191 MB / 0.7416 GB, free: 13.33 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.0003552/0.4004, allocations: 151 kB / 0.7418 GB, free: 13.17 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.008903/0.4093, allocations: 2.845 MB / 0.7445 GB, free: 10.32 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.801e-06/0.4093, allocations: 0 / 0.7445 GB, free: 10.32 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.00656/0.4159, allocations: 1.917 MB / 0.7464 GB, free: 8.387 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001714/0.4176, allocations: 138.5 kB / 0.7465 GB, free: 8.254 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00599/0.4236, allocations: 2.99 MB / 0.7495 GB, free: 5.227 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009089/0.4246, allocations: 1.219 MB / 0.7507 GB, free: 3.973 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0006302/0.4252, allocations: 141.7 kB / 0.7508 GB, free: 3.832 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003467/0.4256, allocations: 91.42 kB / 0.7509 GB, free: 3.742 MB / 0.545 GB Notification: Performance of SimCode: time 7.71e-07/0.4256, allocations: 0 / 0.7509 GB, free: 3.742 MB / 0.545 GB Notification: Performance of Templates: time 0.2883/0.7139, allocations: 30.04 MB / 0.7802 GB, free: 115.9 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 -s cvode -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.SEXS.pipe 2>&1)