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/Complex 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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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/Complex 4.0.0+maint.om/package.mo): time 0.00115/0.00115, allocations: 169.3 kB / 7.64 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.366/1.366, allocations: 221.5 MB / 229.6 MB, free: 7.57 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009012/0.0009016, allocations: 88.72 kB / 280.5 MB, free: 5.32 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5117/0.5117, allocations: 78.06 MB / 409.3 MB, free: 6.355 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.431e-05/1.431e-05, allocations: 4 kB / 484.9 MB, free: 12.3 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1603/0.1604, allocations: 69.36 MB / 0.5413 GB, free: 6.871 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4974/0.6578, allocations: 110 MB / 0.6487 GB, free: 5.574 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002831/0.6581, allocations: 92.88 kB / 0.6488 GB, free: 5.484 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1181/0.7762, allocations: 42.51 MB / 0.6903 GB, free: 10.95 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.984e-06/0.7763, allocations: 0 / 0.6903 GB, free: 10.95 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 9.295e-05/0.7764, allocations: 36.88 kB / 0.6904 GB, free: 10.91 MB / 0.4948 GB 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.005664/0.782, allocations: 2.068 MB / 0.6924 GB, free: 8.797 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.896e-05/0.7821, allocations: 12.03 kB / 0.6924 GB, free: 8.785 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003071/0.7852, allocations: 0.5558 MB / 0.6929 GB, free: 8.227 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001905/0.7871, allocations: 1.019 MB / 0.6939 GB, free: 7.156 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004576/0.7876, allocations: 392.7 kB / 0.6943 GB, free: 6.707 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001763/0.7878, allocations: 67.94 kB / 0.6944 GB, free: 6.641 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002028/0.7898, allocations: 1.094 MB / 0.6954 GB, free: 5.547 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001917/0.7917, allocations: 1.093 MB / 0.6965 GB, free: 4.434 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.977e-05/0.7917, allocations: 0 / 0.6965 GB, free: 4.434 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001067/0.7919, allocations: 0.75 kB / 0.6965 GB, free: 4.434 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.136e-05/0.7919, allocations: 24 kB / 0.6965 GB, free: 4.41 MB / 0.4948 GB Warning: The model contains alias variables with conflicting start and/or 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.008869/0.8008, allocations: 4.776 MB / 0.7012 GB, free: 15.44 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007949/0.8087, allocations: 3.146 MB / 0.7043 GB, free: 12.15 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001404/0.8102, allocations: 0.7016 MB / 0.705 GB, free: 11.44 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001429/0.8103, allocations: 17.3 kB / 0.705 GB, free: 11.43 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001445/0.8118, allocations: 0.8539 MB / 0.7058 GB, free: 10.55 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=126): time 3.206e-06/0.8118, allocations: 4 kB / 0.7058 GB, free: 10.54 MB / 0.5105 GB Notification: Performance of matching and sorting (n=126): time 0.01551/0.8273, allocations: 4.856 MB / 0.7106 GB, free: 5.668 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.224e-05/0.8275, allocations: 141.8 kB / 0.7107 GB, free: 5.5 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00196/0.8294, allocations: 1.095 MB / 0.7118 GB, free: 4.398 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0003213/0.8298, allocations: 25.7 kB / 0.7118 GB, free: 4.367 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.000505/0.8303, allocations: 0.6398 MB / 0.7124 GB, free: 3.719 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005054/0.8308, allocations: 433.5 kB / 0.7128 GB, free: 3.289 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.647e-05/0.8309, allocations: 0 / 0.7128 GB, free: 3.289 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001401/0.831, allocations: 352 kB / 0.7132 GB, free: 2.941 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009446/0.832, allocations: 0.5611 MB / 0.7137 GB, free: 2.379 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001039/0.833, allocations: 0.724 MB / 0.7144 GB, free: 1.609 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001156/0.8342, allocations: 0.6155 MB / 0.715 GB, free: 0.9922 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/0.8342, allocations: 0 / 0.715 GB, free: 0.9922 MB / 0.5105 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.003734/0.8379, allocations: 1.966 MB / 0.7169 GB, free: 15.01 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005543/0.8385, allocations: 1.355 MB / 0.7183 GB, free: 13.54 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/0.8385, allocations: 4 kB / 0.7183 GB, free: 13.53 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007787/0.8463, allocations: 2.281 MB / 0.7205 GB, free: 11.25 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001049/0.8474, allocations: 195.7 kB / 0.7207 GB, free: 11.06 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004871/0.8523, allocations: 2.424 MB / 0.723 GB, free: 8.609 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00234/0.8547, allocations: 238.8 kB / 0.7233 GB, free: 8.375 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001666/0.8549, allocations: 47.98 kB / 0.7233 GB, free: 8.328 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/0.8549, allocations: 4 kB / 0.7233 GB, free: 8.324 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003522/0.8584, allocations: 1.767 MB / 0.725 GB, free: 6.555 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.312e-05/0.8584, allocations: 4.438 kB / 0.7251 GB, free: 6.551 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007669/0.8661, allocations: 2.281 MB / 0.7273 GB, free: 4.262 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001027/0.8672, allocations: 187.7 kB / 0.7275 GB, free: 4.078 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005033/0.8722, allocations: 2.424 MB / 0.7298 GB, free: 1.633 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002567/0.8748, allocations: 241.1 kB / 0.7301 GB, free: 1.398 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001814/0.875, allocations: 39.98 kB / 0.7301 GB, free: 1.359 MB / 0.5261 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 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (101): * Single equations (assignments): 100 * 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.0003677/0.8754, allocations: 118 kB / 0.7302 GB, free: 1.238 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003978/0.8758, allocations: 163.2 kB / 0.7304 GB, free: 1.078 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01531/0.8911, allocations: 4.987 MB / 0.7352 GB, free: 12.07 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.082e-05/0.8912, allocations: 16 kB / 0.7352 GB, free: 12.06 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.448e-06/0.8912, allocations: 0 / 0.7352 GB, free: 12.06 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.877e-05/0.8913, allocations: 7.969 kB / 0.7353 GB, free: 12.05 MB / 0.5417 GB Warning: The model contains alias variables with conflicting start and/or 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.01973/0.9111, allocations: 6.999 MB / 0.7421 GB, free: 4.934 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.575e-05/0.9111, allocations: 0 / 0.7421 GB, free: 4.934 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001056/0.9122, allocations: 151.8 kB / 0.7422 GB, free: 4.785 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006678/0.9189, allocations: 1.986 MB / 0.7442 GB, free: 2.797 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004046/0.9193, allocations: 19.94 kB / 0.7442 GB, free: 2.777 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01784/0.9372, allocations: 7.699 MB / 0.7517 GB, free: 10.95 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.26e-06/0.9372, allocations: 0 / 0.7517 GB, free: 10.95 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01743/0.9547, allocations: 5.992 MB / 0.7576 GB, free: 4.914 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007788/0.9555, allocations: 278.8 kB / 0.7578 GB, free: 4.621 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003871/0.9559, allocations: 3.984 kB / 0.7578 GB, free: 4.617 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001823/0.9577, allocations: 185.4 kB / 0.758 GB, free: 4.438 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007709/0.9585, allocations: 261.2 kB / 0.7583 GB, free: 4.18 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.718e-05/0.9586, allocations: 32 kB / 0.7583 GB, free: 4.148 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001251/0.9599, allocations: 0.8384 MB / 0.7591 GB, free: 3.312 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9599, allocations: 0 / 0.7591 GB, free: 3.312 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.002109/0.962, allocations: 0.6978 MB / 0.7598 GB, free: 2.613 MB / 0.5573 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 () * 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.0004305/0.9624, allocations: 160.3 kB / 0.7599 GB, free: 2.449 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.2968/1.259, allocations: 3.921 MB / 0.7638 GB, free: 141 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 8.055e-06/1.259, allocations: 0 / 0.7638 GB, free: 141 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.00554/1.265, allocations: 1.834 MB / 0.7656 GB, free: 140.8 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001469/1.266, allocations: 113.2 kB / 0.7657 GB, free: 140.8 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005186/1.272, allocations: 2.426 MB / 0.768 GB, free: 140.2 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007308/1.272, allocations: 1.281 MB / 0.7693 GB, free: 139.5 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001333/1.274, allocations: 256.8 kB / 0.7695 GB, free: 139.4 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002375/1.274, allocations: 72.11 kB / 0.7696 GB, free: 139.4 MB / 0.5573 GB Notification: Performance of SimCode: time 9.62e-07/1.274, allocations: 0 / 0.7696 GB, free: 139.4 MB / 0.5573 GB Notification: Performance of Templates: time 0.05804/1.332, allocations: 29.98 MB / 0.7989 GB, free: 138.1 MB / 0.5573 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)