Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SEXS.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.PSSE.ES.SEXS,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_SEXS",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.SEXS,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_SEXS",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.001305/0.001306, allocations: 172.8 kB / 12.73 MB, free: 2.586 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.345/1.345, allocations: 205.2 MB / 218.5 MB, free: 9.207 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.0009417/0.0009416, allocations: 78.66 kB / 266.6 MB, free: 9.262 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.06383/0.06383, allocations: 12.19 MB / 326.9 MB, free: 12.87 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2886/0.2886, allocations: 78.02 MB / 455.7 MB, free: 15.34 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 4.038e-05/4.04e-05, allocations: 4 kB / 0.5213 GB, free: 24.09 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1304/0.1305, allocations: 69.25 MB / 0.5889 GB, free: 2.918 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4461/0.5766, allocations: 111.2 MB / 0.6976 GB, free: 5.109 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002566/0.5769, allocations: 89.06 kB / 0.6976 GB, free: 5.062 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1091/0.686, allocations: 40.32 MB / 0.737 GB, free: 3.121 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.6861, allocations: 3.938 kB / 0.737 GB, free: 3.117 MB / 474.7 MB Notification: Performance of Transformations before backend: time 8.214e-05/0.6862, allocations: 28 kB / 0.7371 GB, free: 3.09 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: 234 * Number of variables: 234 Notification: Performance of Generate backend data structure: time 0.005606/0.6918, allocations: 2.007 MB / 0.739 GB, free: 1.168 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.435e-05/0.6918, allocations: 19.91 kB / 0.739 GB, free: 1.148 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002801/0.6921, allocations: 150.4 kB / 0.7392 GB, free: 1.059 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003045/0.6952, allocations: 0.5489 MB / 0.7397 GB, free: 0.543 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001694/0.6969, allocations: 0.9583 MB / 0.7406 GB, free: 15.77 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000408/0.6973, allocations: 429 kB / 0.7411 GB, free: 15.32 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001816/0.6975, allocations: 98.94 kB / 0.7412 GB, free: 15.26 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00202/0.6995, allocations: 1.192 MB / 0.7423 GB, free: 14.48 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.041e-05/0.6996, allocations: 4 kB / 0.7423 GB, free: 14.47 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001111/0.6997, allocations: 38.19 kB / 0.7424 GB, free: 14.46 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.85e-05/0.6997, allocations: 20 kB / 0.7424 GB, free: 14.45 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001876/0.7016, allocations: 1.099 MB / 0.7434 GB, free: 13.76 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.008367/0.71, allocations: 4.791 MB / 0.7481 GB, free: 9.98 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007639/0.7176, allocations: 3.091 MB / 0.7511 GB, free: 7.203 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001409/0.7191, allocations: 0.7189 MB / 0.7518 GB, free: 6.805 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001708/0.7193, allocations: 20.3 kB / 0.7519 GB, free: 6.789 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001722/0.721, allocations: 0.8611 MB / 0.7527 GB, free: 6.199 MB / 490.7 MB Notification: Performance of pre-optimization done (n=122): time 3.877e-06/0.721, allocations: 0 / 0.7527 GB, free: 6.199 MB / 490.7 MB Notification: Performance of matching and sorting (n=122): time 0.01636/0.7374, allocations: 4.957 MB / 0.7575 GB, free: 1.793 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.597e-05/0.7375, allocations: 119.8 kB / 0.7577 GB, free: 1.652 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002626/0.7402, allocations: 1.136 MB / 0.7588 GB, free: 0.5078 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003649/0.7405, allocations: 45.7 kB / 0.7588 GB, free: 468 kB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005908/0.7411, allocations: 0.6085 MB / 0.7594 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007636/0.7419, allocations: 437.6 kB / 0.7598 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002298/0.7422, allocations: 28 kB / 0.7599 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001732/0.7424, allocations: 354 kB / 0.7602 GB, free: 15.03 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001263/0.7436, allocations: 0.5806 MB / 0.7608 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001317/0.745, allocations: 0.7297 MB / 0.7615 GB, free: 13.67 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001316/0.7463, allocations: 0.6297 MB / 0.7621 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.765e-06/0.7463, allocations: 0 / 0.7621 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of matching and sorting (n=157) (initialization): time 0.004447/0.7508, allocations: 2.064 MB / 0.7641 GB, free: 10.97 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.828e-05/0.7508, allocations: 4 kB / 0.7641 GB, free: 10.96 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.69e-05/0.7508, allocations: 8 kB / 0.7641 GB, free: 10.96 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00901/0.7599, allocations: 2.728 MB / 0.7668 GB, free: 8.223 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001011/0.7609, allocations: 167.7 kB / 0.7669 GB, free: 8.059 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006183/0.7671, allocations: 2.415 MB / 0.7693 GB, free: 5.613 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002285/0.7694, allocations: 246.8 kB / 0.7695 GB, free: 5.371 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002313/0.7697, allocations: 47.98 kB / 0.7696 GB, free: 5.324 MB / 0.4948 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 (93): * Single equations (assignments): 92 * 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 {33 32} Notification: Performance of prepare postOptimizeDAE: time 0.0004102/0.7701, allocations: 172.7 kB / 0.7697 GB, free: 5.148 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005573/0.7707, allocations: 158 kB / 0.7699 GB, free: 4.992 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0156/0.7863, allocations: 5.101 MB / 0.7749 GB, free: 15.87 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.702e-05/0.7864, allocations: 16 kB / 0.7749 GB, free: 15.85 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.513e-05/0.7864, allocations: 3.953 kB / 0.7749 GB, free: 15.85 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.628e-05/0.7865, allocations: 7.969 kB / 0.7749 GB, free: 15.84 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.01906/0.8055, allocations: 7.057 MB / 0.7818 GB, free: 8.648 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.859e-05/0.8056, allocations: 0 / 0.7818 GB, free: 8.648 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001021/0.8066, allocations: 135.9 kB / 0.7819 GB, free: 8.516 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006725/0.8134, allocations: 2.013 MB / 0.7839 GB, free: 6.5 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003922/0.8138, allocations: 31.94 kB / 0.7839 GB, free: 6.469 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01932/0.8332, allocations: 7.841 MB / 0.7916 GB, free: 14.49 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.01e-06/0.8332, allocations: 0 / 0.7916 GB, free: 14.49 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01772/0.851, allocations: 6.017 MB / 0.7974 GB, free: 8.426 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008338/0.8519, allocations: 274.8 kB / 0.7977 GB, free: 8.137 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006755/0.8526, allocations: 20 kB / 0.7977 GB, free: 8.117 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002183/0.8548, allocations: 183.8 kB / 0.7979 GB, free: 7.938 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009965/0.8558, allocations: 256.9 kB / 0.7982 GB, free: 7.688 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002485/0.8561, allocations: 32 kB / 0.7982 GB, free: 7.656 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001794/0.8579, allocations: 0.8936 MB / 0.7991 GB, free: 6.762 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.91e-07/0.8579, allocations: 0 / 0.7991 GB, free: 6.762 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002143/0.86, allocations: 487.4 kB / 0.7995 GB, free: 6.285 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 11 (gENCLS.omega,gENCLS.delta,gENCLS.eq,gENROU.w,gENROU.delta,gENROU.Epd,gENROU.Epq,gENROU.PSIkd,gENROU.PSIkq,sEXS.simpleLagLim.state,sEXS.leadLag.TF.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 (79): * Single equations (assignments): 78 * 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.01825/0.8783, allocations: 6.773 MB / 0.8061 GB, free: 15.45 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.007882/0.8862, allocations: 2.306 MB / 0.8084 GB, free: 13.15 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 6.412e-06/0.8863, allocations: 4.125 kB / 0.8084 GB, free: 13.15 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.005808/0.8921, allocations: 1.867 MB / 0.8102 GB, free: 11.27 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001375/0.8935, allocations: 117.1 kB / 0.8103 GB, free: 11.15 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006613/0.9001, allocations: 2.587 MB / 0.8129 GB, free: 8.508 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008437/0.901, allocations: 1.242 MB / 0.8141 GB, free: 7.234 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0006676/0.9017, allocations: 112.3 kB / 0.8142 GB, free: 7.121 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009286/0.9026, allocations: 0.5773 MB / 0.8147 GB, free: 6.543 MB / 0.5417 GB Notification: Performance of SimCode: time 1.453e-06/0.9027, allocations: 0 / 0.8147 GB, free: 6.543 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06943/0.9721, allocations: 37.17 MB / 0.851 GB, free: 1.465 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002077/0.9724, allocations: 171.7 kB / 0.8512 GB, free: 1.238 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.054/4.026, allocations: 0 / 0.8512 GB, free: 1.238 MB / 0.573 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SEXS.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SEXS.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SEXS.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SEXS.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_SEXS_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_SEXS.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SEXS.pipe 2>&1)