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: "" <> buildModelFMU(OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_CGMES_ES_ExcSEXS",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS,fileNamePrefix="OpenIPSL_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.001388/0.001388, 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.232/1.232, 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.0008376/0.0008376, allocations: 86.28 kB / 285.6 MB, free: 13 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4369/0.4369, allocations: 78.02 MB / 414.5 MB, free: 10.87 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.69e-05/2.693e-05, allocations: 0 / 491.9 MB, free: 13.83 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3094/0.3095, allocations: 69.35 MB / 0.5481 GB, free: 20.09 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1354/0.4449, allocations: 110.7 MB / 0.6562 GB, free: 5.613 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002388/0.4452, allocations: 87.94 kB / 0.6562 GB, free: 5.527 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3656/0.8108, allocations: 43.01 MB / 0.6983 GB, free: 106.2 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.213e-06/0.8108, allocations: 3.938 kB / 0.6983 GB, free: 106.2 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.32e-05/0.8109, allocations: 25.06 kB / 0.6983 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.00508/0.816, allocations: 2.084 MB / 0.7003 GB, free: 105.2 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.585e-05/0.816, allocations: 15.47 kB / 0.7003 GB, free: 105.2 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002271/0.8163, allocations: 154.6 kB / 0.7005 GB, free: 105.1 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002902/0.8192, allocations: 0.553 MB / 0.701 GB, free: 104.9 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001703/0.8209, allocations: 1.023 MB / 0.702 GB, free: 104.3 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003495/0.8213, allocations: 433.7 kB / 0.7024 GB, free: 103.9 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001751/0.8215, allocations: 106.3 kB / 0.7025 GB, free: 103.8 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001849/0.8233, allocations: 1.239 MB / 0.7037 GB, free: 103.3 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.946e-05/0.8233, allocations: 0 / 0.7037 GB, free: 103.3 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001132/0.8235, allocations: 35.75 kB / 0.7038 GB, free: 103.3 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.529e-05/0.8235, allocations: 20.84 kB / 0.7038 GB, free: 103.3 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001731/0.8252, allocations: 1.147 MB / 0.7049 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.007157/0.8324, allocations: 4.955 MB / 0.7098 GB, free: 99.33 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007173/0.8396, allocations: 3.177 MB / 0.7129 GB, free: 96.02 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009345/0.8405, allocations: 0.7475 MB / 0.7136 GB, free: 95.26 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001299/0.8407, allocations: 20.84 kB / 0.7136 GB, free: 95.24 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001122/0.8418, allocations: 0.8823 MB / 0.7145 GB, free: 94.34 MB / 490.7 MB Notification: Performance of pre-optimization done (n=126): time 2.304e-06/0.8418, allocations: 0 / 0.7145 GB, free: 94.34 MB / 490.7 MB Notification: Performance of matching and sorting (n=126): time 0.01376/0.8556, allocations: 4.93 MB / 0.7193 GB, free: 89.39 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.716e-05/0.8556, allocations: 153.5 kB / 0.7194 GB, free: 89.21 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001649/0.8573, allocations: 1.202 MB / 0.7206 GB, free: 88.01 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002403/0.8576, allocations: 45.7 kB / 0.7206 GB, free: 87.96 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003039/0.8579, allocations: 0.6478 MB / 0.7213 GB, free: 87.3 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003282/0.8582, allocations: 444.3 kB / 0.7217 GB, free: 86.88 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.931e-05/0.8583, allocations: 24 kB / 0.7217 GB, free: 86.85 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.109e-05/0.8584, allocations: 349.9 kB / 0.7221 GB, free: 86.5 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008826/0.8593, allocations: 0.5963 MB / 0.7226 GB, free: 85.91 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009028/0.8602, allocations: 0.7423 MB / 0.7234 GB, free: 85.12 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008967/0.8611, allocations: 0.6456 MB / 0.724 GB, free: 84.47 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.508e-06/0.8611, allocations: 4 kB / 0.724 GB, free: 84.47 MB / 490.7 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.002995/0.8641, allocations: 2.056 MB / 0.726 GB, free: 82.4 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002208/0.8643, allocations: 1.362 MB / 0.7273 GB, free: 80.92 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.808e-06/0.8643, allocations: 4 kB / 0.7273 GB, free: 80.91 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007351/0.8717, allocations: 2.515 MB / 0.7298 GB, free: 78.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008989/0.8726, allocations: 199.7 kB / 0.73 GB, free: 78.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003921/0.8765, allocations: 2.264 MB / 0.7322 GB, free: 75.92 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002116/0.8787, allocations: 281.9 kB / 0.7325 GB, free: 75.64 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001123/0.8788, allocations: 43.92 kB / 0.7325 GB, free: 75.6 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.204e-05/0.8788, allocations: 4 kB / 0.7325 GB, free: 75.6 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002837/0.8817, allocations: 1.885 MB / 0.7344 GB, free: 73.71 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.994e-06/0.8817, allocations: 8 kB / 0.7344 GB, free: 73.7 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007147/0.8888, allocations: 2.511 MB / 0.7368 GB, free: 71.18 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008548/0.8897, allocations: 191.7 kB / 0.737 GB, free: 71 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003704/0.8934, allocations: 2.26 MB / 0.7392 GB, free: 68.71 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002112/0.8956, allocations: 258.8 kB / 0.7395 GB, free: 68.46 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001241/0.8957, allocations: 47.97 kB / 0.7395 GB, free: 68.41 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.0003134/0.896, allocations: 164.8 kB / 0.7397 GB, free: 68.24 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002719/0.8963, allocations: 173.9 kB / 0.7398 GB, free: 68.07 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01391/0.9102, allocations: 5.097 MB / 0.7448 GB, free: 62.96 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.079e-05/0.9103, allocations: 16 kB / 0.7448 GB, free: 62.94 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-06/0.9103, allocations: 3.984 kB / 0.7448 GB, free: 62.94 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.372e-05/0.9103, allocations: 3.984 kB / 0.7448 GB, free: 62.93 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.01634/0.9267, allocations: 7.209 MB / 0.7519 GB, free: 55.62 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.297e-05/0.9267, allocations: 4 kB / 0.7519 GB, free: 55.61 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009381/0.9277, allocations: 151.8 kB / 0.752 GB, free: 55.46 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005908/0.9336, allocations: 2.002 MB / 0.754 GB, free: 53.46 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001857/0.9338, allocations: 31.94 kB / 0.754 GB, free: 53.43 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01567/0.9495, allocations: 7.849 MB / 0.7617 GB, free: 45.45 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.9495, allocations: 0 / 0.7617 GB, free: 45.45 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01521/0.9647, allocations: 6.112 MB / 0.7676 GB, free: 39.29 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006265/0.9654, allocations: 286.6 kB / 0.7679 GB, free: 38.98 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002368/0.9656, allocations: 31.98 kB / 0.7679 GB, free: 38.95 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001652/0.9673, allocations: 199.8 kB / 0.7681 GB, free: 38.76 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000681/0.968, allocations: 261.2 kB / 0.7684 GB, free: 38.5 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.406e-05/0.9681, allocations: 35.98 kB / 0.7684 GB, free: 38.47 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001106/0.9692, allocations: 0.9311 MB / 0.7693 GB, free: 37.54 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.9692, allocations: 3.938 kB / 0.7693 GB, free: 37.54 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001578/0.9708, allocations: 0.7567 MB / 0.7701 GB, free: 36.78 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.01566/0.9864, allocations: 6.876 MB / 0.7768 GB, free: 29.86 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01111/0.9976, allocations: 4.041 MB / 0.7807 GB, free: 25.82 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.001e-06/0.9976, allocations: 4 kB / 0.7807 GB, free: 25.81 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005034/1.003, allocations: 1.893 MB / 0.7826 GB, free: 23.91 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001017/1.004, allocations: 133.4 kB / 0.7827 GB, free: 23.77 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004349/1.008, allocations: 2.782 MB / 0.7854 GB, free: 20.94 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004728/1.009, allocations: 1.278 MB / 0.7867 GB, free: 19.62 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001039/1.01, allocations: 273 kB / 0.7869 GB, free: 19.35 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005501/1.01, allocations: 0.5852 MB / 0.7875 GB, free: 18.77 MB / 490.7 MB Notification: Performance of SimCode: time 6.92e-07/1.01, allocations: 4 kB / 0.7875 GB, free: 18.76 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0652/1.075, allocations: 46.05 MB / 0.8325 GB, free: 4.891 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001836/1.076, allocations: 161.1 kB / 0.8326 GB, free: 4.672 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.502/4.578, allocations: 0 / 0.8326 GB, free: 4.672 MB / 0.5105 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Controls_CGMES_ES_ExcSEXS_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Controls_CGMES_ES_ExcSEXS.fmu > OpenIPSL_OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS.pipe 2>&1)