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.001239/0.001239, allocations: 117.3 kB / 16.37 MB, free: 6.004 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.281/1.281, allocations: 222.9 MB / 240 MB, free: 4.52 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.001282/0.001282, allocations: 188.5 kB / 290.3 MB, free: 2.238 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4921/0.4921, allocations: 91.9 MB / 432.4 MB, free: 9.18 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001549/0.001549, allocations: 79.86 kB / 0.5033 GB, free: 6.98 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3037/0.3052, allocations: 71.26 MB / 0.5729 GB, free: 37.05 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS): time 0.006622/0.3119, allocations: 8.285 MB / 0.581 GB, free: 31.84 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004042/0.316, allocations: 2.659 MB / 0.5836 GB, free: 29.97 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007026/0.3167, allocations: 15.34 kB / 0.5836 GB, free: 29.97 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007525/0.3174, allocations: 336.2 kB / 0.5839 GB, free: 29.79 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002078/0.3196, allocations: 1.134 MB / 0.585 GB, free: 29.06 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001273/0.3208, allocations: 0.7543 MB / 0.5858 GB, free: 28.69 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001651/0.3225, allocations: 2.304 MB / 0.588 GB, free: 27.58 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004359/0.3229, allocations: 407.8 kB / 0.5884 GB, free: 27.39 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007816/0.3237, allocations: 0.9137 MB / 0.5893 GB, free: 26.95 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009357/0.3247, allocations: 1.15 MB / 0.5904 GB, free: 26.4 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002442/0.3249, allocations: 184.3 kB / 0.5906 GB, free: 26.4 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006291/0.3256, allocations: 419.5 kB / 0.591 GB, free: 26.32 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002806/0.3259, allocations: 478.7 kB / 0.5914 GB, free: 26.02 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005429/0.3264, allocations: 0.9106 MB / 0.5923 GB, free: 25.41 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00158/0.328, allocations: 2.329 MB / 0.5946 GB, free: 24.39 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.328, allocations: 0 / 0.5946 GB, free: 24.39 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.328, allocations: 0 / 0.5946 GB, free: 24.39 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.499e-05/0.328, allocations: 1.094 kB / 0.5946 GB, free: 24.39 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.01148/0.3395, allocations: 3.64 MB / 0.5982 GB, free: 22.88 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.847e-05/0.3396, allocations: 9.469 kB / 0.5982 GB, free: 22.88 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004546/0.3441, allocations: 0.7491 MB / 0.5989 GB, free: 22.71 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002203/0.3464, allocations: 1.179 MB / 0.6001 GB, free: 21.97 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003695/0.3467, allocations: 421.9 kB / 0.6005 GB, free: 21.59 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002027/0.347, allocations: 116 kB / 0.6006 GB, free: 21.55 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002797/0.3498, allocations: 1.444 MB / 0.602 GB, free: 20.99 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.11e-05/0.3498, allocations: 0 / 0.602 GB, free: 20.99 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001385/0.3499, allocations: 45.61 kB / 0.602 GB, free: 20.95 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.506e-05/0.35, allocations: 25.94 kB / 0.602 GB, free: 20.95 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002993/0.353, allocations: 1.368 MB / 0.6034 GB, free: 20.5 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.008979/0.362, allocations: 4.965 MB / 0.6082 GB, free: 17.64 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007657/0.3696, allocations: 2.958 MB / 0.6111 GB, free: 16.45 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001781/0.3714, allocations: 0.9327 MB / 0.612 GB, free: 16.08 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001417/0.3716, allocations: 21.11 kB / 0.612 GB, free: 16.07 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002055/0.3737, allocations: 1.076 MB / 0.6131 GB, free: 15.67 MB / 430.1 MB Notification: Performance of pre-optimization done (n=126): time 3.627e-06/0.3737, allocations: 5.266 kB / 0.6131 GB, free: 15.67 MB / 430.1 MB Notification: Performance of matching and sorting (n=126): time 0.03476/0.4084, allocations: 9.444 MB / 0.6223 GB, free: 11.34 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.375e-05/0.4085, allocations: 141.5 kB / 0.6225 GB, free: 11.17 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002227/0.4108, allocations: 1.499 MB / 0.6239 GB, free: 9.664 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004456/0.4112, allocations: 49.7 kB / 0.624 GB, free: 9.609 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003583/0.4116, allocations: 0.6044 MB / 0.6246 GB, free: 9 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004502/0.4121, allocations: 461.5 kB / 0.625 GB, free: 8.543 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005976/0.4127, allocations: 331.4 kB / 0.6253 GB, free: 8.215 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.682e-05/0.4127, allocations: 309.1 kB / 0.6256 GB, free: 7.91 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001789/0.4145, allocations: 0.9886 MB / 0.6266 GB, free: 6.918 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001839/0.4164, allocations: 1.191 MB / 0.6277 GB, free: 5.68 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003499/0.4199, allocations: 2.101 MB / 0.6298 GB, free: 3.535 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.365e-06/0.4199, allocations: 0 / 0.6298 GB, free: 3.535 MB / 430.1 MB Notification: Performance of matching and sorting (n=232) (initialization): time 0.01076/0.4307, allocations: 4.373 MB / 0.6341 GB, free: 15.14 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.759e-05/0.4307, allocations: 14.28 kB / 0.6341 GB, free: 15.13 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.613e-05/0.4308, allocations: 4 kB / 0.6341 GB, free: 15.13 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00873/0.4395, allocations: 2.64 MB / 0.6367 GB, free: 12.48 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00167/0.4412, allocations: 319.5 kB / 0.637 GB, free: 12.17 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006099/0.4473, allocations: 2.699 MB / 0.6396 GB, free: 9.449 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002591/0.4499, allocations: 266.3 kB / 0.6399 GB, free: 9.188 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000189/0.4501, allocations: 59.98 kB / 0.6399 GB, free: 9.129 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0025/0.4527, allocations: 1.203 MB / 0.6411 GB, free: 7.918 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002151/0.4548, allocations: 1.171 MB / 0.6422 GB, free: 6.703 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003998/0.4588, allocations: 2.093 MB / 0.6443 GB, free: 4.566 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.029e-06/0.4589, allocations: 4 kB / 0.6443 GB, free: 4.562 MB / 446.1 MB Notification: Performance of matching and sorting (n=232) (initialization_lambda0): time 0.01152/0.4704, allocations: 4.35 MB / 0.6485 GB, free: 200 kB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.815e-05/0.4704, allocations: 4 kB / 0.6485 GB, free: 196 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.169e-05/0.4704, allocations: 4 kB / 0.6485 GB, free: 192 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008535/0.479, allocations: 2.644 MB / 0.6511 GB, free: 13.54 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001602/0.4806, allocations: 303.6 kB / 0.6514 GB, free: 13.25 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005765/0.4864, allocations: 2.695 MB / 0.654 GB, free: 10.52 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00235/0.4888, allocations: 238.6 kB / 0.6543 GB, free: 10.29 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001547/0.4889, allocations: 63.98 kB / 0.6543 GB, free: 10.22 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.0003966/0.4893, allocations: 264.8 kB / 0.6546 GB, free: 9.957 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000298/0.4896, allocations: 161.9 kB / 0.6547 GB, free: 9.797 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0145/0.5041, allocations: 4.823 MB / 0.6594 GB, free: 4.949 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.145e-05/0.5042, allocations: 19.98 kB / 0.6595 GB, free: 4.93 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.588e-06/0.5042, allocations: 0 / 0.6595 GB, free: 4.93 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-05/0.5042, allocations: 11.91 kB / 0.6595 GB, free: 4.918 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.0181/0.5224, allocations: 6.976 MB / 0.6663 GB, free: 13.8 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.304e-05/0.5224, allocations: 0 / 0.6663 GB, free: 13.8 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009704/0.5234, allocations: 147.8 kB / 0.6664 GB, free: 13.66 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006885/0.5303, allocations: 2.142 MB / 0.6685 GB, free: 11.51 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000292/0.5306, allocations: 31.98 kB / 0.6685 GB, free: 11.48 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02421/0.5548, allocations: 10.06 MB / 0.6784 GB, free: 1.273 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.878e-06/0.5548, allocations: 8 kB / 0.6784 GB, free: 1.266 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01676/0.5716, allocations: 6.001 MB / 0.6842 GB, free: 11.23 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000698/0.5724, allocations: 278.7 kB / 0.6845 GB, free: 10.93 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002532/0.5726, allocations: 28 kB / 0.6845 GB, free: 10.91 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001614/0.5742, allocations: 151.8 kB / 0.6847 GB, free: 10.76 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007527/0.575, allocations: 261.3 kB / 0.6849 GB, free: 10.5 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001062/0.5751, allocations: 32 kB / 0.685 GB, free: 10.47 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.00151/0.5766, allocations: 1.018 MB / 0.686 GB, free: 9.457 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.5766, allocations: 0 / 0.686 GB, free: 9.457 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001893/0.5785, allocations: 0.8505 MB / 0.6868 GB, free: 8.605 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.0003071/0.5789, allocations: 154.5 kB / 0.6869 GB, free: 8.449 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.014/0.5929, allocations: 4.888 MB / 0.6917 GB, free: 3.566 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.029e-06/0.5929, allocations: 0 / 0.6917 GB, free: 3.566 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00577/0.5987, allocations: 1.947 MB / 0.6936 GB, free: 1.602 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001317/0.6, allocations: 157.2 kB / 0.6938 GB, free: 1.445 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005286/0.6053, allocations: 3.116 MB / 0.6968 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000721/0.606, allocations: 1.241 MB / 0.698 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0007301/0.6068, allocations: 182.1 kB / 0.6982 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003377/0.6071, allocations: 103.4 kB / 0.6983 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of SimCode: time 9.62e-07/0.6071, allocations: 4 kB / 0.6983 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of Templates: time 0.04877/0.6559, allocations: 36.41 MB / 0.7338 GB, free: 8.348 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 -s cvode -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS.pipe 2>&1)