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/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.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 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: "" <> buildModelFMU(OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_CGMES_ES_ExcSEXS",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_CGMES_ES_ExcSEXS",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009465/0.0009466, allocations: 174.7 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.19/1.19, allocations: 221.4 MB / 234.6 MB, free: 14.45 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009858/0.0009858, allocations: 84.34 kB / 285.6 MB, free: 13.01 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4439/0.4439, allocations: 78.91 MB / 415.4 MB, free: 10.27 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.08e-05/3.082e-05, allocations: 4 kB / 492.9 MB, free: 13.02 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3318/0.3318, allocations: 69.5 MB / 0.5492 GB, free: 19.51 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1275/0.4594, allocations: 111.4 MB / 0.658 GB, free: 4.215 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003329/0.4598, allocations: 87.95 kB / 0.6581 GB, free: 4.129 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3971/0.8569, allocations: 41.45 MB / 0.6985 GB, free: 106.2 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.8569, allocations: 4 kB / 0.6985 GB, free: 106.2 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.78e-05/0.857, allocations: 32.66 kB / 0.6986 GB, free: 106.2 MB / 490.7 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.004658/0.8617, allocations: 2.084 MB / 0.7006 GB, free: 105.2 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.683e-05/0.8617, allocations: 11.75 kB / 0.7006 GB, free: 105.2 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001781/0.8619, allocations: 155.5 kB / 0.7008 GB, free: 105.1 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003323/0.8652, allocations: 0.6813 MB / 0.7014 GB, free: 104.9 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001481/0.8667, allocations: 1.056 MB / 0.7025 GB, free: 104.3 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003145/0.867, allocations: 432.5 kB / 0.7029 GB, free: 103.9 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000168/0.8672, allocations: 107.2 kB / 0.703 GB, free: 103.8 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001759/0.869, allocations: 1.232 MB / 0.7042 GB, free: 103.3 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.834e-05/0.869, allocations: 0 / 0.7042 GB, free: 103.3 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001154/0.8691, allocations: 37.62 kB / 0.7042 GB, free: 103.3 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.542e-05/0.8692, allocations: 25.62 kB / 0.7042 GB, free: 103.3 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00168/0.8708, allocations: 1.152 MB / 0.7054 GB, free: 102.8 MB / 490.7 MB 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.007005/0.8779, allocations: 5.004 MB / 0.7102 GB, free: 98.73 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006795/0.8847, allocations: 3.181 MB / 0.7133 GB, free: 95.41 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008952/0.8856, allocations: 0.7359 MB / 0.7141 GB, free: 94.67 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001318/0.8857, allocations: 32.84 kB / 0.7141 GB, free: 94.64 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001129/0.8868, allocations: 0.8784 MB / 0.715 GB, free: 93.73 MB / 490.7 MB Notification: Performance of pre-optimization done (n=126): time 2.825e-06/0.8869, allocations: 0 / 0.715 GB, free: 93.73 MB / 490.7 MB Notification: Performance of matching and sorting (n=126): time 0.01359/0.9005, allocations: 4.934 MB / 0.7198 GB, free: 88.79 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.166e-05/0.9005, allocations: 145.5 kB / 0.7199 GB, free: 88.62 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001693/0.9022, allocations: 1.249 MB / 0.7211 GB, free: 87.37 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002513/0.9025, allocations: 53.7 kB / 0.7212 GB, free: 87.31 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000309/0.9028, allocations: 0.6364 MB / 0.7218 GB, free: 86.66 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003424/0.9032, allocations: 453.2 kB / 0.7222 GB, free: 86.23 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.221e-05/0.9033, allocations: 24 kB / 0.7223 GB, free: 86.2 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.023e-05/0.9033, allocations: 357.9 kB / 0.7226 GB, free: 85.85 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008759/0.9042, allocations: 0.5846 MB / 0.7232 GB, free: 85.27 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009057/0.9051, allocations: 0.7504 MB / 0.7239 GB, free: 84.46 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009148/0.906, allocations: 0.6453 MB / 0.7245 GB, free: 83.82 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.848e-06/0.9061, allocations: 0 / 0.7245 GB, free: 83.82 MB / 490.7 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.002974/0.909, allocations: 2.06 MB / 0.7265 GB, free: 81.75 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002115/0.9093, allocations: 1.357 MB / 0.7279 GB, free: 80.27 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.187e-06/0.9093, allocations: 4 kB / 0.7279 GB, free: 80.27 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007143/0.9164, allocations: 2.527 MB / 0.7303 GB, free: 77.74 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007919/0.9172, allocations: 195.7 kB / 0.7305 GB, free: 77.55 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003658/0.9209, allocations: 2.253 MB / 0.7327 GB, free: 75.27 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001921/0.9228, allocations: 278.7 kB / 0.733 GB, free: 75 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001085/0.9229, allocations: 47.98 kB / 0.733 GB, free: 74.95 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/0.923, allocations: 6.188 kB / 0.733 GB, free: 74.95 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002771/0.9257, allocations: 1.892 MB / 0.7349 GB, free: 73.05 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.9258, allocations: 4 kB / 0.7349 GB, free: 73.05 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006969/0.9327, allocations: 2.516 MB / 0.7374 GB, free: 70.53 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007802/0.9335, allocations: 187.7 kB / 0.7375 GB, free: 70.34 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003678/0.9372, allocations: 2.258 MB / 0.7397 GB, free: 68.06 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002004/0.9392, allocations: 262.8 kB / 0.74 GB, free: 67.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001066/0.9394, allocations: 47.98 kB / 0.74 GB, free: 67.75 MB / 490.7 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (103): * Single equations (assignments): 102 * 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.0002878/0.9397, allocations: 168.8 kB / 0.7402 GB, free: 67.58 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002503/0.9399, allocations: 165.9 kB / 0.7404 GB, free: 67.42 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01346/0.9534, allocations: 5.101 MB / 0.7453 GB, free: 62.3 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.896e-05/0.9534, allocations: 12 kB / 0.7453 GB, free: 62.29 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.287e-06/0.9535, allocations: 4 kB / 0.7454 GB, free: 62.29 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.743e-05/0.9535, allocations: 7.969 kB / 0.7454 GB, free: 62.28 MB / 490.7 MB 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.01639/0.9699, allocations: 7.247 MB / 0.7524 GB, free: 54.93 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.249e-05/0.9699, allocations: 0 / 0.7524 GB, free: 54.93 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009444/0.9709, allocations: 143.8 kB / 0.7526 GB, free: 54.79 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005833/0.9767, allocations: 2.009 MB / 0.7545 GB, free: 52.77 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002631/0.977, allocations: 31.95 kB / 0.7546 GB, free: 52.74 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01574/0.9928, allocations: 7.838 MB / 0.7622 GB, free: 44.77 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.9928, allocations: 4 kB / 0.7622 GB, free: 44.76 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01507/1.008, allocations: 6.113 MB / 0.7682 GB, free: 38.6 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007641/1.009, allocations: 286.6 kB / 0.7685 GB, free: 38.3 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005407/1.009, allocations: 27.98 kB / 0.7685 GB, free: 38.27 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001934/1.011, allocations: 203.8 kB / 0.7687 GB, free: 38.07 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000789/1.012, allocations: 257.2 kB / 0.7689 GB, free: 37.82 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000148/1.012, allocations: 35.98 kB / 0.769 GB, free: 37.79 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001499/1.014, allocations: 0.9701 MB / 0.7699 GB, free: 36.82 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.4e-07/1.014, allocations: 0 / 0.7699 GB, free: 36.82 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001927/1.016, allocations: 0.7684 MB / 0.7707 GB, free: 36.05 MB / 490.7 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 () * 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.01519/1.031, allocations: 6.874 MB / 0.7774 GB, free: 29.13 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01117/1.042, allocations: 4.047 MB / 0.7813 GB, free: 25.08 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 9.357e-06/1.042, allocations: 4.25 kB / 0.7813 GB, free: 25.08 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005553/1.048, allocations: 1.892 MB / 0.7832 GB, free: 23.17 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001869/1.05, allocations: 129.3 kB / 0.7833 GB, free: 23.04 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006081/1.056, allocations: 2.785 MB / 0.786 GB, free: 20.2 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005273/1.056, allocations: 1.278 MB / 0.7873 GB, free: 18.89 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001149/1.057, allocations: 265.2 kB / 0.7875 GB, free: 18.62 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005787/1.058, allocations: 0.5852 MB / 0.7881 GB, free: 18.04 MB / 490.7 MB Notification: Performance of SimCode: time 1.213e-06/1.058, allocations: 0 / 0.7881 GB, free: 18.04 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06353/1.122, allocations: 46.35 MB / 0.8334 GB, free: 3.832 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001804/1.122, allocations: 184.3 kB / 0.8335 GB, free: 3.598 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.289/4.411, allocations: 0 / 0.8335 GB, free: 3.598 MB / 0.5105 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Controls_CGMES_ES_ExcSEXS_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Controls_CGMES_ES_ExcSEXS.fmu > OpenIPSL_dev_OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS.pipe 2>&1)