Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SEXS.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/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/Modelica 3.2.3+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 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Running command: translateModel(OpenIPSL.Tests.Controls.PSSE.ES.SEXS,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SEXS") translateModel(OpenIPSL.Tests.Controls.PSSE.ES.SEXS,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SEXS") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.07671/0.07671, allocations: 12.61 MB / 28.87 MB, free: 396 kB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001034/0.001034, allocations: 111.5 kB / 32.46 MB, free: 3.445 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.318/1.318, allocations: 205.1 MB / 241.1 MB, free: 12.38 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001269/0.001269, allocations: 184.5 kB / 291.3 MB, free: 13.42 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4261/0.4261, allocations: 78.51 MB / 419.9 MB, free: 11.29 MB / 302.1 MB Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002567/0.002567, allocations: 148.8 kB / 0.4895 GB, free: 10.07 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2686/0.2712, allocations: 68.1 MB / 0.556 GB, free: 33.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.SEXS): time 0.006774/0.278, allocations: 8.096 MB / 0.5639 GB, free: 27.24 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003972/0.282, allocations: 2.486 MB / 0.5663 GB, free: 25.19 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005655/0.2826, allocations: 12.16 kB / 0.5663 GB, free: 25.19 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006505/0.2833, allocations: 313.5 kB / 0.5666 GB, free: 24.93 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002152/0.2855, allocations: 1.195 MB / 0.5678 GB, free: 23.98 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001111/0.2866, allocations: 0.6642 MB / 0.5685 GB, free: 23.48 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001951/0.2885, allocations: 2.291 MB / 0.5707 GB, free: 22.1 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004666/0.289, allocations: 386.8 kB / 0.5711 GB, free: 21.88 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008742/0.2899, allocations: 0.866 MB / 0.5719 GB, free: 21.34 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009464/0.2909, allocations: 1.111 MB / 0.573 GB, free: 20.56 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002502/0.2911, allocations: 176.1 kB / 0.5732 GB, free: 20.56 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006389/0.2918, allocations: 398.2 kB / 0.5735 GB, free: 20.45 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002719/0.292, allocations: 455.3 kB / 0.574 GB, free: 20.07 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005564/0.2926, allocations: 0.8801 MB / 0.5748 GB, free: 19.38 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001552/0.2942, allocations: 2.226 MB / 0.577 GB, free: 17.71 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.2942, allocations: 4 kB / 0.577 GB, free: 17.71 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.2942, allocations: 0 / 0.577 GB, free: 17.71 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.429e-05/0.2942, allocations: 0 / 0.577 GB, free: 17.71 MB / 398.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.01175/0.306, allocations: 3.71 MB / 0.5806 GB, free: 14.22 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.127e-05/0.306, allocations: 15.98 kB / 0.5807 GB, free: 14.21 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004213/0.3102, allocations: 0.7548 MB / 0.5814 GB, free: 13.45 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001512/0.3118, allocations: 1.096 MB / 0.5825 GB, free: 12.3 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002937/0.3121, allocations: 428.6 kB / 0.5829 GB, free: 11.82 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001737/0.3123, allocations: 107.8 kB / 0.583 GB, free: 11.71 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002201/0.3145, allocations: 1.385 MB / 0.5843 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.064e-05/0.3145, allocations: 3.938 kB / 0.5843 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001094/0.3146, allocations: 40 kB / 0.5844 GB, free: 10.26 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.294e-05/0.3146, allocations: 24 kB / 0.5844 GB, free: 10.24 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002336/0.317, allocations: 1.308 MB / 0.5857 GB, free: 8.934 MB / 398.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.006449/0.3234, allocations: 4.802 MB / 0.5904 GB, free: 3.914 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006786/0.3302, allocations: 2.842 MB / 0.5931 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001447/0.3317, allocations: 0.9034 MB / 0.594 GB, free: 16 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001517/0.3319, allocations: 21.03 kB / 0.594 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00198/0.3338, allocations: 1.046 MB / 0.5951 GB, free: 14.93 MB / 414.1 MB Notification: Performance of pre-optimization done (n=122): time 2.555e-06/0.3339, allocations: 4 kB / 0.5951 GB, free: 14.93 MB / 414.1 MB Notification: Performance of matching and sorting (n=122): time 0.03815/0.372, allocations: 9.668 MB / 0.6045 GB, free: 5.219 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.297e-05/0.3721, allocations: 115.8 kB / 0.6046 GB, free: 5.078 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002339/0.3745, allocations: 1.398 MB / 0.606 GB, free: 3.668 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002431/0.3747, allocations: 53.7 kB / 0.606 GB, free: 3.609 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004949/0.3752, allocations: 0.5806 MB / 0.6066 GB, free: 3.023 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005494/0.3758, allocations: 441.7 kB / 0.607 GB, free: 2.586 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007668/0.3766, allocations: 331.4 kB / 0.6073 GB, free: 2.258 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 9.982e-05/0.3767, allocations: 305.1 kB / 0.6076 GB, free: 1.957 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00207/0.3787, allocations: 0.9526 MB / 0.6086 GB, free: 1.004 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002218/0.381, allocations: 1.155 MB / 0.6097 GB, free: 15.8 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004051/0.385, allocations: 2.058 MB / 0.6117 GB, free: 13.7 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.744e-06/0.3851, allocations: 4 kB / 0.6117 GB, free: 13.7 MB / 430.1 MB Notification: Performance of matching and sorting (n=231) (initialization): time 0.01626/0.4013, allocations: 5.391 MB / 0.617 GB, free: 8.289 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.94e-05/0.4014, allocations: 8 kB / 0.617 GB, free: 8.281 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.201e-05/0.4014, allocations: 4 kB / 0.617 GB, free: 8.277 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009165/0.4106, allocations: 2.88 MB / 0.6198 GB, free: 5.395 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00125/0.4118, allocations: 287.6 kB / 0.6201 GB, free: 5.113 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006449/0.4183, allocations: 2.853 MB / 0.6228 GB, free: 2.238 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002231/0.4205, allocations: 246.3 kB / 0.6231 GB, free: 1.996 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001706/0.4207, allocations: 67.97 kB / 0.6231 GB, free: 1.93 MB / 430.1 MB 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.0005863/0.4213, allocations: 293.5 kB / 0.6234 GB, free: 1.633 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003087/0.4216, allocations: 154 kB / 0.6236 GB, free: 1.48 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01502/0.4367, allocations: 4.729 MB / 0.6282 GB, free: 12.72 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-05/0.4367, allocations: 16 kB / 0.6282 GB, free: 12.71 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.117e-06/0.4367, allocations: 0 / 0.6282 GB, free: 12.71 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.83e-05/0.4368, allocations: 7.969 kB / 0.6282 GB, free: 12.7 MB / 446.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 postOpt removeSimpleEquations (simulation): time 0.01764/0.4544, allocations: 6.803 MB / 0.6349 GB, free: 5.762 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.171e-06/0.4544, allocations: 0 / 0.6349 GB, free: 5.762 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000787/0.4552, allocations: 131.8 kB / 0.635 GB, free: 5.633 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006981/0.4622, allocations: 2.146 MB / 0.6371 GB, free: 3.484 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001149/0.4624, allocations: 24 kB / 0.6371 GB, free: 3.461 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02394/0.4863, allocations: 10.07 MB / 0.6469 GB, free: 9.246 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.948e-06/0.4863, allocations: 4 kB / 0.6469 GB, free: 9.242 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0171/0.5035, allocations: 5.869 MB / 0.6527 GB, free: 3.344 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005638/0.504, allocations: 266.8 kB / 0.6529 GB, free: 3.062 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002148/0.5043, allocations: 20 kB / 0.6529 GB, free: 3.043 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001502/0.5058, allocations: 139.8 kB / 0.6531 GB, free: 2.906 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007342/0.5065, allocations: 257.1 kB / 0.6533 GB, free: 2.656 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001048/0.5066, allocations: 35.98 kB / 0.6534 GB, free: 2.621 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001369/0.508, allocations: 0.9418 MB / 0.6543 GB, free: 1.68 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.508, allocations: 0 / 0.6543 GB, free: 1.68 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001258/0.5093, allocations: 0.519 MB / 0.6548 GB, free: 1.16 MB / 462.1 MB 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.000339/0.5096, allocations: 151.1 kB / 0.6549 GB, free: 1 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.008002/0.5176, allocations: 2.841 MB / 0.6577 GB, free: 14.16 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.5177, allocations: 112 / 0.6577 GB, free: 14.16 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005549/0.5232, allocations: 1.918 MB / 0.6596 GB, free: 12.22 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009049/0.5241, allocations: 133.6 kB / 0.6597 GB, free: 12.1 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005218/0.5294, allocations: 2.953 MB / 0.6626 GB, free: 9.117 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007225/0.5301, allocations: 1.207 MB / 0.6638 GB, free: 7.875 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004449/0.5306, allocations: 137.7 kB / 0.6639 GB, free: 7.738 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003216/0.5309, allocations: 95.41 kB / 0.664 GB, free: 7.645 MB / 478.1 MB Notification: Performance of SimCode: time 6.61e-07/0.5309, allocations: 0 / 0.664 GB, free: 7.645 MB / 478.1 MB Notification: Performance of Templates: time 0.04417/0.5751, allocations: 29.66 MB / 0.6929 GB, free: 9.992 MB / 0.4981 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SEXS.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SEXS.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SEXS.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SEXS.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SEXS.sim & ./OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SEXS -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SEXS.pipe 2>&1)