Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS.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.CGMES.ES.ExcSEXS,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS") translateModel(OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009084/0.0009084, allocations: 92.78 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.354/1.354, allocations: 223.3 MB / 240 MB, free: 5.527 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.001186/0.001186, allocations: 176.5 kB / 291.3 MB, free: 2.195 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5088/0.5088, allocations: 91.93 MB / 434.3 MB, free: 10.3 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003518/0.000352, allocations: 11.94 kB / 0.5054 GB, free: 7.266 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3409/0.3413, allocations: 72.47 MB / 0.5762 GB, free: 36.62 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS): time 0.005811/0.3471, allocations: 8.114 MB / 0.5841 GB, free: 31.07 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004604/0.3518, allocations: 2.691 MB / 0.5867 GB, free: 29.18 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001354/0.3532, allocations: 18.53 kB / 0.5868 GB, free: 29.18 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009549/0.3542, allocations: 255.7 kB / 0.587 GB, free: 29.07 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002808/0.357, allocations: 0.9961 MB / 0.588 GB, free: 28.43 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00156/0.3586, allocations: 0.7007 MB / 0.5887 GB, free: 28.07 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00234/0.3609, allocations: 2.165 MB / 0.5908 GB, free: 27.05 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000536/0.3615, allocations: 368 kB / 0.5911 GB, free: 26.86 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001104/0.3626, allocations: 0.7796 MB / 0.5919 GB, free: 26.53 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001215/0.3638, allocations: 1.046 MB / 0.5929 GB, free: 26.07 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003471/0.3642, allocations: 90.5 kB / 0.593 GB, free: 26.07 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007684/0.3649, allocations: 314.1 kB / 0.5933 GB, free: 26 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003083/0.3653, allocations: 372.9 kB / 0.5936 GB, free: 25.79 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008003/0.3661, allocations: 0.8385 MB / 0.5945 GB, free: 25.24 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001487/0.3676, allocations: 1.72 MB / 0.5961 GB, free: 24.75 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.3676, allocations: 4 kB / 0.5961 GB, free: 24.75 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3676, allocations: 1.094 kB / 0.5961 GB, free: 24.75 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.479e-05/0.3676, allocations: 0 / 0.5961 GB, free: 24.75 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 241 * Number of variables: 241 Notification: Performance of Generate backend data structure: time 0.01232/0.38, allocations: 3.405 MB / 0.5995 GB, free: 23.44 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.635e-05/0.38, allocations: 8.906 kB / 0.5995 GB, free: 23.44 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005029/0.3851, allocations: 0.7634 MB / 0.6002 GB, free: 23.27 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002544/0.3876, allocations: 1.175 MB / 0.6014 GB, free: 22.54 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004193/0.3881, allocations: 437 kB / 0.6018 GB, free: 22.14 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000267/0.3884, allocations: 111.2 kB / 0.6019 GB, free: 22.11 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003209/0.3916, allocations: 1.532 MB / 0.6034 GB, free: 21.54 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.327e-05/0.3916, allocations: 4 kB / 0.6034 GB, free: 21.54 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00013/0.3918, allocations: 41.77 kB / 0.6034 GB, free: 21.5 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.331e-05/0.3918, allocations: 26.95 kB / 0.6035 GB, free: 21.5 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003286/0.3951, allocations: 1.469 MB / 0.6049 GB, free: 21.03 MB / 430.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.009813/0.4049, allocations: 5.07 MB / 0.6098 GB, free: 18.16 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009562/0.4145, allocations: 3.539 MB / 0.6133 GB, free: 16.91 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002423/0.417, allocations: 1.014 MB / 0.6143 GB, free: 16.53 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001728/0.4172, allocations: 28.28 kB / 0.6143 GB, free: 16.52 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002795/0.42, allocations: 1.162 MB / 0.6155 GB, free: 16.1 MB / 430.1 MB Notification: Performance of pre-optimization done (n=126): time 5.461e-06/0.42, allocations: 0 / 0.6155 GB, free: 16.1 MB / 430.1 MB Notification: Performance of matching and sorting (n=126): time 0.04194/0.462, allocations: 11.44 MB / 0.6266 GB, free: 9.52 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.425e-05/0.4621, allocations: 145.5 kB / 0.6268 GB, free: 9.344 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002209/0.4643, allocations: 1.496 MB / 0.6282 GB, free: 7.84 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003982/0.4647, allocations: 53.7 kB / 0.6283 GB, free: 7.781 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003369/0.465, allocations: 0.6122 MB / 0.6289 GB, free: 7.164 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004192/0.4655, allocations: 449.5 kB / 0.6293 GB, free: 6.719 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002151/0.4657, allocations: 169.6 kB / 0.6295 GB, free: 6.547 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.709e-05/0.4658, allocations: 313.1 kB / 0.6298 GB, free: 6.238 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002066/0.4678, allocations: 1.062 MB / 0.6308 GB, free: 5.176 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002157/0.47, allocations: 1.273 MB / 0.632 GB, free: 3.855 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004147/0.4742, allocations: 2.284 MB / 0.6343 GB, free: 1.527 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.406e-06/0.4742, allocations: 0 / 0.6343 GB, free: 1.527 MB / 430.1 MB Notification: Performance of matching and sorting (n=232) (initialization): time 0.01377/0.488, allocations: 5.033 MB / 0.6392 GB, free: 12.48 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001532/0.4882, allocations: 198.6 kB / 0.6394 GB, free: 12.24 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.733e-05/0.4882, allocations: 8 kB / 0.6394 GB, free: 12.23 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01078/0.499, allocations: 3.019 MB / 0.6423 GB, free: 9.207 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001711/0.5007, allocations: 319.5 kB / 0.6426 GB, free: 8.895 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00763/0.5084, allocations: 3.015 MB / 0.6456 GB, free: 5.852 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002974/0.5114, allocations: 322.2 kB / 0.6459 GB, free: 5.535 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003517/0.5118, allocations: 59.98 kB / 0.6459 GB, free: 5.477 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/0.5118, allocations: 4 kB / 0.646 GB, free: 5.473 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01469/0.5265, allocations: 4.835 MB / 0.6507 GB, free: 0.6289 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.13e-05/0.5266, allocations: 4 kB / 0.6507 GB, free: 0.625 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01057/0.5371, allocations: 3.011 MB / 0.6536 GB, free: 13.61 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001702/0.5389, allocations: 307.5 kB / 0.6539 GB, free: 13.31 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007699/0.5466, allocations: 2.996 MB / 0.6568 GB, free: 10.29 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002885/0.5495, allocations: 302.5 kB / 0.6571 GB, free: 9.988 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004206/0.55, allocations: 63.92 kB / 0.6572 GB, free: 9.926 MB / 462.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 (177): * Single equations (assignments): 176 * 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 {(30,26)} Notification: Performance of prepare postOptimizeDAE: time 0.001132/0.5511, allocations: 377.4 kB / 0.6575 GB, free: 9.547 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006333/0.5518, allocations: 158 kB / 0.6577 GB, free: 9.391 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01912/0.5709, allocations: 5.886 MB / 0.6634 GB, free: 3.484 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.109e-05/0.571, allocations: 19.94 kB / 0.6635 GB, free: 3.465 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.053e-05/0.571, allocations: 3.938 kB / 0.6635 GB, free: 3.461 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.344e-05/0.571, allocations: 3.984 kB / 0.6635 GB, free: 3.457 MB / 462.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.02396/0.595, allocations: 8.04 MB / 0.6713 GB, free: 11.29 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.458e-05/0.5951, allocations: 4.031 kB / 0.6713 GB, free: 11.28 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001053/0.5961, allocations: 147.8 kB / 0.6715 GB, free: 11.14 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008766/0.6049, allocations: 2.509 MB / 0.6739 GB, free: 8.621 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003843/0.6053, allocations: 32 kB / 0.6739 GB, free: 8.59 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02831/0.6336, allocations: 10.33 MB / 0.684 GB, free: 14.11 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.52e-06/0.6337, allocations: 3.938 kB / 0.684 GB, free: 14.11 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02214/0.6558, allocations: 7.149 MB / 0.691 GB, free: 6.93 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007084/0.6566, allocations: 278.7 kB / 0.6913 GB, free: 6.637 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006006/0.6572, allocations: 31.98 kB / 0.6913 GB, free: 6.605 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002272/0.6595, allocations: 199.8 kB / 0.6915 GB, free: 6.41 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009982/0.6605, allocations: 257.3 kB / 0.6917 GB, free: 6.156 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002315/0.6608, allocations: 32 kB / 0.6918 GB, free: 6.125 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002117/0.6629, allocations: 1.018 MB / 0.6928 GB, free: 5.109 MB / 494.1 MB Notification: Performance of sort global known variables: time 5.11e-07/0.6629, allocations: 0 / 0.6928 GB, free: 5.109 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003391/0.6663, allocations: 0.8582 MB / 0.6936 GB, free: 4.25 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 12 (gENCLS.omega,gENCLS.delta,gENCLS.eq,gENROE.w,gENROE.delta,gENROE.Epd,gENROE.Epq,gENROE.PSIkd,gENROE.PSIkq,sEXS.simpleLagLim.state,sEXS.leadLag.TF.x_scaled[1],sEXS.transferFunction.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 (83): * Single equations (assignments): 82 * 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.0005146/0.6668, allocations: 144 kB / 0.6937 GB, free: 4.102 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01831/0.6852, allocations: 5.492 MB / 0.6991 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 7.634e-06/0.6852, allocations: 0 / 0.6991 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.007351/0.6926, allocations: 2.179 MB / 0.7012 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002132/0.6947, allocations: 145.4 kB / 0.7014 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007045/0.7018, allocations: 3.879 MB / 0.7052 GB, free: 8.355 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008984/0.7027, allocations: 1.241 MB / 0.7064 GB, free: 7.082 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006287/0.7034, allocations: 107.4 kB / 0.7065 GB, free: 6.977 MB / 0.4981 GB Notification: Performance of SimCode: time 8.51e-07/0.7034, allocations: 0 / 0.7065 GB, free: 6.977 MB / 0.4981 GB Notification: Performance of Templates: time 0.03714/0.7405, allocations: 26.36 MB / 0.7322 GB, free: 12.62 MB / 0.5294 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS.pipe 2>&1)