Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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_OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS") translateModel(OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_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.00103/0.001031, allocations: 105.2 kB / 15.99 MB, free: 6.352 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.215/1.215, allocations: 222.9 MB / 239.6 MB, free: 4.738 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.001264/0.001263, allocations: 196.4 kB / 289.9 MB, free: 2.477 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4028/0.4028, allocations: 78.53 MB / 418.6 MB, free: 3.305 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001369/0.001369, allocations: 79.88 kB / 497.6 MB, free: 6.73 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1107/0.1121, allocations: 68.17 MB / 0.5525 GB, free: 2.516 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS): time 0.2021/0.3142, allocations: 8.585 MB / 0.5609 GB, free: 34.89 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004387/0.3186, allocations: 2.701 MB / 0.5635 GB, free: 34.18 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009712/0.3196, allocations: 12.91 kB / 0.5635 GB, free: 34.18 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007827/0.3204, allocations: 272.8 kB / 0.5638 GB, free: 34.16 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002379/0.3228, allocations: 1.07 MB / 0.5648 GB, free: 33.94 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001273/0.3241, allocations: 0.699 MB / 0.5655 GB, free: 33.87 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002131/0.3262, allocations: 2.433 MB / 0.5679 GB, free: 33.52 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005115/0.3268, allocations: 407.9 kB / 0.5683 GB, free: 33.43 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001046/0.3278, allocations: 0.9354 MB / 0.5692 GB, free: 33.2 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00112/0.3289, allocations: 1.158 MB / 0.5703 GB, free: 32.93 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00027/0.3292, allocations: 185.4 kB / 0.5705 GB, free: 32.93 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006621/0.3299, allocations: 411.1 kB / 0.5709 GB, free: 32.92 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002783/0.3302, allocations: 481.6 kB / 0.5714 GB, free: 32.81 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006099/0.3308, allocations: 0.9299 MB / 0.5723 GB, free: 32.49 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001412/0.3322, allocations: 1.789 MB / 0.574 GB, free: 32.22 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.3322, allocations: 5.156 kB / 0.574 GB, free: 32.22 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3322, allocations: 0 / 0.574 GB, free: 32.22 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.938e-05/0.3323, allocations: 0 / 0.574 GB, free: 32.22 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.01227/0.3445, allocations: 3.844 MB / 0.5778 GB, free: 31.09 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.117e-05/0.3446, allocations: 10.81 kB / 0.5778 GB, free: 31.09 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004181/0.3488, allocations: 0.7535 MB / 0.5785 GB, free: 30.95 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001823/0.3506, allocations: 1.179 MB / 0.5797 GB, free: 30.2 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003303/0.351, allocations: 422 kB / 0.5801 GB, free: 29.82 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001888/0.3512, allocations: 111.1 kB / 0.5802 GB, free: 29.78 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002545/0.3537, allocations: 1.443 MB / 0.5816 GB, free: 29.22 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.23e-05/0.3538, allocations: 0 / 0.5816 GB, free: 29.22 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001195/0.3539, allocations: 46.89 kB / 0.5816 GB, free: 29.19 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.618e-05/0.3539, allocations: 24.7 kB / 0.5817 GB, free: 29.19 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002711/0.3566, allocations: 1.371 MB / 0.583 GB, free: 28.74 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.008158/0.3648, allocations: 4.987 MB / 0.5879 GB, free: 25.88 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007796/0.3726, allocations: 2.961 MB / 0.5908 GB, free: 24.7 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001991/0.3746, allocations: 0.9299 MB / 0.5917 GB, free: 24.32 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001904/0.3748, allocations: 26.2 kB / 0.5917 GB, free: 24.32 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002385/0.3772, allocations: 1.075 MB / 0.5927 GB, free: 23.91 MB / 430.1 MB Notification: Performance of pre-optimization done (n=126): time 5.411e-06/0.3773, allocations: 4 kB / 0.5927 GB, free: 23.91 MB / 430.1 MB Notification: Performance of matching and sorting (n=126): time 0.03897/0.4162, allocations: 9.439 MB / 0.602 GB, free: 22.25 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.857e-05/0.4163, allocations: 142.9 kB / 0.6021 GB, free: 22.09 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002845/0.4192, allocations: 1.497 MB / 0.6036 GB, free: 21.5 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003629/0.4196, allocations: 50.83 kB / 0.6036 GB, free: 21.45 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000483/0.4201, allocations: 0.608 MB / 0.6042 GB, free: 20.97 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006542/0.4207, allocations: 457.7 kB / 0.6046 GB, free: 20.61 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001076/0.4218, allocations: 329 kB / 0.605 GB, free: 20.46 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.383e-05/0.4219, allocations: 308.1 kB / 0.6053 GB, free: 20.16 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002321/0.4242, allocations: 0.99 MB / 0.6062 GB, free: 19.79 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002295/0.4265, allocations: 1.193 MB / 0.6074 GB, free: 19.11 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004117/0.4306, allocations: 2.1 MB / 0.6094 GB, free: 17.96 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.408e-06/0.4307, allocations: 0 / 0.6094 GB, free: 17.96 MB / 430.1 MB Notification: Performance of matching and sorting (n=232) (initialization): time 0.01152/0.4422, allocations: 4.374 MB / 0.6137 GB, free: 15.8 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.498e-05/0.4422, allocations: 9.094 kB / 0.6137 GB, free: 15.79 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.449e-05/0.4423, allocations: 5.281 kB / 0.6137 GB, free: 15.79 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008262/0.4505, allocations: 2.654 MB / 0.6163 GB, free: 13.74 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001544/0.4521, allocations: 313.4 kB / 0.6166 GB, free: 13.44 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00546/0.4576, allocations: 2.694 MB / 0.6192 GB, free: 10.73 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002604/0.4602, allocations: 266.3 kB / 0.6195 GB, free: 10.46 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003337/0.4606, allocations: 59.98 kB / 0.6196 GB, free: 10.41 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002593/0.4632, allocations: 1.203 MB / 0.6207 GB, free: 9.199 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002044/0.4652, allocations: 1.171 MB / 0.6219 GB, free: 7.98 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00369/0.4689, allocations: 2.097 MB / 0.6239 GB, free: 5.84 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.913e-06/0.469, allocations: 0 / 0.6239 GB, free: 5.84 MB / 430.1 MB Notification: Performance of matching and sorting (n=232) (initialization_lambda0): time 0.01077/0.4797, allocations: 4.346 MB / 0.6282 GB, free: 1.48 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/0.4798, allocations: 12 kB / 0.6282 GB, free: 1.469 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.897e-06/0.4798, allocations: 0 / 0.6282 GB, free: 1.469 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008308/0.4881, allocations: 2.645 MB / 0.6308 GB, free: 14.82 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001573/0.4897, allocations: 311.6 kB / 0.6311 GB, free: 14.52 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006071/0.4958, allocations: 2.696 MB / 0.6337 GB, free: 11.79 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002579/0.4984, allocations: 242.6 kB / 0.6339 GB, free: 11.55 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002897/0.4987, allocations: 59.98 kB / 0.634 GB, free: 11.49 MB / 446.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.0005303/0.4993, allocations: 260.8 kB / 0.6342 GB, free: 11.23 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005319/0.4998, allocations: 169.9 kB / 0.6344 GB, free: 11.06 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01542/0.5152, allocations: 4.821 MB / 0.6391 GB, free: 6.219 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.993e-05/0.5153, allocations: 12 kB / 0.6391 GB, free: 6.207 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.719e-06/0.5153, allocations: 5.719 kB / 0.6391 GB, free: 6.203 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.196e-05/0.5154, allocations: 11.97 kB / 0.6391 GB, free: 6.191 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.0197/0.5351, allocations: 6.974 MB / 0.6459 GB, free: 15.08 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.48e-05/0.5351, allocations: 0 / 0.6459 GB, free: 15.08 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009989/0.5361, allocations: 153.5 kB / 0.6461 GB, free: 14.93 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007079/0.5432, allocations: 2.146 MB / 0.6482 GB, free: 12.78 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002985/0.5436, allocations: 35.98 kB / 0.6482 GB, free: 12.75 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0246/0.5682, allocations: 10.08 MB / 0.6581 GB, free: 2.516 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.081e-06/0.5682, allocations: 4 kB / 0.6581 GB, free: 2.512 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01884/0.5871, allocations: 5.997 MB / 0.6639 GB, free: 12.48 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000702/0.5878, allocations: 278.7 kB / 0.6642 GB, free: 12.19 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000679/0.5885, allocations: 24 kB / 0.6642 GB, free: 12.16 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002129/0.5907, allocations: 156.9 kB / 0.6644 GB, free: 12.01 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009387/0.5916, allocations: 258.6 kB / 0.6646 GB, free: 11.76 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002242/0.5919, allocations: 35.98 kB / 0.6646 GB, free: 11.73 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001909/0.5938, allocations: 1.014 MB / 0.6656 GB, free: 10.71 MB / 478.1 MB Notification: Performance of sort global known variables: time 3.01e-07/0.5938, allocations: 0 / 0.6656 GB, free: 10.71 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002901/0.5967, allocations: 0.8544 MB / 0.6665 GB, free: 9.859 MB / 478.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.0004106/0.5971, allocations: 147.1 kB / 0.6666 GB, free: 9.707 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0155/0.6126, allocations: 4.946 MB / 0.6714 GB, free: 4.781 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 7.183e-06/0.6127, allocations: 0 / 0.6714 GB, free: 4.781 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006022/0.6187, allocations: 1.938 MB / 0.6733 GB, free: 2.828 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001865/0.6206, allocations: 160.9 kB / 0.6735 GB, free: 2.672 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006662/0.6273, allocations: 3.72 MB / 0.6771 GB, free: 14.98 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009856/0.6283, allocations: 1.241 MB / 0.6783 GB, free: 13.71 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005835/0.6289, allocations: 107.4 kB / 0.6784 GB, free: 13.6 MB / 494.1 MB Notification: Performance of SimCode: time 8.72e-07/0.6289, allocations: 0 / 0.6784 GB, free: 13.6 MB / 494.1 MB Notification: Performance of Templates: time 0.03546/0.6644, allocations: 26.55 MB / 0.7043 GB, free: 3.195 MB / 0.4981 GB make -j1 -f OpenIPSL_OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS.makefile (rm -f OpenIPSL_OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS.sim & ./OpenIPSL_OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS.pipe 2>&1)