Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_CGMES_ES_ExcSEXS",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS,fileNamePrefix="OpenIPSL_2_0_0_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 3.2.3+maint.om/package.mo): time 0.00096/0.00096, allocations: 175.2 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.295/1.295, allocations: 205.2 MB / 218.5 MB, free: 9.152 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007675/0.0007674, allocations: 86.16 kB / 266.6 MB, free: 9.27 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.06205/0.06205, allocations: 12.19 MB / 326.8 MB, free: 12.88 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2691/0.2691, allocations: 78.02 MB / 455.6 MB, free: 15.36 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.884e-05/2.889e-05, allocations: 4 kB / 0.5213 GB, free: 24.14 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1047/0.1047, allocations: 69.24 MB / 0.5889 GB, free: 2.953 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3608/0.4655, allocations: 112.2 MB / 0.6985 GB, free: 4.281 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002466/0.4658, allocations: 91.12 kB / 0.6986 GB, free: 4.23 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1095/0.5753, allocations: 41.96 MB / 0.7395 GB, free: 0.8945 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.5753, allocations: 0 / 0.7395 GB, free: 0.8945 MB / 474.7 MB Notification: Performance of Transformations before backend: time 8.108e-05/0.5754, allocations: 28 kB / 0.7396 GB, free: 0.8672 MB / 474.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.005308/0.5808, allocations: 2.089 MB / 0.7416 GB, free: 14.87 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.69e-05/0.5808, allocations: 11.98 kB / 0.7416 GB, free: 14.86 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002398/0.5811, allocations: 156.4 kB / 0.7418 GB, free: 14.76 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002858/0.5839, allocations: 0.5534 MB / 0.7423 GB, free: 14.25 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001657/0.5856, allocations: 1.026 MB / 0.7433 GB, free: 13.42 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000381/0.586, allocations: 432.9 kB / 0.7437 GB, free: 12.97 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001807/0.5862, allocations: 103.5 kB / 0.7438 GB, free: 12.9 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001934/0.5881, allocations: 1.241 MB / 0.745 GB, free: 12.08 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.869e-05/0.5882, allocations: 0 / 0.745 GB, free: 12.08 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001195/0.5883, allocations: 37.25 kB / 0.7451 GB, free: 12.07 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.898e-05/0.5883, allocations: 24 kB / 0.7451 GB, free: 12.05 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001856/0.5902, allocations: 1.146 MB / 0.7462 GB, free: 11.34 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.008105/0.5983, allocations: 4.955 MB / 0.751 GB, free: 7.445 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007582/0.6059, allocations: 3.192 MB / 0.7542 GB, free: 4.594 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00117/0.6071, allocations: 0.7292 MB / 0.7549 GB, free: 4.191 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001427/0.6073, allocations: 32.78 kB / 0.7549 GB, free: 4.16 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001314/0.6086, allocations: 0.8826 MB / 0.7558 GB, free: 3.559 MB / 490.7 MB Notification: Performance of pre-optimization done (n=126): time 3.126e-06/0.6086, allocations: 0 / 0.7558 GB, free: 3.559 MB / 490.7 MB Notification: Performance of matching and sorting (n=126): time 0.01476/0.6234, allocations: 4.93 MB / 0.7606 GB, free: 14.74 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.624e-05/0.6235, allocations: 145.5 kB / 0.7607 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001929/0.6254, allocations: 1.203 MB / 0.7619 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002854/0.6257, allocations: 45.7 kB / 0.7619 GB, free: 13.31 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000434/0.6262, allocations: 0.6441 MB / 0.7626 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004619/0.6266, allocations: 453.4 kB / 0.763 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.782e-05/0.6267, allocations: 24 kB / 0.763 GB, free: 12.19 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001312/0.6269, allocations: 358 kB / 0.7634 GB, free: 11.83 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001038/0.6279, allocations: 0.5885 MB / 0.7639 GB, free: 11.25 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00112/0.629, allocations: 0.7462 MB / 0.7647 GB, free: 10.45 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001067/0.6301, allocations: 0.6414 MB / 0.7653 GB, free: 9.809 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.554e-06/0.6301, allocations: 4 kB / 0.7653 GB, free: 9.805 MB / 0.4948 GB Notification: Performance of matching and sorting (n=158) (initialization): time 0.003606/0.6337, allocations: 2.064 MB / 0.7673 GB, free: 7.73 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003862/0.6341, allocations: 1.353 MB / 0.7686 GB, free: 6.258 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.206e-05/0.6342, allocations: 7.984 kB / 0.7686 GB, free: 6.25 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007846/0.642, allocations: 2.515 MB / 0.7711 GB, free: 3.73 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009902/0.643, allocations: 199.7 kB / 0.7713 GB, free: 3.535 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004391/0.6474, allocations: 2.249 MB / 0.7735 GB, free: 1.258 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002182/0.6496, allocations: 274.8 kB / 0.7737 GB, free: 0.9883 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000132/0.6498, allocations: 47.92 kB / 0.7738 GB, free: 0.9414 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.107e-05/0.6498, allocations: 4 kB / 0.7738 GB, free: 0.9375 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003223/0.653, allocations: 1.892 MB / 0.7756 GB, free: 15.04 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/0.6531, allocations: 7.953 kB / 0.7756 GB, free: 15.04 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007636/0.6607, allocations: 2.515 MB / 0.7781 GB, free: 12.51 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009364/0.6617, allocations: 195.7 kB / 0.7783 GB, free: 12.32 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00425/0.6659, allocations: 2.253 MB / 0.7805 GB, free: 10.04 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00219/0.6682, allocations: 258.9 kB / 0.7807 GB, free: 9.789 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001348/0.6683, allocations: 43.98 kB / 0.7808 GB, free: 9.746 MB / 0.5105 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 (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.0003798/0.6687, allocations: 172.7 kB / 0.7809 GB, free: 9.57 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003315/0.669, allocations: 169.9 kB / 0.7811 GB, free: 9.402 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01469/0.6837, allocations: 5.101 MB / 0.7861 GB, free: 4.281 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.077e-05/0.6838, allocations: 16 kB / 0.7861 GB, free: 4.266 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.276e-06/0.6838, allocations: 0 / 0.7861 GB, free: 4.266 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.294e-05/0.6839, allocations: 3.984 kB / 0.7861 GB, free: 4.262 MB / 0.5105 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.01747/0.7013, allocations: 7.223 MB / 0.7932 GB, free: 12.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.535e-05/0.7014, allocations: 0 / 0.7932 GB, free: 12.9 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009625/0.7024, allocations: 147.8 kB / 0.7933 GB, free: 12.76 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006179/0.7086, allocations: 2.009 MB / 0.7953 GB, free: 10.75 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002415/0.7088, allocations: 24 kB / 0.7953 GB, free: 10.72 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01674/0.7256, allocations: 7.849 MB / 0.803 GB, free: 2.73 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.7256, allocations: 4 kB / 0.803 GB, free: 2.727 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01629/0.7419, allocations: 6.113 MB / 0.8089 GB, free: 12.57 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007954/0.7428, allocations: 286.7 kB / 0.8092 GB, free: 12.27 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003373/0.7431, allocations: 28 kB / 0.8092 GB, free: 12.24 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001714/0.7448, allocations: 203.8 kB / 0.8094 GB, free: 12.04 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007894/0.7456, allocations: 253.3 kB / 0.8097 GB, free: 11.79 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001083/0.7458, allocations: 35.98 kB / 0.8097 GB, free: 11.75 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001387/0.7471, allocations: 0.9352 MB / 0.8106 GB, free: 10.82 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7472, allocations: 4 kB / 0.8106 GB, free: 10.82 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.001935/0.7491, allocations: 0.7606 MB / 0.8114 GB, free: 10.05 MB / 0.5417 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.01637/0.7655, allocations: 6.869 MB / 0.8181 GB, free: 3.137 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01176/0.7773, allocations: 4.045 MB / 0.822 GB, free: 15.09 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 5.53e-06/0.7773, allocations: 0.875 kB / 0.822 GB, free: 15.09 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.005234/0.7826, allocations: 1.9 MB / 0.8239 GB, free: 13.18 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001046/0.7836, allocations: 138.2 kB / 0.824 GB, free: 13.04 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004958/0.7886, allocations: 2.77 MB / 0.8267 GB, free: 10.21 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007131/0.7893, allocations: 1.278 MB / 0.828 GB, free: 8.898 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001091/0.7904, allocations: 269.2 kB / 0.8282 GB, free: 8.629 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006563/0.7911, allocations: 0.5852 MB / 0.8288 GB, free: 8.043 MB / 0.5573 GB Notification: Performance of SimCode: time 7.41e-07/0.7911, allocations: 0 / 0.8288 GB, free: 8.043 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3137/1.105, allocations: 46.09 MB / 0.8738 GB, free: 187.1 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001384/1.105, allocations: 166.1 kB / 0.874 GB, free: 186.8 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.498/4.603, allocations: 0 / 0.874 GB, free: 186.8 MB / 0.5886 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_CGMES_ES_ExcSEXS_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_CGMES_ES_ExcSEXS.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS.pipe 2>&1)