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.0009744/0.0009744, allocations: 91.12 kB / 15.06 MB, free: 1.078 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.272/1.272, allocations: 223.3 MB / 239.1 MB, free: 5.562 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.001072/0.001072, allocations: 192.5 kB / 290.3 MB, free: 2.258 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4864/0.4864, allocations: 91.92 MB / 433.3 MB, free: 10.38 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003304/0.0003307, allocations: 12 kB / 0.5042 GB, free: 7.625 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.302/0.3024, allocations: 72.48 MB / 0.575 GB, free: 36.46 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS): time 0.005273/0.3077, allocations: 7.589 MB / 0.5824 GB, free: 31.53 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0044/0.3121, allocations: 2.572 MB / 0.5849 GB, free: 29.71 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008474/0.313, allocations: 14.16 kB / 0.5849 GB, free: 29.71 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006631/0.3137, allocations: 232 kB / 0.5851 GB, free: 29.61 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002088/0.3158, allocations: 0.9257 MB / 0.586 GB, free: 29.01 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001213/0.317, allocations: 0.6129 MB / 0.5866 GB, free: 28.73 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001733/0.3187, allocations: 2.024 MB / 0.5886 GB, free: 27.73 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004945/0.3193, allocations: 337.3 kB / 0.5889 GB, free: 27.58 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008848/0.3201, allocations: 0.7795 MB / 0.5897 GB, free: 27.26 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009581/0.3211, allocations: 1.013 MB / 0.5907 GB, free: 26.84 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002097/0.3213, allocations: 91.47 kB / 0.5908 GB, free: 26.84 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005949/0.3219, allocations: 311.3 kB / 0.591 GB, free: 26.77 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002707/0.3222, allocations: 365.8 kB / 0.5914 GB, free: 26.57 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002703/0.3225, allocations: 292.3 kB / 0.5917 GB, free: 26.39 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001205/0.3237, allocations: 1.718 MB / 0.5934 GB, free: 25.91 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.3237, allocations: 0 / 0.5934 GB, free: 25.91 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.3237, allocations: 1 kB / 0.5934 GB, free: 25.91 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.662e-05/0.3238, allocations: 0 / 0.5934 GB, free: 25.91 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.01028/0.334, allocations: 3.423 MB / 0.5967 GB, free: 24.6 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.388e-05/0.3341, allocations: 13.84 kB / 0.5967 GB, free: 24.59 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004406/0.3385, allocations: 0.7597 MB / 0.5975 GB, free: 24.43 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001931/0.3405, allocations: 1.116 MB / 0.5985 GB, free: 23.75 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003486/0.3408, allocations: 446.2 kB / 0.599 GB, free: 23.35 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001984/0.341, allocations: 112.6 kB / 0.5991 GB, free: 23.31 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002822/0.3439, allocations: 1.521 MB / 0.6006 GB, free: 22.75 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.08e-05/0.3439, allocations: 3.953 kB / 0.6006 GB, free: 22.75 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001153/0.344, allocations: 40.41 kB / 0.6006 GB, free: 22.71 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.905e-05/0.344, allocations: 22.5 kB / 0.6006 GB, free: 22.71 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002896/0.3469, allocations: 1.474 MB / 0.6021 GB, free: 22.23 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.007982/0.3549, allocations: 5.067 MB / 0.607 GB, free: 19.37 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007962/0.3629, allocations: 3.533 MB / 0.6105 GB, free: 18.11 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001915/0.3649, allocations: 1.015 MB / 0.6115 GB, free: 17.73 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001388/0.365, allocations: 23.53 kB / 0.6115 GB, free: 17.72 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0021/0.3671, allocations: 1.158 MB / 0.6126 GB, free: 17.3 MB / 430.1 MB Notification: Performance of pre-optimization done (n=126): time 2.935e-06/0.3671, allocations: 0 / 0.6126 GB, free: 17.3 MB / 430.1 MB Notification: Performance of matching and sorting (n=126): time 0.03494/0.4021, allocations: 11.38 MB / 0.6237 GB, free: 11.37 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.25e-05/0.4021, allocations: 141.5 kB / 0.6239 GB, free: 11.2 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001883/0.404, allocations: 1.476 MB / 0.6253 GB, free: 9.719 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000194/0.4042, allocations: 49.7 kB / 0.6253 GB, free: 9.664 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003128/0.4046, allocations: 0.6123 MB / 0.6259 GB, free: 9.047 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003385/0.4049, allocations: 457.5 kB / 0.6264 GB, free: 8.594 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001137/0.405, allocations: 36 kB / 0.6264 GB, free: 8.559 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.853e-05/0.4051, allocations: 377.9 kB / 0.6268 GB, free: 8.184 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001774/0.4069, allocations: 1.058 MB / 0.6278 GB, free: 7.125 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001838/0.4087, allocations: 1.269 MB / 0.629 GB, free: 5.809 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001846/0.4106, allocations: 1.135 MB / 0.6302 GB, free: 4.676 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.931e-06/0.4106, allocations: 4 kB / 0.6302 GB, free: 4.672 MB / 430.1 MB Notification: Performance of matching and sorting (n=232) (initialization): time 0.01462/0.4252, allocations: 6.414 MB / 0.6364 GB, free: 14.24 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000122/0.4254, allocations: 202.6 kB / 0.6366 GB, free: 14 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.296e-05/0.4254, allocations: 7.938 kB / 0.6366 GB, free: 13.99 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008505/0.4339, allocations: 3.034 MB / 0.6396 GB, free: 10.95 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001524/0.4354, allocations: 315.6 kB / 0.6399 GB, free: 10.64 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005862/0.4413, allocations: 3.011 MB / 0.6428 GB, free: 7.602 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00219/0.4435, allocations: 306.3 kB / 0.6431 GB, free: 7.301 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001488/0.4437, allocations: 71.95 kB / 0.6432 GB, free: 7.23 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.999e-06/0.4437, allocations: 6.188 kB / 0.6432 GB, free: 7.227 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01587/0.4596, allocations: 6.219 MB / 0.6493 GB, free: 1 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.911e-05/0.4596, allocations: 4 kB / 0.6493 GB, free: 0.9961 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008441/0.4681, allocations: 3.015 MB / 0.6522 GB, free: 13.98 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001495/0.4696, allocations: 311.5 kB / 0.6525 GB, free: 13.67 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005984/0.4756, allocations: 3 MB / 0.6554 GB, free: 10.64 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002272/0.4779, allocations: 290.5 kB / 0.6557 GB, free: 10.36 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003139/0.4782, allocations: 63.98 kB / 0.6558 GB, free: 10.3 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 ($whenCondition1,$whenCondition2) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {30 26} Notification: Performance of prepare postOptimizeDAE: time 0.0008156/0.479, allocations: 372.9 kB / 0.6561 GB, free: 9.922 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004165/0.4794, allocations: 169.9 kB / 0.6563 GB, free: 9.754 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01525/0.4947, allocations: 5.874 MB / 0.662 GB, free: 3.863 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.89e-05/0.4948, allocations: 12 kB / 0.662 GB, free: 3.852 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.247e-06/0.4948, allocations: 4 kB / 0.662 GB, free: 3.848 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.211e-05/0.4948, allocations: 3.984 kB / 0.6621 GB, free: 3.844 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.01856/0.5134, allocations: 8.032 MB / 0.6699 GB, free: 11.67 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.714e-05/0.5134, allocations: 7.938 kB / 0.6699 GB, free: 11.66 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008991/0.5143, allocations: 143.8 kB / 0.67 GB, free: 11.52 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007023/0.5214, allocations: 2.517 MB / 0.6725 GB, free: 9 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002067/0.5216, allocations: 31.98 kB / 0.6725 GB, free: 8.969 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02313/0.5447, allocations: 10.31 MB / 0.6826 GB, free: 14.51 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.969e-06/0.5448, allocations: 4 kB / 0.6826 GB, free: 14.51 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01893/0.5637, allocations: 7.142 MB / 0.6896 GB, free: 7.332 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006382/0.5644, allocations: 282.7 kB / 0.6898 GB, free: 7.035 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003954/0.5648, allocations: 23.98 kB / 0.6899 GB, free: 7.012 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001676/0.5665, allocations: 199.8 kB / 0.6901 GB, free: 6.816 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007421/0.5672, allocations: 253.3 kB / 0.6903 GB, free: 6.57 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001207/0.5674, allocations: 35.98 kB / 0.6903 GB, free: 6.535 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0017/0.5691, allocations: 1.006 MB / 0.6913 GB, free: 5.531 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.5691, allocations: 0 / 0.6913 GB, free: 5.531 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002328/0.5714, allocations: 0.8505 MB / 0.6922 GB, free: 4.68 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {26 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003293/0.5718, allocations: 167.9 kB / 0.6923 GB, free: 4.504 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01472/0.5865, allocations: 5.46 MB / 0.6976 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 7.965e-06/0.5865, allocations: 4 kB / 0.6976 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.006092/0.5926, allocations: 2.179 MB / 0.6998 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001706/0.5944, allocations: 149.5 kB / 0.6999 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006317/0.6007, allocations: 3.66 MB / 0.7035 GB, free: 9.012 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008589/0.6016, allocations: 1.249 MB / 0.7047 GB, free: 7.734 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001102/0.6027, allocations: 194.1 kB / 0.7049 GB, free: 7.543 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004751/0.6032, allocations: 95.42 kB / 0.705 GB, free: 7.449 MB / 0.4981 GB Notification: Performance of SimCode: time 1.062e-06/0.6032, allocations: 0 / 0.705 GB, free: 7.449 MB / 0.4981 GB Notification: Performance of Templates: time 0.04846/0.6517, allocations: 31.3 MB / 0.7356 GB, free: 8.176 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)