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.001182/0.001182, allocations: 109.8 kB / 16.41 MB, free: 6.492 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.558/1.558, allocations: 222.9 MB / 240.1 MB, free: 4.555 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.001582/0.001583, allocations: 184.5 kB / 290.4 MB, free: 2.277 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5547/0.5547, allocations: 91.89 MB / 432.4 MB, free: 9.203 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001615/0.001615, allocations: 74.92 kB / 0.5734 GB, free: 33.89 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1593/0.1609, allocations: 71.28 MB / 0.643 GB, free: 3.629 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS): time 0.01029/0.1712, allocations: 8.277 MB / 0.6511 GB, free: 11.3 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.007315/0.1786, allocations: 2.657 MB / 0.6537 GB, free: 8.641 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001934/0.1806, allocations: 12 kB / 0.6537 GB, free: 8.629 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001103/0.1817, allocations: 341.2 kB / 0.654 GB, free: 8.293 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003556/0.1854, allocations: 1.134 MB / 0.6551 GB, free: 7.152 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001866/0.1872, allocations: 0.7567 MB / 0.6559 GB, free: 6.402 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.003367/0.1906, allocations: 2.295 MB / 0.6581 GB, free: 4.102 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006746/0.1913, allocations: 408.7 kB / 0.6585 GB, free: 3.676 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001418/0.1927, allocations: 0.9222 MB / 0.6594 GB, free: 2.75 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001301/0.194, allocations: 1.144 MB / 0.6605 GB, free: 1.602 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002722/0.1943, allocations: 184 kB / 0.6607 GB, free: 1.422 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008714/0.1952, allocations: 423.7 kB / 0.6611 GB, free: 1.008 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003991/0.1956, allocations: 474.2 kB / 0.6616 GB, free: 0.543 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008226/0.1964, allocations: 0.9129 MB / 0.6624 GB, free: 15.62 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00258/0.199, allocations: 2.328 MB / 0.6647 GB, free: 13.29 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.1991, allocations: 4 kB / 0.6647 GB, free: 13.29 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1991, allocations: 0 / 0.6647 GB, free: 13.29 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.941e-05/0.1991, allocations: 0 / 0.6647 GB, free: 13.29 MB / 478.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.01252/0.2116, allocations: 3.636 MB / 0.6683 GB, free: 9.586 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.073e-05/0.2117, allocations: 12.03 kB / 0.6683 GB, free: 9.574 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004501/0.2162, allocations: 0.7471 MB / 0.669 GB, free: 8.824 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002196/0.2184, allocations: 1.187 MB / 0.6702 GB, free: 7.586 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000465/0.2189, allocations: 420.7 kB / 0.6706 GB, free: 7.109 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002114/0.2191, allocations: 108 kB / 0.6707 GB, free: 7.004 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002904/0.222, allocations: 1.444 MB / 0.6721 GB, free: 5.535 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.168e-05/0.2221, allocations: 3.938 kB / 0.6721 GB, free: 5.531 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001298/0.2222, allocations: 40 kB / 0.6721 GB, free: 5.492 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.108e-05/0.2222, allocations: 24 kB / 0.6722 GB, free: 5.469 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00292/0.2251, allocations: 1.374 MB / 0.6735 GB, free: 4.094 MB / 478.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.008517/0.2337, allocations: 4.971 MB / 0.6784 GB, free: 14.9 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008225/0.2419, allocations: 2.957 MB / 0.6812 GB, free: 11.81 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001837/0.2438, allocations: 0.9245 MB / 0.6821 GB, free: 10.88 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001182/0.2439, allocations: 32.97 kB / 0.6822 GB, free: 10.85 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00212/0.246, allocations: 1.069 MB / 0.6832 GB, free: 9.758 MB / 494.1 MB Notification: Performance of pre-optimization done (n=126): time 4.358e-06/0.246, allocations: 0 / 0.6832 GB, free: 9.758 MB / 494.1 MB Notification: Performance of matching and sorting (n=126): time 0.03725/0.2833, allocations: 9.445 MB / 0.6924 GB, free: 276 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.006e-05/0.2834, allocations: 145.5 kB / 0.6926 GB, free: 100 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002515/0.286, allocations: 1.484 MB / 0.694 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003027/0.2863, allocations: 57.77 kB / 0.6941 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004657/0.2867, allocations: 0.6083 MB / 0.6947 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005043/0.2873, allocations: 457.4 kB / 0.6951 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005953/0.2879, allocations: 335.4 kB / 0.6954 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001128/0.288, allocations: 305.1 kB / 0.6957 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002141/0.2901, allocations: 0.9886 MB / 0.6967 GB, free: 11.85 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002258/0.2924, allocations: 1.196 MB / 0.6979 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004204/0.2966, allocations: 2.097 MB / 0.6999 GB, free: 8.469 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.779e-06/0.2966, allocations: 4 kB / 0.6999 GB, free: 8.465 MB / 0.4981 GB Notification: Performance of matching and sorting (n=232) (initialization): time 0.01224/0.3089, allocations: 4.377 MB / 0.7042 GB, free: 4.074 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.719e-05/0.3089, allocations: 8.719 kB / 0.7042 GB, free: 4.066 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.431e-05/0.3089, allocations: 4 kB / 0.7042 GB, free: 4.062 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009277/0.3182, allocations: 2.644 MB / 0.7068 GB, free: 1.41 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001654/0.3199, allocations: 311.5 kB / 0.7071 GB, free: 1.105 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006424/0.3263, allocations: 2.691 MB / 0.7097 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002595/0.329, allocations: 270.3 kB / 0.71 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002933/0.3293, allocations: 59.98 kB / 0.71 GB, free: 14.06 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002865/0.3321, allocations: 1.195 MB / 0.7112 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002452/0.3346, allocations: 1.175 MB / 0.7123 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004688/0.3393, allocations: 2.089 MB / 0.7144 GB, free: 9.504 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.626e-06/0.3393, allocations: 4 kB / 0.7144 GB, free: 9.5 MB / 0.5137 GB Notification: Performance of matching and sorting (n=232) (initialization_lambda0): time 0.01303/0.3524, allocations: 4.35 MB / 0.7186 GB, free: 5.141 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.503e-05/0.3524, allocations: 8 kB / 0.7186 GB, free: 5.133 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.475e-05/0.3525, allocations: 4 kB / 0.7186 GB, free: 5.129 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009552/0.362, allocations: 2.64 MB / 0.7212 GB, free: 2.484 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001718/0.3638, allocations: 307.6 kB / 0.7215 GB, free: 2.184 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006801/0.3706, allocations: 2.703 MB / 0.7241 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002844/0.3735, allocations: 242.6 kB / 0.7244 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000361/0.3739, allocations: 63.98 kB / 0.7244 GB, free: 15.15 MB / 0.5294 GB 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.0006547/0.3745, allocations: 263.9 kB / 0.7247 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006532/0.3752, allocations: 161.9 kB / 0.7248 GB, free: 14.72 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01689/0.3921, allocations: 4.827 MB / 0.7296 GB, free: 9.875 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.364e-05/0.3922, allocations: 12 kB / 0.7296 GB, free: 9.863 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.544e-05/0.3922, allocations: 0 / 0.7296 GB, free: 9.863 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.322e-05/0.3922, allocations: 11.97 kB / 0.7296 GB, free: 9.852 MB / 0.5294 GB 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.02261/0.4149, allocations: 6.965 MB / 0.7364 GB, free: 2.75 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.379e-05/0.4149, allocations: 7.969 kB / 0.7364 GB, free: 2.742 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001083/0.416, allocations: 147.8 kB / 0.7365 GB, free: 2.598 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008056/0.4241, allocations: 2.138 MB / 0.7386 GB, free: 468 kB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004629/0.4246, allocations: 27.98 kB / 0.7386 GB, free: 440 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02784/0.4525, allocations: 10.07 MB / 0.7485 GB, free: 6.211 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-06/0.4525, allocations: 4 kB / 0.7485 GB, free: 6.207 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02058/0.4731, allocations: 6.014 MB / 0.7544 GB, free: 164 kB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009994/0.4742, allocations: 286.6 kB / 0.7546 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007649/0.475, allocations: 20 kB / 0.7546 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002252/0.4772, allocations: 151.8 kB / 0.7548 GB, free: 15.69 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00108/0.4783, allocations: 261.4 kB / 0.755 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002523/0.4786, allocations: 32 kB / 0.7551 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.00229/0.4809, allocations: 1.018 MB / 0.7561 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of sort global known variables: time 3.71e-07/0.4809, allocations: 0 / 0.7561 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004153/0.4851, allocations: 0.8506 MB / 0.7569 GB, free: 13.54 MB / 0.5606 GB 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.0006936/0.4858, allocations: 159 kB / 0.7571 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01675/0.5026, allocations: 4.877 MB / 0.7618 GB, free: 8.496 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.088e-05/0.5026, allocations: 0.875 kB / 0.7618 GB, free: 8.496 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.006711/0.5094, allocations: 1.942 MB / 0.7637 GB, free: 6.539 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00229/0.5117, allocations: 152.3 kB / 0.7639 GB, free: 6.391 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007046/0.5188, allocations: 3.16 MB / 0.7669 GB, free: 3.191 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001067/0.5199, allocations: 1.248 MB / 0.7682 GB, free: 1.91 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006503/0.5205, allocations: 107.4 kB / 0.7683 GB, free: 1.805 MB / 0.5606 GB Notification: Performance of SimCode: time 8.61e-07/0.5205, allocations: 0 / 0.7683 GB, free: 1.805 MB / 0.5606 GB Notification: Performance of Templates: time 0.413/0.9335, allocations: 26.67 MB / 0.7943 GB, free: 108.1 MB / 0.5606 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)