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.0009648/0.0009643, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.425/1.425, allocations: 223.3 MB / 239.4 MB, free: 5.523 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.001255/0.001254, allocations: 187.4 kB / 290.6 MB, free: 2.199 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5348/0.5348, allocations: 91.93 MB / 433.6 MB, free: 10.3 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004003/0.0004004, allocations: 12 kB / 0.5048 GB, free: 7.285 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4274/0.4279, allocations: 72.46 MB / 0.5755 GB, free: 36.94 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS): time 0.006327/0.4342, allocations: 8.113 MB / 0.5835 GB, free: 31.39 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005315/0.4396, allocations: 2.688 MB / 0.5861 GB, free: 29.5 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001519/0.4412, allocations: 16.25 kB / 0.5861 GB, free: 29.5 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009047/0.4421, allocations: 261.3 kB / 0.5863 GB, free: 29.39 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00257/0.4447, allocations: 0.9953 MB / 0.5873 GB, free: 28.75 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001456/0.4461, allocations: 0.7051 MB / 0.588 GB, free: 28.38 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002205/0.4483, allocations: 2.163 MB / 0.5901 GB, free: 27.37 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005199/0.4489, allocations: 362 kB / 0.5905 GB, free: 27.18 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001159/0.45, allocations: 0.7851 MB / 0.5912 GB, free: 26.84 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001114/0.4512, allocations: 1.041 MB / 0.5922 GB, free: 26.39 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002195/0.4514, allocations: 90.25 kB / 0.5923 GB, free: 26.39 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007217/0.4521, allocations: 317.9 kB / 0.5926 GB, free: 26.31 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002886/0.4524, allocations: 375.5 kB / 0.593 GB, free: 26.11 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006801/0.4531, allocations: 0.8337 MB / 0.5938 GB, free: 25.55 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001752/0.4549, allocations: 2.186 MB / 0.5959 GB, free: 24.78 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.4549, allocations: 0 / 0.5959 GB, free: 24.78 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.4549, allocations: 4 kB / 0.5959 GB, free: 24.77 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.466e-05/0.4549, allocations: 1.375 kB / 0.5959 GB, free: 24.77 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.01249/0.4674, allocations: 3.404 MB / 0.5993 GB, free: 23.46 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.894e-05/0.4675, allocations: 9.219 kB / 0.5993 GB, free: 23.46 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005234/0.4727, allocations: 0.7595 MB / 0.6 GB, free: 23.3 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002771/0.4755, allocations: 1.175 MB / 0.6012 GB, free: 22.56 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004205/0.476, allocations: 442.4 kB / 0.6016 GB, free: 22.17 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002626/0.4762, allocations: 115.2 kB / 0.6017 GB, free: 22.12 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00327/0.4795, allocations: 1.53 MB / 0.6032 GB, free: 21.56 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.304e-05/0.4796, allocations: 1.031 kB / 0.6032 GB, free: 21.56 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001305/0.4797, allocations: 40.28 kB / 0.6032 GB, free: 21.53 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.388e-05/0.4797, allocations: 23.12 kB / 0.6033 GB, free: 21.53 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003444/0.4832, allocations: 1.473 MB / 0.6047 GB, free: 21.05 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.01028/0.4935, allocations: 5.067 MB / 0.6096 GB, free: 18.19 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009521/0.503, allocations: 3.54 MB / 0.6131 GB, free: 16.93 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002511/0.5056, allocations: 1.014 MB / 0.6141 GB, free: 16.55 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001433/0.5057, allocations: 24.16 kB / 0.6141 GB, free: 16.54 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002555/0.5083, allocations: 1.161 MB / 0.6152 GB, free: 16.13 MB / 430.1 MB Notification: Performance of pre-optimization done (n=126): time 3.476e-06/0.5083, allocations: 3.938 kB / 0.6152 GB, free: 16.12 MB / 430.1 MB Notification: Performance of matching and sorting (n=126): time 0.04295/0.5513, allocations: 11.44 MB / 0.6264 GB, free: 9.07 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.52e-05/0.5514, allocations: 145.5 kB / 0.6266 GB, free: 8.895 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002499/0.5539, allocations: 1.488 MB / 0.628 GB, free: 7.398 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004292/0.5544, allocations: 53.69 kB / 0.6281 GB, free: 7.34 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003428/0.5547, allocations: 0.6044 MB / 0.6287 GB, free: 6.73 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004449/0.5552, allocations: 461.5 kB / 0.6291 GB, free: 6.273 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002114/0.5554, allocations: 169.6 kB / 0.6293 GB, free: 6.102 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.494e-05/0.5554, allocations: 301.1 kB / 0.6295 GB, free: 5.805 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002098/0.5575, allocations: 1.07 MB / 0.6306 GB, free: 4.734 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002184/0.5597, allocations: 1.276 MB / 0.6318 GB, free: 3.41 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004174/0.5639, allocations: 2.277 MB / 0.6341 GB, free: 1.09 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-05/0.564, allocations: 7.984 kB / 0.6341 GB, free: 1.082 MB / 430.1 MB Notification: Performance of matching and sorting (n=232) (initialization): time 0.01431/0.5783, allocations: 5.025 MB / 0.639 GB, free: 12.04 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001657/0.5785, allocations: 205 kB / 0.6392 GB, free: 11.8 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.724e-05/0.5785, allocations: 4 kB / 0.6392 GB, free: 11.79 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01057/0.5891, allocations: 3.023 MB / 0.6421 GB, free: 8.766 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001825/0.5909, allocations: 319.5 kB / 0.6424 GB, free: 8.453 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007206/0.5982, allocations: 3.011 MB / 0.6454 GB, free: 5.414 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003231/0.6014, allocations: 318.2 kB / 0.6457 GB, free: 5.102 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002733/0.6017, allocations: 67.97 kB / 0.6457 GB, free: 5.035 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.6018, allocations: 4 kB / 0.6457 GB, free: 5.031 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01373/0.6155, allocations: 4.831 MB / 0.6505 GB, free: 196 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.507e-05/0.6156, allocations: 4 kB / 0.6505 GB, free: 192 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01027/0.6259, allocations: 3.015 MB / 0.6534 GB, free: 13.17 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001975/0.6279, allocations: 303.6 kB / 0.6537 GB, free: 12.87 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007931/0.6358, allocations: 2.996 MB / 0.6566 GB, free: 9.844 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003419/0.6393, allocations: 298.5 kB / 0.6569 GB, free: 9.551 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002983/0.6396, allocations: 63.92 kB / 0.657 GB, free: 9.488 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.001193/0.6408, allocations: 383.8 kB / 0.6573 GB, free: 9.105 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000625/0.6415, allocations: 162 kB / 0.6575 GB, free: 8.945 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01941/0.6609, allocations: 5.886 MB / 0.6632 GB, free: 3.043 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.568e-05/0.6609, allocations: 12 kB / 0.6633 GB, free: 3.031 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.315e-05/0.661, allocations: 7.938 kB / 0.6633 GB, free: 3.023 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.529e-05/0.661, allocations: 3.984 kB / 0.6633 GB, free: 3.02 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.023/0.684, allocations: 8.044 MB / 0.6711 GB, free: 10.84 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.681e-05/0.6841, allocations: 8 kB / 0.6711 GB, free: 10.84 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001084/0.6852, allocations: 143.8 kB / 0.6713 GB, free: 10.7 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008449/0.6937, allocations: 2.517 MB / 0.6737 GB, free: 8.172 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003326/0.6941, allocations: 27.98 kB / 0.6737 GB, free: 8.145 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02701/0.7211, allocations: 10.32 MB / 0.6838 GB, free: 13.67 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.305e-06/0.7211, allocations: 7.938 kB / 0.6838 GB, free: 13.66 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02217/0.7433, allocations: 7.138 MB / 0.6908 GB, free: 6.496 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001199/0.7446, allocations: 282.6 kB / 0.6911 GB, free: 6.199 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004012/0.745, allocations: 28 kB / 0.6911 GB, free: 6.172 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001928/0.7469, allocations: 207.8 kB / 0.6913 GB, free: 5.969 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009/0.7478, allocations: 249.3 kB / 0.6915 GB, free: 5.723 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001156/0.748, allocations: 35.98 kB / 0.6916 GB, free: 5.688 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001829/0.7498, allocations: 1.018 MB / 0.6926 GB, free: 4.672 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.7498, allocations: 0 / 0.6926 GB, free: 4.672 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002816/0.7526, allocations: 0.8544 MB / 0.6934 GB, free: 3.816 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.000435/0.7531, allocations: 155.9 kB / 0.6936 GB, free: 3.656 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01727/0.7704, allocations: 5.488 MB / 0.6989 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 9.458e-06/0.7704, allocations: 4 kB / 0.6989 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.00708/0.7775, allocations: 2.179 MB / 0.701 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001781/0.7793, allocations: 151.6 kB / 0.7012 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006596/0.7859, allocations: 3.837 MB / 0.7049 GB, free: 7.949 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009106/0.7869, allocations: 1.241 MB / 0.7061 GB, free: 6.676 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0008881/0.7878, allocations: 182.1 kB / 0.7063 GB, free: 6.496 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003683/0.7881, allocations: 99.41 kB / 0.7064 GB, free: 6.398 MB / 0.4981 GB Notification: Performance of SimCode: time 2.144e-06/0.7881, allocations: 0 / 0.7064 GB, free: 6.398 MB / 0.4981 GB Notification: Performance of Templates: time 0.05388/0.842, allocations: 32.31 MB / 0.738 GB, free: 6.121 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)