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.001411/0.001411, allocations: 107.5 kB / 15.99 MB, free: 6.359 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.324/1.324, allocations: 222.9 MB / 239.6 MB, free: 4.625 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.001491/0.001491, allocations: 188.4 kB / 289.9 MB, free: 2.371 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5055/0.5055, allocations: 91.89 MB / 432 MB, free: 9.363 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001444/0.001444, allocations: 75.88 kB / 0.502 GB, free: 8.02 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3408/0.3423, allocations: 71.26 MB / 0.5716 GB, free: 36.45 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS): time 0.006978/0.3493, allocations: 8.615 MB / 0.58 GB, free: 31.3 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005/0.3543, allocations: 2.705 MB / 0.5827 GB, free: 29.4 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001292/0.3557, allocations: 15.34 kB / 0.5827 GB, free: 29.4 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009354/0.3566, allocations: 263.2 kB / 0.5829 GB, free: 29.3 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002666/0.3593, allocations: 1.007 MB / 0.5839 GB, free: 28.65 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001468/0.3608, allocations: 0.6953 MB / 0.5846 GB, free: 28.29 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002231/0.3631, allocations: 2.289 MB / 0.5868 GB, free: 27.18 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005437/0.3636, allocations: 405.1 kB / 0.5872 GB, free: 26.98 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001183/0.3648, allocations: 0.9256 MB / 0.5881 GB, free: 26.53 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001225/0.366, allocations: 1.154 MB / 0.5893 GB, free: 25.98 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003487/0.3664, allocations: 185.8 kB / 0.5894 GB, free: 25.98 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000859/0.3673, allocations: 414.5 kB / 0.5898 GB, free: 25.91 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003271/0.3676, allocations: 471.9 kB / 0.5903 GB, free: 25.61 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007382/0.3684, allocations: 0.9241 MB / 0.5912 GB, free: 24.99 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001574/0.3699, allocations: 1.794 MB / 0.5929 GB, free: 24.32 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.37, allocations: 0.9688 kB / 0.5929 GB, free: 24.32 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.37, allocations: 0 / 0.5929 GB, free: 24.32 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.205e-05/0.37, allocations: 0 / 0.5929 GB, free: 24.32 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.01263/0.3826, allocations: 3.633 MB / 0.5965 GB, free: 22.81 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.356e-05/0.3827, allocations: 13.72 kB / 0.5965 GB, free: 22.81 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004687/0.3874, allocations: 0.7527 MB / 0.5972 GB, free: 22.64 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00231/0.3897, allocations: 1.172 MB / 0.5984 GB, free: 21.9 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003622/0.3901, allocations: 430.3 kB / 0.5988 GB, free: 21.51 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000238/0.3904, allocations: 108.2 kB / 0.5989 GB, free: 21.48 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003057/0.3934, allocations: 1.445 MB / 0.6003 GB, free: 20.92 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.286e-05/0.3935, allocations: 7.984 kB / 0.6003 GB, free: 20.91 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001228/0.3936, allocations: 36.62 kB / 0.6003 GB, free: 20.88 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.006e-05/0.3936, allocations: 22.62 kB / 0.6004 GB, free: 20.88 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002949/0.3966, allocations: 1.377 MB / 0.6017 GB, free: 20.43 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.00898/0.4056, allocations: 4.979 MB / 0.6066 GB, free: 17.57 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008086/0.4137, allocations: 2.963 MB / 0.6095 GB, free: 16.38 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002097/0.4158, allocations: 0.9265 MB / 0.6104 GB, free: 16 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001732/0.416, allocations: 25.88 kB / 0.6104 GB, free: 16 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002341/0.4183, allocations: 1.076 MB / 0.6115 GB, free: 15.59 MB / 430.1 MB Notification: Performance of pre-optimization done (n=126): time 3.337e-06/0.4184, allocations: 1.969 kB / 0.6115 GB, free: 15.59 MB / 430.1 MB Notification: Performance of matching and sorting (n=126): time 0.03805/0.4564, allocations: 9.444 MB / 0.6207 GB, free: 12.04 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.611e-05/0.4565, allocations: 153.5 kB / 0.6208 GB, free: 11.85 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002358/0.4589, allocations: 1.48 MB / 0.6223 GB, free: 10.36 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004329/0.4593, allocations: 53.7 kB / 0.6223 GB, free: 10.3 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003576/0.4597, allocations: 0.6122 MB / 0.6229 GB, free: 9.688 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004998/0.4602, allocations: 453.5 kB / 0.6233 GB, free: 9.238 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005836/0.4608, allocations: 335.4 kB / 0.6237 GB, free: 8.906 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.825e-05/0.4609, allocations: 301.1 kB / 0.624 GB, free: 8.609 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001844/0.4627, allocations: 0.9925 MB / 0.6249 GB, free: 7.613 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001936/0.4647, allocations: 1.187 MB / 0.6261 GB, free: 6.379 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003719/0.4684, allocations: 2.109 MB / 0.6281 GB, free: 4.227 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.598e-06/0.4684, allocations: 4 kB / 0.6281 GB, free: 4.223 MB / 430.1 MB Notification: Performance of matching and sorting (n=232) (initialization): time 0.0113/0.4797, allocations: 4.369 MB / 0.6324 GB, free: 15.83 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.714e-05/0.4798, allocations: 7.938 kB / 0.6324 GB, free: 15.82 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.608e-05/0.4798, allocations: 4 kB / 0.6324 GB, free: 15.82 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00942/0.4892, allocations: 2.651 MB / 0.635 GB, free: 13.17 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001732/0.491, allocations: 323.5 kB / 0.6353 GB, free: 12.85 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006418/0.4974, allocations: 2.691 MB / 0.638 GB, free: 10.13 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002865/0.5004, allocations: 266.3 kB / 0.6382 GB, free: 9.871 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003315/0.5007, allocations: 59.98 kB / 0.6383 GB, free: 9.812 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002708/0.5034, allocations: 1.195 MB / 0.6394 GB, free: 8.613 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002299/0.5058, allocations: 1.183 MB / 0.6406 GB, free: 7.383 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004306/0.5101, allocations: 2.089 MB / 0.6426 GB, free: 5.25 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.783e-06/0.5101, allocations: 0 / 0.6426 GB, free: 5.25 MB / 446.1 MB Notification: Performance of matching and sorting (n=232) (initialization_lambda0): time 0.0121/0.5222, allocations: 4.35 MB / 0.6469 GB, free: 0.8828 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.272e-05/0.5223, allocations: 8 kB / 0.6469 GB, free: 0.875 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.224e-05/0.5223, allocations: 4 kB / 0.6469 GB, free: 0.8711 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009106/0.5314, allocations: 2.651 MB / 0.6495 GB, free: 14.22 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001673/0.5331, allocations: 311.5 kB / 0.6498 GB, free: 13.91 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006332/0.5395, allocations: 2.699 MB / 0.6524 GB, free: 11.19 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002783/0.5423, allocations: 242.6 kB / 0.6526 GB, free: 10.95 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002266/0.5425, allocations: 55.98 kB / 0.6527 GB, free: 10.89 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.0004697/0.543, allocations: 265.3 kB / 0.6529 GB, free: 10.63 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000414/0.5434, allocations: 165.9 kB / 0.6531 GB, free: 10.46 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01595/0.5594, allocations: 4.823 MB / 0.6578 GB, free: 5.621 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.937e-05/0.5594, allocations: 12 kB / 0.6578 GB, free: 5.609 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.576e-06/0.5595, allocations: 0 / 0.6578 GB, free: 5.609 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.239e-05/0.5595, allocations: 7.969 kB / 0.6578 GB, free: 5.602 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.01972/0.5792, allocations: 6.981 MB / 0.6646 GB, free: 14.48 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.915e-05/0.5793, allocations: 7.984 kB / 0.6647 GB, free: 14.48 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001096/0.5804, allocations: 143.8 kB / 0.6648 GB, free: 14.34 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007471/0.5879, allocations: 2.146 MB / 0.6669 GB, free: 12.18 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002776/0.5882, allocations: 31.98 kB / 0.6669 GB, free: 12.15 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02524/0.6134, allocations: 10.08 MB / 0.6768 GB, free: 1.922 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.6135, allocations: 4 kB / 0.6768 GB, free: 1.918 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01852/0.632, allocations: 6.009 MB / 0.6826 GB, free: 11.87 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000772/0.6328, allocations: 274.7 kB / 0.6829 GB, free: 11.58 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004634/0.6333, allocations: 28 kB / 0.6829 GB, free: 11.55 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001914/0.6352, allocations: 155.8 kB / 0.6831 GB, free: 11.4 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008733/0.6361, allocations: 261.4 kB / 0.6833 GB, free: 11.15 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001271/0.6362, allocations: 35.98 kB / 0.6834 GB, free: 11.11 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001732/0.638, allocations: 1.006 MB / 0.6843 GB, free: 10.11 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.638, allocations: 0 / 0.6843 GB, free: 10.11 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002522/0.6405, allocations: 0.8622 MB / 0.6852 GB, free: 9.246 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.0003979/0.6409, allocations: 151.9 kB / 0.6853 GB, free: 9.09 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01623/0.6572, allocations: 4.943 MB / 0.6901 GB, free: 4.152 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 8.055e-06/0.6572, allocations: 0 / 0.6901 GB, free: 4.152 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006396/0.6636, allocations: 1.939 MB / 0.692 GB, free: 2.199 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001699/0.6654, allocations: 156.1 kB / 0.6922 GB, free: 2.047 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006398/0.6718, allocations: 3.719 MB / 0.6958 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008201/0.6727, allocations: 1.248 MB / 0.697 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006787/0.6733, allocations: 103.4 kB / 0.6971 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of SimCode: time 2.605e-06/0.6734, allocations: 112 / 0.6971 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of Templates: time 0.03673/0.7101, allocations: 26.55 MB / 0.7231 GB, free: 2.367 MB / 0.5137 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)